master
chen 2021-09-03 18:34:12 +08:00
parent 84a44db965
commit ef740fb1a1
3 changed files with 14 additions and 8 deletions

View File

@ -1,8 +1,8 @@
// var host = "https://carbonneutral.bjfs.org.cn";//线上
var host = "https://carbonneutral.bjfs.org.cn";//线上
// var host = "https://carbon.my-footprint.cn";//线上域名2
// var host = "https://tanzhonghe-admin.com";//本地
var host = "https://carbon.scdxtc.cn";//大向天诚服务器
// var host = "https://carbon.scdxtc.cn";//大向天诚服务器
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,
@ -30,14 +31,12 @@
"outputPath": ""
},
"enableEngineNative": false,
"bundle": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": true,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minifyWXSS": true,
"showES6CompileOption": false
},
"compileType": "miniprogram",
"libVersion": "2.16.0",