购物车,订单,霸王餐

This commit is contained in:
wwz
2025-03-20 18:33:21 +08:00
parent 9da31e2faa
commit 5b8100aa64
16 changed files with 1382 additions and 1224 deletions

View File

@@ -93,7 +93,7 @@
res = await APIshopUserpointsRecord({
page: formData.form.page,
size: formData.form.size,
status: formData.status
status: formData.form.status
})
}
if (res.totalPage == 0 || res.totalPage == 1 && res.totalRow <= 10) {
@@ -188,7 +188,7 @@
align-items: center;
color: #333;
margin-top: -60rpx;
padding: 0 120rpx;
// padding: 0 120rpx;
font-size: 28rpx;
.fonts {

View File

@@ -110,7 +110,6 @@
import {
APIuseractivate,
APIusershopInfodetail,
APIshopUserInfo
} from '@/common/api/member.js'
@@ -250,7 +249,7 @@
uni.pro.navigateTo(item.url, {
shopId: infoForn.shopId,
type: item.name == '明细' ? 1 : 2,
shopInfo: JSON.stringify(infoForn.userInfo.shopInfo)
shopInfo: JSON.stringify(infoForn.userInfo)
})
// uni.navigateTo({
@@ -320,7 +319,7 @@
});
return false;
}
console.log({
await store.actionspayltPayVip({
shopId: infoForn.shopId,
activateId: infoForn.id,
shopUserId: infoForn.userInfo.id,
@@ -328,15 +327,6 @@
returnUrl: '', //跳转地址
buyerRemark: ''
})
let res = await store.actionspayltPayVip({
shopId: infoForn.shopId,
activateId: infoForn.id,
shopUserId: infoForn.userInfo.id,
amount: infoForn.amount, //金额
returnUrl: '', //跳转地址
buyerRemark: ''
})
console.log(res)
}
@@ -377,11 +367,6 @@
uni.cache.set('shopId', options.shopId, 30)
infoForn.shopId = options.shopId ? options.shopId : uni.cache.get('shopId')
}
// let resone = await APIusershopInfodetail({
// shopId: infoForn.shopId
// })
// infoForn.shopUserInfo = resone.shopInfo
asyncshopUserInfo()
if (options.type == 'detail') {
detailtype.value = 'detail'

View File

@@ -101,7 +101,6 @@
onMounted
} from 'vue'
import {
APIusershopInfodetail,
APIshopUserInfo
} from '@/common/api/member.js'
@@ -135,7 +134,7 @@
uni.pro.navigateTo('user/member/billDetails', {
shopId: shopUserInfo.shopId,
type: type,
shopInfo: JSON.stringify(shopUserInfo.shopInfo)
shopInfo: JSON.stringify(shopUserInfo)
})
} else if (type == 3) {
uni.pro.navigateTo('user/coupon', {
@@ -183,11 +182,6 @@
if (pageParams.shopId) {
shopUserInfo.shopId = pageParams.shopId
uni.cache.set('shopId', pageParams.shopId, 30)
// let res = await APIusershopInfodetail({
// shopId: pageParams.shopId
// })
// 根据传的shopInfo来返回上面的值
// shopUserInfo.shopExtend = res.shopExtend.member_bg
asyncshopUserInfo()
}