Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
zhiliang-light-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a56f4969
authored
2019-10-31 15:02:25 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
79e0d49a
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
51 additions
and
18 deletions
src/component/order-submit-success-tips-comp/order-submit-success-tips-comp.js
src/component/seckill-order-comp/seckill-order-comp.js
src/pages/auction-detail/auction-detail.scss
src/pages/auction-detail/auction-detail.wxml
src/pages/auction-list/auction-list.scss
src/pages/auction-list/auction-list.wxml
src/pages/gift-detail/gift-detail.js
src/pages/my-message/my-message.scss
src/pages/scan-result/scan-result.js
src/pages/seckill-list/seckill-list.scss
src/pages/seckill-list/seckill-list.wxml
src/component/order-submit-success-tips-comp/order-submit-success-tips-comp.js
View file @
a56f496
...
...
@@ -45,7 +45,7 @@ Component({
// 点击自定义按钮
onInnerButtonHandler
()
{
this
.
triggerEvent
(
'evtcomp'
,
{
name
:
"_evt_
common_comp_button
"
,
name
:
"_evt_
order_submit_success
"
,
data
:
{
cid
:
this
.
properties
.
cid
,
innerTitle
:
this
.
properties
.
innerTitle
,
...
...
src/component/seckill-order-comp/seckill-order-comp.js
View file @
a56f496
...
...
@@ -56,7 +56,10 @@ Component({
})
},
onStepperChange
(
e
)
{
this
.
setNum
(
e
.
detail
);
let
val
=
e
.
detail
;
if
(
val
>
this
.
properties
.
productInfo
.
maxNum
)
val
=
this
.
properties
.
productInfo
.
maxNum
;
if
(
val
<
this
.
properties
.
productInfo
.
minNum
)
val
=
this
.
properties
.
productInfo
.
minNum
;
this
.
setNum
(
val
);
},
bindRemarkInput
(
e
)
{
this
.
setData
({
...
...
src/pages/auction-detail/auction-detail.scss
View file @
a56f496
...
...
@@ -243,23 +243,29 @@ $contentWidth:690px;
margin-top
:
32px
;
}
.empty-tips
{
.empty-tips
{
text-align
:
center
;
padding
:
60px
0
;
color
:
#666666
;
}
}
}
}
// 我的出价
.my-price
{
margin
:
72px
auto
12px
;
text-align
:
center
;
font-size
:
24px
;
}
// 提交按钮
.submit-btn
{
@include
cb
(
560px
,
84px
);
@extend
.linear
;
margin
:
72px
auto
0
;
margin
:
0
auto
0
;
}
}
}
...
...
src/pages/auction-detail/auction-detail.wxml
View file @
a56f496
...
...
@@ -77,6 +77,7 @@
</view>
</view>
</view>
<view class="price my-price">我的出价:¥{{filter.Fen2Yuan(productInfo.personLastPrice)}}</view>
<!-- 按钮 -->
<view bindtap="onSubmitHandler" class="submit-btn {{productInfo.status != 1 || isTimeEnd ? 'disable' : ''}}">
我要出价
...
...
src/pages/auction-list/auction-list.scss
View file @
a56f496
...
...
@@ -60,16 +60,16 @@ $contentWidth:690px;
position
:
relative
;
height
:
100%
;
flex
:
1
;
// padding-right: 8
px;
padding-right
:
12
px
;
@extend
.bb
;
align-self
:
flex-start
;
height
:
160px
;
//
height: 160px;
.up
{}
.down
{
position
:
absolute
;
bottom
:
0
;
//
position: absolute;
//
bottom: 0;
}
.tt
{
...
...
src/pages/auction-list/auction-list.wxml
View file @
a56f496
...
...
@@ -19,6 +19,7 @@
<view class="tt t1">{{item.auctionName}}</view>
</view>
<view class="down">
<view class="tt t2 t3">适用群体:{{item.memberTypeLimitStr}}</view>
<view class="tt t2 t3">活动区域:{{item.district}}</view>
<view class="tt t3">{{item.dateStr}}</view>
</view>
...
...
src/pages/gift-detail/gift-detail.js
View file @
a56f496
...
...
@@ -206,10 +206,18 @@ Page({
break
;
}
break
;
// 兑换成功
case
"_evt_order_submit_success"
:
app
.
router
.
push
({
path
:
"giftShop"
,
openType
:
"switchTab"
})
break
;
default
:
break
;
break
;
default
:
break
;
}
},
})
...
...
src/pages/my-message/my-message.scss
View file @
a56f496
...
...
@@ -51,11 +51,13 @@ $contentWidth:690px;
background
:
#F8F8F8
;
border-radius
:
8px
;
color
:
#3680EB
;
font-size
:
30px
;
}
// 删除
.t2
{
color
:
#E62435
;
font-size
:
30px
;
}
.no
{
...
...
src/pages/scan-result/scan-result.js
View file @
a56f496
...
...
@@ -18,8 +18,12 @@ Page({
authorizeVisible
:
true
})
},
onShow
()
{
wx
.
setNavigationBarTitle
({
title
:
'积分获取'
})
},
onLoad
(
options
)
{
// 手输码
let
code
=
options
.
code
||
""
;
if
(
code
)
{
...
...
@@ -27,7 +31,6 @@ Page({
code
:
code
})
}
this
.
initData
();
},
...
...
@@ -72,6 +75,9 @@ Page({
this
.
setData
({
scaning
:
true
,
})
wx
.
setNavigationBarTitle
({
title
:
'积分获取'
})
app
.
post
({
url
:
app
.
api
.
scanIntegralQrcode
,
data
:
{
...
...
@@ -87,6 +93,10 @@ Page({
wx
.
setNavigationBarTitle
({
title
:
'积分获取失败'
})
}
else
{
wx
.
setNavigationBarTitle
({
title
:
'积分获取成功'
})
}
}).
catch
((
err
)
=>
{
wx
.
hideLoading
();
...
...
src/pages/seckill-list/seckill-list.scss
View file @
a56f496
...
...
@@ -60,16 +60,17 @@ $contentWidth:690px;
position
:
relative
;
height
:
100%
;
flex
:
1
;
// padding-right: 8
px;
padding-right
:
12
px
;
@extend
.bb
;
align-self
:
flex-start
;
height
:
160px
;
// height: 160px;
.up
{}
.down
{
position
:
absolute
;
bottom
:
0
;
//
position: absolute;
//
bottom: 0;
}
.tt
{
...
...
src/pages/seckill-list/seckill-list.wxml
View file @
a56f496
...
...
@@ -19,6 +19,7 @@
<view class="tt t1">{{item.seckillName}}</view>
</view>
<view class="down">
<view class="tt t2 t3">适用群体:{{item.memberTypeLimitStr}}</view>
<view class="tt t2 t3">活动区域:{{item.district}}</view>
<view class="tt t3">{{item.dateStr}}</view>
</view>
...
...
Please
register
or
sign in
to post a comment