调整顺序,删除字
parent
470e0948bb
commit
2b43957779
|
@ -285,7 +285,7 @@ Page({
|
|||
},
|
||||
success(res) {
|
||||
if (res.data.result == 'success') {
|
||||
var threeList = JSON.parse(res.data.data).cases;
|
||||
var threeList = JSON.parse(res.data.data).cases;
|
||||
if(threeList[0].type=='forest_management'){
|
||||
that.setData({
|
||||
isXiangm:true
|
||||
|
|
|
@ -19,34 +19,37 @@
|
|||
<view class="title">碳中和项目选择</view>
|
||||
<view class="info">
|
||||
<picker bindchange="casesChange" value="{{curCaseIndex}}" range-key="name" range="{{threeList}}">
|
||||
<view class="picker">{{flag?threeList[curCaseIndex].name:"默认选项"}}</view>
|
||||
<!-- <view class="picker">{{flag?threeList[curCaseIndex].name:"默认选项"}}</view> -->
|
||||
<view class="picker">{{threeList[curCaseIndex].name}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 项目选择 -->
|
||||
<view class="address" wx:if="{{isXiangm}}">
|
||||
<!-- <view class="title">森林经营项目</view> -->
|
||||
<image style="width:38rpx;height:35rpx" src="/img/nav/case.png"></image>
|
||||
<view class="title">碳中和项目类型选择</view>
|
||||
<view class="info">
|
||||
<picker bindchange="senChange" value="{{senIndex}}" range-key="name" range="{{senList}}">
|
||||
<view class="picker">
|
||||
{{flag?senList[senIndex].name:"默认选项"}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 地址选择 -->
|
||||
<view class="address">
|
||||
<!-- <view class="title">地址选择</view> -->
|
||||
<image style="width:38rpx;height:35rpx" src="/img/nav/address.png"></image>
|
||||
<view class="title">碳中和项目地点选择</view>
|
||||
<view class="title">项目地点选择</view>
|
||||
<view class="info">
|
||||
<picker bindchange="addrressChange" value="{{addressIndex}}" range-key="info" range="{{threeList[curCaseIndex].address}}">
|
||||
<view class="picker">
|
||||
<!-- address -->
|
||||
{{flag?threeList[curCaseIndex].address[addressIndex].info:"默认选项"}}
|
||||
<!-- {{flag?threeList[curCaseIndex].address[addressIndex].info:"默认选项"}} -->
|
||||
{{threeList[curCaseIndex].address[addressIndex].info}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 项目选择 -->
|
||||
<view class="address" wx:if="{{isXiangm}}">
|
||||
<!-- <view class="title">森林经营项目</view> -->
|
||||
<image style="width:38rpx;height:35rpx" src="/img/nav/case.png"></image>
|
||||
<view class="title">项目类型选择</view>
|
||||
<view class="info">
|
||||
<picker bindchange="senChange" value="{{senIndex}}" range-key="name" range="{{senList}}">
|
||||
<view class="picker">
|
||||
<!-- {{flag?senList[senIndex].name:"默认选项"}} -->
|
||||
{{senList[senIndex].name}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"description": "项目配置文件",
|
||||
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
|
@ -30,22 +31,22 @@
|
|||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"enableEngineNative": false,
|
||||
"useIsolateContext": true,
|
||||
"useIsolateContext": false,
|
||||
"userConfirmedBundleSwitch": true,
|
||||
"packNpmManually": false,
|
||||
"packNpmRelationList": [],
|
||||
"minifyWXSS": true,
|
||||
"showES6CompileOption": false
|
||||
"disableUseStrict": false,
|
||||
"minifyWXML": true,
|
||||
"showES6CompileOption": false,
|
||||
"useCompilerPlugins": false,
|
||||
"ignoreUploadUnusedFiles": true,
|
||||
"useStaticServer": true
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "2.19.2",
|
||||
"appid": "wxf0ac33e1fb0d8358",
|
||||
"projectname": "tanzhongheY",
|
||||
"debugOptions": {
|
||||
"hidedInDevtools": []
|
||||
},
|
||||
"isGameTourist": false,
|
||||
"simulatorType": "wechat",
|
||||
"simulatorPluginLibVersion": {},
|
||||
"condition": {
|
||||
|
@ -62,5 +63,9 @@
|
|||
"miniprogram": {
|
||||
"list": []
|
||||
}
|
||||
},
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
}
|
||||
}
|
|
@ -1,15 +1,6 @@
|
|||
{
|
||||
"setting": {},
|
||||
"condition": {
|
||||
"plugin": {
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"list": []
|
||||
},
|
||||
"gamePlugin": {
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"list": [
|
||||
{
|
||||
|
@ -39,9 +30,11 @@
|
|||
{
|
||||
"name": "pages/user/user",
|
||||
"pathName": "pages/user/user",
|
||||
"query": "",
|
||||
"scene": null
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
|
||||
}
|
Loading…
Reference in New Issue