Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a0a8c674
authored
Sep 13, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
e83cc8c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
pages/boutique/case.vue
pages/boutique/components/CouponPop.vue
pages/boutique/case.vue
View file @
a0a8c67
...
...
@@ -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
...
...
pages/boutique/components/CouponPop.vue
View file @
a0a8c67
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-09-06 10:11:03
* @LastEditors: huyue
* @LastEditTime: 2024-09-13 1
4:29:45
* @LastEditTime: 2024-09-13 1
7: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
:
138
rpx
;
background-image
:
url('@/assets/images/boutique/no-data.webp')
;
background-size
:
100%
;
}
}
.disabled
{
...
...
@@ -657,6 +661,8 @@ export default {
width
:
96
rpx
;
height
:
96
rpx
;
margin-bottom
:
16
rpx
;
background-image
:
url('@/assets/images/boutique/ok-status.webp')
;
background-size
:
100%
;
}
}
.ok-tips
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment