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