Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9235f29e
authored
Jan 24, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复
1 parent
715d85be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
packageActivity/pages/solitaire/index/index.wxml
packageMine/pages/coupon/index/index.js
project.config.json
packageActivity/pages/solitaire/index/index.wxml
View file @
9235f29
...
...
@@ -22,8 +22,8 @@
<view class="item">…</view>
</block>
<view class="item flex">
<view class="label text-hide">{{list.length}}.名称:{{
item
.name}}</view>
<view class="value">选择数字:{{
item
.relayContent}}</view>
<view class="label text-hide">{{list.length}}.名称:{{
list[list.length - 1]
.name}}</view>
<view class="value">选择数字:{{
list[list.length - 1]
.relayContent}}</view>
</view>
</block>
...
...
packageMine/pages/coupon/index/index.js
View file @
9235f29
...
...
@@ -39,7 +39,7 @@ Page({
let
{
showLogin
}
=
this
.
data
if
(
showLogin
)
return
if
(
showLogin
)
return
this
.
data
.
haveCouponsList
=
[]
this
.
setData
({
curTabIndex
:
e
.
detail
,
...
...
@@ -60,12 +60,17 @@ Page({
curTabIndex
,
isMerchant
}
=
this
.
data
let
{
merchantId
}
=
wx
.
p
.
storage
.
get
(
'merchant_info'
)
let
{
merchantId
}
=
wx
.
p
.
storage
.
get
(
'merchant_info'
)
let
para
=
{
useMemberType
:
0
}
if
(
curTabIndex
==
1
)
para
.
discountType
=
8
//线上优惠券加上这个参数
if
(
!
isMerchant
)
para
.
merchantId
=
merchantId
if
(
curTabIndex
==
1
)
{
para
.
discountType
=
8
//线上优惠券加上这个参数
delete
para
.
merchantId
//权益优惠券不传merchantId
}
wx
.
p
.
api
.
couponsApi
.
getCardData
(
para
).
then
(
res
=>
{
wx
.
hideLoading
()
let
list
=
res
.
map
(
item
=>
{
...
...
project.config.json
View file @
9235f29
...
...
@@ -27,5 +27,5 @@
"ignore"
:
[],
"include"
:
[]
},
"appid"
:
"wx
39a574d259fe58a0
"
"appid"
:
"wx
b818f6bc908c52fc
"
}
\ No newline at end of file
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