|
@@ -56,11 +56,29 @@
|
|
|
bg-color="#f5f5f5" style="width: 86%;" type="none" mode="horizontal" :volume-icon="false"
|
|
bg-color="#f5f5f5" style="width: 86%;" type="none" mode="horizontal" :volume-icon="false"
|
|
|
:list="shopDet.shopNotice.split(',')"></u-notice-bar>
|
|
:list="shopDet.shopNotice.split(',')"></u-notice-bar>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view style="display: flex; margin-top: 3px;" class="flex flex-wrap align-center" @click="clickGong">
|
|
|
|
|
+ <view v-for="(ite,ind) in huoListss" :key='ind' v-if="huoListss && ite.activityType!='1'">
|
|
|
|
|
+ <view class="lable flex justify-center align-center" style="border-radius: 4rpx;background-color: #ffffff;color: red;box-sizing: border-box;">
|
|
|
|
|
+ <text v-if="ite.activityType=='2'">时段</text>
|
|
|
|
|
+ <text v-if="ite.activityType=='3'">满额</text>
|
|
|
|
|
+ <text v-if="ite.activityType=='4'">全场</text>
|
|
|
|
|
+ <text style="margin-left: 3px;">|</text>
|
|
|
|
|
+ <text style="margin-left: 3px;">{{ite.activityName}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- <view class="lable flex justify-center align-center"
|
|
|
|
|
+ style="border-radius: 4rpx;border: 1rpx solid red;background-color: #ffffff;color: red;box-sizing: border-box;"
|
|
|
|
|
+ >{{ite.activityName}}
|
|
|
|
|
+ </view> -->
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
<view class="margin-top-xs" style="width: 100%;height: 40rpx;" v-if="couponList.length>0">
|
|
<view class="margin-top-xs" style="width: 100%;height: 40rpx;" v-if="couponList.length>0">
|
|
|
<scroll-view scroll-x="true" class="scroll-view_H">
|
|
<scroll-view scroll-x="true" class="scroll-view_H">
|
|
|
<view class="coupon-item flex align-center" v-for="(item,index) in couponList" :key="index"
|
|
<view class="coupon-item flex align-center" v-for="(item,index) in couponList" :key="index"
|
|
|
@click="coupons=true">
|
|
@click="coupons=true">
|
|
|
- <view>¥</view>
|
|
|
|
|
|
|
+ <text>优惠券</text>
|
|
|
|
|
+ <text style="margin-left: 3px;">|</text>
|
|
|
|
|
+ <view style="margin-left: 3px;">¥</view>
|
|
|
<view class="" style="font-weight: bold;font-size: 24rpx;margin-right: 10rpx;">
|
|
<view class="" style="font-weight: bold;font-size: 24rpx;margin-right: 10rpx;">
|
|
|
{{item.money}}
|
|
{{item.money}}
|
|
|
</view>
|
|
</view>
|
|
@@ -142,6 +160,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view style="height: 30px;"></view>
|
|
|
</view>
|
|
</view>
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
<empty v-if="!dataList.length"></empty>
|
|
<empty v-if="!dataList.length"></empty>
|
|
@@ -391,6 +410,75 @@
|
|
|
</view>
|
|
</view>
|
|
|
</u-popup>
|
|
</u-popup>
|
|
|
|
|
|
|
|
|
|
+ <!-- 点击店铺公告栏弹框 -->
|
|
|
|
|
+ <u-popup v-model="popupGong" mode="center" border-radius="20">
|
|
|
|
|
+ <view style="width: 700rpx;height: 592rpx;">
|
|
|
|
|
+ <view style="width: 500rpx;display: flex;">
|
|
|
|
|
+ <view class="gong_img">
|
|
|
|
|
+ <image :src="shopDet.shopCover" class="radius"
|
|
|
|
|
+ style="width: 110rpx;height: 110rpx;">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="gong_name">{{shopDet.shopName}}</view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="flex align-center margin-top-xs gong_pei">
|
|
|
|
|
+ <!-- <view style="color: #FCD202;margin-right: 8rpx;">{{shopDet.autoSendOrder==1?'商家配送':'平台配送'}}</view> -->
|
|
|
|
|
+ <view style="margin-right: 8rpx;">{{shopDet.autoSendOrder==1?'商家配送:':'平台配送:'}}</view>
|
|
|
|
|
+ <view class="text-gray" style="margin-right: 8rpx;">
|
|
|
|
|
+ 配送费{{shopDet.errandMoney?shopDet.errandMoney:0}}元</view>
|
|
|
|
|
+ <!-- <view class="lable text-gray" v-if="shopDet.enableFullReductionFlag==1">
|
|
|
|
|
+ 不参与配送费满减</view> -->
|
|
|
|
|
+ <view class="lable text-gray" v-if="shopDet.enableFullReductionFlag==0&&shopDet.exemptMinMoney">
|
|
|
|
|
+ 满{{shopDet.exemptMinMoney}}元免配送费</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="gong_line"></view>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class=" align-center margin-top-xs" style="margin-top: 35rpx;">
|
|
|
|
|
+ <view v-for="(ite,ind) in gongHuo" :key='ind'>
|
|
|
|
|
+ <view class=" flex align-center" style="margin-left: 40rpx;margin-top: 4px;" v-for="(ite2,ind2) in ite.activityInGroups" :key='ind2'>
|
|
|
|
|
+ <text style="border-radius: 4rpx;background-color: #ffffff;color: red;box-sizing: border-box;border: 1px solid rgba(215, 55, 49, 1);" v-if="ite.activityType=='2'">时段</text>
|
|
|
|
|
+ <text style="border-radius: 4rpx;background-color: #ffffff;color: red;box-sizing: border-box;border: 1px solid rgba(215, 55, 49, 1);" v-if="ite.activityType=='3'">满额</text>
|
|
|
|
|
+ <text style="border-radius: 4rpx;background-color: #ffffff;color: red;box-sizing: border-box;border: 1px solid rgba(215, 55, 49, 1);" v-if="ite.activityType=='4'">全场</text>
|
|
|
|
|
+ <text style="margin-left: 6px;">{{ite2.activityTitle}}</text>
|
|
|
|
|
+ <view class="gong_huo" style="margin-left: 6px;">
|
|
|
|
|
+ <text v-if="ite2.suitType=='1'">皆适用</text>
|
|
|
|
|
+ <text v-if="ite2.suitType=='2'">仅针对第一次下单</text>
|
|
|
|
|
+ <text v-if="ite2.limitType=='1'">无数量限制</text>
|
|
|
|
|
+ <text v-if="ite2.limitType=='2'">每天限使用{{ite2.limitValue}}次</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- <view v-for="(ite,ind) in gongHuo" :key='ind' v-if="ite.activityType=='3'">
|
|
|
|
|
+ <view class=" flex align-center" style="margin-left: 40rpx;margin-top: 4px;" v-for="(ite2,ind2) in ite2.activityInGroups" :key='ind2'>
|
|
|
|
|
+ <text style="border-radius: 4rpx;background-color: #ffffff;color: red;box-sizing: border-box;border: 1px solid rgba(215, 55, 49, 1);">时段</text>
|
|
|
|
|
+ <text style="margin-left: 6px;">{{ite2.activityTitle}}</text>
|
|
|
|
|
+ <view class="gong_huo" style="margin-left: 6px;">
|
|
|
|
|
+ <text v-if="ite2.suitType=='1'">无限制</text>
|
|
|
|
|
+ <text v-if="ite2.suitType=='2'">仅针对第一次下单</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view v-for="(ite,ind) in gongHuo" :key='ind' v-if="ite.activityType=='4'">
|
|
|
|
|
+ <view class=" flex align-center" style="margin-left: 40rpx;margin-top: 4px;" v-for="(ite2,ind2) in ite2.activityInGroups" :key='ind2'>
|
|
|
|
|
+ <text style="border-radius: 4rpx;background-color: #ffffff;color: red;box-sizing: border-box;border: 1px solid rgba(215, 55, 49, 1);">时段</text>
|
|
|
|
|
+ <text style="margin-left: 6px;">{{ite2.activityTitle}}</text>
|
|
|
|
|
+ <view class="gong_huo" style="margin-left: 6px;">
|
|
|
|
|
+ <text v-if="ite2.suitType=='1'">无限制</text>
|
|
|
|
|
+ <text v-if="ite2.suitType=='2'">仅针对第一次下单</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view> -->
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="flex align-center margin-top-xs" v-if="shopDet.shopNotice" style="margin-top: 35rpx;margin-left: 40rpx;">
|
|
|
|
|
+ <text style="width: 14%;">公告:</text>
|
|
|
|
|
+ <view>{{shopDet.shopNotice}}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </u-popup>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
<view class="hintPopul" v-if="shopDet&&shopDet.putawayFlag==1">
|
|
<view class="hintPopul" v-if="shopDet&&shopDet.putawayFlag==1">
|
|
|
<view class="content_">
|
|
<view class="content_">
|
|
@@ -466,6 +554,9 @@
|
|
|
},
|
|
},
|
|
|
popupShow: false,
|
|
popupShow: false,
|
|
|
skuShow: false,
|
|
skuShow: false,
|
|
|
|
|
+
|
|
|
|
|
+ popupGong: false,//店铺公告弹框
|
|
|
|
|
+ gongHuo:[],//店铺公告活动
|
|
|
|
|
|
|
|
userId: '',
|
|
userId: '',
|
|
|
hintShow: true, //
|
|
hintShow: true, //
|
|
@@ -498,9 +589,13 @@
|
|
|
XCXIsSelect: '否',
|
|
XCXIsSelect: '否',
|
|
|
couponList: [], //优惠券列表
|
|
couponList: [], //优惠券列表
|
|
|
coupons: false,
|
|
coupons: false,
|
|
|
|
|
+ huoListss:[],//活动
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
|
|
|
+ if(option.huoListss){
|
|
|
|
|
+ this.huoListss = JSON.parse(decodeURIComponent(option.huoListss))
|
|
|
|
|
+ }
|
|
|
this.XCXIsSelect = this.$queue.getData('XCXIsSelect');
|
|
this.XCXIsSelect = this.$queue.getData('XCXIsSelect');
|
|
|
if (this.XCXIsSelect == '否') {
|
|
if (this.XCXIsSelect == '否') {
|
|
|
// this.getGuize()
|
|
// this.getGuize()
|
|
@@ -523,7 +618,6 @@
|
|
|
uni.getLocation({
|
|
uni.getLocation({
|
|
|
type: 'gcj02', //返回可以用于uni.openLocation的经纬度
|
|
type: 'gcj02', //返回可以用于uni.openLocation的经纬度
|
|
|
success: function(res) {
|
|
success: function(res) {
|
|
|
- console.log(res, '经纬度')
|
|
|
|
|
that.lat = res.latitude;
|
|
that.lat = res.latitude;
|
|
|
that.lng = res.longitude;
|
|
that.lng = res.longitude;
|
|
|
|
|
|
|
@@ -574,6 +668,22 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ //点击店铺公告弹框
|
|
|
|
|
+ clickGong(){
|
|
|
|
|
+ this.getHuoList()
|
|
|
|
|
+ this.popupGong=true
|
|
|
|
|
+ },
|
|
|
|
|
+ //获取店铺活动信息
|
|
|
|
|
+ getHuoList(){
|
|
|
|
|
+ let data = {
|
|
|
|
|
+ shopId: this.shopId,
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$Request.get(`/app/activity-shop/shop-activity-group/${this.shopId}`, data).then(res => {
|
|
|
|
|
+ if (res.code == 0) {
|
|
|
|
|
+ this.gongHuo=res.data.activityTypeGroups
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
//领取优惠券
|
|
//领取优惠券
|
|
|
lingqv(couponId, needIntegral) {
|
|
lingqv(couponId, needIntegral) {
|
|
|
let that = this
|
|
let that = this
|
|
@@ -714,7 +824,6 @@
|
|
|
},
|
|
},
|
|
|
// 弹窗展示商品详情
|
|
// 弹窗展示商品详情
|
|
|
selSku(item) {
|
|
selSku(item) {
|
|
|
- console.log(item)
|
|
|
|
|
this.checkStateList = []
|
|
this.checkStateList = []
|
|
|
this.checkString = ''
|
|
this.checkString = ''
|
|
|
this.attrList = [];
|
|
this.attrList = [];
|
|
@@ -752,7 +861,6 @@
|
|
|
}
|
|
}
|
|
|
this.checkStateList.push(data);
|
|
this.checkStateList.push(data);
|
|
|
let detail = [];
|
|
let detail = [];
|
|
|
- console.log(res.detail)
|
|
|
|
|
if (res.detail.length > 0) {
|
|
if (res.detail.length > 0) {
|
|
|
res.detail.split(',').forEach(d => {
|
|
res.detail.split(',').forEach(d => {
|
|
|
let data = {
|
|
let data = {
|
|
@@ -775,7 +883,6 @@
|
|
|
},
|
|
},
|
|
|
// 选择规格
|
|
// 选择规格
|
|
|
skuSel(item, index, ind) {
|
|
skuSel(item, index, ind) {
|
|
|
- console.log(item, index, ind)
|
|
|
|
|
this.attrList[index].goodsId = index
|
|
this.attrList[index].goodsId = index
|
|
|
this.attrList[index].attrId = ind
|
|
this.attrList[index].attrId = ind
|
|
|
this.checkStateList[index].name = item.name;
|
|
this.checkStateList[index].name = item.name;
|
|
@@ -790,7 +897,6 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- console.log(this.skuList)
|
|
|
|
|
for (var i = 0; i < this.skuList.length; i++) {
|
|
for (var i = 0; i < this.skuList.length; i++) {
|
|
|
let d = this.skuList[i];
|
|
let d = this.skuList[i];
|
|
|
if (d.detailJson == this.checkString) {
|
|
if (d.detailJson == this.checkString) {
|
|
@@ -832,16 +938,13 @@
|
|
|
let goodstr1 = 0 //商品库的 必须次数
|
|
let goodstr1 = 0 //商品库的 必须次数
|
|
|
let goodstr2 = 0 //购物车的 必须次数
|
|
let goodstr2 = 0 //购物车的 必须次数
|
|
|
let regex = new RegExp('必选', 'g');
|
|
let regex = new RegExp('必选', 'g');
|
|
|
- console.log("this.dataList----" + this.dataList)
|
|
|
|
|
let dataList = JSON.stringify(this.dataList)
|
|
let dataList = JSON.stringify(this.dataList)
|
|
|
if (dataList.match(regex)) {
|
|
if (dataList.match(regex)) {
|
|
|
goodstr1 = dataList.match(regex).length
|
|
goodstr1 = dataList.match(regex).length
|
|
|
- console.log("goodstr1----" + goodstr1)
|
|
|
|
|
if (dataList.indexOf('必选') != -1) { //检测商品是否存在必选
|
|
if (dataList.indexOf('必选') != -1) { //检测商品是否存在必选
|
|
|
let goodsList = JSON.stringify(this.goodsDet)
|
|
let goodsList = JSON.stringify(this.goodsDet)
|
|
|
if (goodsList.match(regex)) {
|
|
if (goodsList.match(regex)) {
|
|
|
goodstr2 = goodsList.match(regex).length
|
|
goodstr2 = goodsList.match(regex).length
|
|
|
- console.log("goodstr2----" + goodstr2)
|
|
|
|
|
if (goodstr1 == goodstr2) { //检查购物车商品是否存在必须
|
|
if (goodstr1 == goodstr2) { //检查购物车商品是否存在必须
|
|
|
let data = {
|
|
let data = {
|
|
|
goodsId: this.goodsDet.goodsId,
|
|
goodsId: this.goodsDet.goodsId,
|
|
@@ -980,7 +1083,6 @@
|
|
|
},
|
|
},
|
|
|
// 展示购物车弹窗
|
|
// 展示购物车弹窗
|
|
|
isPopupShow() {
|
|
isPopupShow() {
|
|
|
- console.log(this.goodsList, '677')
|
|
|
|
|
if (this.goodsList && this.goodsList.orderGoodsList && this.goodsList.orderGoodsList[0].length > 0) {
|
|
if (this.goodsList && this.goodsList.orderGoodsList && this.goodsList.orderGoodsList[0].length > 0) {
|
|
|
this.popupShow = true
|
|
this.popupShow = true
|
|
|
} else {
|
|
} else {
|
|
@@ -993,7 +1095,6 @@
|
|
|
// 添加数量
|
|
// 添加数量
|
|
|
add(item, index) {
|
|
add(item, index) {
|
|
|
// this.count++;
|
|
// this.count++;
|
|
|
- console.log(item, index)
|
|
|
|
|
this.goodsList.orderGoodsList[0][index].goodsNum++
|
|
this.goodsList.orderGoodsList[0][index].goodsNum++
|
|
|
|
|
|
|
|
let data = {
|
|
let data = {
|
|
@@ -1013,7 +1114,6 @@
|
|
|
},
|
|
},
|
|
|
// 减少数量
|
|
// 减少数量
|
|
|
noAdd(item, index) {
|
|
noAdd(item, index) {
|
|
|
- console.log(item, index)
|
|
|
|
|
this.goodsList.orderGoodsList[0][index].goodsNum--
|
|
this.goodsList.orderGoodsList[0][index].goodsNum--
|
|
|
// this.count--;
|
|
// this.count--;
|
|
|
let data = {
|
|
let data = {
|
|
@@ -1107,17 +1207,13 @@
|
|
|
if (this.goodsList && this.goodsList.orderGoodsList[0].length > 0) {
|
|
if (this.goodsList && this.goodsList.orderGoodsList[0].length > 0) {
|
|
|
// aa=this.dataList.map(item => item.goodsList)
|
|
// aa=this.dataList.map(item => item.goodsList)
|
|
|
// bb=aa.map(item => item)
|
|
// bb=aa.map(item => item)
|
|
|
- // console.log('结算',aa,bb,this.dataList)
|
|
|
|
|
let dataList = JSON.stringify(this.dataList)
|
|
let dataList = JSON.stringify(this.dataList)
|
|
|
if (dataList.match(regex)) {
|
|
if (dataList.match(regex)) {
|
|
|
goodstr1 = dataList.match(regex).length
|
|
goodstr1 = dataList.match(regex).length
|
|
|
- console.log("goodstr12----" + goodstr1)
|
|
|
|
|
if (dataList.indexOf('必选') != -1) { //检测商品是否存在必选
|
|
if (dataList.indexOf('必选') != -1) { //检测商品是否存在必选
|
|
|
let goodsList = JSON.stringify(this.goodsList.orderGoodsList)
|
|
let goodsList = JSON.stringify(this.goodsList.orderGoodsList)
|
|
|
- console.log(goodsList)
|
|
|
|
|
if (goodsList.match(regex)) {
|
|
if (goodsList.match(regex)) {
|
|
|
goodstr2 = goodsList.match(regex).length
|
|
goodstr2 = goodsList.match(regex).length
|
|
|
- console.log("goodstr2----" + goodstr2)
|
|
|
|
|
if (goodstr1 == goodstr2) { //检查购物车商品是否存在必须
|
|
if (goodstr1 == goodstr2) { //检查购物车商品是否存在必须
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: '/pages/index/shop/confirmOrder?shopId=' + this.shopId +
|
|
url: '/pages/index/shop/confirmOrder?shopId=' + this.shopId +
|
|
@@ -1154,7 +1250,6 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
TabSelect(e) {
|
|
TabSelect(e) {
|
|
|
- console.log(e.currentTarget.dataset.id)
|
|
|
|
|
this.tabCur = e.currentTarget.dataset.id;
|
|
this.tabCur = e.currentTarget.dataset.id;
|
|
|
this.mainCur = e.currentTarget.dataset.id;
|
|
this.mainCur = e.currentTarget.dataset.id;
|
|
|
this.verticalNavTop = (e.currentTarget.dataset.id - 1) * 50
|
|
this.verticalNavTop = (e.currentTarget.dataset.id - 1) * 50
|
|
@@ -1168,7 +1263,6 @@
|
|
|
view.fields({
|
|
view.fields({
|
|
|
size: true
|
|
size: true
|
|
|
}, data => {
|
|
}, data => {
|
|
|
- console.log(data, 'data 828')
|
|
|
|
|
this.dataList[i].top = tabHeight;
|
|
this.dataList[i].top = tabHeight;
|
|
|
tabHeight = tabHeight + data.height;
|
|
tabHeight = tabHeight + data.height;
|
|
|
this.dataList[i].bottom = tabHeight;
|
|
this.dataList[i].bottom = tabHeight;
|
|
@@ -1177,12 +1271,10 @@
|
|
|
this.load = false
|
|
this.load = false
|
|
|
}
|
|
}
|
|
|
let scrollTop = e.detail.scrollTop;
|
|
let scrollTop = e.detail.scrollTop;
|
|
|
- // console.log(scrollTop,'111')
|
|
|
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
|
if (scrollTop > this.dataList[i].top && scrollTop < this.dataList[i].bottom) {
|
|
if (scrollTop > this.dataList[i].top && scrollTop < this.dataList[i].bottom) {
|
|
|
this.verticalNavTop = (this.dataList[i].id - 1) * 50
|
|
this.verticalNavTop = (this.dataList[i].id - 1) * 50
|
|
|
this.tabCur = this.dataList[i].id
|
|
this.tabCur = this.dataList[i].id
|
|
|
- console.log(scrollTop) //不能删除
|
|
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1616,7 +1708,7 @@
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- margin-top: 100rpx;
|
|
|
|
|
|
|
+ margin-top: 190rpx;
|
|
|
background-color: #FFFFFF;
|
|
background-color: #FFFFFF;
|
|
|
// padding-bottom: 3%;
|
|
// padding-bottom: 3%;
|
|
|
padding: 3%;
|
|
padding: 3%;
|
|
@@ -1930,4 +2022,54 @@
|
|
|
background: #FCD202;
|
|
background: #FCD202;
|
|
|
border-radius: 36rpx;
|
|
border-radius: 36rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .lable {
|
|
|
|
|
+ border: 1rpx solid #FFE6D9;
|
|
|
|
|
+ height: 40rpx;
|
|
|
|
|
+ padding: 0 14rpx;
|
|
|
|
|
+ background: #FFE6D9;
|
|
|
|
|
+ border-radius: 4rpx;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ color: #FD6416;
|
|
|
|
|
+ font-size: 20rpx;
|
|
|
|
|
+ margin-right: 10rpx;
|
|
|
|
|
+ margin-bottom: 10rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ //店铺公告弹框
|
|
|
|
|
+ .gong_img{
|
|
|
|
|
+ margin: 40rpx 0 0 40rpx;
|
|
|
|
|
+ width: 46px;
|
|
|
|
|
+ height: 46px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .gong_name{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ margin: 41rpx 0 0 163rpx;
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
+ }
|
|
|
|
|
+ .gong_pei{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ margin: 87rpx 0 0 163rpx;
|
|
|
|
|
+ font-size: 20rpx;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
+ }
|
|
|
|
|
+ .gong_line{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ margin: 161rpx 0 0 1rpx;
|
|
|
|
|
+ width: 635.5rpx;
|
|
|
|
|
+ border: 1rpx solid rgba(230, 230, 230, 1);
|
|
|
|
|
+ }
|
|
|
|
|
+ .gong_huo{
|
|
|
|
|
+ width: 151rpx;
|
|
|
|
|
+ height: 34rpx;
|
|
|
|
|
+ border-radius: 5rpx;
|
|
|
|
|
+ background: rgba(230, 74, 69, 1);
|
|
|
|
|
+ font-size: 16rpx;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ line-height: 34rpx;
|
|
|
|
|
+ color: rgba(255, 255, 255, 1);
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|