Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严立
/
mini-shimao
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
88fbf5b2
authored
Sep 21, 2020
by
严立
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
LL - 商店详情活动,商品接口
parent
565c0be5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
pages/commodity/project/project.wxml
pages/commodity/shopping-cart/shopping-cart.js
pages/pay/order-input/order-input.wxss
pages/commodity/project/project.wxml
View file @
88fbf5b2
...
...
@@ -141,7 +141,7 @@
</block>
<view class="commodity-price-operation row con-e align-c">
<button class="row con-c align-c" data-index="{{1}}" data-itemindex="{{index}}" bindtap="onBuy">
购买门票
</button>
<button class="row con-c align-c" data-index="{{1}}" data-itemindex="{{index}}" bindtap="onBuy">
查看服务
</button>
</view>
</view>
</view>
...
...
pages/commodity/shopping-cart/shopping-cart.js
View file @
88fbf5b2
...
...
@@ -160,7 +160,7 @@ Page({
let
funcShoppingCart
=
this
.
data
.
shoppingCart
if
(
funcShoppingCart
[
funcIndex
].
quantityMax
<=
funcShoppingCart
[
funcIndex
].
quantity
)
return
funcShoppingCart
[
funcIndex
].
quantity
=
funcShoppingCart
[
funcIndex
].
quantity
+
1
funcShoppingCart
[
funcIndex
].
quantity
=
funcShoppingCart
[
funcIndex
].
quantity
+
1
000
this
.
setData
({
shoppingCart
:
funcShoppingCart
})
...
...
pages/pay/order-input/order-input.wxss
View file @
88fbf5b2
...
...
@@ -973,6 +973,7 @@
.stock-item {
width: 526rpx;
height: 96rpx;
min-height: 96rpx;
margin-top: 64rpx;
}
...
...
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