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
e3f6b4b9
authored
Sep 27, 2020
by
wjw
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
ww--门店详情UI修改
parent
8b5e0a9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
47 deletions
pages/play/service-detail/service-detail.js
pages/play/service-detail/service-detail.wxml
pages/play/service-detail/service-detail.wxss
pages/play/service-detail/service-detail.js
View file @
e3f6b4b9
...
@@ -127,7 +127,7 @@ Page({
...
@@ -127,7 +127,7 @@ Page({
case
5
:
case
5
:
this
.
queryActivity
()
this
.
queryActivity
()
this
.
setData
({
this
.
setData
({
commodityTitle
:
'
拾光花坊
'
,
commodityTitle
:
'
能量补给站
'
,
winCommodityMenu
:
true
winCommodityMenu
:
true
})
})
break
break
...
...
pages/play/service-detail/service-detail.wxml
View file @
e3f6b4b9
...
@@ -166,19 +166,12 @@
...
@@ -166,19 +166,12 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 能量补给站 -->
<view class="commodity-menu col" wx:if="{{winCommodityMenu}}" bindtap="onBuySnacks" data-id="{{5}}">
<view class="commodity-menu col" wx:if="{{winCommodityMenu}}">
<image class="commodity-menu-bg" src="{{resourcesBase + 'play/service/service-flower.png'}}"></image>
<view class="commodity-menu-title row con-b align-e">
<view>
<text>{{commodityTitle}}</text>
<image class="commodity-menu-icon" src="{{imageBase + 'icon/food.png'}}"></image>
</view>
<view>
<text>能量补给站</text>
</view>
<view class="row align-c">
<text>饮品预订</text>
<image src="{{imageBase + 'more-w.png'}}"></image>
</view>
</view>
<image src="{{resourcesBase + 'play/service/service-flower.png'}}" bindtap="onBuySnacks" data-id="{{5}}"></image>
</view>
</view>
<!-- 简介,评价 -->
<!-- 简介,评价 -->
...
...
pages/play/service-detail/service-detail.wxss
View file @
e3f6b4b9
...
@@ -337,12 +337,18 @@
...
@@ -337,12 +337,18 @@
font-weight: 400;
font-weight: 400;
line-height: 44rpx;
line-height: 44rpx;
color: #15191F;
color: #15191F;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.movie-card-item-title text:nth-child(1) {
.movie-card-item-title text:nth-child(1) {
font-size: 26rpx;
font-size: 26rpx;
font-weight: 400;
font-weight: 400;
line-height: 37rpx;
line-height: 37rpx;
color: #fff;
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.commodity-card-item-title text:nth-child(2) {
.commodity-card-item-title text:nth-child(2) {
...
@@ -385,47 +391,21 @@
...
@@ -385,47 +391,21 @@
/* 能量补给跳转 */
/* 能量补给跳转 */
.commodity-menu {
.commodity-menu {
position: relative;
width: 750rpx;
width: 750rpx;
height: 256rpx;
margin-top: 80rpx;
padding: 0 40rpx;
padding: 0 40rpx;
margin-top: 80rpx;
border-radius: 4rpx;
border-radius: 4rpx;
overflow: hidden;
}
.commodity-menu-bg {
position: absolute;
z-index: -1;
width: 670rpx;
height: 256rpx;
background: #999999;
}
}
.commodity-menu-icon {
.commodity-menu-title text:nth-child(1) {
margin: 48rpx 0 0 54rpx;
font-size: 40rpx;
width: 56rpx;
font-weight: 800;
height: 56rpx;
}
.commodity-menu view:nth-child(3) {
margin: 16rpx 0 0 50rpx;
font-size: 30rpx;
color: #FFFFFF;
line-height: 42rpx;
}
}
.commodity-menu view:nth-child(4) {
.commodity-menu image{
margin: 8rpx 0 0 50rpx;
width: 670rpx;
font-size: 26rpx;
height: 256rpx;
color: #FFFFFF;
margin-top: 48rpx;
line-height: 40rpx;
}
.commodity-menu view:nth-child(4) image {
margin-left: 16rpx;
width: 32rpx;
height: 32rpx;
}
}
...
...
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