diff --git a/pages/gproduct/gproduct.js b/pages/gproduct/gproduct.js
index d501eea..f46de60 100644
--- a/pages/gproduct/gproduct.js
+++ b/pages/gproduct/gproduct.js
@@ -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) {
diff --git a/pages/gproduct/gproduct.wxml b/pages/gproduct/gproduct.wxml
index feaa3f1..e76459f 100644
--- a/pages/gproduct/gproduct.wxml
+++ b/pages/gproduct/gproduct.wxml
@@ -16,33 +16,37 @@
- 碳中和项目
+ 碳中和项目选择
- {{threeList[curCaseIndex].name}}
+ {{flag?threeList[curCaseIndex].name:"默认选项"}}
- 森林经营项目
+
+
+ 碳中和项目类型选择
- {{senList[senIndex].name}}
+ {{flag?senList[senIndex].name:"默认选项"}}
- 地址选择
+
+
+ 碳中和项目地点选择
- {{threeList[curCaseIndex].address[addressIndex].info}}
+ {{flag?threeList[curCaseIndex].address[addressIndex].info:"默认选项"}}