Commit a0a8c674 by 胡悦

提交

1 parent e83cc8c0
......@@ -196,7 +196,9 @@ export default {
async getCaseList(category = '', name = '') {
const userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId } = userInfo; // 44217687
const res = await uni.$api.boutiqueApi.getCaseList({merchantId: shopMerchantId, category, name})
const params = { merchantId: shopMerchantId, category }
if (name) params.materialName = name
const res = await uni.$api.boutiqueApi.getCaseList(params)
console.log(res)
this.list = res.list
this.searchList = res.list
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-09-06 10:11:03
* @LastEditors: huyue
* @LastEditTime: 2024-09-13 14:29:45
* @LastEditTime: 2024-09-13 17:46:06
-->
<template>
<view>
......@@ -85,10 +85,11 @@
<template v-if="customerType == 1">
<template v-if="pageParams.received">
<view class="ok">
<image
<view class="ok-status"></view>
<!-- <image
class="ok-status"
src="@/assets/images/boutique/ok-status.webp"
/>
/> -->
<view>客户领券成功</view>
</view>
</template>
......@@ -98,10 +99,11 @@
:src="pageParams.QRURL"
/>
<view v-else class="no-data">
<image
<view class="no-data-img"></view>
<!-- <image
src="@/assets/images/boutique/no-data.webp"
class="no-data-img"
/>
/> -->
<view>填写客户信息后点击</view>
<view>生成专属二维码」生成券码</view>
</view>
......@@ -638,6 +640,8 @@ export default {
&-img {
width: 100%;
height: 138rpx;
background-image: url('@/assets/images/boutique/no-data.webp');
background-size: 100%;
}
}
.disabled {
......@@ -657,6 +661,8 @@ export default {
width: 96rpx;
height: 96rpx;
margin-bottom: 16rpx;
background-image: url('@/assets/images/boutique/ok-status.webp');
background-size: 100%;
}
}
.ok-tips {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!