Compare commits

..

2 Commits

Author SHA1 Message Date
chen 35e359caef setter 2021-09-03 18:37:33 +08:00
chen ef740fb1a1 修改 2021-09-03 18:34:12 +08:00
3 changed files with 16 additions and 5 deletions

View File

@ -2,7 +2,11 @@ var host = "https://carbonneutral.bjfs.org.cn";//线上
// var host = "https://carbon.my-footprint.cn";//线上域名2
// var host = "https://tanzhonghe-admin.com";//本地
<<<<<<< HEAD
// var host = "https://carbon.scdxtc.cn";//大向天诚服务器
=======
// var host = "http://carbon.scdxtc.cn";//大向天诚服务器
>>>>>>> 7aeb254a85a161e4f3eef68e01a6674b00a20fb1
var config = {
host: host,
appkey: '8c10f27733333fef726885b08ff9d858',//appkey 碳中和Y

View File

@ -58,6 +58,15 @@ Page({
}
},
casesChange(event) {
if(this.data.threeList[event.detail.value].type=='forest_management'){
this.setData({
isXiangm:true
})
} else {
this.setData({
isXiangm:false
})
}
this.setData({
curCaseIndex: event.detail.value,
isShif: false,
@ -72,13 +81,11 @@ Page({
})
if (event.detail.value == 1) {
this.setData({
isXiangm: true,
newDo_type: this.data.senList[this.data.senIndex].type,
cases_position_id:this.data.threeList[this.data.curCaseIndex].address[0].id
})
} else {
this.setData({
isXiangm: false,
newDo_type: this.data.threeList[this.data.curCaseIndex].type,
cases_position_id:this.data.threeList[this.data.curCaseIndex].address[0].id
})

View File

@ -21,6 +21,7 @@
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
@ -31,12 +32,11 @@
},
"enableEngineNative": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": true,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minifyWXSS": true,
"showES6CompileOption": false
},
"compileType": "miniprogram",
"libVersion": "2.19.2",