9/7 测试问题,G02跳转页面不对
This commit is contained in:
parent
52841b10e7
commit
28c1b40184
|
|
@ -15,7 +15,7 @@
|
||||||
"type" : "uniCloud"
|
"type" : "uniCloud"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"playground" : "custom",
|
"playground" : "standard",
|
||||||
"type" : "uni-app:app-ios"
|
"type" : "uni-app:app-ios"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
20
App.vue
20
App.vue
|
|
@ -2,7 +2,9 @@
|
||||||
let platform = ""
|
let platform = ""
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {}
|
return {
|
||||||
|
Status: false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
let that = this
|
let that = this
|
||||||
|
|
@ -29,10 +31,9 @@
|
||||||
}
|
}
|
||||||
that.checkForUpdates()
|
that.checkForUpdates()
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/home/home'
|
url: "/pages/home/home"
|
||||||
})
|
})
|
||||||
console.log('App Launch')
|
console.log('App Launch')
|
||||||
|
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
console.log('App Show')
|
console.log('App Show')
|
||||||
|
|
@ -65,9 +66,10 @@
|
||||||
that.$store.commit('changePhoneInfo', {
|
that.$store.commit('changePhoneInfo', {
|
||||||
versionUrl: res.data
|
versionUrl: res.data
|
||||||
})
|
})
|
||||||
console.log("服务器版本号", res)
|
that.handleCancelUpdate(res.code)
|
||||||
// 比对版本号
|
// 比对版本号
|
||||||
if (latestVersion !== currentVersion) {
|
let version = that.$tools.compareVersions(currentVersion, latestVersion)
|
||||||
|
if (version == -1) { // 0版本号相通,1,:第一个版本号大于第二个版本号,-1:第一个版本号小于第二个版本号
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '发现新版本',
|
title: '发现新版本',
|
||||||
content: '检查到新版本' + res.data.version + ',是否更新?',
|
content: '检查到新版本' + res.data.version + ',是否更新?',
|
||||||
|
|
@ -98,7 +100,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: () => {
|
fail: () => {
|
||||||
that.handleCancelUpdate(res.code)
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '更新失败',
|
title: '更新失败',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
|
|
@ -111,20 +112,15 @@
|
||||||
console.log('下载进度' + res.progress + '%');
|
console.log('下载进度' + res.progress + '%');
|
||||||
});
|
});
|
||||||
} else { //ios跳转
|
} else { //ios跳转
|
||||||
that.handleCancelUpdate(res.code)
|
|
||||||
plus.runtime.launchApplication({
|
plus.runtime.launchApplication({
|
||||||
action: `itms-apps://itunes.apple.com/cn/app/id6654906497?mt=8`
|
action: `itms-apps://itunes.apple.com/cn/app/id6654906497?mt=8`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log("用户放弃更新")
|
// that.$tools.msg("稍后可在'关于我们'内更新程序!")
|
||||||
that.handleCancelUpdate(res.code)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
console.log("版本号相同")
|
|
||||||
that.handleCancelUpdate(res.code)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,13 @@
|
||||||
<view class="header">
|
<view class="header">
|
||||||
<view class="top" v-if="userList.length">
|
<view class="top" v-if="userList.length">
|
||||||
<view class="headimg">
|
<view class="headimg">
|
||||||
<image :src="user.head_pic"></image>
|
<image :src="info.head_pic"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="info">
|
<view class="info">
|
||||||
<view class="size18 bold">{{user.nickname}}</view>
|
<view class="size18 bold">{{info.nickname}}</view>
|
||||||
<view class="mt-10">
|
<view class="mt-10">
|
||||||
<text class="mr-10">性别:{{user.gender==1?'男':user.gender==2?'女':'未知'}}</text>
|
<text class="mr-10">性别:{{info.gender==1?'男':info.gender==2?'女':'未知'}}</text>
|
||||||
<text class="ml-10">年龄:{{user.age}}岁</text>
|
<text class="ml-10">年龄:{{info.age}}岁</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="mt-10">{{$t("index.birthday")}}:{{user.birthday}}</view> -->
|
<!-- <view class="mt-10">{{$t("index.birthday")}}:{{user.birthday}}</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
<view class="cityList">
|
<view class="cityList">
|
||||||
<view class="area" v-if="isArea" @click="visible = true">
|
<view class="area" v-if="isArea" @click="visible = true">
|
||||||
<view>选择地区标准:</view>
|
<view>选择地区标准:</view>
|
||||||
<view>{{region?region:user.address}}<uni-icons type="bottom"></uni-icons></view>
|
<view>{{region?region:info.address}}<uni-icons type="bottom"></uni-icons></view>
|
||||||
</view>
|
</view>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<view v-if="visible" class="visible" @click="visible=false">
|
<view v-if="visible" class="visible" @click="visible=false">
|
||||||
|
|
@ -80,6 +80,9 @@
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(["user", "familayList"]),
|
...mapState(["user", "familayList"]),
|
||||||
|
info() {
|
||||||
|
return this.user
|
||||||
|
},
|
||||||
userList() {
|
userList() {
|
||||||
return this.familayList
|
return this.familayList
|
||||||
},
|
},
|
||||||
|
|
@ -140,9 +143,15 @@
|
||||||
},
|
},
|
||||||
// 添加成员
|
// 添加成员
|
||||||
handleAddUser() {
|
handleAddUser() {
|
||||||
|
if (uni.getStorageSync('token')) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/my/userInfo"
|
url: "/pages/my/userInfo"
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/login/login'
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 地区
|
// 地区
|
||||||
handleCityList() {
|
handleCityList() {
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,9 @@
|
||||||
...mapState(["user", "isFirst"]),
|
...mapState(["user", "isFirst"]),
|
||||||
endDate() {
|
endDate() {
|
||||||
return this.$tools.getDate("start")
|
return this.$tools.getDate("start")
|
||||||
|
},
|
||||||
|
startDate() {
|
||||||
|
return this.$tools.getDate('start');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name" : "Reedaw",
|
"name" : "Reedaw",
|
||||||
"appid" : "__UNI__E0E1A21",
|
"appid" : "__UNI__20604F1",
|
||||||
"description" : "面向儿童青少年的健康体质测量APP",
|
"description" : "面向儿童青少年的健康体质测量APP",
|
||||||
"versionName" : "1.2.0",
|
"versionName" : "1.2.1",
|
||||||
"versionCode" : 120,
|
"versionCode" : 121,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|
@ -19,7 +19,6 @@
|
||||||
"template" : "index.html",
|
"template" : "index.html",
|
||||||
/* 模块配置 */
|
/* 模块配置 */
|
||||||
"modules" : {
|
"modules" : {
|
||||||
"UIWebview" : {},
|
|
||||||
"Bluetooth" : {}
|
"Bluetooth" : {}
|
||||||
},
|
},
|
||||||
"compattible" : {
|
"compattible" : {
|
||||||
|
|
@ -54,8 +53,7 @@
|
||||||
"idfa" : false,
|
"idfa" : false,
|
||||||
"privacyDescription" : {
|
"privacyDescription" : {
|
||||||
"NSBluetoothAlwaysUsageDescription" : "需要蓝牙权限来连接设备",
|
"NSBluetoothAlwaysUsageDescription" : "需要蓝牙权限来连接设备",
|
||||||
"NSBluetoothPeripheralUsageDescription" : "使用蓝牙与外设通信",
|
"NSBluetoothPeripheralUsageDescription" : "使用蓝牙与外设通信"
|
||||||
"NSLocationWhenInUseUsageDescription" : "用于搜索蓝牙"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
|
|
@ -143,7 +141,8 @@
|
||||||
"usingComponents" : true
|
"usingComponents" : true
|
||||||
},
|
},
|
||||||
"uniStatistics" : {
|
"uniStatistics" : {
|
||||||
"enable" : false
|
"enable" : false,
|
||||||
|
"version" : "2"
|
||||||
},
|
},
|
||||||
"vueVersion" : "2",
|
"vueVersion" : "2",
|
||||||
"locale" : "zh-Hans",
|
"locale" : "zh-Hans",
|
||||||
|
|
@ -152,3 +151,5 @@
|
||||||
},
|
},
|
||||||
"fallbackLocale" : "zh-Hans"
|
"fallbackLocale" : "zh-Hans"
|
||||||
}
|
}
|
||||||
|
/* SDK配置 */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,6 @@
|
||||||
let that = this
|
let that = this
|
||||||
that.text = ""
|
that.text = ""
|
||||||
that.isdevice = options.isdevice
|
that.isdevice = options.isdevice
|
||||||
that.closeBluetoothAdapter()
|
|
||||||
that.openBluetoothAdapter()
|
that.openBluetoothAdapter()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
|
|
@ -154,9 +154,7 @@
|
||||||
if (idx === -1) {
|
if (idx === -1) {
|
||||||
that.devicesList.push(device);
|
that.devicesList.push(device);
|
||||||
if (device.macAddr != "") {
|
if (device.macAddr != "") {
|
||||||
that.deviceId = device.macAddr
|
that.handleDevType(device.macAddr)
|
||||||
that.devList.push(device);
|
|
||||||
// that.handleDevType(device.macAddr)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -195,7 +193,7 @@
|
||||||
that.$Bluetooth.stopBluetoothDevicesDiscovery()
|
that.$Bluetooth.stopBluetoothDevicesDiscovery()
|
||||||
}
|
}
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/devices/PCV02?deviceId=' + that.deviceId + '&isdevice=' + that.isdevice
|
url: item.page_measure + '?deviceId=' + that.deviceId + '&isdevice=' + that.isdevice
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,7 @@
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
let that = this
|
let that = this
|
||||||
|
console.log("首页options",options)
|
||||||
if (options && options.type == 1) {
|
if (options && options.type == 1) {
|
||||||
that.handleUserList()
|
that.handleUserList()
|
||||||
}
|
}
|
||||||
|
|
@ -120,8 +121,7 @@
|
||||||
that.$store.commit('changeFamilay', res.data)
|
that.$store.commit('changeFamilay', res.data)
|
||||||
if (res.data.length) {
|
if (res.data.length) {
|
||||||
that.$store.dispatch('getUserInfo', {
|
that.$store.dispatch('getUserInfo', {
|
||||||
aud_id: uni.getStorageSync('userid') ? uni.getStorageSync('userid') : res.data[
|
aud_id: uni.getStorageSync('userid') ? uni.getStorageSync('userid') : res.data[0].id
|
||||||
0].id
|
|
||||||
})
|
})
|
||||||
that.$store.dispatch("getCardList", {
|
that.$store.dispatch("getCardList", {
|
||||||
aud_id: uni.getStorageSync('userid') ? uni.getStorageSync('userid') : res.data[
|
aud_id: uni.getStorageSync('userid') ? uni.getStorageSync('userid') : res.data[
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@
|
||||||
uni.setStorageSync('aan_id', res.data.aan_id)
|
uni.setStorageSync('aan_id', res.data.aan_id)
|
||||||
that.$tools.msg("设置成功,进入程序中")
|
that.$tools.msg("设置成功,进入程序中")
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
uni.switchTab({
|
uni.reLaunch({
|
||||||
url: "/pages/home/home?type=1"
|
url: "/pages/home/home?type=1"
|
||||||
})
|
})
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
@ -216,14 +216,14 @@
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
width: 100px;
|
width: 240rpx;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
width: calc(100% - 120px);
|
width: calc(100% - 240rpx);
|
||||||
height: 35px;
|
height: 35px;
|
||||||
line-height: 35px;
|
line-height: 35px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -246,16 +246,16 @@
|
||||||
|
|
||||||
.yanzhengma {
|
.yanzhengma {
|
||||||
input {
|
input {
|
||||||
right: 120px;
|
right: 220rpx;
|
||||||
font-size:28rpx;
|
font-size:28rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.code {
|
.code {
|
||||||
width: 110px;
|
width: 220rpx;
|
||||||
background: #dfdfdf;
|
background: #dfdfdf;
|
||||||
font-size: 32rpx;
|
font-size: 28rpx;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
<view class="text">密码</view>
|
<view class="text">密码</view>
|
||||||
<view class="input yanzhengma">
|
<view class="input yanzhengma">
|
||||||
<input class="uni-input" v-model="password" />
|
<input class="uni-input" v-model="password" />
|
||||||
<text class="forget code" @click="handlePassword('forgetPassword')">忘记密码?</text>
|
<text class="forget code size14" @click="handlePassword('forgetPassword')">忘记密码?</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -100,11 +100,9 @@
|
||||||
validate_type: that.isCode ? 'code' : 'password'
|
validate_type: that.isCode ? 'code' : 'password'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log("data", res.data)
|
console.log("data", res.data)
|
||||||
if (res.code != 0) {
|
|
||||||
that.$tools.msg(res.msg)
|
that.$tools.msg(res.msg)
|
||||||
return
|
if (res.code != 0) return
|
||||||
}
|
that.$tools.msg("登录成功")
|
||||||
that.$tools.msg("登录成功,进入程序中")
|
|
||||||
uni.setStorageSync('token', res.data.token)
|
uni.setStorageSync('token', res.data.token)
|
||||||
uni.setStorageSync('aan_id', res.data.aan_id)
|
uni.setStorageSync('aan_id', res.data.aan_id)
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
@ -157,9 +155,7 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handlexieyi() {
|
handlexieyi() {
|
||||||
uni.navigateTo({
|
|
||||||
url: "/pages/home/home"
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,10 @@
|
||||||
<view class="line" v-for="(item,index) in weightList">
|
<view class="line" v-for="(item,index) in weightList">
|
||||||
<view v-if="item.line.categories.length">
|
<view v-if="item.line.categories.length">
|
||||||
<qiunDataCharts type="column" :chartData="item.line" :canvas2d="true" :canvasId="item.id"
|
<qiunDataCharts type="column" :chartData="item.line" :canvas2d="true" :canvasId="item.id"
|
||||||
:cHeight="480" :cWidth="680" :animation="false"
|
:cHeight="400" :cWidth="720" :animation="false"
|
||||||
:opts="{enableScroll:true,xAxis:{scrollShow:false,itemCount:3}}" :ontouch="true" />
|
:opts="{enableScroll:true,xAxis:{scrollShow:false,itemCount:3}}" :ontouch="true" />
|
||||||
</view>
|
</view>
|
||||||
<view class="line" v-else>
|
<view class="nolist" v-else>
|
||||||
<view class="nolist">
|
|
||||||
<image src="../../static/none.png"></image>
|
<image src="../../static/none.png"></image>
|
||||||
<text>暂无数据,请手动添加~</text>
|
<text>暂无数据,请手动添加~</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -30,7 +29,6 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
|
|
@ -70,7 +68,8 @@
|
||||||
handleActive(ite) {
|
handleActive(ite) {
|
||||||
let that = this
|
let that = this
|
||||||
that.handTrue = false
|
that.handTrue = false
|
||||||
that.time = ite == 1 ? this.startDate : ite == 2 ? this.$tools.getDate("month") : this.$tools.getDate("year")
|
that.time = ite == 1 ? this.startDate : ite == 2 ? this.$tools.getDate("month") : this.$tools.getDate(
|
||||||
|
"year")
|
||||||
that.getList()
|
that.getList()
|
||||||
that.$nextTick(function() {
|
that.$nextTick(function() {
|
||||||
that.handTrue = true
|
that.handTrue = true
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<view class="item" @click="handleVersion">
|
<view class="item" @click="handleVersion">
|
||||||
<view class="left">版本更新</view>
|
<view class="left">版本更新</view>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<text class="new" v-if="phoneInfo.info.version !== phoneInfo.versionUrl.version">新版本</text>
|
<text class="new" v-if="version==-1">新版本{{phoneInfo.versionUrl.version}}</text>
|
||||||
<uni-icons type="right"></uni-icons>
|
<uni-icons type="right"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -35,13 +35,21 @@
|
||||||
let dtask;
|
let dtask;
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {}
|
return {
|
||||||
|
// 0版本号相通,1,:第一个版本号大于第二个版本号,-1:第一个版本号小于第二个版本号
|
||||||
|
version: 0,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(["phoneInfo"]),
|
...mapState(["phoneInfo"]),
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
console.log("版本号", this.phoneInfo)
|
let that = this
|
||||||
|
if (!that.phoneInfo.versionUrl) {
|
||||||
|
that.handleoginversion()
|
||||||
|
} else {
|
||||||
|
that.version = that.$tools.compareVersions(that.phoneInfo.info.version, that.phoneInfo.versionUrl.version)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onBackPress() {
|
onBackPress() {
|
||||||
console.log("dtask", dtask)
|
console.log("dtask", dtask)
|
||||||
|
|
@ -56,9 +64,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
handleVersion() {
|
handleVersion() {
|
||||||
let that = this
|
let that = this
|
||||||
if (that.phoneInfo.info.version === that.phoneInfo.versionUrl.version) {
|
if (that.version == -1) {
|
||||||
that.$tools.msg("已经是最新版本了!")
|
|
||||||
} else {
|
|
||||||
if (that.phoneInfo.platform === 'android') {
|
if (that.phoneInfo.platform === 'android') {
|
||||||
uni.setStorageSync('VERSION', that.phoneInfo.versionUrl.version)
|
uni.setStorageSync('VERSION', that.phoneInfo.versionUrl.version)
|
||||||
let showLoading = plus.nativeUI.showWaiting('正在下载')
|
let showLoading = plus.nativeUI.showWaiting('正在下载')
|
||||||
|
|
@ -96,8 +102,20 @@
|
||||||
action: `itms-apps://itunes.apple.com/cn/app/id6654906497?mt=8`
|
action: `itms-apps://itunes.apple.com/cn/app/id6654906497?mt=8`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
that.$tools.msg("已经是最新版本了!")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 版本信息
|
||||||
|
handleoginversion() {
|
||||||
|
let that = this
|
||||||
|
that.$model.getloginversion({}).then(res => {
|
||||||
|
that.version = that.$tools.compareVersions(that.phoneInfo.info.version, res.data.version)
|
||||||
|
that.$store.commit('changePhoneInfo', {
|
||||||
|
versionUrl: res.data
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -121,7 +139,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
line-height:35px;
|
line-height: 35px;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 140rpx;
|
width: 140rpx;
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@
|
||||||
timeList: [],
|
timeList: [],
|
||||||
timesTndex: [0, 0],
|
timesTndex: [0, 0],
|
||||||
isSports: false,
|
isSports: false,
|
||||||
msg: "",
|
msg: "暂无信息",
|
||||||
address: "",
|
address: "",
|
||||||
isresult: false,
|
isresult: false,
|
||||||
choice: 0
|
choice: 0
|
||||||
|
|
|
||||||
|
|
@ -360,11 +360,11 @@
|
||||||
let j = Number(165 + 10 + 1 + 8 + 8 + 8 + 8 + 8 + 8).toString(16)
|
let j = Number(165 + 10 + 1 + 8 + 8 + 8 + 8 + 8 + 8).toString(16)
|
||||||
let str = "A50A01080808080808" + j.substr(j.length - 2, 2)
|
let str = "A50A01080808080808" + j.substr(j.length - 2, 2)
|
||||||
that.SendData(str)
|
that.SendData(str)
|
||||||
}, 200)
|
}, 300)
|
||||||
// 体重
|
// 体重
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
that.handleStart(4)
|
that.handleStart(4)
|
||||||
}, 400)
|
}, 600)
|
||||||
uni.notifyBLECharacteristicValueChange({
|
uni.notifyBLECharacteristicValueChange({
|
||||||
deviceId: that.deviceId,
|
deviceId: that.deviceId,
|
||||||
serviceId: that.serviceId,
|
serviceId: that.serviceId,
|
||||||
|
|
@ -406,8 +406,7 @@
|
||||||
}
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/devices/PCT01?info=" + JSON.stringify(
|
url: "/pages/devices/PCT01?info=" + JSON.stringify(info)
|
||||||
info)
|
|
||||||
})
|
})
|
||||||
}, 100)
|
}, 100)
|
||||||
}
|
}
|
||||||
|
|
@ -422,7 +421,7 @@
|
||||||
let buf = new Uint8Array(str.match(/[\da-f]{2}/gi).map(function(h) {
|
let buf = new Uint8Array(str.match(/[\da-f]{2}/gi).map(function(h) {
|
||||||
return parseInt(h, 16)
|
return parseInt(h, 16)
|
||||||
}))
|
}))
|
||||||
console.log("xiafa", that.write, that.serviceId)
|
console.log("xiafa", str)
|
||||||
uni.writeBLECharacteristicValue({
|
uni.writeBLECharacteristicValue({
|
||||||
deviceId: that.deviceId,
|
deviceId: that.deviceId,
|
||||||
serviceId: that.serviceId,
|
serviceId: that.serviceId,
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,9 @@
|
||||||
.bgfff{
|
.bgfff{
|
||||||
background: #fff !important;
|
background: #fff !important;
|
||||||
}
|
}
|
||||||
|
.red{
|
||||||
|
color:#f5222d
|
||||||
|
}
|
||||||
.c666{
|
.c666{
|
||||||
color: #666 !important;
|
color: #666 !important;
|
||||||
}
|
}
|
||||||
|
|
@ -496,15 +499,17 @@
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
|
|
||||||
.listC {
|
.listC {
|
||||||
width: calc(100% - 30px);
|
width: calc(100% - 50px);
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
margin: 0 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
border-radius: 10px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
view {
|
view {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -546,7 +551,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.boxLine {
|
.boxLine {
|
||||||
padding: 0;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
@ -555,9 +559,10 @@
|
||||||
.line {
|
.line {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 250px;
|
height: auto;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 0 0 10px 10px;
|
padding-top: 10px;
|
||||||
|
border-bottom: 10px solid #f7f7f7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -105,16 +105,16 @@
|
||||||
|
|
||||||
.yanzhengma {
|
.yanzhengma {
|
||||||
input {
|
input {
|
||||||
right: 120px;
|
right: 240rpx;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.code {
|
.code {
|
||||||
width: 110px;
|
width: 220rpx;
|
||||||
background: #dfdfdf;
|
background: #dfdfdf;
|
||||||
font-size: 32rpx;
|
font-size: 28rpx;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
@ -128,6 +128,7 @@
|
||||||
|
|
||||||
.forget {
|
.forget {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
font-size: 28rpx !important;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: $textcolor;
|
color: $textcolor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,14 +7,18 @@ export default new Vuex.Store({
|
||||||
state: {
|
state: {
|
||||||
user: {
|
user: {
|
||||||
id: "",
|
id: "",
|
||||||
headimg: null,
|
head_pic: null,
|
||||||
nickname: "",
|
nickname: "",
|
||||||
birthday: "",
|
birthday: "",
|
||||||
gender: 0,
|
gender: 0,
|
||||||
sex: 0,
|
sex: 0,
|
||||||
address: [],
|
age: 0,
|
||||||
|
weight: "",
|
||||||
|
address: "",
|
||||||
|
card_order: [],
|
||||||
card_data_list: [],
|
card_data_list: [],
|
||||||
target_current: {}
|
target_current: {},
|
||||||
|
vitalcapacity_data: []
|
||||||
},
|
},
|
||||||
accountNumber: {
|
accountNumber: {
|
||||||
create_time: "",
|
create_time: "",
|
||||||
|
|
@ -47,7 +51,7 @@ export default new Vuex.Store({
|
||||||
devicesList: [], //筛选设备列表
|
devicesList: [], //筛选设备列表
|
||||||
phoneInfo: {
|
phoneInfo: {
|
||||||
info: {},
|
info: {},
|
||||||
versionUrl: {},
|
versionUrl: null,
|
||||||
platform: ""
|
platform: ""
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ export default {
|
||||||
GetDateStr,
|
GetDateStr,
|
||||||
PrefixZero,
|
PrefixZero,
|
||||||
showModal,
|
showModal,
|
||||||
|
compareVersions,
|
||||||
validatePhoneEmail
|
validatePhoneEmail
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -26,6 +27,27 @@ function showModal(text) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 版本对比
|
||||||
|
function compareVersions(version1, version2) {
|
||||||
|
console.log("版本对比", version1, version2)
|
||||||
|
// 将版本号拆分成数字数组
|
||||||
|
var arr1 = version1.split('.').map(Number);;
|
||||||
|
var arr2 = version2.split('.').map(Number);;
|
||||||
|
|
||||||
|
// 遍历数字数组进行逐段比较
|
||||||
|
for (var i = 0; i < Math.max(arr1.length, arr2.length); i++) {
|
||||||
|
var num1 = parseInt(arr1[i] || 0); // 如果数组长度不够,则将缺失部分补0
|
||||||
|
var num2 = parseInt(arr2[i] || 0);
|
||||||
|
|
||||||
|
if (num1 < num2) {
|
||||||
|
return -1; // 版本1小于版本2
|
||||||
|
} else if (num1 > num2) {
|
||||||
|
return 1; // 版本1大于版本2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0; // 版本1等于版本2
|
||||||
|
}
|
||||||
|
|
||||||
// 2进制位数不足补0
|
// 2进制位数不足补0
|
||||||
function PrefixZero(num, n) {
|
function PrefixZero(num, n) {
|
||||||
|
|
|
||||||
|
|
@ -1133,5 +1133,6 @@
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__E0E1A21","name":"Reedaw","version":{"name":"1.2.0","code":120},"description":"面向儿童青少年的健康体质测量APP","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UIWebview":{},"Bluetooth":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#37cc92"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"template":"index.html","compattible":{"ignoreVersion":true},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common","android":{"hdpi":"static/logo.png","xhdpi":"static/logo.png","xxhdpi":"static/logo.png"},"useOriginalMsgbox":true},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["arm64-v8a","x86"]},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSBluetoothAlwaysUsageDescription":"需要蓝牙权限来连接设备","NSBluetoothPeripheralUsageDescription":"使用蓝牙与外设通信","NSLocationWhenInUseUsageDescription":"用于搜索蓝牙"}},"plugins":{"share":{},"ad":{},"geolocation":{"system":{"__platform__":["ios"]}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.24","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#333","fontSize":"13px","selectedColor":"#37cc92","backgroundColor":"#fff","list":[{"pagePath":"pages/home/home","iconPath":"static/shou.png","selectedIconPath":"static/shou2.png","text":"首页"},{"pagePath":"pages/score/score","iconPath":"static/ping.png","selectedIconPath":"static/ping2.png","text":"估分"},{"pagePath":"pages/business/business","iconPath":"static/bei.png","selectedIconPath":"static/bei2.png","text":"设备"},{"pagePath":"pages/my/me","iconPath":"static/wo.png","selectedIconPath":"static/wo2.png","text":"我的"}],"borderStyle":"rgba(0,0,0,0.4)","height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
|
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__20604F1","name":"Reedaw","version":{"name":"1.2.1","code":121},"description":"面向儿童青少年的健康体质测量APP","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Bluetooth":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#37cc92"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"template":"index.html","compattible":{"ignoreVersion":true},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common","android":{"hdpi":"static/logo.png","xhdpi":"static/logo.png","xxhdpi":"static/logo.png"},"useOriginalMsgbox":true},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["arm64-v8a","x86"]},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSBluetoothAlwaysUsageDescription":"需要蓝牙权限来连接设备","NSBluetoothPeripheralUsageDescription":"使用蓝牙与外设通信"}},"plugins":{"share":{},"ad":{},"geolocation":{"system":{"__platform__":["ios"]}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false,"version":"2"},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.24","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#333","fontSize":"13px","selectedColor":"#37cc92","backgroundColor":"#fff","list":[{"pagePath":"pages/home/home","iconPath":"static/shou.png","selectedIconPath":"static/shou2.png","text":"首页"},{"pagePath":"pages/score/score","iconPath":"static/ping.png","selectedIconPath":"static/ping2.png","text":"估分"},{"pagePath":"pages/business/business","iconPath":"static/bei.png","selectedIconPath":"static/bei2.png","text":"设备"},{"pagePath":"pages/my/me","iconPath":"static/wo.png","selectedIconPath":"static/wo2.png","text":"我的"}],"borderStyle":"rgba(0,0,0,0.4)","height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__E0E1A21","name":"Reedaw","version":{"name":"1.2.0","code":120},"description":"面向儿童青少年的健康体质测量APP","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UIWebview":{},"Bluetooth":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#37cc92"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"template":"index.html","compattible":{"ignoreVersion":true},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common","android":{"hdpi":"static/logo.png","xhdpi":"static/logo.png","xxhdpi":"static/logo.png"},"useOriginalMsgbox":true},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["arm64-v8a","x86"]},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSBluetoothAlwaysUsageDescription":"需要蓝牙权限来连接设备","NSBluetoothPeripheralUsageDescription":"使用蓝牙与外设通信","NSLocationWhenInUseUsageDescription":"用于搜索蓝牙"}},"plugins":{"share":{},"ad":{},"geolocation":{"system":{"__platform__":["ios"]}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.24","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#333","fontSize":"13px","selectedColor":"#37cc92","backgroundColor":"#fff","list":[{"pagePath":"pages/home/home","iconPath":"static/shou.png","selectedIconPath":"static/shou2.png","text":"首页"},{"pagePath":"pages/score/score","iconPath":"static/ping.png","selectedIconPath":"static/ping2.png","text":"估分"},{"pagePath":"pages/business/business","iconPath":"static/bei.png","selectedIconPath":"static/bei2.png","text":"设备"},{"pagePath":"pages/my/me","iconPath":"static/wo.png","selectedIconPath":"static/wo2.png","text":"我的"}],"borderStyle":"rgba(0,0,0,0.4)","height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
|
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__20604F1","name":"Reedaw","version":{"name":"1.2.1","code":121},"description":"面向儿童青少年的健康体质测量APP","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Bluetooth":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#37cc92"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"template":"index.html","compattible":{"ignoreVersion":true},"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common","android":{"hdpi":"static/logo.png","xhdpi":"static/logo.png","xxhdpi":"static/logo.png"},"useOriginalMsgbox":true},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"abiFilters":["arm64-v8a","x86"]},"apple":{"dSYMs":false,"idfa":false,"privacyDescription":{"NSBluetoothAlwaysUsageDescription":"需要蓝牙权限来连接设备","NSBluetoothPeripheralUsageDescription":"使用蓝牙与外设通信"}},"plugins":{"share":{},"ad":{},"geolocation":{"system":{"__platform__":["ios"]}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false,"version":"2"},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.24","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#333","fontSize":"13px","selectedColor":"#37cc92","backgroundColor":"#fff","list":[{"pagePath":"pages/home/home","iconPath":"static/shou.png","selectedIconPath":"static/shou2.png","text":"首页"},{"pagePath":"pages/score/score","iconPath":"static/ping.png","selectedIconPath":"static/ping2.png","text":"估分"},{"pagePath":"pages/business/business","iconPath":"static/bei.png","selectedIconPath":"static/bei2.png","text":"设备"},{"pagePath":"pages/my/me","iconPath":"static/wo.png","selectedIconPath":"static/wo2.png","text":"我的"}],"borderStyle":"rgba(0,0,0,0.4)","height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
|
||||||
Loading…
Reference in New Issue