Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
a3737bf2
Commit
a3737bf2
authored
Mar 07, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
448ded4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
buy.vue
pages/coffee/buy.vue
+4
-5
index.vue
pages/coffee/index.vue
+1
-2
No files found.
pages/coffee/buy.vue
View file @
a3737bf2
...
...
@@ -21,12 +21,10 @@
<view
class=
"BuyNum"
>
星巴克咖啡
{{
item
.
BuyNum
}}
杯
</view>
<view
class=
"GiveAway"
>
<view
class=
"GiveAway"
v-if=
"item.GiveAwayNum>0"
>
买
{{
item
.
BuyNum
}}
杯赠
{{
item
.
GiveAwayNum
}}
杯
</view>
<view
class=
"validate"
>
购入有限期9个月
</view>
</view>
<view
class=
"itemInfo2"
>
<view
class=
"money"
>
...
...
@@ -188,7 +186,7 @@
font-size
:
32rpx
;
font-weight
:
500
;
color
:
#000000
;
margin-bottom
:
20rpx
;
}
.GiveAway
{
...
...
@@ -200,6 +198,7 @@
font-weight
:
500
;
color
:
#FFFFFF
;
display
:
inline-block
;
margin-top
:
20rpx
;
margin-bottom
:
15rpx
;
}
...
...
pages/coffee/index.vue
View file @
a3737bf2
...
...
@@ -60,7 +60,7 @@
<text>
立即购买
</text>
<view
class=
"tipBox"
v-if=
"pageData.GiveAwayList&&pageData.GiveAwayList.length>0"
>
<view
class=
"tipText"
>
买
{{
pageData
.
GiveAwayList
[
0
].
BuyNum
}}
赠
{{
pageData
.
GiveAwayList
[
0
].
GiveAwayNum
}}
买
{{
pageData
.
GiveAwayList
[
1
].
BuyNum
}}
赠
{{
pageData
.
GiveAwayList
[
1
].
GiveAwayNum
}}
</view>
<view
class=
"tipIcon"
></view>
</view>
...
...
@@ -123,7 +123,6 @@
pageData
:
{},
isShowSuccess
:
false
,
timer
:
null
,
timing
:
0
,
//二维码计时用
username
:
""
,
flag
:
false
,
//是否继续请求扫码结果
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment