uu
This commit is contained in:
parent
26b0a8dc9a
commit
b18b7d3ef7
@ -84,12 +84,11 @@
|
|||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
queryCode: function(code) {
|
queryCode: function(code) {
|
||||||
let { hongWaiSwitch } = getSessionSystemInfo()
|
// let { hongWaiSwitch } = getSessionSystemInfo()
|
||||||
// 红外开启,才可使用该功能
|
// // 红外开启,才可使用该功能
|
||||||
if(!hongWaiSwitch) {
|
// if(!hongWaiSwitch) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
|
|
||||||
let that = this;
|
let that = this;
|
||||||
// #ifdef APP
|
// #ifdef APP
|
||||||
console.log('queryCode');
|
console.log('queryCode');
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"appid" : "__UNI__BCB0FB5",
|
"appid" : "__UNI__BCB0FB5",
|
||||||
"description" : "探路国际速运",
|
"description" : "探路国际速运",
|
||||||
"versionName" : "1.0.1",
|
"versionName" : "1.0.1",
|
||||||
"versionCode" : "1029",
|
"versionCode" : "1030",
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@ -101,7 +101,7 @@
|
|||||||
</u-row>
|
</u-row>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-line></u-line>
|
<u-line></u-line>
|
||||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
<!-- <u-row custom-style="padding: 30rpx;" justify="between">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-image :src="getCdnUrl(`mine/sao.png`)" height="34" width="34"></u-image>
|
<u-image :src="getCdnUrl(`mine/sao.png`)" height="34" width="34"></u-image>
|
||||||
<u-text margin="0 0 0 30rpx" text="红线扫描模式" size="28" color="#333"></u-text>
|
<u-text margin="0 0 0 30rpx" text="红线扫描模式" size="28" color="#333"></u-text>
|
||||||
@ -109,7 +109,7 @@
|
|||||||
<u-row>
|
<u-row>
|
||||||
<u-switch v-model="hongWaiSwitch" @change="handleHongWaiChange" active-color="#B12D29" size="34"></u-switch>
|
<u-switch v-model="hongWaiSwitch" @change="handleHongWaiChange" active-color="#B12D29" size="34"></u-switch>
|
||||||
</u-row>
|
</u-row>
|
||||||
</u-row>
|
</u-row> -->
|
||||||
<u-line></u-line>
|
<u-line></u-line>
|
||||||
<u-row @click="goto(`user/updatePassword`)" custom-style="padding: 30rpx;" justify="between">
|
<u-row @click="goto(`user/updatePassword`)" custom-style="padding: 30rpx;" justify="between">
|
||||||
<u-row>
|
<u-row>
|
||||||
|
|||||||
@ -36,11 +36,12 @@ export const getSessionLoginInfo = ()=> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const setSessionSystemInfo = (val = {})=> {
|
export const setSessionSystemInfo = (val = {})=> {
|
||||||
|
let oldVal = getSessionSystemInfo()
|
||||||
// {
|
// {
|
||||||
// hongWaiSwitch: false, // 红外扫描
|
// hongWaiSwitch: false, // 红外扫描
|
||||||
// lastActiveTime: 时间戳, // 上次活跃时间戳
|
// lastActiveTime: 时间戳, // 上次活跃时间戳
|
||||||
// }
|
// }
|
||||||
uni.setStorageSync(SYSTEM_INFO_KEY, val)
|
uni.setStorageSync(SYSTEM_INFO_KEY, { ...oldVal, ...val})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getSessionSystemInfo = ()=> {
|
export const getSessionSystemInfo = ()=> {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user