|
|
@@ -1,184 +1,6 @@
|
|
|
-<style lang="scss" scoped>
|
|
|
-.admin-button-com {
|
|
|
- margin-right: 20upx;
|
|
|
-}
|
|
|
-.affirm-page {
|
|
|
- position: relative;
|
|
|
- height: 100%;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- .affirm-view {
|
|
|
- flex: 1;
|
|
|
- padding: 20upx;
|
|
|
- background-color: #f0f2f6;
|
|
|
- .commodity-view {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- .commodity-list {
|
|
|
- padding: 20upx;
|
|
|
- .commodity-item {
|
|
|
- display: flex;
|
|
|
- margin-bottom: 20upx;
|
|
|
- .item-icon {
|
|
|
- flex-shrink: 0;
|
|
|
- width: 140upx;
|
|
|
- height: 140upx;
|
|
|
- }
|
|
|
- .item-info {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- flex: 1;
|
|
|
- margin-left: 20upx;
|
|
|
- .info-line {
|
|
|
- margin-bottom: 20upx;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: flex-end;
|
|
|
- .item-name {
|
|
|
- color: #666;
|
|
|
- font-size: 28upx;
|
|
|
- overflow: hidden;
|
|
|
- white-space: nowrap;
|
|
|
- text-overflow: ellipsis;
|
|
|
- width:400upx;
|
|
|
- }
|
|
|
- .item-price {
|
|
|
- color: #333;
|
|
|
- font-size: 22upx;
|
|
|
- .price {
|
|
|
- font-size: 32upx;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
- }
|
|
|
- .item-type {
|
|
|
- color: #999;
|
|
|
- font-size: 24upx;
|
|
|
- }
|
|
|
- .item-count {
|
|
|
- color: #666;
|
|
|
- font-size: 24upx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .summary-bar {
|
|
|
- padding: 0 20upx;
|
|
|
- height: 90upx;
|
|
|
- display: flex;
|
|
|
-
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- border-top: 1px solid #eeeeee;
|
|
|
- .operate-view {
|
|
|
- display: flex;
|
|
|
-
|
|
|
- align-items: center;
|
|
|
- color: #3385ff;
|
|
|
- font-size: 26upx;
|
|
|
- .iconfont {
|
|
|
- margin-right: 20upx;
|
|
|
- font-size: 40upx;
|
|
|
- }
|
|
|
- }
|
|
|
- .describe-view {
|
|
|
- display: flex;
|
|
|
-
|
|
|
- align-items: center;
|
|
|
- color: #333;
|
|
|
- font-size: 24upx;
|
|
|
- .price {
|
|
|
- font-weight: bold;
|
|
|
- font-size: 36upx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .module-com {
|
|
|
- background-color: #fff;
|
|
|
- margin-bottom: 20upx;
|
|
|
- border-radius: 10upx;
|
|
|
- overflow: hidden;
|
|
|
- padding-top: 20upx;
|
|
|
- .ghs-msg{
|
|
|
- padding: 0 20upx 20upx;
|
|
|
- font-size: 32upx;
|
|
|
- &.active{
|
|
|
- color: #868686;
|
|
|
- font-size: 24upx;
|
|
|
- }
|
|
|
- i{color: #62ed73;font-size: 48upx}
|
|
|
- }
|
|
|
-
|
|
|
- .member-wrap {
|
|
|
- .member-det {
|
|
|
- font-size: 24upx;
|
|
|
- margin-left: 20upx;
|
|
|
- }
|
|
|
- }
|
|
|
- .remark-wrap {
|
|
|
- align-items: flex-start;
|
|
|
- .remark {
|
|
|
- height: 240upx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .under-bar {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- padding: 0 20upx;
|
|
|
- width: 100%;
|
|
|
- height: 100upx;
|
|
|
- background-color: #fff;
|
|
|
-
|
|
|
- box-shadow: 0upx -1px 6upx 0upx rgba(4, 0, 0, 0.06);
|
|
|
- .price-view {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- font-size: 24upx;
|
|
|
- .price-title {
|
|
|
- color: #333;
|
|
|
- }
|
|
|
- .price-number {
|
|
|
- margin: 0 20upx;
|
|
|
- color: #ff2842;
|
|
|
- .large {
|
|
|
- font-size: 40upx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .admin-button-com {
|
|
|
- width: 200upx;
|
|
|
- }
|
|
|
- }
|
|
|
- .coupon_box{
|
|
|
- flex: 1;
|
|
|
- text-align: right;
|
|
|
- padding-right: 45upx;
|
|
|
- .has-hb{
|
|
|
- background:red;
|
|
|
- color:white;
|
|
|
- border:1upx solid red;
|
|
|
- border-radius: 30upx;
|
|
|
- font-size:20upx;
|
|
|
- padding:5upx 15upx 5upx 15upx;
|
|
|
- }
|
|
|
- .selected{
|
|
|
- color:red;
|
|
|
- float:left;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-</style>
|
|
|
-
|
|
|
<template>
|
|
|
<view class="affirm-page">
|
|
|
<view class="affirm-view overscroll">
|
|
|
- <!-- 门店信息 -->
|
|
|
<form>
|
|
|
<view class="module-com">
|
|
|
<view class="flex-space ghs-msg">
|
|
|
@@ -215,50 +37,51 @@
|
|
|
</view>
|
|
|
<view class="summary-bar">
|
|
|
<view class="operate-view" @click="gobackEvent">
|
|
|
- <text class="iconfont icongouwuche"></text>
|
|
|
- 修改花材
|
|
|
+ <text class="iconfont icongouwuche"></text>修改花材
|
|
|
</view>
|
|
|
<view class="describe-view">共{{ allCountFun.bigLength }}扎,合计 ¥<text class="price">{{ allPriceFun }}</text></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- 登录信息 -->
|
|
|
- <view class="module-com input-line-wrap">
|
|
|
|
|
|
- <!--
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
- <view class="tui-title ">送货</view>
|
|
|
- <button @click="form.sendType=1" class="admin-button-com mini-btn" :class="form.sendType==1?'blue':'default'">配送</button>
|
|
|
- <button @tap="form.sendType=2" class="admin-button-com mini-btn" :class="form.sendType==2?'blue':'default'">自取</button>
|
|
|
- </tui-list-cell>
|
|
|
- -->
|
|
|
+ <view class="module-com input-line-wrap">
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
|
<view class="tui-title ">配送时间</view>
|
|
|
-
|
|
|
<picker mode="date" :value="sendTimeWant" @change="bindDateChange" style="width:400upx;">
|
|
|
- <view class="uni-input">{{sendTimeWant || '今天'}}</view>
|
|
|
+ <view class="uni-input" v-if="sendTimeWant==''" style="color:#CCCCCC;">请选择日期</view>
|
|
|
+ <view class="uni-input">{{sendTimeWant}}</view>
|
|
|
</picker>
|
|
|
+ </tui-list-cell>
|
|
|
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
+ <view class="tui-title">花材(预付)</view>
|
|
|
+ <text style="color: #3385FF">¥{{ parseFloat(productPrice) }}</text>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-show="form.sendType == 1">
|
|
|
- <view class="tui-title ">运费</view>
|
|
|
- <input type="number" placeholder="" @input="countAllPrices" v-model="form.sendCost" placeholder-class="tui-placeholder" disabled>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
+ <view class="tui-title">重量(公斤)</view>
|
|
|
+ <text style="color: #3385FF">
|
|
|
+ {{ currentWeight }}
|
|
|
+ <text v-if="currentWeight < miniKilo" style="margin-left:15upx;color:#CCCCCC;font-size:24upx;">不足{{miniKilo}}KG按{{miniKilo}}KG算</text>
|
|
|
+ </text>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
- <tui-list-cell v-if="hasHb == 1" class="line-cell" :hover="false" :arrow="true" @click="goSelectCoupon">
|
|
|
- <view class="tui-title ">红包</view>
|
|
|
- <view class="coupon_box"><text class="selected" v-if="selectedHb.hbId && selectedHb.hbId>0">-{{selectedHb.couponAmount}}</text><text class="has-hb" v-else>有红包</text></view>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
+ <view class="tui-title">服务费</view>
|
|
|
+ <text style="color: #3385FF">
|
|
|
+ ¥{{ totalFee }}
|
|
|
+ <text style="margin-left:15upx;color:#CCCCCC;font-size:24upx;">{{parseFloat(kiloFee)}}元/公斤</text>
|
|
|
+ </text>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
- <view class="tui-title">总金额</view>
|
|
|
- <text style="color: #3385FF">{{ modifyPrice }}</text>
|
|
|
+ <view class="tui-title">合计</view>
|
|
|
+ <text style="color: #3385FF">¥{{ modifyPrice }}</text>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
- <textarea style="height: 100upx" v-model="remark" placeholder="这里写备注"/>
|
|
|
+ <textarea style="height: 100upx" v-model="remark" placeholder="这里写备注..."/>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
</view>
|
|
|
@@ -292,9 +115,8 @@ import { getGhsDataApi } from "@/api/ghs/index";
|
|
|
import { freight,createOrder } from "@/api/purchase/index";
|
|
|
import { mapActions, mapGetters } from "vuex";
|
|
|
import { shopHouponHas } from '@/api/coupon'
|
|
|
-
|
|
|
export default {
|
|
|
- name: "BillingAffirm", // 开单确认
|
|
|
+ name: "affirmGhsBook",
|
|
|
components: {
|
|
|
TuiListCell,
|
|
|
AppAvatarModule,
|
|
|
@@ -318,7 +140,7 @@ export default {
|
|
|
sendTimeWant:'',
|
|
|
remark:'',
|
|
|
form: {
|
|
|
- debt:1,//结算方式 1欠款订单 0正常订单
|
|
|
+ debt:1,
|
|
|
shopId: "",
|
|
|
shopName: "",
|
|
|
receiveProvince: "",
|
|
|
@@ -341,55 +163,77 @@ export default {
|
|
|
monthLater:'',
|
|
|
modifyPrice:0,
|
|
|
hasHb:0,
|
|
|
- selectedHb:{couponAmount:0,hbId:0,couponSelInx:0}
|
|
|
+ selectedHb:{couponAmount:0,hbId:0,couponSelInx:0},
|
|
|
+ currentWeight:0,
|
|
|
+ //预订单最低公斤数
|
|
|
+ miniKilo:0,
|
|
|
+ //用于计算的重量
|
|
|
+ calcWeight:0,
|
|
|
+ //每公斤服务费
|
|
|
+ kiloFee:0,
|
|
|
+ //总服务费
|
|
|
+ totalFee:0,
|
|
|
+ productPrice:0
|
|
|
};
|
|
|
},
|
|
|
onLoad(e) {
|
|
|
this.getGhsData(e.id);
|
|
|
},
|
|
|
onShow() {
|
|
|
+
|
|
|
+ this.miniKilo = this.option.miniKilo || 0
|
|
|
+ this.kiloFee = this.option.kiloFee || 0
|
|
|
+
|
|
|
let selectList = this.$util.copyObject(this.selectList);
|
|
|
let list = [];
|
|
|
- for (let i=0;i<selectList.length;i++){
|
|
|
- if(list==''){
|
|
|
- list.push(selectList[i])
|
|
|
- }else{
|
|
|
- let has = false
|
|
|
- list.map(res=>{
|
|
|
- if(res.id == selectList[i].id){
|
|
|
- res.bigCount = (res.bigCount+selectList[i].bigCount)
|
|
|
- res.smallCount = (res.smallCount+selectList[i].smallCount)
|
|
|
- has = true
|
|
|
- }
|
|
|
- })
|
|
|
- if(has == false){
|
|
|
+ if (!this.$util.isEmpty(selectList)){
|
|
|
+ for (let i=0;i<selectList.length;i++){
|
|
|
+ if(list==''){
|
|
|
list.push(selectList[i])
|
|
|
+ }else{
|
|
|
+ let has = false
|
|
|
+ list.map(res=>{
|
|
|
+ if(res.id == selectList[i].id){
|
|
|
+ res.bigCount = (res.bigCount+selectList[i].bigCount)
|
|
|
+ res.smallCount = (res.smallCount+selectList[i].smallCount)
|
|
|
+ has = true
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if(has == false){
|
|
|
+ list.push(selectList[i])
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ //计算重量
|
|
|
+ this.currentWeight = 0
|
|
|
+ for (let i=0;i<list.length;i++){
|
|
|
+ let small = Number(list[i].smallCount) / Number(list[i].ratio)
|
|
|
+ small = small.toFixed(2)
|
|
|
+ let count = Number(small) + Number(list[i].bigCount)
|
|
|
+ count = count.toFixed(2)
|
|
|
+ let thisWeight = Number(list[i].weight)*Number(count)
|
|
|
+ thisWeight = thisWeight.toFixed(2)
|
|
|
+ this.currentWeight = Number(this.currentWeight) + Number(thisWeight)
|
|
|
+ this.currentWeight = parseFloat(this.currentWeight.toFixed(2))
|
|
|
+ }
|
|
|
+ this.calcWeight = Number(this.currentWeight) > Number(this.miniKilo) ? Number(this.currentWeight) : Number(this.miniKilo)
|
|
|
+ this.totalFee = Number(this.calcWeight) * Number(this.kiloFee)
|
|
|
+ this.totalFee = parseFloat(this.totalFee.toFixed(2))
|
|
|
}
|
|
|
this.list = list;
|
|
|
- if(this.selectedHb.hbId && this.selectedHb.hbId > 0) {
|
|
|
- this.form.hbId = this.selectedHb.hbId
|
|
|
- this.calcPrice()
|
|
|
- }else{
|
|
|
- this.form.hbId = 0
|
|
|
- this.hasCoupon()
|
|
|
- this.calcPrice()
|
|
|
- }
|
|
|
+
|
|
|
+ this.productPrice = this.allPrice.toFixed(2)
|
|
|
+ this.modifyPrice = Number(this.productPrice) + Number(this.totalFee)
|
|
|
+ this.modifyPrice = parseFloat(this.modifyPrice.toFixed(2))
|
|
|
+
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters(["getMerchantInfo", "getLoginInfo"])
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(["initMerchantInfo"]),
|
|
|
- calcPrice(){
|
|
|
- let allPrice = this.allPrice.toFixed(2)
|
|
|
- this.modifyPrice = Number(allPrice)
|
|
|
- if(this.selectedHb.hbId && this.selectedHb.hbId > 0) {
|
|
|
- this.modifyPrice = (this.modifyPrice - Number(this.selectedHb.couponAmount)).toFixed(2)
|
|
|
- }
|
|
|
- this.modifyPrice = parseFloat(this.modifyPrice)
|
|
|
- },
|
|
|
init() {
|
|
|
this._getDet()
|
|
|
},
|
|
|
@@ -417,9 +261,6 @@ export default {
|
|
|
getGhsData(id) {
|
|
|
getGhsDataApi({id:id}).then(res => {
|
|
|
this.ghsInfo = res.data;
|
|
|
- //注释计算运费
|
|
|
- //this.purchaseFreight(this.ghsInfo);
|
|
|
- this.calcPrice()
|
|
|
});
|
|
|
},
|
|
|
countAllPrices(e){
|
|
|
@@ -472,6 +313,10 @@ export default {
|
|
|
const product = this.list.map(ele => {
|
|
|
return { productId: ele.id, bigNum: ele.bigCount, smallNum: ele.smallCount,classId:ele.classId,itemId:ele.itemId };
|
|
|
});
|
|
|
+ if(this.sendTimeWant==''){
|
|
|
+ this.$msg('请选择配送时间')
|
|
|
+ return false
|
|
|
+ }
|
|
|
let xj = uni.getStorageSync("ghsXj"+this.ghsInfo.id)
|
|
|
let params = {
|
|
|
getType:this.form.sendType,
|
|
|
@@ -481,7 +326,9 @@ export default {
|
|
|
product:JSON.stringify(product),
|
|
|
ghsId:this.ghsInfo.id,
|
|
|
hbId: this.form.hbId,
|
|
|
- xj:JSON.stringify(xj)
|
|
|
+ xj:JSON.stringify(xj),
|
|
|
+ //预订单
|
|
|
+ book:1
|
|
|
}
|
|
|
let self = this;
|
|
|
uni.showModal({
|
|
|
@@ -562,8 +409,184 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
gobackEvent() {
|
|
|
- this.$util.pageTo({url: "/pagesPurchase/ghsProduct",query: {id:this.options.id},type: 2})
|
|
|
+ this.$util.pageTo({url: "/pagesPurchase/bookProduct",query: {id:this.options.id},type: 2})
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
-</script>
|
|
|
+</script>
|
|
|
+<style lang="scss" scoped>
|
|
|
+.admin-button-com {
|
|
|
+ margin-right: 20upx;
|
|
|
+}
|
|
|
+.affirm-page {
|
|
|
+ position: relative;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ .affirm-view {
|
|
|
+ flex: 1;
|
|
|
+ padding: 20upx;
|
|
|
+ background-color: #f0f2f6;
|
|
|
+ .commodity-view {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ .commodity-list {
|
|
|
+ padding: 20upx;
|
|
|
+ .commodity-item {
|
|
|
+ display: flex;
|
|
|
+ margin-bottom: 20upx;
|
|
|
+ .item-icon {
|
|
|
+ flex-shrink: 0;
|
|
|
+ width: 140upx;
|
|
|
+ height: 140upx;
|
|
|
+ }
|
|
|
+ .item-info {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ flex: 1;
|
|
|
+ margin-left: 20upx;
|
|
|
+ .info-line {
|
|
|
+ margin-bottom: 20upx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: flex-end;
|
|
|
+ .item-name {
|
|
|
+ color: #666;
|
|
|
+ font-size: 28upx;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ width:400upx;
|
|
|
+ }
|
|
|
+ .item-price {
|
|
|
+ color: #333;
|
|
|
+ font-size: 22upx;
|
|
|
+ .price {
|
|
|
+ font-size: 32upx;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .item-type {
|
|
|
+ color: #999;
|
|
|
+ font-size: 24upx;
|
|
|
+ }
|
|
|
+ .item-count {
|
|
|
+ color: #666;
|
|
|
+ font-size: 24upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .summary-bar {
|
|
|
+ padding: 0 20upx;
|
|
|
+ height: 90upx;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ border-top: 1px solid #eeeeee;
|
|
|
+ .operate-view {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ align-items: center;
|
|
|
+ color: #3385ff;
|
|
|
+ font-size: 26upx;
|
|
|
+ .iconfont {
|
|
|
+ margin-right: 20upx;
|
|
|
+ font-size: 40upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .describe-view {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ align-items: center;
|
|
|
+ color: #333;
|
|
|
+ font-size: 24upx;
|
|
|
+ .price {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 36upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .module-com {
|
|
|
+ background-color: #fff;
|
|
|
+ margin-bottom: 20upx;
|
|
|
+ border-radius: 10upx;
|
|
|
+ overflow: hidden;
|
|
|
+ padding-top: 20upx;
|
|
|
+ .ghs-msg{
|
|
|
+ padding: 0 20upx 20upx;
|
|
|
+ font-size: 32upx;
|
|
|
+ &.active{
|
|
|
+ color: #868686;
|
|
|
+ font-size: 24upx;
|
|
|
+ }
|
|
|
+ i{color: #62ed73;font-size: 48upx}
|
|
|
+ }
|
|
|
+
|
|
|
+ .member-wrap {
|
|
|
+ .member-det {
|
|
|
+ font-size: 24upx;
|
|
|
+ margin-left: 20upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .remark-wrap {
|
|
|
+ align-items: flex-start;
|
|
|
+ .remark {
|
|
|
+ height: 240upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .under-bar {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 20upx;
|
|
|
+ width: 100%;
|
|
|
+ height: 100upx;
|
|
|
+ background-color: #fff;
|
|
|
+
|
|
|
+ box-shadow: 0upx -1px 6upx 0upx rgba(4, 0, 0, 0.06);
|
|
|
+ .price-view {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 24upx;
|
|
|
+ .price-title {
|
|
|
+ color: #333;
|
|
|
+ }
|
|
|
+ .price-number {
|
|
|
+ margin: 0 20upx;
|
|
|
+ color: #ff2842;
|
|
|
+ .large {
|
|
|
+ font-size: 40upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .admin-button-com {
|
|
|
+ width: 200upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .coupon_box{
|
|
|
+ flex: 1;
|
|
|
+ text-align: right;
|
|
|
+ padding-right: 45upx;
|
|
|
+ .has-hb{
|
|
|
+ background:red;
|
|
|
+ color:white;
|
|
|
+ border:1upx solid red;
|
|
|
+ border-radius: 30upx;
|
|
|
+ font-size:20upx;
|
|
|
+ padding:5upx 15upx 5upx 15upx;
|
|
|
+ }
|
|
|
+ .selected{
|
|
|
+ color:red;
|
|
|
+ float:left;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|