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
e5260791
Commit
e5260791
authored
Sep 12, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员码授权
parent
be89f34a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
49 deletions
+79
-49
tabSort.wxml
src/component/tabSort/tabSort.wxml
+51
-24
tabSort.wxss
src/component/tabSort/tabSort.wxss
+28
-25
No files found.
src/component/tabSort/tabSort.wxml
View file @
e5260791
...
...
@@ -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="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>
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"
/>
<view
class="active vip-text"
selectable="false"
space="false"
decode="false"
>会员码
</view>
</button>
</view>
<view class="scroll-view-right"
bindtap="handelToCart"
wx:if="{{categoryType.showQrcode == 2}}">
<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
>
<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="right-img"
src="/assets/imgs/7_1_0/08_22/cart_point.png"
mode="widthFix"
lazy-load="false"
binderror=""
bindload=""
/>
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"
/>
</button>
</view>
</view>
src/component/tabSort/tabSort.wxss
View file @
e5260791
/* component/tabSort/tabSort.wxss */
.tab-sort {
display: flex;
white-space: nowrap;
box-sizing: border-box;
height: 80rpx;
line-height: 80rpx;
display: flex;
white-space: nowrap;
box-sizing: border-box;
height: 80rpx;
line-height: 80rpx;
}
.scroll-view_H {
width: 80%;
width: 80%;
}
.scroll-view-item {
display: inline-block;
width: 100rpx;
font-size: 25rpx;
text-align: center;
font-family: PingFangSC-Medium;
display: inline-block;
width: 100rpx;
font-size: 25rpx;
text-align: center;
font-family: PingFangSC-Medium;
}
.scroll-view-right {
width: 18%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: -15px 0px 15px -15px rgb(168, 165, 165);
width: 18%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: -15px 0px 15px -15px rgb(168, 165, 165);
}
.active {
color: #C09A
74;
color: #c09a
74;
}
.right-img {
width: 30rpx;
height: 30rpx;
width: 30rpx;
height: 30rpx;
}
.vip-text {
font-size: 22rpx;
font-family: PingFangSC-Regular;
padding-left: 8rpx;
box-sizing: border-box;
}
\ No newline at end of file
font-size: 22rpx;
font-family: PingFangSC-Regular;
padding-left: 8rpx;
box-sizing: border-box;
}
.btn-vip-code {
display: flex;
align-items: center;
}
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