完善小程序
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="my_item my_assets">
|
||||
<view class="my_item my_assets" @click="Myassets">
|
||||
<view class="my_item_title">我的资产</view>
|
||||
<view class="my_assets_list">
|
||||
<view class="my_list_item">
|
||||
@@ -32,14 +32,14 @@
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/my/points.png">
|
||||
</image>
|
||||
<view class="my_list_item_name">积分</view>
|
||||
<view class="my_list_item_num">{{userInfo.couponNum ||'0'}}</view>
|
||||
<view class="my_list_item_num">{{userInfo.accountPoints ||'0'}}</view>
|
||||
</view>
|
||||
<view class="my_list_item">
|
||||
<image class="my_list_item_icon"
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/my/coupon.png">
|
||||
</image>
|
||||
<view class="my_list_item_name">优惠券</view>
|
||||
<view class="my_list_item_num">{{userInfo.points ||'0'}}</view>
|
||||
<view class="my_list_item_num">{{userInfo.couponNum ||'0'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -107,7 +107,7 @@
|
||||
const teblist = ref([])
|
||||
const shopExtend = ref(null)
|
||||
const userInfo = reactive({})
|
||||
|
||||
|
||||
const ShopId = ref(uni.cache.get('shopId'))
|
||||
|
||||
const clickEvent = () => {
|
||||
@@ -129,6 +129,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 我的资产
|
||||
const Myassets = () => {
|
||||
uni.pro.navigateTo('user/member/memberdetails', {
|
||||
shopId: uni.cache.get('shopId'),
|
||||
type: 'index'
|
||||
})
|
||||
}
|
||||
|
||||
const clickTo = (item, index) => {
|
||||
let shopId = null;
|
||||
switch (item.type) {
|
||||
|
||||
Reference in New Issue
Block a user