修改支付方式
parent
470e0948bb
commit
06efd184e7
|
@ -3,5 +3,5 @@
|
|||
<view class="title">微信授权页面</view>
|
||||
<view class="describe">此页面是微信授权页面,点击下方按钮弹出授权或跳转页面</view>
|
||||
<button class="btn" open-type='getUserInfo' wx:if="{{canIUse}}" bindtap="getUserProfile">点击微信授权</button>
|
||||
<navigator wx:if="{{!canIUse}}" class="btn" url="/pages/auth/auth" open-type="reLaunch" hover-class="other-navigator-hover">已经授权点击调转</navigator>
|
||||
<navigator wx:if="{{!canIUse}}" class="btn" url="/pages/index/index" open-type="reLaunch" hover-class="other-navigator-hover">已经授权点击调转</navigator>
|
||||
</view>
|
|
@ -71,7 +71,7 @@ Page({
|
|||
}
|
||||
this.setData({
|
||||
curCaseIndex: event.detail.value,
|
||||
isShif: false,
|
||||
isShif: this.data.threeList[event.detail.value].type=='forest_management'?true:false,
|
||||
senIndex: 0,
|
||||
addressIndex:0,
|
||||
priceList: {},
|
||||
|
@ -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
|
||||
|
@ -360,14 +360,14 @@ Page({
|
|||
var that = this
|
||||
var tree_items = []
|
||||
var management_items = []
|
||||
if (this.data.newDo_type == 'afforestation') {
|
||||
if (this.data.newDo_type == 'afforestation') {
|
||||
for (var p in this.data.priceList) {
|
||||
tree_items.push({
|
||||
coding: p,
|
||||
amount: this.data.priceList[p].num
|
||||
})
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
for (var p in this.data.priceList) {
|
||||
management_items.push({
|
||||
id: this.data.priceList[p].id,
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"description": "项目配置文件",
|
||||
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
|
@ -36,16 +37,16 @@
|
|||
"packNpmManually": false,
|
||||
"packNpmRelationList": [],
|
||||
"minifyWXSS": true,
|
||||
"showES6CompileOption": false
|
||||
"showES6CompileOption": false,
|
||||
"useStaticServer": true,
|
||||
"disableUseStrict": false,
|
||||
"useCompilerPlugins": false,
|
||||
"minifyWXML": 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,8 @@
|
|||
{
|
||||
"setting": {},
|
||||
"setting": {
|
||||
"compileHotReLoad": true
|
||||
},
|
||||
"condition": {
|
||||
"plugin": {
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"list": []
|
||||
},
|
||||
"gamePlugin": {
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"list": [
|
||||
{
|
||||
|
@ -39,9 +32,12 @@
|
|||
{
|
||||
"name": "pages/user/user",
|
||||
"pathName": "pages/user/user",
|
||||
"query": "",
|
||||
"scene": null
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"projectname": "%E7%A2%B3%E4%B8%AD%E5%92%8C3",
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
|
||||
}
|
Loading…
Reference in New Issue