2020-08-13 08:12:57 +00:00
|
|
|
|
<template>
|
|
|
|
|
<view>
|
|
|
|
|
<view class='bargain'>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class="header" :class="startBargainUid != userInfo.uid ? 'on' : ''">
|
|
|
|
|
<navigator url="/pages/activity/goods_bargain/index" hover-class="none">
|
|
|
|
|
<view class="back">
|
|
|
|
|
<text class="iconfont icon-xiangzuo"></text> 返回砍价列表
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="pad30" style="padding-bottom: 30rpx;">
|
|
|
|
|
<view class='wrapper'>
|
|
|
|
|
<view class='pictxt acea-row row-between' @tap="goProduct">
|
|
|
|
|
<view class='pictrue'>
|
|
|
|
|
<image :src='bargainInfo.image'></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='text acea-row row-column-around'>
|
|
|
|
|
<view class='line1'>{{bargainInfo.title}}</view>
|
|
|
|
|
<view class="surplus">最低价:¥{{bargainInfo.minPrice}}</view>
|
|
|
|
|
<view class="surplus">剩余:{{bargainInfo.quota}}{{bargainInfo.unitName}}</view>
|
|
|
|
|
<view class='money font-color-red'>
|
|
|
|
|
当前: ¥
|
|
|
|
|
<text class='num'>{{buyPrice}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="acea-row"
|
|
|
|
|
v-if="new Date().getTime()- bargainInfo.stopTime < 0 && bargainInfo.quota>0">
|
|
|
|
|
<countDown :tipText="' '" :bgColor="bgColor" :dayText="':'" :hourText="':'"
|
|
|
|
|
:minuteText="':'" :secondText="' '" :datatime="datatime" :isDay="true"></countDown>
|
|
|
|
|
<text style="font-size: 22rpx;margin-left: 4rpx;line-height: 36rpx;">后结束</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="new Date().getTime()- bargainInfo.stopTime >=0">
|
|
|
|
|
<view style="font-size: 22rpx;" @tap='currentBargainUser'>已结束</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="bargainInfo.quota==0">
|
|
|
|
|
<view style="font-size: 22rpx;" @tap='currentBargainUser'>已售罄</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<text class="iconfont icon-jiantou iconfonts"></text>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class="content">
|
|
|
|
|
<block
|
|
|
|
|
v-if="(startBargainUid == uid && (bargainStatus==1 || bargainStatus==3)) || (startBargainUid != uid && bargainStatus==5)">
|
|
|
|
|
<view class='money acea-row row-center'
|
|
|
|
|
:class="new Date().getTime()- bargainInfo.stopTime >=0 ? 'font_hui': ''">
|
|
|
|
|
<view style="margin-right: 40rpx;">已砍<text class="font-color-red"
|
|
|
|
|
:class="new Date().getTime()- bargainInfo.stopTime >=0 ? 'font_hui': ''">¥{{bargainUserInfo.alreadyPrice}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view>还剩<text class="font-color-red"
|
|
|
|
|
:class="new Date().getTime()- bargainInfo.stopTime >=0 ? 'font_hui': ''">¥{{bargainUserInfo.surplusPrice}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-progress acea-row row-middle round margin-top"
|
|
|
|
|
:class="new Date().getTime()- bargainInfo.stopTime >=0 ? 'bg_qian': ''">
|
|
|
|
|
<view class='acea-row row-middle bg-red'
|
|
|
|
|
:class="new Date().getTime()- bargainInfo.stopTime >=0 ? 'bg-color-hui': ''"
|
|
|
|
|
:style="'width:'+ bargainUserInfo.bargainPercent +'%;'"></view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='tip'>
|
|
|
|
|
一 已有{{bargainInfo.sales}}位好友砍价成功 一
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
<!-- 自己砍价 -->
|
|
|
|
|
<view
|
|
|
|
|
v-if="startBargainUid == uid && parseFloat(bargainUserInfo.surplusPrice) > 0 && bargainStatus==1">
|
|
|
|
|
<view class='bargainBnt' @tap='userBargain' v-if="quota>0">
|
|
|
|
|
立即参与砍价
|
|
|
|
|
</view>
|
|
|
|
|
<view class='bargainBnt grey' v-if="quota<=0">商品暂无库存</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
v-if="startBargainUid == uid && parseFloat(bargainUserInfo.surplusPrice) > 0 && bargainStatus==3">
|
|
|
|
|
<!-- #ifdef H5 -->
|
|
|
|
|
<view class='bargainBnt' v-if="$wechat.isWeixin()" @click="H5ShareBox = true">邀请好友帮砍价</view>
|
|
|
|
|
<view class='bargainBnt' v-else @tap='getBargainUserBargainPricePoster'>邀请好友帮砍价</view>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
<!-- #ifdef MP -->
|
|
|
|
|
<button open-type='share' class='bargainBnt'>邀请好友帮砍价</button>
|
|
|
|
|
<!-- #endif -->
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
<view
|
|
|
|
|
v-if="startBargainUid != uid && bargainStatus==5 && parseFloat(bargainUserInfo.surplusPrice) > 0">
|
|
|
|
|
<view class='bargainBnt' @tap='setBargainHelp'>帮好友砍一刀</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="startBargainUid != uid && bargainStatus==4 && parseFloat(bargainUserInfo.surplusPrice) == 0" >
|
|
|
|
|
<view class='bargainSuccess'>
|
|
|
|
|
<image src="../static/cheng.png"></image>
|
|
|
|
|
好友已砍成功
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='bargainBnt' @tap='currentBargainUser'>我也要参与</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-06-19 15:53:34 +00:00
|
|
|
|
<view v-if="startBargainUid != uid && bargainStatus === 7">
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='bargainSuccess'>
|
|
|
|
|
<image src="../static/cheng.png"></image>
|
|
|
|
|
您已帮其他好友砍过此商品
|
|
|
|
|
</view>
|
|
|
|
|
<view class='bargainBnt' @tap='currentBargainUser'>我也要参与</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2023-06-19 15:53:34 +00:00
|
|
|
|
<view v-if="startBargainUid !== uid && bargainStatus === 6">
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='bargainSuccess'>
|
|
|
|
|
<image src="../static/chengh.png"></image>
|
|
|
|
|
已成功帮助好友砍价
|
|
|
|
|
</view>
|
|
|
|
|
<view class='bargainBnt' @tap='currentBargainUser'>我也要参与</view>
|
2020-12-23 07:56:45 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view
|
|
|
|
|
v-if="parseFloat(bargainUserInfo.surplusPrice) == 0 && startBargainUid == uid && (bargainStatus==4 || bargainStatus==8)">
|
|
|
|
|
<view class='bargainSuccess'>
|
|
|
|
|
<image src="../static/chengh.png"></image>
|
|
|
|
|
恭喜您砍价成功,快去支付吧~
|
|
|
|
|
</view>
|
|
|
|
|
<view class="acea-row row-between buyBox pad30">
|
|
|
|
|
<view class='buyMore on' @tap='goBargainList'>继续选购</view>
|
|
|
|
|
<view v-if="bargainStatus==4" class='buyNow on' @tap='goPay'>立即支付</view>
|
|
|
|
|
<view v-if="bargainStatus==8" class='buyNow on' @tap='goConfirm'>去支付</view>
|
|
|
|
|
</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view
|
|
|
|
|
v-if="parseFloat(bargainUserInfo.surplusPrice) == 0 && startBargainUid == uid && bargainStatus==9">
|
|
|
|
|
<view class='bargainSuccess'>
|
|
|
|
|
<image src="../static/chengh.png"></image>
|
|
|
|
|
恭喜您砍价成功,去看看别的商品吧~
|
|
|
|
|
</view>
|
|
|
|
|
<view class="buyBox pad30">
|
|
|
|
|
<view class='buyMore on' @tap='goBargainList' style="margin: 40rpx auto 0 auto;">继续选购</view>
|
|
|
|
|
</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view v-if="new Date().getTime()- bargainInfo.stopTime >=0">
|
|
|
|
|
<view class='huiBtn' @tap='currentBargainUser'>活动已结束</view>
|
2020-12-23 07:56:45 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view v-else-if="bargainInfo.quota==0">
|
|
|
|
|
<view class='huiBtn' @tap='currentBargainUser'>商品已售罄</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<navigator v-if="new Date().getTime()- bargainInfo.stopTime >=0 || bargainInfo.quota==0"
|
|
|
|
|
url="/pages/activity/goods_bargain/index" hover-class="none">
|
|
|
|
|
<view class="go">再去逛逛<text class="iconfont icon-jiantou"></text></view>
|
|
|
|
|
</navigator>
|
|
|
|
|
<view v-if="bargainStatus==2" class="contentNo" style="padding: 0;">
|
|
|
|
|
<text class="iconfont icon-xiaolian mr8"></text>
|
|
|
|
|
您购买的商品数量已达上限
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
<!-- 砍价记录 -->
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='title font-color acea-row row-center-wrapper'>
|
|
|
|
|
<view class='pictrue'>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<image src='../static/zuo2.png'></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tits">
|
|
|
|
|
<view class='titleCon'>砍价记录</view>
|
|
|
|
|
<view class="line"></view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
<view class='pictrue on'>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<image src='../static/you2.png'></image>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='bargainGang borRadius14'>
|
|
|
|
|
<view class='list' v-if="bargainUserHelpList.length>0">
|
|
|
|
|
<block v-for="(item,index) in bargainUserHelpList" :key='index'
|
|
|
|
|
v-if="index<3 || !couponsHidden">
|
|
|
|
|
<view class='item acea-row row-between-wrapper'>
|
|
|
|
|
<view class='pictxt acea-row row-between-wrapper'>
|
|
|
|
|
<view class='pictrue'>
|
|
|
|
|
<image :src='item.avatar'></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='text'>
|
|
|
|
|
<view class='name line1'>{{item.nickname}}</view>
|
|
|
|
|
<view class='line1'>{{item.addTimeStr }}</view>
|
|
|
|
|
</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='money'>
|
|
|
|
|
已砍 <text class="font-color-red">{{item.price}}</text>元
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
<view class="open acea-row row-center-wrapper" @click="openTap"
|
|
|
|
|
v-if="bargainUserHelpList.length>3">{{couponsHidden?'展开更多':'关闭展开'}}<text class="iconfont"
|
|
|
|
|
:class='couponsHidden==true?"icon-xiangxia":"icon-xiangshang"'></text></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="bargainUserHelpList.length===0" class="contentNo">
|
|
|
|
|
<text class="iconfont icon-xiaolian mr8"></text>
|
|
|
|
|
暂无助力记录
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class='load font-color' v-if="!limitStatus" @tap='getBargainUser'>点击加载更多</view> -->
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
<!-- 商品详情 -->
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='title font-color acea-row row-center-wrapper'>
|
|
|
|
|
<view class='pictrue'>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<image src='../static/zuo2.png'></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tits">
|
|
|
|
|
<view class='titleCon'>商品详情</view>
|
|
|
|
|
<view class="line"></view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
<view class='pictrue on'>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<image src='../static/you2.png'></image>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='goodsDetails borRadius14'>
|
|
|
|
|
<view class='conter borRadius14'>
|
|
|
|
|
<jyf-parser v-if="bargainInfo.content" :html="bargainInfo.content" ref="article"
|
2023-06-19 15:53:34 +00:00
|
|
|
|
:tag-style="tagStyle" />
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view v-else class="contentNo">
|
|
|
|
|
<text class="iconfont icon-xiaolian mr8"></text>
|
|
|
|
|
暂无商品详情
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2023-06-19 15:53:34 +00:00
|
|
|
|
<view class='bargainTip' :class='active ? "on":""'>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<view class='pictrue'>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<image src="../../../static/images/bargainBg.png"></image>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view v-if="startBargainUid == uid">
|
|
|
|
|
<view class='cutOff'>
|
|
|
|
|
您已砍掉<text class='font-color'>{{bargainUserBargainPrice}}元</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="bubbleBox">
|
|
|
|
|
<view class="bubble"
|
|
|
|
|
:style="'left:'+ (bargainUserInfo.bargainPercent>0?bargainUserInfo.bargainPercent-9:0) +'%;'">
|
|
|
|
|
<text>{{bargainUserInfo.bargainPercent}}%</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-progress acea-row row-middle round margin-top">
|
|
|
|
|
<view class='acea-row row-middle bg-red'
|
|
|
|
|
:style="'width:'+ bargainUserInfo.bargainPercent +'%;'"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="t1">分享次数越多,成功的机会越大哦!</view>
|
|
|
|
|
<!-- #ifdef MP -->
|
|
|
|
|
<button open-type='share' class='tipBnt'>邀请好友帮砍价</button>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
<!-- #ifdef H5 -->
|
|
|
|
|
<view class='tipBnt' @tap='getBargainUserBargainPricePoster'>邀请好友帮砍价</view>
|
|
|
|
|
<!-- #endif -->
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view v-else>
|
|
|
|
|
<view class='cutOff'>
|
|
|
|
|
帮好友砍掉<text class='font-color'>{{bargainUserBargainPrice}}元</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="bubbleBox">
|
|
|
|
|
<view class="bubble"
|
|
|
|
|
:style="'left:'+ (bargainUserInfo.bargainPercent>0?bargainUserInfo.bargainPercent-9:0) +'%;'">
|
|
|
|
|
<text>{{bargainUserInfo.bargainPercent}}%</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-progress acea-row row-middle round margin-top">
|
|
|
|
|
<view class='acea-row row-middle bg-red'
|
|
|
|
|
:style="'width:'+ bargainUserInfo.bargainPercent +'%;'"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="t1">您也可以砍价低价拿哦,快去挑选吧~</view>
|
|
|
|
|
<!-- <view class='help font-color'>成功帮砍{{bargainUserBargainPrice}}元</view> -->
|
|
|
|
|
<!-- <view class='cutOff on'>您也可以砍价低价拿哦,快去挑选心仪的商品吧~</view> -->
|
|
|
|
|
<view @tap='currentBargainUser' class='tipBnt'>我也要参与</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
<view class='mask' catchtouchmove="true" v-show='active==true || posters==true || canvasStatus'
|
|
|
|
|
@tap='close'></view>
|
2021-03-19 10:26:43 +00:00
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<!-- 发送给朋友图片 -->
|
|
|
|
|
<view class="share-box" v-if="H5ShareBox">
|
|
|
|
|
<image src="/static/images/share-info.png" @click="H5ShareBox = false"></image>
|
|
|
|
|
</view>
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
<!-- 海报展示 -->
|
|
|
|
|
<view class='poster-pop' v-if="canvasStatus">
|
|
|
|
|
<image :src='imagePath'></image>
|
|
|
|
|
<!-- #ifndef H5 -->
|
|
|
|
|
<view class='save-poster' @click="savePosterPath">保存到手机</view>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
<!-- #ifdef H5 -->
|
|
|
|
|
<view class="keep">长按图片保存至相册</view>
|
|
|
|
|
<view class='iconfont icon-cha2 close' @tap='close'></view>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
</view>
|
|
|
|
|
<view class="canvas">
|
|
|
|
|
<canvas style="width:597px;height:850px;" canvas-id="activityCanvas"></canvas>
|
|
|
|
|
<canvas canvas-id="qrcode" :style="{width: `${qrcodeSize}px`, height: `${qrcodeSize}px`}"
|
|
|
|
|
style="opacity: 0;" />
|
|
|
|
|
</view>
|
2020-08-13 08:12:57 +00:00
|
|
|
|
<home></home>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import {
|
|
|
|
|
getBargainDetail,
|
|
|
|
|
postBargainStart,
|
|
|
|
|
postBargainHelp,
|
2021-06-11 09:41:16 +00:00
|
|
|
|
getBargainUser
|
2020-08-13 08:12:57 +00:00
|
|
|
|
} from '../../../api/activity.js';
|
2023-06-19 15:53:34 +00:00
|
|
|
|
import { imageBase64 } from "@/api/public";
|
2021-06-11 09:41:16 +00:00
|
|
|
|
import uQRCode from '@/js_sdk/Sansnn-uQRCode/uqrcode.js';
|
2020-08-13 08:12:57 +00:00
|
|
|
|
import util from '../../../utils/util.js';
|
2023-06-19 15:53:34 +00:00
|
|
|
|
import { toLogin } from '@/libs/login.js';
|
|
|
|
|
import { mapGetters } from "vuex";
|
2020-08-13 08:12:57 +00:00
|
|
|
|
import countDown from '@/components/countDown';
|
|
|
|
|
import home from '@/components/home';
|
|
|
|
|
import parser from "@/components/jyf-parser/jyf-parser";
|
2023-06-19 15:53:34 +00:00
|
|
|
|
import { silenceBindingSpread } from "@/utils";
|
2020-08-13 08:12:57 +00:00
|
|
|
|
const app = getApp();
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
countDown,
|
|
|
|
|
home,
|
|
|
|
|
"jyf-parser": parser
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 页面的初始数据
|
|
|
|
|
*/
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
bgColor: {
|
|
|
|
|
'bgColor': '#333333',
|
|
|
|
|
'Color': '#fff',
|
|
|
|
|
'width': '44rpx',
|
|
|
|
|
'timeTxtwidth': '16rpx',
|
|
|
|
|
'isDay': true
|
|
|
|
|
},
|
2020-08-13 08:12:57 +00:00
|
|
|
|
countDownDay: '00',
|
|
|
|
|
countDownHour: '00',
|
|
|
|
|
countDownMinute: '00',
|
|
|
|
|
countDownSecond: '00',
|
|
|
|
|
active: false,
|
2021-06-11 09:41:16 +00:00
|
|
|
|
id: 0, //砍价商品id
|
|
|
|
|
bargainStatus: 0, //当前用户砍价状态:1-可以参与砍价,2-参与次数已满,3-砍价中,4-已完成,5-可以帮砍,6-已帮砍,7-帮砍次数已满,8-已生成订单未支付,9-已支付
|
|
|
|
|
startBargainUid: 0, //开启砍价用户uid
|
2020-08-13 08:12:57 +00:00
|
|
|
|
bargainUserInfo: {}, //开启砍价用户信息
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//bargainUserId: 0, //开启砍价编号
|
|
|
|
|
storeBargainId: 0, // 砍价活动id
|
2020-12-23 07:56:45 +00:00
|
|
|
|
bargainInfo: {}, //砍价产品
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 5,
|
2020-08-13 08:12:57 +00:00
|
|
|
|
limitStatus: false,
|
|
|
|
|
bargainUserHelpList: [],
|
|
|
|
|
bargainUserHelpInfo: [],
|
2020-12-23 07:56:45 +00:00
|
|
|
|
bargainUserBargainPrice: 0, //砍了多少钱
|
2020-08-13 08:12:57 +00:00
|
|
|
|
bargainCount: [], //分享人数 浏览人数 参与人数
|
|
|
|
|
retunTop: true,
|
|
|
|
|
bargainPartake: 0,
|
|
|
|
|
isHelp: false,
|
|
|
|
|
interval: null,
|
|
|
|
|
productStock: 0, //判断是否售罄;
|
|
|
|
|
quota: 0, //判断是否已限量;
|
|
|
|
|
userBargainStatusHelp: true,
|
|
|
|
|
navH: '',
|
2021-06-11 09:41:16 +00:00
|
|
|
|
bargainPrice: 0,
|
|
|
|
|
datatime: 0,
|
|
|
|
|
offest: '',
|
2020-08-13 08:12:57 +00:00
|
|
|
|
tagStyle: {
|
|
|
|
|
img: 'width:100%;'
|
|
|
|
|
},
|
|
|
|
|
H5ShareBox: false, //公众号分享图片
|
2021-06-11 09:41:16 +00:00
|
|
|
|
systemH: 0,
|
|
|
|
|
pages: '',
|
2020-12-23 07:56:45 +00:00
|
|
|
|
couponsHidden: true,
|
|
|
|
|
loading: false,
|
2021-06-11 09:41:16 +00:00
|
|
|
|
loadend: false,
|
|
|
|
|
posters: false,
|
|
|
|
|
buyPrice: '', //最后砍价购买价格
|
|
|
|
|
qrcodeSize: 600,
|
|
|
|
|
posterbackgd: '/static/images/canbj.png',
|
|
|
|
|
PromotionCode: '', //二维码
|
|
|
|
|
canvasStatus: false,
|
|
|
|
|
imgTop: '', //商品图base64位
|
|
|
|
|
imagePath: '' // 海报图片
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
computed: mapGetters(['isLogin', 'userInfo', 'uid']),
|
2020-08-13 08:12:57 +00:00
|
|
|
|
/**
|
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
|
|
*/
|
|
|
|
|
onLoad: function(options) {
|
|
|
|
|
var that = this;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
that.$store.commit("PRODUCT_TYPE", 'normal');
|
2020-08-13 08:12:57 +00:00
|
|
|
|
// #ifdef MP
|
2021-06-11 09:41:16 +00:00
|
|
|
|
uni.getSystemInfo({
|
|
|
|
|
success: function(res) {
|
|
|
|
|
that.systemH = res.statusBarHeight
|
|
|
|
|
that.navH = that.systemH + 10
|
|
|
|
|
}
|
|
|
|
|
})
|
2020-08-13 08:12:57 +00:00
|
|
|
|
// #endif
|
|
|
|
|
var pages = getCurrentPages();
|
|
|
|
|
if (pages.length <= 1) {
|
|
|
|
|
that.retunTop = false
|
|
|
|
|
}
|
|
|
|
|
//扫码携带参数处理
|
|
|
|
|
// #ifdef MP
|
|
|
|
|
if (options.scene) {
|
|
|
|
|
var value = util.getUrlParams(decodeURIComponent(options.scene));
|
|
|
|
|
if (typeof value === 'object') {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
value.id ? options.id = value.id : options.id = ''
|
|
|
|
|
if (value.startBargainUid) options.startBargainUid = value.startBargainUid;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
//记录推广人uid
|
|
|
|
|
if (value.pid) app.globalData.spid = value.pid;
|
|
|
|
|
} else {
|
|
|
|
|
app.globalData.spid = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//记录推广人uid
|
|
|
|
|
if (options.spid) app.globalData.spid = options.spid;
|
|
|
|
|
// #endif
|
|
|
|
|
if (options.hasOwnProperty('id')) {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
options.id ? that.id = options.id : that.id = ''
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
2023-06-19 15:53:34 +00:00
|
|
|
|
options.startBargainUid === 'undefined' ? that.startBargainUid = 0 : that.startBargainUid = Number(options
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.startBargainUid);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
if (this.isLogin) {
|
2023-06-19 15:53:34 +00:00
|
|
|
|
if (that.startBargainUid === 0) {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
that.startBargainUid = Number(that.$store.state.app.uid)
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.storeBargainId = options.storeBargainId ? Number(options.storeBargainId) : 0;
|
|
|
|
|
this.page = 1;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
} else {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.$Cache.set('login_back_url',
|
|
|
|
|
'/pages/activity/goods_bargain_details/index?id=' + options.id +
|
|
|
|
|
'&startBargainUid=' + this
|
|
|
|
|
.uid + '&spid=' + this.uid + '&storeBargainId=' + this.storeBargainId
|
|
|
|
|
);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
toLogin();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.isLogin && silenceBindingSpread();
|
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
|
title: '砍价详情'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//去支付
|
|
|
|
|
goConfirm() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: `/pages/activity/bargain/index`
|
|
|
|
|
})
|
2021-03-19 10:26:43 +00:00
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//#ifdef H5
|
|
|
|
|
setOpenShare() {
|
|
|
|
|
let that = this;
|
|
|
|
|
let configTimeline = {
|
|
|
|
|
title: "您的好友" +
|
|
|
|
|
that.userInfo.nickname +
|
|
|
|
|
"邀请您砍价" +
|
|
|
|
|
that.bargainInfo.title,
|
|
|
|
|
desc: that.bargainInfo.info,
|
|
|
|
|
link: window.location.protocol +
|
|
|
|
|
"//" +
|
|
|
|
|
window.location.host +
|
|
|
|
|
'/pages/activity/goods_bargain_details/index?id=' + this.id + '&startBargainUid=' + this
|
|
|
|
|
.uid + '&spid=' + this.uid + '&storeBargainId=' + this.storeBargainId,
|
|
|
|
|
imgUrl: that.bargainInfo.image
|
|
|
|
|
};
|
|
|
|
|
if (this.$wechat.isWeixin()) {
|
|
|
|
|
this.$wechat.wechatEvevt([
|
|
|
|
|
"updateAppMessageShareData",
|
|
|
|
|
"updateTimelineShareData",
|
|
|
|
|
"onMenuShareAppMessage",
|
|
|
|
|
"onMenuShareTimeline"
|
|
|
|
|
],
|
|
|
|
|
configTimeline
|
|
|
|
|
)
|
|
|
|
|
.then(res => {})
|
|
|
|
|
.catch(res => {
|
|
|
|
|
if (res.is_ready) {
|
|
|
|
|
res.wx.updateAppMessageShareData(configTimeline);
|
|
|
|
|
res.wx.updateTimelineShareData(configTimeline);
|
|
|
|
|
res.wx.onMenuShareAppMessage(configTimeline);
|
|
|
|
|
res.wx.onMenuShareTimeline(configTimeline);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
2020-12-23 07:56:45 +00:00
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//#endif
|
|
|
|
|
openTap() {
|
|
|
|
|
this.$set(this, 'couponsHidden', !this.couponsHidden);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
// 去商品页
|
2021-06-11 09:41:16 +00:00
|
|
|
|
goProduct() {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
uni.navigateTo({
|
2021-06-11 09:41:16 +00:00
|
|
|
|
url: `/pages/goods_details/index?id=${this.bargainInfo.productId}`
|
2020-08-13 08:12:57 +00:00
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 自己砍价;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
userBargain: function() {
|
2023-06-19 15:53:34 +00:00
|
|
|
|
if (this.uid === this.startBargainUid) {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.setBargain();
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
goBack: function() {
|
|
|
|
|
uni.navigateBack({
|
|
|
|
|
delta: 1
|
|
|
|
|
})
|
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
// 生成二维码;
|
|
|
|
|
make() {
|
|
|
|
|
let href = window.location.protocol +
|
|
|
|
|
"//" +
|
|
|
|
|
window.location.host +
|
|
|
|
|
'/pages/activity/goods_bargain_details/index?id=' + this.id + '&startBargainUid=' + this
|
|
|
|
|
.uid + '&spid=' + this.uid + '&storeBargainId=' + this.storeBargainId;
|
|
|
|
|
uQRCode.make({
|
|
|
|
|
canvasId: 'qrcode',
|
|
|
|
|
text: href,
|
|
|
|
|
size: this.qrcodeSize,
|
|
|
|
|
margin: 10,
|
|
|
|
|
success: res => {
|
|
|
|
|
this.PromotionCode = res;
|
|
|
|
|
},
|
|
|
|
|
complete: () => {},
|
|
|
|
|
fail: res => {
|
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: '海报二维码生成失败!'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 商品图片转base64
|
|
|
|
|
getImageBase64: function(images) {
|
|
|
|
|
let that = this;
|
|
|
|
|
imageBase64({
|
|
|
|
|
url: images
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}).then(res => {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
that.imgTop = res.data.code;
|
|
|
|
|
})
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//获取砍价用户信息
|
|
|
|
|
gobargainUserInfo: function() {
|
|
|
|
|
getBargainUser({
|
|
|
|
|
bargainId: this.id,
|
|
|
|
|
bargainUserId: this.storeBargainId || 0
|
|
|
|
|
}).then(res => {
|
|
|
|
|
let bargainUserInfo = res.data;
|
|
|
|
|
this.bargainUserInfo = bargainUserInfo;
|
|
|
|
|
this.bargainStatus = bargainUserInfo.bargainStatus;
|
|
|
|
|
this.storeBargainId = bargainUserInfo.storeBargainUserId;
|
|
|
|
|
this.buyPrice = this.$util.$h.Sub(parseFloat(this.bargainPrice), parseFloat(bargainUserInfo
|
|
|
|
|
.alreadyPrice))
|
|
|
|
|
this.bargainUserHelpList = bargainUserInfo.userHelpList || [];
|
|
|
|
|
//#ifdef H5
|
|
|
|
|
if (bargainUserInfo.storeBargainUserId) this.make();
|
|
|
|
|
this.setOpenShare();
|
|
|
|
|
//#endif
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}).catch(err => {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//状态异常返回上级页面
|
|
|
|
|
return this.$util.Tips({
|
|
|
|
|
title: err.toString()
|
|
|
|
|
}, {
|
|
|
|
|
tab: 3,
|
|
|
|
|
url: 1
|
|
|
|
|
});
|
2020-08-13 08:12:57 +00:00
|
|
|
|
});
|
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
goPay: function() { //立即支付
|
|
|
|
|
if (this.isLogin === false) {
|
|
|
|
|
toLogin();
|
|
|
|
|
} else {
|
|
|
|
|
// 预下单
|
|
|
|
|
this.$Order.getPreOrder("buyNow", [{
|
|
|
|
|
"attrValueId": parseFloat(this.bargainInfo.attrValueId),
|
|
|
|
|
"bargainId": parseFloat(this.id),
|
|
|
|
|
"productNum": 1,
|
|
|
|
|
"productId": parseFloat(this.bargainInfo.productId),
|
|
|
|
|
"bargainUserId": parseFloat(this.storeBargainId)
|
|
|
|
|
}]);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
//获取砍价产品详情
|
|
|
|
|
getBargainDetails: function() {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
var that = this;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
getBargainDetail(that.id).then(function(res) {
|
|
|
|
|
let bargainInfo = res.data;
|
|
|
|
|
that.bargainInfo = bargainInfo;
|
|
|
|
|
that.bargainPrice = bargainInfo.price;
|
|
|
|
|
that.quota = bargainInfo.quota;
|
|
|
|
|
that.datatime = bargainInfo.stopTime / 1000;
|
|
|
|
|
that.pages = '/pages/activity/goods_bargain_details/index?id=' + that.id +
|
|
|
|
|
'&startBargainUid=' + that
|
|
|
|
|
.uid + '&scene=' + that.uid + '&storeBargainId=' + that.storeBargainId;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
uni.setNavigationBarTitle({
|
2021-06-11 09:41:16 +00:00
|
|
|
|
title: bargainInfo.title.substring(0, 13) + '...'
|
2020-08-13 08:12:57 +00:00
|
|
|
|
})
|
|
|
|
|
that.bargainUserHelpList = []
|
2021-06-11 09:41:16 +00:00
|
|
|
|
if (that.isLogin && that.quota > 0 && new Date().getTime() - bargainInfo.stopTime < 0) {
|
|
|
|
|
that.gobargainUserInfo();
|
|
|
|
|
} else {
|
|
|
|
|
that.buyPrice = that.bargainPrice;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
//#ifdef H5
|
2021-06-11 09:41:16 +00:00
|
|
|
|
that.getImageBase64(bargainInfo.image);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
//#endif
|
|
|
|
|
}).catch(function(err) {
|
2020-12-23 07:56:45 +00:00
|
|
|
|
that.$util.Tips({
|
|
|
|
|
title: err
|
|
|
|
|
}, {
|
|
|
|
|
tab: 2,
|
|
|
|
|
url: '/pages/activity/goods_bargain/index'
|
|
|
|
|
});
|
2020-08-13 08:12:57 +00:00
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
currentBargainUser: function() { //当前用户砍价
|
2021-03-19 10:26:43 +00:00
|
|
|
|
this.page = 1;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/activity/goods_bargain_details/index?id=' + this.id + '&startBargainUid=' +
|
|
|
|
|
this.uid
|
|
|
|
|
});
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
setBargain: function() { //参与砍价
|
|
|
|
|
var that = this;
|
|
|
|
|
postBargainStart(that.id).then(res => {
|
2020-12-23 07:56:45 +00:00
|
|
|
|
if (res.code === 'subscribe') {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.storeBargainId = res.data.storeBargainUserId;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
that.setBargainHelp();
|
|
|
|
|
that.userBargainStatus = 1;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//#ifdef H5
|
|
|
|
|
that.make();
|
|
|
|
|
//#endif
|
|
|
|
|
}, error => {
|
|
|
|
|
this.startBargainUid = 0;
|
|
|
|
|
that.$util.Tips({
|
|
|
|
|
title: error
|
2020-12-23 07:56:45 +00:00
|
|
|
|
})
|
2021-06-11 09:41:16 +00:00
|
|
|
|
})
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
2021-06-11 09:41:16 +00:00
|
|
|
|
//帮好友砍价
|
|
|
|
|
setBargainHelp: function() {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
var data = {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
bargainId: this.id,
|
|
|
|
|
bargainUserId: this.storeBargainId,
|
|
|
|
|
bargainUserUid: this.startBargainUid
|
2020-08-13 08:12:57 +00:00
|
|
|
|
};
|
|
|
|
|
postBargainHelp(data).then(res => {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.$set(this, 'bargainUserHelpList', []);
|
|
|
|
|
this.$set(this, 'bargainUserBargainPrice', res.data.bargainPrice);
|
|
|
|
|
this.$set(this, 'active', true);
|
|
|
|
|
this.gobargainUserInfo();
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}).catch(err => {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: err
|
2020-08-13 08:12:57 +00:00
|
|
|
|
})
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.$set(this, 'bargainUserHelpList', []);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getBargainUserBargainPricePoster: function() {
|
|
|
|
|
this.active = false
|
2021-06-11 09:41:16 +00:00
|
|
|
|
uni.showLoading({
|
|
|
|
|
title: '海报生成中',
|
|
|
|
|
mask: true
|
|
|
|
|
});
|
|
|
|
|
this.posters = false;
|
|
|
|
|
let arrImagesUrlTop = '';
|
|
|
|
|
if (!this.PromotionCode) {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: this.errT
|
|
|
|
|
});
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (!this.imgTop) {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
this.$util.Tips({
|
|
|
|
|
title: '无法生成商品海报!'
|
|
|
|
|
});
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
}, 1000);
|
|
|
|
|
uni.downloadFile({
|
|
|
|
|
url: this.imgTop,
|
|
|
|
|
success: (res) => {
|
|
|
|
|
arrImagesUrlTop = res.tempFilePath;
|
|
|
|
|
let arrImages = [this.posterbackgd, arrImagesUrlTop, this.PromotionCode];
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.$util.activityCanvas(arrImages, this.bargainInfo.title, this
|
|
|
|
|
.buyPrice, '已砍至', '还剩' + this.bargainUserInfo
|
|
|
|
|
.surplusPrice + '元砍价成功', 0,
|
|
|
|
|
(tempFilePath) => {
|
|
|
|
|
this.imagePath = tempFilePath;
|
|
|
|
|
this.canvasStatus = true;
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
});
|
|
|
|
|
}, 500);
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
goBargainList: function() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/activity/goods_bargain/index',
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
close: function() {
|
|
|
|
|
this.$set(this, 'active', false);
|
2021-06-11 09:41:16 +00:00
|
|
|
|
this.$set(this, 'posters', false);
|
|
|
|
|
this.$set(this, 'canvasStatus', false);
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 生命周期函数--监听页面显示
|
|
|
|
|
*/
|
2021-06-11 09:41:16 +00:00
|
|
|
|
onShow: function() {
|
|
|
|
|
if (this.isLogin) this.getBargainDetails();
|
|
|
|
|
},
|
2020-08-13 08:12:57 +00:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 生命周期函数--监听页面隐藏
|
|
|
|
|
*/
|
|
|
|
|
onHide: function() {
|
|
|
|
|
if (this.interval !== null) clearInterval(this.interval);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 生命周期函数--监听页面卸载
|
|
|
|
|
*/
|
|
|
|
|
onUnload: function() {
|
|
|
|
|
if (this.interval !== null) clearInterval(this.interval);
|
|
|
|
|
},
|
|
|
|
|
//#ifdef MP
|
|
|
|
|
/**
|
|
|
|
|
* 用户点击右上角分享
|
|
|
|
|
*/
|
|
|
|
|
onShareAppMessage: function() {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
let that = this,
|
|
|
|
|
share = {
|
|
|
|
|
title: '您的好友' + that.userInfo.nickname + '邀请您帮他砍' + that.bargainInfo.title + ' 快去帮忙吧!',
|
|
|
|
|
path: '/pages/activity/goods_bargain_details/index?id=' + this.id + '&startBargainUid=' + this
|
|
|
|
|
.startBargainUid + '&spid=' + this.uid + '&storeBargainId=' + this.storeBargainId,
|
|
|
|
|
imageUrl: that.bargainInfo.image,
|
|
|
|
|
};
|
2020-08-13 08:12:57 +00:00
|
|
|
|
that.close();
|
|
|
|
|
return share;
|
|
|
|
|
},
|
|
|
|
|
//#endif
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
page {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
background-color: $theme-color !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.userEvaluation {
|
|
|
|
|
i {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.go {
|
|
|
|
|
color: #E93323;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
|
.iconfont {
|
|
|
|
|
font-size: 11px
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poster-pop {
|
|
|
|
|
width: 594rpx;
|
|
|
|
|
height: 850rpx;
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
z-index: 999;
|
|
|
|
|
top: 50%;
|
|
|
|
|
margin-top: -466rpx;
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.close {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-top: 55rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 52rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.save-poster {
|
|
|
|
|
background-color: #df2d0a;
|
|
|
|
|
font-size: :22rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
text-align: center;
|
|
|
|
|
height: 76rpx;
|
|
|
|
|
line-height: 76rpx;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.keep {
|
|
|
|
|
color: #fff;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 25rpx;
|
|
|
|
|
margin-top: 25rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.canvas {
|
|
|
|
|
position: fixed;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.font_hui {
|
|
|
|
|
color: #CCCCCC !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg_qian {
|
|
|
|
|
background-color: #F5F5F5 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.font-color-red {
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.huiBtn {
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #fff;
|
|
|
|
|
width: 630rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
background-color: #CCCCCC;
|
|
|
|
|
box-shadow: 0 7rpx 0 #AAAAAA;
|
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.huifont {
|
|
|
|
|
color: #CCCCCC;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.buyBox {
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
|
|
|
|
|
.on {
|
|
|
|
|
width: 300rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.buyNow {
|
|
|
|
|
background: linear-gradient(180deg, #FF8831 0%, #F11B09 100%);
|
|
|
|
|
box-shadow: 0 7rpx 0 #C11100;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.buyMore {
|
|
|
|
|
background: linear-gradient(180deg, #FFCA52 0%, #FE960F 100%);
|
|
|
|
|
box-shadow: 0 7rpx 0 #D87A00;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mr8 {
|
|
|
|
|
margin-right: 8rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contentNo {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 50rpx 15rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #AAAAAA;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2021-03-19 10:26:43 +00:00
|
|
|
|
.generate-posters {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 170rpx;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 0;
|
|
|
|
|
bottom: 0;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
z-index: 388;
|
2021-03-19 10:26:43 +00:00
|
|
|
|
transform: translate3d(0, 100%, 0);
|
|
|
|
|
transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
|
|
|
|
|
border-top: 1rpx solid #eee;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2021-03-19 10:26:43 +00:00
|
|
|
|
.generate-posters.on {
|
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2021-03-19 10:26:43 +00:00
|
|
|
|
.generate-posters .item {
|
|
|
|
|
flex: 1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2021-03-19 10:26:43 +00:00
|
|
|
|
.generate-posters .item .iconfont {
|
|
|
|
|
font-size: 80rpx;
|
|
|
|
|
color: #5eae72;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2021-03-19 10:26:43 +00:00
|
|
|
|
.generate-posters .item .iconfont.icon-haibao {
|
|
|
|
|
color: #5391f1;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
.bargain .bargainGang {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
|
|
.list {
|
|
|
|
|
padding: 50rpx 30rpx 0 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.open {
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
margin-top: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.helpNo {
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #AAAAAA;
|
|
|
|
|
}
|
2020-12-23 07:56:45 +00:00
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2020-12-23 07:56:45 +00:00
|
|
|
|
.bargain .bargainGang .open .iconfont {
|
|
|
|
|
font-size: 25rpx;
|
|
|
|
|
margin: 5rpx 0 0 10rpx;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
|
|
|
|
|
.bargain .icon-xiangzuo {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
margin-right: 6px;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .header {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAFUCAYAAAB7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6vEwGcwkI2Ps8aDn9Z9/iHM6CPvRHg7h8OuvGNBWP5vVioXIjF69IkLr3ByhB//Z3/8BGp22ANScxP3bd3Dzwyv6wVnFNh1//RQGJwc5PRYSI0A3K8e0oBAqM72fAnrcuwPuaWd1pCMlA/bq2pbC9H4GV6/uoNluQHfYhLvLyUcE7lFgZedlF/PNr6SPGYbxOQFEMw1ZlK6ZGzzHplEWK0X7Z+Zl3wawk0BGvtiRrDiJpqBkIC1n1VI0TW4NIpXQVNuIAOsB3K1xrok/wDS1T95yJeVEbTtbaAnaRKBpqJCpWPZGCHQFtvEwWZGcagkLtVbgg+cwaARY9gJoGu/FL4s8tiAIwhVR+uRvH1B9SrCplgNyeTZRA/CF0JkU0o26oCAFLvve1zVondYA2HlRnrEk92jnYJ4fEOY08nAZ8V7LHiPoZOXZzowD9yw2Xh44TmB6+8AOpy4I6SC7B3uwd/EEEMTfv7tkXmz6Jxd8vdmC/S+ew97TC6jVxUFZgb8ZyP4LHkid+UlbxhEPpB5++YUSZw4wv3+Amx9eAnrxgx+DZnvYgye//oUWt85j2SVwV8H4JotxX0zncPduxLLu7J/tQaNZ54da1VSRWlucJobJvP6Ohy1h6BBmsHn8w6lRQKdiD+LOy27XSfKY7LzsmgB3XvaiPunrjp4lphIw8vGAqIpOtgbsMQR+TDlR2xbAPi/uqRhJk4RkK6FptFRxyBBjscBnBXJ6jE2NhVd2
|
2020-08-13 08:12:57 +00:00
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 340rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
margin: 0 auto;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
padding-top: 20rpx;
|
|
|
|
|
|
|
|
|
|
.back {
|
|
|
|
|
width: 235rpx;
|
|
|
|
|
height: 54rpx;
|
|
|
|
|
background: linear-gradient(233deg, #FFD169 0%, #FE960F 100%);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
border-radius: 0px 27rpx 27rpx 0px;
|
|
|
|
|
line-height: 54rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #6E3F00;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .header .pictxt {
|
|
|
|
|
margin: 330rpx auto 0 auto;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .header .pictxt .pictrue {
|
|
|
|
|
width: 56rpx;
|
|
|
|
|
height: 56rpx;
|
|
|
|
|
margin-right: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .header .pictxt .pictrue image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 2rpx solid #fff;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .header .pictxt .text {
|
|
|
|
|
margin-left: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
.bargain .header .pictxt .text text {
|
|
|
|
|
margin-left: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .header .time {
|
|
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbgAAACmCAMAAACfv2reAAAAk1BMVEUAAAD/nSL/oCj/oCj/nSH/nSH/oCj/mhr/mhr/oCj/oCj/oCj/nSH/niT/mhr/mhr/oCj/mhr/oCj/oCj/mhr/niP/oCj/oCj/mhr/////oCj/mhr/nyT/w3f/rkf/rEL/pjT/tlr/xXv/uF3//vz/vmv/wXP/vWr/79r/1aD/05r/wXL/nB//5MH/+/X/t1r/5MP28hXaAAAAGXRSTlMABvndiVtUVPjkOC8Dk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+ZAGuKIcTpTDiXI4UQ4nyuFEOZwohxPlcKIcTpTDiXI4UQ4nyuFEOZwohxPlcKIcThQD3jEJJmSRzCixHSakkyyYsRdMyCA5UWPzAZNxZJIVaY/bXU7G8Q32AhpDvvqCPd7qIzM0hI0mZsPtHDQp48RPKzQZpeEv1Vky7fFymTXh9gGY1gZJcqJI8QAAAABJRU5ErkJggg==');
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
width: 440rpx;
|
|
|
|
|
height: 166rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding-top: 11rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
.bargain .header .time .red {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
color: #fc4141;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
.bargain .header .people {
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 85%;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
/* #ifdef MP */
|
2020-08-13 08:12:57 +00:00
|
|
|
|
height: 44px;
|
|
|
|
|
line-height: 44px;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
top: 40rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
/* #endif */
|
|
|
|
|
/* #ifdef H5 */
|
|
|
|
|
top: 58rpx;
|
|
|
|
|
/* #endif */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .header .time text {
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain {
|
|
|
|
|
.wrapper {
|
|
|
|
|
margin-top: -100rpx;
|
|
|
|
|
|
|
|
|
|
.pictxt {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 260rpx;
|
|
|
|
|
background-color: #FFF5E6;
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
border-radius: 14rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.surplus {
|
|
|
|
|
color: #999999;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
background-image: url('../static/zhuangshi.png');
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-bottom-left-radius: 14rpx;
|
|
|
|
|
border-bottom-right-radius: 14rpx;
|
|
|
|
|
padding: 40rpx 0 70rpx 0;
|
|
|
|
|
|
|
|
|
|
.money {
|
|
|
|
|
color: #333333;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
|
|
|
|
|
.price {}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
.bargain .wrapper,
|
2021-06-11 09:41:16 +00:00
|
|
|
|
{
|
|
|
|
|
// background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArIAAAF8CAYAAAAzc1jZAAAco0lEQVR4Xu3dW4zc513H4feddWynQU1FY69zKvZuysENPqx7SFFRU4JEi+ACCVUUiQsuqYQ4VIWCchEuoAIFqRdI5QrlgkNLqQpSJA5VSWkKqKK7DkKuqIQ3RnUTe40CJRSSNDt/ZEeF1LGTmdnffuP1PLntzPf3n2fm4tMoTnrzFwECBAgQIECAAIEdKNB34DN7ZAIECBAgQIAAAQJNyPoRECBAgAABAgQI7EgBIbsjvzYPTYAAAQIECBAgIGT9BggQIECAAAECBHakgJDdkV+bhyZAgAABAgQIEBCyfgMECBAgQIAAAQI7TuD8iaX3C9kd97V5YAIECBAgQIDA/AoMrfWNlUO/2frog0J2fn8HPjkBAgQIECBAYEcJDHfdtWfj5vHvt9Z//OKDC9kd9fV5WAIECBAgQIDAfApsHN73bW3vax8eenvnNwWE7Hz+FnxqAgQIECBAgMCOETj73be/ftdr9vx57/0tL35oIbtjvkIPSoAAAQIECBCYP4GzR26/Y/euvX819PY9l396ITt/vwefmAABAgQIECCwIwS+evdtd+7ac+MjrbXlKz2wkN0RX6OHJECAAAECBAjMl8CTxw4eHC0sfKa1tnS1Ty5k5+s34dMSIECAAAECBK55gSdOLL1h1Prne2t3vtzDCtlr/qv0gAQIECBAgACB+RG4+Ae7dr9m76NX+mdiL1cQsvPzu/BJCRAgQIAAAQLXtMC5I4s39Rtu+uvW+lsneVAhO4mS1xAgQIAAAQIECGyrwNDaro2V5Ydbbz806SEhO6mU1xEgQIAAAQIECGybwMbK0u8Nvf/0NAeE7DRaXkuAAAECBAgQIFAusHFi6UND6x+edljITivm9QQIECBAgAABAmUCF1aWfmTc2p+13kfTjgrZacW8ngABAgQIECBAoERg49jSG4eF/sXW2mtnGRSys6h5DwECBAgQIECAwJYETh1uu/fduPz3Q2srsw4J2VnlvI8AAQIECBAgQGBmgfPHlx9so/aBmQdaa0J2K3reS4AAAQIECBAgMLXAuZWD9/Q++nxrfWHqN7/oDUJ2K3reS4AAAQIECBAgMJXA0FrfWFn+Yuuz/yMF3zwoZKei92ICBAgQIECAAIGtCFw4tvST44X+B1vZELIVejYIECBAgAABAgSmEji/svx3rbe3T/Wmq7zY35GtULRBgAABAgQIECAwscCFo0vfubkwvre30duH3t7cW7974je/6IVCdhY17yFAgAABAgQIECgTePL4gX297b2v99G9rbd7W+vfNcm4kJ1EyWsIECBAgAABAgRiAufvPrTYb2jfP4zakdZGR/owvHPo/XWXP4CQjX0lDhEgQIAAAQIECMwiMLQ2unD0O44Ou0b39WF039CHt7bWv13IzqLpPQQIECBAgAABAq+qwLkTB98mZF/Vr8BxAgQIECBAgACBWQX6V+6448Y7z579n1kHvI8AAQIECBAgQIDAqyHQz60sf3bh61/70X1f/renX40HcJMAAQIECBAgQIDALAL9/InloQ3DF/ozT//g/i9d+K9ZRryHAAECBAgQIECAQFrghZC9+NcwPNqfefqHxWz6K3CPAAECBAgQIEBgFoH/D9kXavbT+1fX39Nb25xlzHsIECBAgAABAgQIpAQuC9mLf2N2+MiBtfVfSD2AOwQIECBAgAABAgRmEXhJyF4cGY0337fv5JmPzTLoPQQIECBAgAABAgQSAlcM2TYMX1/4xvjNt/zTmX9OPIQbBAgQIECAAAECBKYVuHLIttb6MPzDqbX173tXa89PO+r1BAgQIECAAAECBLZb4Kohe/HwMLRfP7B2+v7tfgj7BAgQIECAAAECBKYVeNmQbW3Y3BwPP3Dbycc/N+2w1xMgQIAAAQIECBDYToFXCNlLf1/2y//5tfWjb/yX9ux2PohtAgQIECBAgAABAtMITBCyl/4ZgwcW19Z/bZphryVAgAABAgQIECCwnQKThWxr3xi15+/Zt/qva9v5MLYJECBAgAABAgQITCowache/INfq59bO/229/qvfk1q63UECBAgQIAAAQLbKDBxyF56hvHw/sWT6x/dxucxTYAAAQIECBAgQGAigelCdhj+/blnn7vrzlNnn5po3YsIECBAgAABAgQIbJPAdCH7wr9b9ncOrJ3+2W16HrMECBAgQIAAAQIEJhKYOmR7a8+P2ub33rLqP187kbAXESBAgAABAgQIbIvADCE7fGW82T504LH1P9yWJzJKgAABAgQIECBAYAKBiUK2D+2r42H8yfG4f+LWf1z/297aMMG2lxAgQIAAAQIECBDYNoGXCdnhfBvaJ/swfHzfyccfFa/b9h0YJkCAAAECBAgQmEHgW0N2aBeGNv5UH/on/ubk+iP+nbEziHoLAQIECBAgQIBARKCfX1l6amjtU70PH9+/+vhnuv/gQQTeEQIECBAgQIAAga0J9FOH2+43fak9t7UZ7yZAgAABAgQIECCQFejZc64RIECAAAECBAgQqBEQsjWOVggQIECAAAECBMICQjYM7h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EBYRsGNw5AgQIECBAgACBGgEhW+NohQABAgQIECBAICwgZMPgzhEgQIAAAQIECNQICNkaRysECBAgQIAAAQJhASEbBneOAAECBAgQIECgRkDI1jhaIUCAAAECBAgQCAsI2TC4cwQIECBAgAABAjUCQrbG0QoBAgQIECBAgEBYQMiGwZ0jQIAAAQIECBCoERCyNY5WCBAgQIAAAQIEwgJCNgzuHAECBAgQIECAQI2AkK1xtEKAAAECBAgQIBAWELJhcOcIECBAgAABAgRqBIRsjaMVAgQIECBAgACBsICQDYM7R4AAAQIECBAgUCMgZGscrRAgQIAAAQIECIQFhGwY3
|
|
|
|
|
// babackground-repeat: no-repeat;
|
|
|
|
|
// background-size: 100% 100%;
|
|
|
|
|
width: 100%;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
background-color: #fff;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
padding: 0 24rpx 10rpx 24rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .pictxt .pictrue {
|
|
|
|
|
width: 220rpx;
|
|
|
|
|
height: 220rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .pictxt .pictrue image {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 6rpx;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .pictxt .text {
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
|
|
|
|
.line1 {
|
|
|
|
|
width: 324rpx;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .pictxt .text .money {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .pictxt .text .money .num {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .pictxt .text .successNum {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .cu-progress {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
height: 12rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
background-color: #FDEAE8;
|
|
|
|
|
width: 560rpx;
|
|
|
|
|
height: 20rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
border-radius: 20rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
margin: 20rpx auto;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .cu-progress .bg-red {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
width: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
transition: width 0.6s ease;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
background-image: linear-gradient(to right, #ffa363 0%, #e93323 100%);
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .money {
|
|
|
|
|
// font-size: 22rpx;
|
|
|
|
|
// color: #999;
|
|
|
|
|
// margin-top: 40rpx;
|
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .bargainSuccess {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 26rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
color: #333333;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
text-align: center;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 40rpx;
|
|
|
|
|
image {
|
|
|
|
|
width: 48rpx;
|
|
|
|
|
height: 62rpx;
|
|
|
|
|
margin-right: 18rpx;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .bargainSuccess .iconfont {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 45rpx;
|
|
|
|
|
color: #54c762;
|
|
|
|
|
padding-right: 18rpx;
|
|
|
|
|
vertical-align: -5rpx;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .bargainBnt {
|
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #fff;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
width: 630rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
height: 80rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
background-image: url('../static/btn.png');
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
// border-radius: 40rpx;
|
|
|
|
|
// background: linear-gradient(180deg, #FF8831 0%, #F11B09 100%);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 80rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
margin: 0 auto;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .bargainBnt.on {
|
|
|
|
|
border: 2rpx solid $theme-color;
|
|
|
|
|
color: $theme-color;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
background-image: linear-gradient(to right, #fff 0%, #fff 100%);
|
|
|
|
|
width: 596rpx;
|
|
|
|
|
height: 76rpx;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .bargainBnt.grey {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
color: #fff;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
background-image: linear-gradient(to right, #bbbbbb 0%, #bbbbbb 100%);
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .tip {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-top: 20rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
margin-bottom: 50rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .lock,
|
2020-08-13 08:12:57 +00:00
|
|
|
|
.bargain .bargainGang .lock,
|
|
|
|
|
.bargain .goodsDetails .lock {
|
|
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiQAAABCCAYAAABnwc0eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3L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MjQfYUpL/z3/4XKvTs+rx4AkAPBF6IprL9U8Il902WeeiH/9+0g6zmNWx/tXWXNy9rM8BAPK5fP+knbYxhScAoNcTKzc0vnCe+Ph+xxNhINnR9ZmuO41gomoWu97R9YWuw9xqgEnS9UQVBRM8AYAnvCe8G+JckfBEETS+oett+5fZf772G5nIcFMTE2Au6npF1zu6Ztx3gElJJvDEfLVepHaLR/AEAJ4IPVHP+55n0/GEHyH5ZNl4eQEdSqqFSzOLeAvYt3Rd4b4DTIrIE84LoScqPAGAJwJPVC5P+Eyh5r15wgSSUy6liFYgqcMLNOI5kmcil8sVspdcWwDYfhKeWKw84V8VngDAEwGqilxR2VCS8oQJJBd05f6o+VD9V925QP1XJQ5lmTha5PYzsmlzgfsPMAkSnqhWjhDNa/1wgScA8ETgicUqT1hfVDZj
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
width: 548rpx;
|
|
|
|
|
height: 66rpx;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
bottom: -43rpx;
|
|
|
|
|
z-index: 5;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .title {
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
// height: 80rpx;
|
|
|
|
|
// margin-top: 30rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .title .pictrue {
|
|
|
|
|
width: 60rpx;
|
|
|
|
|
height: 60rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .title .pictrue.on,
|
|
|
|
|
.bargain .title .pictrue.on {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .title .pictrue image,
|
|
|
|
|
.bargain .title .pictrue image {
|
2020-08-13 08:12:57 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-11 09:41:16 +00:00
|
|
|
|
.bargain .title .tits {
|
|
|
|
|
margin: 50rpx 15rpx 40rpx 15rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .title .titleCon {
|
|
|
|
|
margin: 0 10rpx -14rpx 10rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border: 16rpx solid linear-gradient(0deg, #FFD136 0%, rgba(255, 213, 72, 0.12) 100%);
|
|
|
|
|
;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .title .line {
|
|
|
|
|
// width: 216rpx;
|
|
|
|
|
height: 16rpx;
|
|
|
|
|
background: linear-gradient(0deg, #FFD136 0%, rgba(255, 213, 72, 0.12) 100%);
|
|
|
|
|
opacity: 0.6;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
padding-bottom: 50rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item .pictxt {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
|
|
|
|
// width: 310rpx;
|
|
|
|
|
.num {
|
|
|
|
|
width: 28rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
|
|
|
|
|
// image{
|
|
|
|
|
// width: 100%;
|
|
|
|
|
// height: 100%;
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.num1 {
|
|
|
|
|
background-image: url(../static/n1.png);
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.num2 {
|
|
|
|
|
background-image: url(../static/n2.png);
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.num3 {
|
|
|
|
|
background-image: url(../static/n3.png);
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item .pictxt .pictrue {
|
|
|
|
|
width: 70rpx;
|
|
|
|
|
height: 70rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
margin-right: 14rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item .pictxt .pictrue image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item .pictxt .text {
|
|
|
|
|
width: 225rpx;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item .pictxt .text .name {
|
|
|
|
|
font-size: 25rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
color: #333333;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
margin-bottom: 7rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item .money {
|
|
|
|
|
font-size: 25rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
color: #999999;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .list .item .money .iconfont {
|
|
|
|
|
font-size: 35rpx;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainGang .load {
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .goodsDetails {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
//margin: 13rpx auto 0 auto;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .goodsDetails~.goodsDetails {
|
|
|
|
|
margin-bottom: 50rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .goodsDetails .conter {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
// margin-top: 20rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .goodsDetails .conter image {
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
display: block !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
width: 500rpx;
|
|
|
|
|
height: 469rpx;
|
|
|
|
|
margin-left: -246rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
z-index: 111;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
border-radius: 14rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
background-color: #fff;
|
|
|
|
|
transition: all 0.3s ease-in-out 0s;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: scale(0);
|
|
|
|
|
padding-bottom: 60rpx;
|
|
|
|
|
margin-top: -330rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
background: linear-gradient(180deg, #FFFFFF 0%, #FFEEEB 100%);
|
|
|
|
|
|
|
|
|
|
.cu-progress {
|
|
|
|
|
width: 410rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.t1 {
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #666666;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
margin: 20rpx 0 54rpx 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bubbleBox {
|
|
|
|
|
width: 410rpx;
|
|
|
|
|
margin: 16rpx auto;
|
|
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
|
|
text {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
padding: 2rpx 8rpx;
|
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
background-color: #E93323;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
text::before {
|
|
|
|
|
content: '';
|
|
|
|
|
width: 0;
|
|
|
|
|
height: 32rpx;
|
|
|
|
|
border: 14rpx solid;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: -54rpx;
|
|
|
|
|
left: 14rpx;
|
|
|
|
|
border-color: #E93323 transparent transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip.on {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: scale(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip .pictrue {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
width: 500rpx;
|
|
|
|
|
height: 200rpx;
|
|
|
|
|
margin-top: -118rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip .pictrue image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip .cutOff {
|
2021-06-11 09:41:16 +00:00
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #333;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
text-align: center;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
margin: 12rpx 0 0rpx 0;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
|
|
text {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 44rpx;
|
|
|
|
|
}
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip .cutOff.on {
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip .help {
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .bargainTip .tipBnt {
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
width: 360rpx;
|
|
|
|
|
height: 82rpx;
|
|
|
|
|
border-radius: 41rpx;
|
|
|
|
|
background-image: linear-gradient(to right, #f67a38 0%, #f11b09 100%);
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 82rpx;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
margin: 0 auto;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain_view {
|
|
|
|
|
width: 180rpx;
|
|
|
|
|
height: 48rpx;
|
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
border-radius: 0 0 6rpx 6rpx;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 48rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.iconfonts {
|
|
|
|
|
font-size: 22rpx !important;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
line-height: 220rpx;
|
2020-08-13 08:12:57 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wxParse-div {
|
|
|
|
|
width: auto !important;
|
|
|
|
|
height: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bargain .mask {
|
|
|
|
|
z-index: 100;
|
|
|
|
|
}
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
.share-box {
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2021-06-11 09:41:16 +00:00
|
|
|
|
|
2020-08-13 08:12:57 +00:00
|
|
|
|
image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|