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
c6171533
authored
Sep 22, 2020
by
严立
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
LL - 服务UI问题修复
parent
cff87a0c
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
67 additions
and
35 deletions
pages/commodity/project-detail/project-detail.js
pages/commodity/project-detail/project-detail.wxml
pages/commodity/project-detail/project-detail.wxss
pages/commodity/project/project.js
pages/commodity/project/project.wxss
pages/pay/order-input/order-input.js
pages/pay/order-input/order-input.wxml
pages/play/service-detail/service-detail.js
pages/play/service/service.js
pages/play/service/service.wxml
pages/play/service/service.wxss
pages/commodity/project-detail/project-detail.js
View file @
c6171533
...
...
@@ -166,6 +166,8 @@ Page({
winLoading
:
false
,
commodityList
:
this
.
data
.
commodityList
.
concat
(
funcCommodityList
),
})
console
.
log
(
this
.
data
.
commodityList
)
},
})
},
...
...
pages/commodity/project-detail/project-detail.wxml
View file @
c6171533
...
...
@@ -14,7 +14,7 @@
<view class="project-name">
<text>{{item.name}}</text>
</view>
<view class="project-msg" wx:if="{{item.
msg
}}">
<view class="project-msg" wx:if="{{item.
describe
}}">
<text>{{item.describe}}</text>
</view>
...
...
pages/commodity/project-detail/project-detail.wxss
View file @
c6171533
...
...
@@ -39,10 +39,18 @@
}
.project-msg {
display: -webkit-box;
width: 606rpx;
margin-top: 16rpx;
color: #959DA9;
font-size: 26rpx;
line-height: 36rpx;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.project-price-wrapper {
...
...
pages/commodity/project/project.js
View file @
c6171533
...
...
@@ -5,6 +5,8 @@ Page({
imageBase
:
App
.
globalData
.
appImageBase
,
resourcesBase
:
App
.
globalData
.
appResourcesBase
,
banner
:
[],
bannerIndex
:
0
,
...
...
@@ -105,6 +107,8 @@ Page({
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
'typeId'
:
funcResponse
[
i
].
genre
,
// 商品类型
'inventoriesId'
:
funcResponse
[
i
].
inventorie
[
0
].
inventoriesId
,
// 仓库标识
'dateValid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 有效时间
'dateInvalid'
:
funcResponse
[
i
].
inventorie
[
0
].
cardNam
,
// 失效时间
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
coverImg
,
// 商品封面
'price'
:
funcResponse
[
i
].
inventorie
[
0
].
sightseerPrice
,
// 普通价
...
...
@@ -147,6 +151,8 @@ Page({
'id'
:
funcResponse
[
i
].
id
,
// 商品标识
'typeId'
:
funcResponse
[
i
].
genre
,
// 商品分类标识
'inventoriesId'
:
funcResponse
[
i
].
inventoriesId
,
// 仓库标识
'dateValid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 有效时间
'dateInvalid'
:
App
.
modular
.
miment
().
format
(
'YYYY.MM.DD'
),
// 失效时间
'name'
:
funcResponse
[
i
].
name
,
'cover'
:
funcResponse
[
i
].
coverImg
,
// 商品封面
'price'
:
funcResponse
[
i
].
sightseerPrice
,
// 普通价
...
...
@@ -246,6 +252,11 @@ Page({
* @returns
*/
onBuyService
:
function
()
{
App
.
setShopInfo
(
7
)
let
funcShopInfo
=
wx
.
getStorageSync
(
'shopInfoBuffer'
)
funcShopInfo
.
shopType
=
2
wx
.
setStorageSync
(
'shopInfoBuffer'
,
funcShopInfo
)
wx
.
navigateTo
({
url
:
'/pages/commodity/project-detail/project-detail'
})
...
...
pages/commodity/project/project.wxss
View file @
c6171533
.navigation {
z-index: 1900;
}
.container {
padding-bottom: 160rpx;
background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%, #F3F4F6 100%, #F3F4F6 100%);
...
...
pages/pay/order-input/order-input.js
View file @
c6171533
...
...
@@ -439,8 +439,6 @@ Page({
quantityMax
:
funcDate
[
0
][
0
].
residue
<
3
?
funcDate
[
0
][
0
].
residue
:
3
,
quantityMin
:
1
,
})
console
.
log
(
this
.
dat
.
entryDate
)
}
})
},
...
...
pages/pay/order-input/order-input.wxml
View file @
c6171533
...
...
@@ -283,7 +283,7 @@
</view>
<!-- winButtonPay -->
<cover-view class="pay" wx:if="{{winButtonPay && !winNoticeDetail && !winStockTip}}">
<cover-view class="pay" wx:if="{{winButtonPay && !winNoticeDetail && !winStockTip
&& !winActivityResult
}}">
<cover-view class="pay-tip row align-c">
<cover-image src="{{imageBase + 'fail-icon-4.png'}}"></cover-image>
<cover-view class="pay-tip-text row con-c align-c">付款后一经确认不得退款</cover-view>
...
...
@@ -311,9 +311,6 @@
</view>
</view>
<!-- 未支付订单超额提示 -->
<!-- 库存不足提示 -->
<view class="stock-mask row con-c align-c" wx:if="{{winStockTip}}">
<view class="stock col con-c align-c">
...
...
pages/play/service-detail/service-detail.js
View file @
c6171533
...
...
@@ -408,7 +408,9 @@ Page({
data
:
{
'officeId'
:
this
.
data
.
shopInfo
.
id
,
'genre'
:
this
.
data
.
shopInfo
.
shopType
,
'tag'
:
'201'
'tag'
:
'201'
,
'pageNo'
:
1
,
'pageSize'
:
10
,
},
success
:
(
response
)
=>
{
let
funcCommodityList
=
[]
...
...
pages/play/service/service.js
View file @
c6171533
...
...
@@ -65,7 +65,7 @@ Page({
appId
:
4
,
id
:
App
.
globalData
.
pointInfo
[
3
].
id
,
name
:
'原野MOJITO'
,
cover
:
App
.
globalData
.
appResourcesBase
+
'play/detail/shop-bg-
bg-
3-2.png'
,
cover
:
App
.
globalData
.
appResourcesBase
+
'play/detail/shop-bg-3-2.png'
,
logo
:
App
.
globalData
.
appResourcesBase
+
'shop/logo-4.png'
,
shopType
:
'5'
}]
...
...
@@ -77,7 +77,7 @@ Page({
appId
:
2
,
id
:
App
.
globalData
.
pointInfo
[
1
].
id
,
name
:
'星空影院'
,
cover
:
App
.
globalData
.
appResourcesBase
+
'play/detail/shop-bg-
bg-
4-1.png'
,
cover
:
App
.
globalData
.
appResourcesBase
+
'play/detail/shop-bg-4-1.png'
,
logo
:
App
.
globalData
.
appResourcesBase
+
'shop/logo-2.png'
,
shopType
:
''
}]
...
...
pages/play/service/service.wxml
View file @
c6171533
...
...
@@ -8,20 +8,6 @@
</view>
<view class="shop">
<!-- <block wx:for="{{tabDetail[tabIndex].shop}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="shop-item">
<image src="{{item.cover}}"></image>
<button
class="button row con-c align-c"
style="{{'bottom: ' + item.y + 'rpx;left: ' + item.x + 'rpx;'}}"
data-id="{{item.appId}}"
data-type="{{item.shopType}}"
bindtap="onShopDetail"
>
<text>立即预定</text>
</button>
</view>
</block> -->
<view class="shop-wrapper" wx:if="{{tabIndex === '0'}}">
<image class="shop-bg" src="{{tabDetail[0].shop[0].cover}}"></image>
<image class="shop-art-cover" src="{{tabDetail[0].shop[0].subCover}}"></image>
...
...
pages/play/service/service.wxss
View file @
c6171533
...
...
@@ -5,10 +5,11 @@
.container {
margin-top: 120rpx;
padding-bottom: 20rpx;
background: linear-gradient(182deg, #
FFFFFF 0%, #EBEFF
7 100%);
background: linear-gradient(182deg, #
fff 0%, #ebeff
7 100%);
}
/* 详情 */
.detail {
width: 750rpx;
min-height: 500rpx;
...
...
@@ -22,6 +23,7 @@
}
/* 商店详情 */
.shop-item {
position: relative;
width: 750rpx;
...
...
@@ -40,13 +42,12 @@
position: absolute;
width: 534rpx;
height: 96rpx;
background: #86
C5E
1;
background: #86
c5e
1;
border-radius: 2px;
overflow: hidden;
font-size: 30rpx;
font-weight: 500;
color: #fff
fff
;
color: #fff;
line-height: 42rpx;
}
...
...
@@ -55,10 +56,12 @@
width: 750rpx;
height: 1106rpx;
}
.shop-bg {
width: 750rpx;
height: 436rpx;
}
.shop-art-cover {
position: absolute;
right: 0;
...
...
@@ -67,6 +70,7 @@
width: 478rpx;
height: 362rpx;
}
.shop-content {
position: absolute;
top: 231rpx;
...
...
@@ -75,72 +79,93 @@
height: 716rpx;
background-color: #fff;
}
.shop-logo {
height: 206rpx;
}
.art-logo {
width: 66rpx;
height: 122rpx;
margin: 42rpx 0 0 66rpx;
}
.art-logo {
width: 66rpx;
height: 122rpx;
margin: 42rpx 0 0 66rpx;
}
.flower-logo {
width: 124rpx;
height: 88rpx;
margin: 62rpx 0 0 60rpx;
}
.spa-logo {
width: 124rpx;
height: 100rpx;
margin: 56rpx 0 0 50rpx;
}
.food-logo {
width: 100rpx;
height: 104rpx;
margin: 56rpx 0 0 60rpx;
}
.mojito-logo {
width: 182rpx;
height: 70rpx;
margin: 74rpx 0 0 60rpx;
}
.movie-logo {
width: 168rpx;
height: 66rpx;
margin: 84rpx 0 0 60rpx;
}
.shop-name text {
margin: 10rpx 60rpx 0;
font-size: 38rpx;
font-weight: 600;
color: #15191
F
;
color: #15191
f
;
line-height: 52rpx;
}
.shop-summary {
display: -webkit-box;
height: 72rpx;
margin: 40rpx 60rpx 0;
font-size: 26rpx;
color: #959DA9;
line-height: 36rpx;
color: #959da9;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.shop-date {
margin: 80rpx 60rpx 0;
}
.shop-date text:nth-child(1) {
font-size: 26rpx;
color: #959
DA
9;
color: #959
da
9;
line-height: 36rpx;
}
.shop-date text:nth-child(2) {
margin-left: 48rpx;
font-size: 26rpx;
color: #15191
F
;
color: #15191
f
;
line-height: 36rpx;
}
.shop-btn {
width: 534rpx;
height: 96rpx;
...
...
@@ -149,6 +174,6 @@
font-size: 30rpx;
line-height: 96rpx;
text-align: center;
background: #86
C5E
1;
background: #86
c5e
1;
border-radius: 4rpx;
}
\ No newline at end of file
}
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