master
parent
5a02eb1f4f
commit
f18d09fdb6
|
@ -9,6 +9,7 @@ Page({
|
|||
data: {
|
||||
host: urlPath.host,
|
||||
list: {},
|
||||
flag:false,
|
||||
isXiangm: false,
|
||||
newDo_type: '',
|
||||
threeList: [],
|
||||
|
@ -44,6 +45,7 @@ Page({
|
|||
priceList: {},
|
||||
curThreeCode: [],
|
||||
tree_num: {},
|
||||
flag:true,
|
||||
})
|
||||
if (event.detail.value == 1) {
|
||||
this.setData({
|
||||
|
@ -76,6 +78,7 @@ Page({
|
|||
curThreeCode: [],
|
||||
tree_num: {},
|
||||
paid_money: 0,
|
||||
flag:true,
|
||||
carbon_neutralization: 0,
|
||||
carbon_efficiency: "0.00",
|
||||
})
|
||||
|
@ -104,6 +107,7 @@ Page({
|
|||
priceList: {},
|
||||
curThreeCode: [],
|
||||
tree_num: {},
|
||||
flag:true,
|
||||
})
|
||||
},
|
||||
numChange(event) {
|
||||
|
|
|
@ -16,33 +16,37 @@
|
|||
<view class="address">
|
||||
<view>
|
||||
<image style="width:38rpx;height:35rpx" src="/img/nav/didian.png"></image>
|
||||
<view class="title">碳中和项目</view>
|
||||
<view class="title">碳中和项目选择</view>
|
||||
<view class="info">
|
||||
<picker bindchange="casesChange" value="{{curCaseIndex}}" range-key="name" range="{{threeList}}">
|
||||
<view class="picker">{{threeList[curCaseIndex].name}}</view>
|
||||
<view class="picker">{{flag?threeList[curCaseIndex].name:"默认选项"}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 项目选择 -->
|
||||
<view class="address" wx:if="{{isXiangm}}">
|
||||
<view class="title">森林经营项目</view>
|
||||
<!-- <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">
|
||||
{{senList[senIndex].name}}
|
||||
{{flag?senList[senIndex].name:"默认选项"}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 地址选择 -->
|
||||
<view class="address">
|
||||
<view class="title">地址选择</view>
|
||||
<!-- <view class="title">地址选择</view> -->
|
||||
<image style="width:38rpx;height:35rpx" src="/img/nav/address.png"></image>
|
||||
<view class="title">碳中和项目地点选择</view>
|
||||
<view class="info">
|
||||
<picker bindchange="addrressChange" value="{{addressIndex}}" range-key="info" range="{{threeList[curCaseIndex].address}}">
|
||||
<view class="picker">
|
||||
<!-- address -->
|
||||
{{threeList[curCaseIndex].address[addressIndex].info}}
|
||||
{{flag?threeList[curCaseIndex].address[addressIndex].info:"默认选项"}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
|
Loading…
Reference in New Issue