|
@@ -11,7 +11,11 @@
|
|
@handleChoiceaInvoice="handleChoiceaInvoiceData">
|
|
@handleChoiceaInvoice="handleChoiceaInvoiceData">
|
|
</invoice-tent>
|
|
</invoice-tent>
|
|
<!-- 优惠券选择弹窗 -->
|
|
<!-- 优惠券选择弹窗 -->
|
|
- <coupon ref="coupon" v-if="isRequest"></coupon>
|
|
|
|
|
|
+ <coupon ref="coupon"
|
|
|
|
+ v-if="isCouponShow"
|
|
|
|
+ :couponList="couponList"
|
|
|
|
+ @handleChoiceaCoupon="handleChoiceaCouponData">
|
|
|
|
+ </coupon>
|
|
<!-- 兑换优惠券弹窗 -->
|
|
<!-- 兑换优惠券弹窗 -->
|
|
<exchangeCoupon v-if="isExchangePopup"></exchangeCoupon>
|
|
<exchangeCoupon v-if="isExchangePopup"></exchangeCoupon>
|
|
<!-- 运费 -->
|
|
<!-- 运费 -->
|
|
@@ -56,11 +60,11 @@
|
|
<text>共{{allCount}}件商品</text>
|
|
<text>共{{allCount}}件商品</text>
|
|
</view>
|
|
</view>
|
|
<view class="footer-price">
|
|
<view class="footer-price">
|
|
- <view class="sum" :class="reducedPrice == 0 ? 'none' : ''">总价:<text class="price">¥{{payAllPrice | NumFormat}}</text></view>
|
|
|
|
- <view class="sum-none" v-if="reducedPrice>0">
|
|
|
|
- <!-- <text class="money-sign">¥</text> -->
|
|
|
|
- <!-- <text class="money">{{ totalOriginalPrice | NumFormat }}</text> -->
|
|
|
|
- <text class="money-reduced">减<text>¥{{ reducedPrice | NumFormat}}</text></text>
|
|
|
|
|
|
+ <view class="sum" :class="totalDiscountAmount == 0 ? 'none' : ''">
|
|
|
|
+ 总价:<text class="price">¥{{payAllPrice | NumFormat}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="sum-none" v-if="totalDiscountAmount > 0">
|
|
|
|
+ <text class="money-reduced">共减<text>¥{{ totalDiscountAmount | NumFormat}}</text></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -68,6 +72,39 @@
|
|
<view class="btn" :class="isSubLoading ? 'disabled' : ''" >提交订单</view>
|
|
<view class="btn" :class="isSubLoading ? 'disabled' : ''" >提交订单</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <!-- 优惠券 -->
|
|
|
|
+ <view class="coupon-content-model" v-if="isCouponModel">
|
|
|
|
+ <view class="coupon-alert-content">
|
|
|
|
+ <view class="coupon">
|
|
|
|
+ <view class="coupon-list">
|
|
|
|
+ <view class="list-cell-tags">{{ ExchangeCouponData.couponType | TypeFormat }}</text></view>
|
|
|
|
+ <view class="list-cell-le">
|
|
|
|
+ <view class="coupon-maxMoney">
|
|
|
|
+ <text class="small">¥</text>
|
|
|
|
+ {{ ExchangeCouponData.couponAmount }}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="coupon-minMoney">
|
|
|
|
+ <text class="txt">满{{ ExchangeCouponData.touchPrice }}可用</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list-cell-ri">
|
|
|
|
+ <view class="list-cell-top">
|
|
|
|
+ <text v-if="ExchangeCouponData.couponType == 0">
|
|
|
|
+ {{ ExchangeCouponData.productType && ExchangeCouponData.productType == 1 ? '全商城商品通用' : '仅可购买指定商品' }}
|
|
|
|
+ </text>
|
|
|
|
+ <text v-if="ExchangeCouponData.couponType == 1">
|
|
|
|
+ {{ ExchangeCouponData.categoryType == 1 ? '仅限购买产品类商品' : '仅限购买仪器类商品' }}
|
|
|
|
+ </text>
|
|
|
|
+ <text v-if="ExchangeCouponData.couponType == 3">仅限购买店铺【{{ ExchangeCouponData.shopName }}】的商品</text>
|
|
|
|
+ <text v-if="ExchangeCouponData.couponType == 4 || ExchangeCouponData.couponType == 2">全商城商品通用</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list-cell-time">有效期:{{ ExchangeCouponData.endDate }}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="coupon-btn" @click.stop="handleClickCancel">立即收下</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -105,6 +142,8 @@
|
|
allCount:1, // 订单提交总数量
|
|
allCount:1, // 订单提交总数量
|
|
totalOriginalPrice:0, // 订单总原价(划线部分)
|
|
totalOriginalPrice:0, // 订单总原价(划线部分)
|
|
reducedPrice:0, // 满减金额
|
|
reducedPrice:0, // 满减金额
|
|
|
|
+ couponAmount:0, // 优惠券金额
|
|
|
|
+ totalDiscountAmount:0, // 共减金额
|
|
payAllPrice:0.00, // 订单提交总金额
|
|
payAllPrice:0.00, // 订单提交总金额
|
|
allPrice:0.00, // 订单总金额
|
|
allPrice:0.00, // 订单总金额
|
|
surplusMoney:0.00, // 显示勾选后的剩余抵扣
|
|
surplusMoney:0.00, // 显示勾选后的剩余抵扣
|
|
@@ -122,14 +161,19 @@
|
|
hanldFreight:'', // 邮费
|
|
hanldFreight:'', // 邮费
|
|
addressData:{}, // 初始化地址信息
|
|
addressData:{}, // 初始化地址信息
|
|
goodsData:[], // 初始化商品信息
|
|
goodsData:[], // 初始化商品信息
|
|
|
|
+ couponList:[], // 初始化优惠券信息
|
|
invoiceData:{type:0}, // 初始化发票信息
|
|
invoiceData:{type:0}, // 初始化发票信息
|
|
freightData:{}, // 邮费数据
|
|
freightData:{}, // 邮费数据
|
|
orderInfo:[], // 提交的商品信息
|
|
orderInfo:[], // 提交的商品信息
|
|
payInfo:{}, // 订单信息
|
|
payInfo:{}, // 订单信息
|
|
|
|
+ clubCouponId:0, // 用户关联优惠Id
|
|
rechargeGoods:null, // 判断订单里有定金商品或者充值商品时,余额抵扣部分不显示
|
|
rechargeGoods:null, // 判断订单里有定金商品或者充值商品时,余额抵扣部分不显示
|
|
freightBeansMoney:0, // 存储采美豆抵扣金额
|
|
freightBeansMoney:0, // 存储采美豆抵扣金额
|
|
hanldUserBeans:0, // 抵扣的采美豆数
|
|
hanldUserBeans:0, // 抵扣的采美豆数
|
|
|
|
+ isCouponShow:false, // 是否显示可选优惠券
|
|
isCheckedBeans:false, // 是否抵扣采美豆
|
|
isCheckedBeans:false, // 是否抵扣采美豆
|
|
|
|
+ isCouponModel:false, // 兑换优惠券成功提示
|
|
|
|
+ ExchangeCouponData:{} // 兑换优惠券信息
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(option){//商品数据
|
|
onLoad(option){//商品数据
|
|
@@ -145,7 +189,7 @@
|
|
}
|
|
}
|
|
this.$api.getStorage().then((resolve) =>{
|
|
this.$api.getStorage().then((resolve) =>{
|
|
this.userID = resolve.userId ? resolve.userId : 0
|
|
this.userID = resolve.userId ? resolve.userId : 0
|
|
- this.getInitCrearOrder(option);
|
|
|
|
|
|
+ this.getInitCrearOrder();
|
|
})
|
|
})
|
|
},
|
|
},
|
|
filters:{
|
|
filters:{
|
|
@@ -154,7 +198,7 @@
|
|
},
|
|
},
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- getInitCrearOrder(option){//获取订单商品信息
|
|
|
|
|
|
+ getInitCrearOrder(){//获取订单商品信息
|
|
this.OrderService.CreateOrderInfo({
|
|
this.OrderService.CreateOrderInfo({
|
|
userId:this.userID,
|
|
userId:this.userID,
|
|
count:this.productCount,
|
|
count:this.productCount,
|
|
@@ -165,11 +209,15 @@
|
|
let resData = response.data
|
|
let resData = response.data
|
|
this.isRequest = true
|
|
this.isRequest = true
|
|
this.goodsData = resData.list
|
|
this.goodsData = resData.list
|
|
|
|
+ this.couponList = resData.couponList
|
|
this.userMoney = resData.userMoney
|
|
this.userMoney = resData.userMoney
|
|
- this.reducedPrice = resData.reducedPrice
|
|
|
|
|
|
+ this.totalDiscountAmount = this.reducedPrice = resData.reducedPrice
|
|
this.allPrice = this.payAllPrice = resData.totalPrice
|
|
this.allPrice = this.payAllPrice = resData.totalPrice
|
|
this.totalOriginalPrice = resData.totalOriginalPrice
|
|
this.totalOriginalPrice = resData.totalOriginalPrice
|
|
this.rechargeGoods = resData.rechargeGoods
|
|
this.rechargeGoods = resData.rechargeGoods
|
|
|
|
+ if(this.couponList.length>0){
|
|
|
|
+ this.isCouponShow = true
|
|
|
|
+ }
|
|
})
|
|
})
|
|
.catch(error =>{
|
|
.catch(error =>{
|
|
this.$util.msg(error.msg,2000)
|
|
this.$util.msg(error.msg,2000)
|
|
@@ -271,12 +319,12 @@
|
|
this.deductMoney = this.allPrice // 当前使用金额等于订单金额
|
|
this.deductMoney = this.allPrice // 当前使用金额等于订单金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余金额等于余额-当前使用金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余金额等于余额-当前使用金额
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice - this.userMoney // 订单最终支付金额等于订单金额-账户余额
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice - this.userMoney - this.couponAmount // 订单最终支付金额等于订单金额-账户余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于总余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于总余额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于总余额-当前使用金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于总余额-当前使用金额
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice + this.hanldFreight - this.freightBeansMoney
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice + this.hanldFreight - this.freightBeansMoney - this.couponAmount
|
|
}
|
|
}
|
|
console.log('抵扣',this.payAllPrice)
|
|
console.log('抵扣',this.payAllPrice)
|
|
}
|
|
}
|
|
@@ -288,6 +336,14 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ handleChoiceaCouponData(data){// 勾选使用优惠券
|
|
|
|
+ console.log('优惠券信息',data)
|
|
|
|
+ this.couponAmount = data.couponAmount
|
|
|
|
+ this.totalDiscountAmount = this.reducedPrice + this.couponAmount;
|
|
|
|
+ this.clubCouponId = data.clubCouponId
|
|
|
|
+ this.attributePallPrice()
|
|
|
|
+ this.hanldFreightBeans(this.isCheckedBeans)
|
|
|
|
+ },
|
|
checkedBalabce(){//勾选使用余额
|
|
checkedBalabce(){//勾选使用余额
|
|
if(this.userMoney > 0){
|
|
if(this.userMoney > 0){
|
|
this.ischecked = !this.ischecked
|
|
this.ischecked = !this.ischecked
|
|
@@ -297,15 +353,17 @@
|
|
}else{
|
|
}else{
|
|
if(this.hanldFreePostFlag == 1 || this.hanldFreePostFlag == '1'){ //如果是有运费时
|
|
if(this.hanldFreePostFlag == 1 || this.hanldFreePostFlag == '1'){ //如果是有运费时
|
|
if(this.isCheckedBeans){
|
|
if(this.isCheckedBeans){
|
|
- this.payAllPrice = this.allPrice
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice - this.couponAmount
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice+parseInt(this.freightData.freight)
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice+parseInt(this.freightData.freight) - this.couponAmount
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice - this.couponAmount
|
|
}
|
|
}
|
|
this.balanceDeductionFlag = 2
|
|
this.balanceDeductionFlag = 2
|
|
}
|
|
}
|
|
|
|
+ console.log('this.payAllPrice',this.payAllPrice)
|
|
|
|
+ console.log('this.couponAmount',this.couponAmount)
|
|
}else{
|
|
}else{
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -324,15 +382,17 @@
|
|
this.deductMoney = this.allPrice // 当前使用金额等于订单金额
|
|
this.deductMoney = this.allPrice // 当前使用金额等于订单金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余金额等于余额-当前使用金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余金额等于余额-当前使用金额
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice - this.userMoney // 订单最终支付金额等于订单金额-账户余额
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice - this.userMoney - this.couponAmount // 订单最终支付金额等于订单金额-账户余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于总余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于总余额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于总余额-当前使用金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于总余额-当前使用金额
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice;
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice - this.couponAmount;
|
|
this.deductMoney = 0.00; // 当前使用
|
|
this.deductMoney = 0.00; // 当前使用
|
|
this.surplusMoney = this.userMoney; // 剩余余额
|
|
this.surplusMoney = this.userMoney; // 剩余余额
|
|
}
|
|
}
|
|
|
|
+ console.log('this.payAllPrice',this.payAllPrice)
|
|
|
|
+ console.log('this.couponAmount',this.couponAmount)
|
|
},
|
|
},
|
|
attributeHashfreight(freight){// 计算需要邮费的支付价格
|
|
attributeHashfreight(freight){// 计算需要邮费的支付价格
|
|
this.payAllPrice = this.allPrice+parseInt(freight)// 计算不包邮的价格 总价等于商品价格+邮费
|
|
this.payAllPrice = this.allPrice+parseInt(freight)// 计算不包邮的价格 总价等于商品价格+邮费
|
|
@@ -348,20 +408,22 @@
|
|
}
|
|
}
|
|
}else{// 部分抵扣
|
|
}else{// 部分抵扣
|
|
if(this.isCheckedBeans){// 抵扣运费了
|
|
if(this.isCheckedBeans){// 抵扣运费了
|
|
- this.payAllPrice = this.allPrice - this.userMoney // 订单最终支付金额等于订单金额+运费-账户余额
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice - this.userMoney - this.couponAmount // 订单最终支付金额等于订单金额+运费-账户余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于账户余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于账户余额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于账户余额-当前使用金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于账户余额-当前使用金额
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice+parseInt(freight) - this.userMoney // 订单最终支付金额等于订单金额+运费-账户余额
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice+parseInt(freight) - this.userMoney - this.couponAmount // 订单最终支付金额等于订单金额+运费-账户余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于账户余额
|
|
this.deductMoney = this.userMoney // 当前使用金额等于账户余额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于账户余额-当前使用金额
|
|
this.surplusMoney = this.userMoney - this.deductMoney // 剩余余额等于账户余额-当前使用金额
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
- this.payAllPrice = this.allPrice+parseInt(freight)
|
|
|
|
|
|
+ this.payAllPrice = this.allPrice+parseInt(freight) - this.couponAmount
|
|
this.deductMoney = 0.00 // 当前使用金额
|
|
this.deductMoney = 0.00 // 当前使用金额
|
|
this.surplusMoney = this.userMoney // 剩余余额
|
|
this.surplusMoney = this.userMoney // 剩余余额
|
|
}
|
|
}
|
|
|
|
+ console.log('this.payAllPrice',this.payAllPrice)
|
|
|
|
+ console.log('this.couponAmount',this.couponAmount)
|
|
},
|
|
},
|
|
orderSubmitMit(){// 提交订单
|
|
orderSubmitMit(){// 提交订单
|
|
if(this.isSubLoading){ return; }
|
|
if(this.isSubLoading){ return; }
|
|
@@ -391,6 +453,7 @@
|
|
userBeans:this.hanldUserBeans
|
|
userBeans:this.hanldUserBeans
|
|
}
|
|
}
|
|
let param = {
|
|
let param = {
|
|
|
|
+ clubCouponId:this.clubCouponId,
|
|
orderSource:6,
|
|
orderSource:6,
|
|
clubUserId:this.userID,
|
|
clubUserId:this.userID,
|
|
cartType:this.cartType,
|
|
cartType:this.cartType,
|
|
@@ -435,6 +498,10 @@
|
|
handFreightAlertShow(){//显示邮费弹窗
|
|
handFreightAlertShow(){//显示邮费弹窗
|
|
this.isfreightTip = true;
|
|
this.isfreightTip = true;
|
|
},
|
|
},
|
|
|
|
+ handleClickCancel(){// 关闭优惠券弹窗
|
|
|
|
+ this.isCouponModel = false;
|
|
|
|
+ this.getInitCrearOrder();
|
|
|
|
+ },
|
|
hideFreight(){//关闭邮费弹窗
|
|
hideFreight(){//关闭邮费弹窗
|
|
this.isfreightTip = false;
|
|
this.isfreightTip = false;
|
|
},
|
|
},
|
|
@@ -644,5 +711,128 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ .coupon-content-model{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ background: rgba(0,0,0,.5);
|
|
|
|
+ position: fixed;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ z-index: 8888;
|
|
|
|
+ transition: all 0.4s;
|
|
|
|
+ .coupon-alert-content{
|
|
|
|
+ width: 600rpx;
|
|
|
|
+ height: 612rpx;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ margin: auto;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding-top: 92rpx;
|
|
|
|
+ .coupon{
|
|
|
|
+ width: 600rpx;
|
|
|
|
+ height: 522rpx;
|
|
|
|
+ background: url(https://static.caimei365.com/app/img/icon/icon-coupon-alertbg@2x.png);
|
|
|
|
+ background-size: cover;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 230rpx 40rpx 0 40rpx;
|
|
|
|
+ .coupon-list{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 147rpx;
|
|
|
|
+ margin-bottom: 32rpx;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ background: url(https://static.caimei365.com/app/img/icon/icon-coupon-bg@2x.png);
|
|
|
|
+ background-size: cover;
|
|
|
|
+ position: relative;
|
|
|
|
+ .list-cell-tags{
|
|
|
|
+ display: inline-block;
|
|
|
|
+ padding: 0 10rpx;
|
|
|
|
+ height: 32rpx;
|
|
|
|
+ line-height: 32rpx;
|
|
|
|
+ background-color: #f94b4b;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ font-size: 18rpx;
|
|
|
|
+ border-radius: 16rpx 0 16rpx 0;
|
|
|
|
+ text-align: center;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ }
|
|
|
|
+ .list-cell-le{
|
|
|
|
+ width: 154rpx;
|
|
|
|
+ height: 100%;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 30rpx 0;
|
|
|
|
+ float: left;
|
|
|
|
+ .coupon-maxMoney{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 54rpx;
|
|
|
|
+ line-height: 54rpx;
|
|
|
|
+ font-size: 42rpx;
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ text-align: center;
|
|
|
|
+ margin-top: 10rpx;
|
|
|
|
+ .small{
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .coupon-minMoney{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 28rpx;
|
|
|
|
+ float: left;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding-left: 24rpx;
|
|
|
|
+ .txt{
|
|
|
|
+ display: block;
|
|
|
|
+ height: 28rpx;
|
|
|
|
+ line-height: 28rpx;
|
|
|
|
+ font-size: 16rpx;
|
|
|
|
+ color: #f94b4b;
|
|
|
|
+ text-align: center;
|
|
|
|
+ padding: 0 5rpx;
|
|
|
|
+ background-color: #fff1eb;
|
|
|
|
+ border-radius: 4rpx;
|
|
|
|
+ float: left;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .list-cell-ri{
|
|
|
|
+ width: 366rpx;
|
|
|
|
+ height: 100%;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding:30rpx 20rpx;
|
|
|
|
+ float: left;
|
|
|
|
+ .list-cell-top{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 64rpx;
|
|
|
|
+ line-height: 64rpx;
|
|
|
|
+ font-size: $font-size-26;
|
|
|
|
+ color: #333333;
|
|
|
|
+ float: left;
|
|
|
|
+ }
|
|
|
|
+ .list-cell-time{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 28rpx;
|
|
|
|
+ line-height: 28rpx;
|
|
|
|
+ text-align: left;
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ color: #999999;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .coupon-btn{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 78rpx;
|
|
|
|
+ background: url(https://static.caimei365.com/app/img/icon/icon-coupon-alertbtnbg@2x.png);
|
|
|
|
+ background-size: cover;
|
|
|
|
+ line-height: 78rpx;
|
|
|
|
+ text-align: center;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ font-size: $font-size-36;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|