Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
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
高淑倩
7-Eleven
Commits
91bcf738
Commit
91bcf738
authored
Sep 12, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_7.1.0' into fixbug-ZYW
# Conflicts: # src/pages/myShare/myShare.js
parents
722764fc
d5011a23
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
16 deletions
+46
-16
tabSort.wxml
src/component/tabSort/tabSort.wxml
+40
-13
tabSort.wxss
src/component/tabSort/tabSort.wxss
+5
-1
myShare.js
src/pages/myShare/myShare.js
+1
-2
No files found.
src/component/tabSort/tabSort.wxml
View file @
91bcf738
...
...
@@ -20,13 +20,13 @@
</block>
</scroll-view>
<!-- showQrcode 2 购物车 1 会员码 0 隐藏 -->
<view class="scroll-view-right"
bindtap="handelToVipCode"
wx:if="{{categoryType.showQrcode == 1}}">
<view class="scroll-view-right" wx:if="{{categoryType.showQrcode == 1}}">
<button
wx:if="{{!currentHasUserInfo}}"
bindgetuserinfo="_getUserInfo"
data-jflag="false"
open-type='getUserInfo'
class='btn btn-primary
df
'
class='btn btn-primary
btn-vip-code
'
hover-class="btn-hover"
style="height:100%"
>
...
...
@@ -35,23 +35,38 @@
src="/assets/imgs/7_1_0/scancode.png"
mode="widthFix"
lazy-load="false"
binderror=""
bindload=""
/>
<view
class="active vip-text"
selectable="false"
space="false"
decode="false"
>会员码
</view>
</button>
<
image
<
button
wx:if="{{currentHasUserInfo}}"
class='btn btn-primary btn-vip-code'
hover-class="btn-hover"
style="height:100%"
bindtap="handelToVipCode"
>
<image
class="right-img"
src="/assets/imgs/7_1_0/scancode.png"
mode="widthFix"
lazy-load="false"
binderror=""
bindload=""
/>
<text class="active vip-text" selectable="false" space="false" decode="false">会员码</text>
<view
class="active vip-text"
selectable="false"
space="false"
decode="false"
>会员码
</view>
<view class="scroll-view-right" bindtap="handelToCart" wx:if="{{categoryType.showQrcode == 2}}">
</button>
</view>
<view class="scroll-view-right" wx:if="{{categoryType.showQrcode == 2}}">
<button
wx:if="{{!currentHasUserInfo}}"
bindgetuserinfo="_getUserInfo"
...
...
@@ -60,16 +75,28 @@
class='btn btn-primary df'
hover-class="btn-hover"
style="height:100%"
/
>
>
<image
class="right-img"
src="/assets/imgs/7_1_0/08_22/cart_point.png"
mode="widthFix"
lazy-load="false"
/>
</button>
<button
wx:if="{{currentHasUserInfo}}"
class='btn btn-primary df'
hover-class="btn-hover"
style="height:100%"
bindtap="handelToCart"
>
<image
class="right-img"
src="/assets/imgs/7_1_0/08_22/cart_point.png"
mode="widthFix"
lazy-load="false"
binderror=""
bindload=""
/>
</button>
</view>
</view>
src/component/tabSort/tabSort.wxss
View file @
91bcf738
...
...
@@ -24,7 +24,7 @@
box-shadow: -15px 0px 15px -15px rgb(168, 165, 165);
}
.active {
color: #C09A
74;
color: #c09a
74;
}
.right-img {
width: 30rpx;
...
...
@@ -36,3 +36,7 @@
padding-left: 8rpx;
box-sizing: border-box;
}
.btn-vip-code {
display: flex;
align-items: center;
}
src/pages/myShare/myShare.js
View file @
91bcf738
...
...
@@ -61,8 +61,7 @@ wxService.page({
*/
onShow
()
{
let
time
=
Date
.
parse
(
new
Date
())
member
.
premiumExpireTime
?
member
.
premiumExpireTime
:
''
if
(
member
.
premiumExpireTime
&&
member
.
premiumExpireTime
>
time
)
{
if
(
member
&&
member
.
premiumExpireTime
&&
member
.
premiumExpireTime
>
time
)
{
this
.
setData
({
plus
:
1
})
...
...
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