|
|
@@ -47,37 +47,37 @@
|
|
|
<text class="value">{{customInfo.totalConsumption || '136'}}</text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="info-item action-item" @tap="goToDetail('orders')">
|
|
|
+ <view class="info-item action-item" @tap="goDebtOrder()">
|
|
|
<text class="label">挂账订单</text>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="info-item action-item" @tap="goToDetail('notes')">
|
|
|
+ <view class="info-item action-item" @tap="goSettle()">
|
|
|
<text class="label">结账记录</text>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="info-item action-item" @tap="goToDetail('balance')">
|
|
|
+ <view class="info-item action-item" @tap="goBalance()">
|
|
|
<text class="label">余额变动</text>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="info-item action-item" @tap="goToDetail('recharge')">
|
|
|
+ <view class="info-item action-item" @tap="goRecharge()">
|
|
|
<text class="label">充值记录</text>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="info-item action-item" @tap="goToDetail('consumption')">
|
|
|
+ <view class="info-item action-item" @tap="goOrder()">
|
|
|
<text class="label">下单记录</text>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="info-item action-item" @tap="goToDetail('level')">
|
|
|
+ <view class="info-item action-item" @tap="goLevel()">
|
|
|
<text class="label">等级变动</text>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="info-item action-item" @tap="goToDetail('debt')">
|
|
|
+ <view class="info-item action-item" @tap="goDebt()">
|
|
|
<text class="label">欠款变动</text>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
@@ -131,23 +131,26 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
- editInfo(field) {
|
|
|
- this.editField = field
|
|
|
- this.editMode = true
|
|
|
- // 这里可以添加编辑逻辑,如弹出编辑框等
|
|
|
- uni.showToast({
|
|
|
- title: `编辑${field}`,
|
|
|
- icon: 'none'
|
|
|
- })
|
|
|
+ goDebt(){
|
|
|
+
|
|
|
},
|
|
|
-
|
|
|
- goToDetail(type) {
|
|
|
- // 导航到详情页面
|
|
|
- uni.showToast({
|
|
|
- title: `查看${type}详情`,
|
|
|
- icon: 'none'
|
|
|
- })
|
|
|
+ goSettle(){
|
|
|
+
|
|
|
+ },
|
|
|
+ goBalance(){
|
|
|
+ this.$emit('goBalance',this.customInfo)
|
|
|
+ },
|
|
|
+ goRecharge(){
|
|
|
+
|
|
|
+ },
|
|
|
+ goOrder(){
|
|
|
+
|
|
|
+ },
|
|
|
+ goDebtOrder(){
|
|
|
+
|
|
|
+ },
|
|
|
+ goLevel(){
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|