|
|
@@ -9,7 +9,13 @@ import { |
|
|
|
} from "@/datas/queryKey.js"; |
|
|
|
// import { log } from "console"; |
|
|
|
export default { |
|
|
|
// data(){ |
|
|
|
// return{ |
|
|
|
// isEnableSetGray:true, |
|
|
|
// } |
|
|
|
// }, |
|
|
|
onLaunch: function (option) { |
|
|
|
|
|
|
|
wx.setStorageSync("extraData", option.referrerInfo.extraData); |
|
|
|
// #ifdef MP-WEIXIN |
|
|
|
//获取小程序更新机制兼容 |
|
|
@@ -58,7 +64,6 @@ export default { |
|
|
|
onShow: function (option) { |
|
|
|
console.log(option); |
|
|
|
console.log("进入主视图"); |
|
|
|
|
|
|
|
if (option && option.scene === 1038) { |
|
|
|
// 场景值1038:从被打开的小程序返回 |
|
|
|
const { appId, extraData } = option.referrerInfo; |
|
|
@@ -125,7 +130,7 @@ export default { |
|
|
|
request(getGlobalParam, options).then((res) => { |
|
|
|
const result = stringToJson(res.bizContent); |
|
|
|
setItem('globalParam', result.data) |
|
|
|
this.getGlobalParam(); |
|
|
|
// this.getGlobalParam(); |
|
|
|
// getItem("globalParam") |
|
|
|
console.log("配置",result); |
|
|
|
}); |
|
|
@@ -137,7 +142,9 @@ export default { |
|
|
|
console.log("全局配置数据1111",getCodeName('IS_ENABLE',data.setGray)) |
|
|
|
// 申办时是否允许修改OCR识别出来的车辆信息数据 |
|
|
|
if(getCodeName('IS_ENABLE',data.setGray)=='启用'){ |
|
|
|
// this.isEnableSetGray=true; |
|
|
|
this.isEnableSetGray=true; |
|
|
|
}else{ |
|
|
|
this.isEnableSetGray=true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@@ -150,9 +157,8 @@ export default { |
|
|
|
@import "./static/css/common.scss"; |
|
|
|
|
|
|
|
// @import './uni_modules/vk-uview-ui/index.scss'; |
|
|
|
page { |
|
|
|
page{ |
|
|
|
font-family: "Microsoft Yahei"; |
|
|
|
// filter: grayscale(1) |
|
|
|
} |
|
|
|
|
|
|
|
</style> |