Commit c6171533 by 严立

LL - 服务UI问题修复

parent cff87a0c
......@@ -166,6 +166,8 @@ Page({
winLoading: false,
commodityList: this.data.commodityList.concat(funcCommodityList),
})
console.log(this.data.commodityList)
},
})
},
......
......@@ -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>
......
......@@ -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 {
......
......@@ -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'
})
......
.navigation {
z-index: 1900;
}
.container {
padding-bottom: 160rpx;
background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%, #F3F4F6 100%, #F3F4F6 100%);
......
......@@ -439,8 +439,6 @@ Page({
quantityMax: funcDate[0][0].residue < 3 ? funcDate[0][0].residue : 3,
quantityMin: 1,
})
console.log(this.dat.entryDate)
}
})
},
......
......@@ -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">
......
......@@ -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 = []
......
......@@ -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: ''
}]
......
......@@ -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>
......
......@@ -5,10 +5,11 @@
.container {
margin-top: 120rpx;
padding-bottom: 20rpx;
background: linear-gradient(182deg, #FFFFFF 0%, #EBEFF7 100%);
background: linear-gradient(182deg, #fff 0%, #ebeff7 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: #86C5E1;
background: #86c5e1;
border-radius: 2px;
overflow: hidden;
font-size: 30rpx;
font-weight: 500;
color: #ffffff;
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: #15191F;
color: #15191f;
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: #959DA9;
color: #959da9;
line-height: 36rpx;
}
.shop-date text:nth-child(2) {
margin-left: 48rpx;
font-size: 26rpx;
color: #15191F;
color: #15191f;
line-height: 36rpx;
}
.shop-btn {
width: 534rpx;
height: 96rpx;
......@@ -149,6 +174,6 @@
font-size: 30rpx;
line-height: 96rpx;
text-align: center;
background: #86C5E1;
background: #86c5e1;
border-radius: 4rpx;
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment