Commit d8e1c6c4 by 严立

LL - 代码合并

parents a4da6070 774387e6
<navigation class="navigation" titleText="所有项目服务" scrollStyle="{{navigationStyle}}" scrollHeight="{{navigationScroll}}"></navigation>
<navigation class="navigation" titleText="所有门票服务" scrollStyle="{{navigationStyle}}" scrollHeight="{{navigationScroll}}"></navigation>
<view class="container">
<view class="banner">
......
......@@ -38,7 +38,7 @@
.shop-item {
width: 670rpx;
margin: 48rpx 40rpx 0 40rpx;
padding: 32rpx;
padding: 32rpx 32rpx 14rpx 32rpx;
border-radius: 4rpx;
background: #FFFFFF;
}
......@@ -59,9 +59,9 @@
/* 商品信息样式 */
.commodity-item {
height: 214rpx;
padding-bottom: 50rpx;
margin-top: 50rpx;
border-bottom: 1px #E2E7EF solid;
border-bottom: 1rpx #E2E7EF solid;
}
.commodity-item:last-child {
......
......@@ -322,9 +322,10 @@
.empty-title {
margin-top: 64rpx;
color: #959DA9;
font-size: 38rpx;
font-weight: 800;
line-height: 52rpx;
color: #959DA9;
}
.empty-btn {
......
......@@ -76,8 +76,7 @@
.myAppointment-item{
width: 670rpx;
height: 360rpx;
margin: auto;
margin-bottom: 50rpx;
margin: 50rpx auto;
background-color: rgb(220, 214, 220);
border-radius: 4rpx;
position: relative;
......
......@@ -59,7 +59,7 @@
</view>
</block>
<block wx:if="{{other.length > 0}}">
<block wx:if="{{selectedOther.length > 0}}">
<view class="title row">
<image src="./image/title-2.png"></image>
</view>
......@@ -68,8 +68,8 @@
<view class="route-list row con-b">
<!-- 左侧列表 -->
<view class="route-list-left">
<block wx:for="{{other}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="route-item" wx:if="{{index % 2 === 0}}" data-id="{{item.id}}" bindtap="onActivityDetail">
<block wx:for="{{selectedOther}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="route-item" wx:if="{{index % 2 === 0}}" data-id="{{item.id}}" data-index="{{index}}" bindtap="onActivityDetail">
<view class="row con-c align-c">
<image src="{{item.cover}}" mode="aspectFill"></image>
</view>
......@@ -81,8 +81,8 @@
<!-- 右侧列表 -->
<view class="route-list-right">
<block wx:for="{{touristRouteList}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="route-item" wx:if="{{index % 2 === 1}}" data-item="{{item}}" bindtap="onTouristRouteDetail">
<block wx:for="{{selectedOther}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="route-item" wx:if="{{index % 2 === 1}}" data-id="{{item.id}}" data-index="{{index}}" bindtap="onActivityDetail">
<view class="row con-c align-c">
<image src="{{item.cover}}" mode="aspectFill"></image>
</view>
......
......@@ -207,7 +207,9 @@
/* 往期活动 */
.route-list {
width: 750rpx;
margin-top: 48rpx;
padding: 0 40rpx;
}
.route-list-left,
......
......@@ -57,7 +57,7 @@
.health-button {
position: absolute;
top: 320rpx;
top: 340rpx;
left: 40rpx;
width: 296rpx;
height: 376rpx;
......@@ -66,7 +66,7 @@
.food-button {
position: absolute;
top: 350rpx;
top: 360rpx;
right: 40rpx;
width: 276rpx;
height: 376rpx;
......@@ -75,19 +75,19 @@
.leisure-button {
position: absolute;
top: 788rpx;
top: 796rpx;
left: 40rpx;
width: 304rpx;
height: 308rpx;
height: 350rpx;
background: transparent;
}
.hotel-button {
position: absolute;
top: 820rpx;
top: 794rpx;
right: 40rpx;
width: 296rpx;
height: 328rpx;
height: 360rpx;
background: transparent;
}
......
......@@ -127,7 +127,7 @@ Page({
case 5:
this.queryActivity()
this.setData({
commodityTitle: '拾光花坊',
commodityTitle: '能量补给站',
winCommodityMenu: true
})
break
......
......@@ -166,19 +166,12 @@
</view>
</view>
</view>
<view class="commodity-menu col" wx:if="{{winCommodityMenu}}" bindtap="onBuySnacks" data-id="{{5}}">
<image class="commodity-menu-bg" src="{{resourcesBase + 'play/service/service-flower.png'}}"></image>
<view>
<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 class="commodity-menu col" wx:if="{{winCommodityMenu}}">
<view class="commodity-menu-title row con-b align-e">
<text>{{commodityTitle}}</text>
</view>
<image src="{{resourcesBase + 'play/service/service-flower.png'}}" bindtap="onBuySnacks" data-id="{{5}}"></image>
</view>
<!-- 简介,评价 -->
......
......@@ -342,12 +342,18 @@
font-weight: 400;
line-height: 44rpx;
color: #15191F;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.movie-card-item-title text:nth-child(1) {
font-size: 26rpx;
font-weight: 400;
line-height: 37rpx;
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.commodity-card-item-title text:nth-child(2) {
......@@ -390,47 +396,21 @@
/* 能量补给跳转 */
.commodity-menu {
position: relative;
width: 750rpx;
height: 256rpx;
margin-top: 80rpx;
padding: 0 40rpx;
margin-top: 80rpx;
border-radius: 4rpx;
overflow: hidden;
}
.commodity-menu-bg {
position: absolute;
z-index: -1;
width: 670rpx;
height: 256rpx;
background: #999999;
}
.commodity-menu-icon {
margin: 48rpx 0 0 54rpx;
width: 56rpx;
height: 56rpx;
}
.commodity-menu view:nth-child(3) {
margin: 16rpx 0 0 50rpx;
font-size: 30rpx;
color: #FFFFFF;
line-height: 42rpx;
.commodity-menu-title text:nth-child(1) {
font-size: 40rpx;
font-weight: 800;
}
.commodity-menu view:nth-child(4) {
margin: 8rpx 0 0 50rpx;
font-size: 26rpx;
color: #FFFFFF;
line-height: 40rpx;
}
.commodity-menu view:nth-child(4) image {
margin-left: 16rpx;
width: 32rpx;
height: 32rpx;
.commodity-menu image{
width: 670rpx;
height: 256rpx;
margin-top: 48rpx;
}
......
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