|
@@ -52,7 +52,13 @@
|
|
</swiper-item>
|
|
</swiper-item>
|
|
</swiper>
|
|
</swiper>
|
|
<view class="swiper__dots-box">
|
|
<view class="swiper__dots-box">
|
|
- <tui-tag padding="12rpx 24rpx" type="translucent" shape="circleLeft" size="32rpx" :scaleMultiple="0.82" originRight>{{ current + 1 }}/{{ productImage.length }}</tui-tag>
|
|
|
|
|
|
+ <tui-tag padding="12rpx 24rpx"
|
|
|
|
+ type="translucent"
|
|
|
|
+ shape="circleLeft"
|
|
|
|
+ size="32rpx"
|
|
|
|
+ :scaleMultiple="0.82" originRight>
|
|
|
|
+ {{ current + 1 }}/{{ productImage.length }}
|
|
|
|
+ </tui-tag>
|
|
</view>
|
|
</view>
|
|
</uni-swiper-dot>
|
|
</uni-swiper-dot>
|
|
</view>
|
|
</view>
|
|
@@ -68,7 +74,9 @@
|
|
</view>
|
|
</view>
|
|
<view class="p-title tui-skeleton-fillet">
|
|
<view class="p-title tui-skeleton-fillet">
|
|
<view class="mclap-tag" v-if="product.beautyActFlag == '1'">美博会</view>
|
|
<view class="mclap-tag" v-if="product.beautyActFlag == '1'">美博会</view>
|
|
- <view class="p-title-name" :class="product.beautyActFlag == '1' ? 'indent' : ''"> {{product.name == undefined ? '' : product.name}} </view>
|
|
|
|
|
|
+ <view class="p-title-name" :class="product.beautyActFlag == '1' ? 'indent' : ''">
|
|
|
|
+ {{product.name == undefined ? '' : product.name}}
|
|
|
|
+ </view>
|
|
<button open-type="share" class="p-title-share tui-share-position" @tap="onShare">
|
|
<button open-type="share" class="p-title-share tui-share-position" @tap="onShare">
|
|
<view class=""><text class="iconfont icon-fenxiang1"></text></view>
|
|
<view class=""><text class="iconfont icon-fenxiang1"></text></view>
|
|
<view class="">分享</view>
|
|
<view class="">分享</view>
|
|
@@ -93,16 +101,29 @@
|
|
<image class="none-image" :src="productNoneImage" mode=""></image>
|
|
<image class="none-image" :src="productNoneImage" mode=""></image>
|
|
<view class="none-text">此商品已{{goodsData.disabledText}},请浏览以下推荐商品~</view>
|
|
<view class="none-text">此商品已{{goodsData.disabledText}},请浏览以下推荐商品~</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <!-- 参数 -->
|
|
<view class="product-parameter" @click="showPopup(0)" v-if="!goodsData.isNoneDisabled">
|
|
<view class="product-parameter" @click="showPopup(0)" v-if="!goodsData.isNoneDisabled">
|
|
<text class="title">参数:</text>
|
|
<text class="title">参数:</text>
|
|
<text class="name">品牌 起订量 分类...</text>
|
|
<text class="name">品牌 起订量 分类...</text>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
</view>
|
|
</view>
|
|
|
|
+ <!-- 优惠券 -->
|
|
|
|
+ <view class="product-parameter coupon" @click="showPopup(2)">
|
|
|
|
+ <text class="title">优惠券:</text>
|
|
|
|
+ <view class="coupon">
|
|
|
|
+ <text class="tags"> 满5000减100 </text>
|
|
|
|
+ <text class="tags"> 满5000减100 </text>
|
|
|
|
+ <text class="tags"> 满5000减100 </text>
|
|
|
|
+ </view>
|
|
|
|
+ <text class="iconfont icon-xiayibu"></text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 仪器培训方案 -->
|
|
<view class="product-parameter" @click="showPopup(1)" v-if='product.commodityType == 2 && product.trainingMethod'>
|
|
<view class="product-parameter" @click="showPopup(1)" v-if='product.commodityType == 2 && product.trainingMethod'>
|
|
<text class="title">培训方案:</text>
|
|
<text class="title">培训方案:</text>
|
|
<text class="name">{{ product.trainingMethod == 1 ? '线上培训' : '线下培训' }}</text>
|
|
<text class="name">{{ product.trainingMethod == 1 ? '线上培训' : '线下培训' }}</text>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
</view>
|
|
</view>
|
|
|
|
+ <!-- 供应商 -->
|
|
<view class="product-supplier" v-if="isNoneSupplier" @click="goSupplier">
|
|
<view class="product-supplier" v-if="isNoneSupplier" @click="goSupplier">
|
|
<view class="logo"><img :src="shop.logo ? shop.logo :'https://static.caimei365.com/app/img/icon/icon-shoplogo.png'" alt=""></view>
|
|
<view class="logo"><img :src="shop.logo ? shop.logo :'https://static.caimei365.com/app/img/icon/icon-shoplogo.png'" alt=""></view>
|
|
<view class="main">
|
|
<view class="main">
|
|
@@ -194,6 +215,60 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</tui-bottom-popup>
|
|
</tui-bottom-popup>
|
|
|
|
+ <!-- 优惠券 -->
|
|
|
|
+ <tui-bottom-popup :radius="true" :show="popupShow2" @close="hidePopup(2)">
|
|
|
|
+ <view class="tui-popup-box clearfix">
|
|
|
|
+ <view class="title">优惠券</view>
|
|
|
|
+ <view class="tui-popup-close" @click="hidePopup(2)">
|
|
|
|
+ <text class="iconfont icon-iconfontguanbi"></text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="tui-popup-tabs">
|
|
|
|
+ <coupon-tabs :tabs="navbar"
|
|
|
|
+ :currentTab="currentTab>2?0:currentTab"
|
|
|
|
+ @change="couponChange"
|
|
|
|
+ :itemWidth="(100/navbar.length)+'%'"
|
|
|
|
+ selectedColor="#e15616"
|
|
|
|
+ sliderBgColor="#e15616">
|
|
|
|
+ </coupon-tabs>
|
|
|
|
+ </view>
|
|
|
|
+ <div class="tui-popup-main coupon">
|
|
|
|
+ <scroll-view class="tui-popup-scroll" scroll-y="true">
|
|
|
|
+ <view v-for="(coupon,index) in dataList" :key="index" :id="coupon.id" class="coupon-list">
|
|
|
|
+ <view class="list-cell-le">
|
|
|
|
+ <view class="coupon-maxMoney">
|
|
|
|
+ <text class="small">¥</text>
|
|
|
|
+ {{ coupon.maxMoney }}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="coupon-minMoney">
|
|
|
|
+ 满{{ coupon.minMoney }}可用
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list-cell-ri">
|
|
|
|
+ <view class="list-cell-top">
|
|
|
|
+ <view class="list-cell-type">
|
|
|
|
+ <view class="list-cell-tags">
|
|
|
|
+ <text class="tags">{{ coupon.couponType | TypeFormat }}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list-cell-texts" :class="currentTab == 1 || currentTab == 2 ? 'none' : ''">
|
|
|
|
+ <text v-if="coupon.useType == 1">{{ coupon.useType | TypeFormatText }}</text>
|
|
|
|
+ <text v-if="coupon.useType == 2">{{ coupon.useType | TypeFormatText }}</text>
|
|
|
|
+ <text v-if="coupon.useType == 3">{{ coupon.useType | TypeFormatText }}{{ coupon.couponText }}的商品</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list-cell-btn">
|
|
|
|
+ <view class="icon-used">
|
|
|
|
+ <view class="icon-used-btn receive" v-if="currentTab == 0" @click="receiveCoupon(coupon)">领取</view>
|
|
|
|
+ <view class="icon-used-btn make" v-if="currentTab == 1">已领取</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list-cell-time">{{ coupon.couponTime }}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </scroll-view>
|
|
|
|
+ </div>
|
|
|
|
+ </view>
|
|
|
|
+ </tui-bottom-popup>
|
|
<!-- 培训方案 -->
|
|
<!-- 培训方案 -->
|
|
<tui-bottom-popup :radius="true" :show="popupShow1" @close="hidePopup(1)">
|
|
<tui-bottom-popup :radius="true" :show="popupShow1" @close="hidePopup(1)">
|
|
<view class="tui-popup-box clearfix">
|
|
<view class="tui-popup-box clearfix">
|
|
@@ -303,6 +378,7 @@
|
|
import recommend from "@/components/cm-module/productDetails/recommend" //相关推荐
|
|
import recommend from "@/components/cm-module/productDetails/recommend" //相关推荐
|
|
import cmParameter from "@/components/cm-module/productDetails/cm-parameter" //相关参数
|
|
import cmParameter from "@/components/cm-module/productDetails/cm-parameter" //相关参数
|
|
import cmService from "@/components/cm-module/productDetails/cm-service" //服务项目
|
|
import cmService from "@/components/cm-module/productDetails/cm-service" //服务项目
|
|
|
|
+ import couponTabs from '@/components/cm-module/coupon/tui-tabs.vue'
|
|
import authorize from '@/common/config/authorize.js'
|
|
import authorize from '@/common/config/authorize.js'
|
|
import wxLogin from "@/common/config/wxLogin.js"
|
|
import wxLogin from "@/common/config/wxLogin.js"
|
|
import { debounce } from '@/common/config/common.js'
|
|
import { debounce } from '@/common/config/common.js'
|
|
@@ -316,7 +392,8 @@
|
|
cmPrice,
|
|
cmPrice,
|
|
cmAttributes,
|
|
cmAttributes,
|
|
cmParameter,
|
|
cmParameter,
|
|
- cmService
|
|
|
|
|
|
+ cmService,
|
|
|
|
+ couponTabs
|
|
},
|
|
},
|
|
data(){
|
|
data(){
|
|
return{
|
|
return{
|
|
@@ -377,18 +454,105 @@
|
|
CustomBar:this.CustomBar, // 顶部导航栏高度
|
|
CustomBar:this.CustomBar, // 顶部导航栏高度
|
|
popupShow0:false, // 参数弹窗
|
|
popupShow0:false, // 参数弹窗
|
|
popupShow1:false, // 培训方案
|
|
popupShow1:false, // 培训方案
|
|
|
|
+ popupShow2:false, // 优惠券
|
|
tabSelectFlag:false,
|
|
tabSelectFlag:false,
|
|
sectionPropsArr: [],
|
|
sectionPropsArr: [],
|
|
scrollTopArray:[],
|
|
scrollTopArray:[],
|
|
sectionTopRangeArr: [],
|
|
sectionTopRangeArr: [],
|
|
winHeight:'',
|
|
winHeight:'',
|
|
isShowButton:true,
|
|
isShowButton:true,
|
|
- isNoneSupplier:false
|
|
|
|
|
|
+ isNoneSupplier:false,
|
|
|
|
+ currentTab: 0,
|
|
|
|
+ navbar: [
|
|
|
|
+ { name: "未领取",num:3 },
|
|
|
|
+ { name: "已领取",num:4 }
|
|
|
|
+ ],
|
|
|
|
+ dataList:[
|
|
|
|
+ {
|
|
|
|
+ maxMoney:5000,
|
|
|
|
+ minMoney:1000,
|
|
|
|
+ couponType:1,
|
|
|
|
+ couponTime:'2021.06.28~2021.07.28',
|
|
|
|
+ couponText:'华熙生物技术有限公司',
|
|
|
|
+ useType:1,
|
|
|
|
+ couponBtnType:0
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ maxMoney:2000,
|
|
|
|
+ minMoney:200,
|
|
|
|
+ couponType:2,
|
|
|
|
+ couponTime:'2021.06.28~2021.07.28',
|
|
|
|
+ couponText:'华熙生物技术有限公司',
|
|
|
|
+ useType:2,
|
|
|
|
+ couponBtnType:0
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ maxMoney:4000,
|
|
|
|
+ minMoney:800,
|
|
|
|
+ couponType:3,
|
|
|
|
+ couponTime:'2021.06.28~2021.07.28',
|
|
|
|
+ couponText:'华熙生物技术有限公司',
|
|
|
|
+ useType:3,
|
|
|
|
+ couponBtnType:0
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ maxMoney:6000,
|
|
|
|
+ minMoney:1000,
|
|
|
|
+ couponType:4,
|
|
|
|
+ couponTime:'2021.06.28~2021.07.28',
|
|
|
|
+ couponText:'华熙生物技术有限公司',
|
|
|
|
+ useType:1,
|
|
|
|
+ couponBtnType:0
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ maxMoney:6000,
|
|
|
|
+ minMoney:1000,
|
|
|
|
+ couponType:5,
|
|
|
|
+ couponTime:'2021.06.28~2021.07.28',
|
|
|
|
+ couponText:'华熙生物技术有限公司',
|
|
|
|
+ useType:2,
|
|
|
|
+ couponBtnType:0
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapState(['hasLogin','isWxAuthorize','identity'])
|
|
...mapState(['hasLogin','isWxAuthorize','identity'])
|
|
},
|
|
},
|
|
|
|
+ filters: {
|
|
|
|
+ TypeFormat:function(value) {
|
|
|
|
+ switch (value) {
|
|
|
|
+ case 1:
|
|
|
|
+ return '活动券';
|
|
|
|
+ break;
|
|
|
|
+ case 2:
|
|
|
|
+ return '品类券';
|
|
|
|
+ break;
|
|
|
|
+ case 3:
|
|
|
|
+ return '店铺券';
|
|
|
|
+ break;
|
|
|
|
+ case 4:
|
|
|
|
+ return '专享券';
|
|
|
|
+ break;
|
|
|
|
+ case 5:
|
|
|
|
+ return '新用户券';
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ TypeFormatText:function(value) {
|
|
|
|
+ switch (value) {
|
|
|
|
+ case 1:
|
|
|
|
+ return '全商城商品通用';
|
|
|
|
+ break;
|
|
|
|
+ case 2:
|
|
|
|
+ return '仅限购买仪器类商品';
|
|
|
|
+ break;
|
|
|
|
+ case 3:
|
|
|
|
+ return '仅可购买店铺';
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
this.productId = option.id;//获取商品ID
|
|
this.productId = option.id;//获取商品ID
|
|
this.isShareType = option.type
|
|
this.isShareType = option.type
|
|
@@ -616,6 +780,9 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ receiveCoupon(coupon){//用户领取优惠券
|
|
|
|
+ coupon.couponBtnType = 1;
|
|
|
|
+ },
|
|
showSpec(type) {//显示选择数量确认弹窗
|
|
showSpec(type) {//显示选择数量确认弹窗
|
|
this.isBtnType = type
|
|
this.isBtnType = type
|
|
this.specClass = 'show';
|
|
this.specClass = 'show';
|
|
@@ -712,6 +879,9 @@
|
|
case 1:
|
|
case 1:
|
|
this.popupShow1 = true
|
|
this.popupShow1 = true
|
|
break;
|
|
break;
|
|
|
|
+ case 2:
|
|
|
|
+ this.popupShow2 = true
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
hidePopup(index){
|
|
hidePopup(index){
|
|
@@ -722,6 +892,25 @@
|
|
case 1:
|
|
case 1:
|
|
this.popupShow1 = false
|
|
this.popupShow1 = false
|
|
break;
|
|
break;
|
|
|
|
+ case 2:
|
|
|
|
+ this.popupShow2 = false
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ couponChange(e) {
|
|
|
|
+ this.currentTab = e.index
|
|
|
|
+ console.log('currentTab',this.currentTab)
|
|
|
|
+ switch(this.currentTab){
|
|
|
|
+ case 0:
|
|
|
|
+ this.listClass = 'list-used'
|
|
|
|
+ break;
|
|
|
|
+ case 1:
|
|
|
|
+ this.listClass = 'list-none'
|
|
|
|
+ break;
|
|
|
|
+ case 2:
|
|
|
|
+ this.listClass = 'list-none'
|
|
|
|
+ break;
|
|
|
|
+
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getSectionProps() {//获取每个tab对应区域的scrollTop值
|
|
getSectionProps() {//获取每个tab对应区域的scrollTop值
|
|
@@ -1210,8 +1399,36 @@
|
|
padding: 0 24rpx;
|
|
padding: 0 24rpx;
|
|
background-color: #FFFFFF;
|
|
background-color: #FFFFFF;
|
|
position: relative;
|
|
position: relative;
|
|
- display: flex;
|
|
|
|
border-bottom: 20rpx solid #F7F7F7;
|
|
border-bottom: 20rpx solid #F7F7F7;
|
|
|
|
+ &.coupon{
|
|
|
|
+ .title{
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ }
|
|
|
|
+ .icon-xiayibu{
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ }
|
|
|
|
+ .coupon{
|
|
|
|
+ float: right;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 29rpx 0;
|
|
|
|
+ padding-right: 35rpx;
|
|
|
|
+ .tags{
|
|
|
|
+ height: 32rpx;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ border-radius: 8rpx;
|
|
|
|
+ background-color: #fff1eb;
|
|
|
|
+ line-height: 28rpx;
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ text-align: center;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ padding:0 10rpx;
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ border: 1px solid #f94b4b;
|
|
|
|
+ float: right;
|
|
|
|
+ margin:0 6rpx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.title{
|
|
.title{
|
|
line-height: 90rpx;
|
|
line-height: 90rpx;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
@@ -1220,13 +1437,11 @@
|
|
color: #666666;
|
|
color: #666666;
|
|
}
|
|
}
|
|
.name{
|
|
.name{
|
|
- float: right;
|
|
|
|
line-height: 90rpx;
|
|
line-height: 90rpx;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
float: left;
|
|
float: left;
|
|
font-size: $font-size-28;
|
|
font-size: $font-size-28;
|
|
color: $text-color;
|
|
color: $text-color;
|
|
- float: right;
|
|
|
|
padding-right: 48rpx;
|
|
padding-right: 48rpx;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow:ellipsis;
|
|
text-overflow:ellipsis;
|
|
@@ -1538,7 +1753,7 @@
|
|
height: 174rpx;
|
|
height: 174rpx;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
- z-index: 1000;
|
|
|
|
|
|
+ z-index: 990;
|
|
position: fixed;
|
|
position: fixed;
|
|
opacity: 1;
|
|
opacity: 1;
|
|
left: 0;
|
|
left: 0;
|
|
@@ -1877,7 +2092,20 @@
|
|
position: relative;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
min-height: 220rpx;
|
|
min-height: 220rpx;
|
|
- padding:0rpx 24rpx 0 24rpx;
|
|
|
|
|
|
+ padding:24rpx 24rpx 0 24rpx;
|
|
|
|
+ .tui-popup-close{
|
|
|
|
+ width: 90rpx;
|
|
|
|
+ height: 90rpx;
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 0;
|
|
|
|
+ top: 24rpx;
|
|
|
|
+ line-height: 90rpx;
|
|
|
|
+ text-align: center;
|
|
|
|
+ color: #b2b2b2;
|
|
|
|
+ .icon-iconfontguanbi{
|
|
|
|
+ font-size: $font-size-40;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.title{
|
|
.title{
|
|
font-size: $font-size-34;
|
|
font-size: $font-size-34;
|
|
color: $text-color;
|
|
color: $text-color;
|
|
@@ -1886,13 +2114,134 @@
|
|
float: left;
|
|
float: left;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 88rpx;
|
|
height: 88rpx;
|
|
|
|
+ font-weight: bold;
|
|
}
|
|
}
|
|
.tui-popup-main{
|
|
.tui-popup-main{
|
|
width: 100%;
|
|
width: 100%;
|
|
float: left;
|
|
float: left;
|
|
|
|
+ &.coupon{
|
|
|
|
+ padding-bottom: 24rpx;
|
|
|
|
+ }
|
|
.tui-popup-scroll{
|
|
.tui-popup-scroll{
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 500rpx;
|
|
height: 500rpx;
|
|
|
|
+ .coupon-list{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 200rpx;
|
|
|
|
+ margin-top: 24rpx;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ background: url(https://static.caimei365.com/app/img/icon/icon-coupon-uesb@2x.png);
|
|
|
|
+ background-size: cover;
|
|
|
|
+ .list-cell-le{
|
|
|
|
+ width: 224rpx;
|
|
|
|
+ height: 100%;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 37rpx 0;
|
|
|
|
+ float: left;
|
|
|
|
+ .coupon-maxMoney{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 78rpx;
|
|
|
|
+ line-height: 78rpx;
|
|
|
|
+ font-size: 56rpx;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ text-align: center;
|
|
|
|
+ .small{
|
|
|
|
+ font-size: $font-size-24;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .coupon-minMoney{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 33rpx;
|
|
|
|
+ line-height: 33rpx;
|
|
|
|
+ font-size: $font-size-24;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .list-cell-ri{
|
|
|
|
+ width: 478rpx;
|
|
|
|
+ height: 100%;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 20rpx 24rpx 0 24rpx;
|
|
|
|
+ float: right;
|
|
|
|
+ .list-cell-top{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 121rpx;
|
|
|
|
+ float: left;
|
|
|
|
+ border-bottom: 1px solid #e1e1e1;
|
|
|
|
+ .list-cell-type{
|
|
|
|
+ width: 286rpx;
|
|
|
|
+ height: 100%;
|
|
|
|
+ float: left;
|
|
|
|
+ .list-cell-tags{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 32rpx;
|
|
|
|
+ margin-bottom: 7rpx;
|
|
|
|
+ .tags{
|
|
|
|
+ display: inline-block;
|
|
|
|
+ padding: 0 10rpx;
|
|
|
|
+ height: 32rpx;
|
|
|
|
+ line-height: 32rpx;
|
|
|
|
+ background-color: #ffdcce;
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ border-radius: 8rpx;
|
|
|
|
+ text-align: center;
|
|
|
|
+ float: left;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .list-cell-texts{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: auto;
|
|
|
|
+ line-height:35rpx;
|
|
|
|
+ text-overflow:ellipsis;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ word-break: break-all;
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
+ color: #333333;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .list-cell-btn{
|
|
|
|
+ width: 128rpx;
|
|
|
|
+ height: 100%;
|
|
|
|
+ float: right;
|
|
|
|
+ .icon-used{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding-top: 57rpx;
|
|
|
|
+ .icon-used-btn{
|
|
|
|
+ width: 128rpx;
|
|
|
|
+ height: 48rpx;
|
|
|
|
+ border-radius: 28rpx;
|
|
|
|
+ line-height: 48rpx;
|
|
|
|
+ font-size: $font-size-26;
|
|
|
|
+ text-align: center;
|
|
|
|
+ &.receive{
|
|
|
|
+ background-image: linear-gradient(270deg, #f94b4b 0%, #feb673 100%);;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ }
|
|
|
|
+ &.make{
|
|
|
|
+ border: solid 1px #f94b4b;
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .list-cell-time{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 58rpx;
|
|
|
|
+ line-height: 58rpx;
|
|
|
|
+ text-align: left;
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ color: #999999;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
&.train{
|
|
&.train{
|
|
height: 240rpx;
|
|
height: 240rpx;
|
|
}
|
|
}
|