[修改账变]

This commit is contained in:
zhangjing
2021-06-24 14:15:58 +08:00
parent c8def77dc3
commit b555234d49
13 changed files with 204 additions and 229 deletions

View File

@@ -40,15 +40,11 @@ Page({
*/
makeInfo() {
wx.$api.index.busineSee(this.data.businessId).then(res=>{
console.log(res.data)
res.data.type[0].checked = true
this.setData({
businessId: res.data.business_id,
makeData : res.data,
makeTime : res.data.type,
makeItems : res.data.items,
checkedId : res.data.type[0].id,
itemsId : res.data.items[0].business_item_id,
makeItems : res.data.items
})
}).catch(err=>{
if(!err.login){

View File

@@ -28,7 +28,7 @@
</view>
<view class="makeOne-cont">
<view class="makeTwo-title">
* 请选择权益套餐
* 请选择权益套餐类型
</view>
<view class="makeTwo-list">
<view class="makeTwo-label {{itemsId == item.business_item_id ? 'active':''}}" wx:for="{{makeItems}}" wx:key="makeItems" data-id="{{item.business_item_id}}" bindtap="makeTap">