123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854 |
- <template>
- <view style="background-image: linear-gradient(#ff8e0c,#ffc555 80%,#ff8e0c); width: 100%; height: 100%;">
-
- <!-- #ifdef MP-ALIPAY -->
- <u-navbar title="免费抽奖" :border="true" :placeholder="true" :autoBack="true" bgColor="#fff" leftIconSize="0" />
- <!-- #endif -->
- <!-- #ifndef MP-ALIPAY -->
- <view v-if="pagesNum > 1">
- <u-navbar title="免费抽奖" :border="true" :placeholder="true" :autoBack="true" bgColor="#fff" />
- </view>
- <view v-else>
- <u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff" title="免费抽奖">
- <view class="nav-left flex" slot="left" @click="toActivity">
- <u-icon name="arrow-left" size="20" color="#333"></u-icon>
- </view>
- </u-navbar>
- </view>
- <!-- #endif -->
- <view class="wrap">
- <!-- 参与人 -->
- <view class="wrap-fakeNum">
- <view class="fakeNum">{{info.fakeNum}}人已参与</view>
- </view>
-
- <!-- 距离开奖时间 -->
- <view v-if="info.status && JSON.parse(info.status).value == 3" class="wrap-date">
- <view class="wrap-date-on">
- <view class="wrap-date-on-line" style="right: 30rpx;"></view>距离开奖
- <view class="wrap-date-on-line" style="left: 30rpx;"></view>
- </view>
- <u-count-down :time="activityTime" format="DD:HH:mm:ss" autoStart millisecond @change="onChange">
- <view class="wrap-date-date">
- <text>{{timeData.days}}天</text>
- <text>{{ timeData.hours>=10?timeData.hours:'0'+timeData.hours }}:</text>
- <text>{{ timeData.minutes>=10?timeData.minutes:'0'+timeData.minutes }}:</text>
- <text>{{ timeData.seconds>=10?timeData.seconds:'0'+timeData.seconds }}</text>
- </view>
- </u-count-down>
- </view>
-
- <!-- 距离开始时间 -->
- <view v-if="info.status && JSON.parse(info.status).value == 2" class="wrap-date">
- <view class="wrap-date-on">
- <view class="wrap-date-on-line" style="right: 30rpx;"></view>距离开始
- <view class="wrap-date-on-line" style="left: 30rpx;"></view>
- </view>
- <u-count-down :time="activityTimeTwo" format="DD:HH:mm:ss" autoStart millisecond @change="onChange">
- <view class="wrap-date-date">
- <text>{{timeData.days}}天</text>
- <text>{{ timeData.hours>=10?timeData.hours:'0'+timeData.hours }}:</text>
- <text>{{ timeData.minutes>=10?timeData.minutes:'0'+timeData.minutes }}:</text>
- <text>{{ timeData.seconds>=10?timeData.seconds:'0'+timeData.seconds }}</text>
- </view>
- </u-count-down>
- </view>
-
- <!-- 一等奖 -->
- <view v-for="(item,index) in awardsList" :key="index">
- <view class="wrap-fixed" v-for="(itemTwo,index) in item.prizeList" :key="index"
- v-if="item.name == '一等奖'">
- <view class="wrap-fixed-effectstwo">
- <view class="effectsthree">
- <navigator :url="JSON.parse(itemTwo.prizeType).value == 'goods' ? `/packagePrize/goods/detail?id=${ itemTwo.refId }`:JSON.parse(itemTwo.prizeType).value == 'coin' ?`/packagePrize/goods/detail?id=424`:`/packagePrize/goods/detail?id=425`" hover-class="none">
- <view class="effectsthree-width">
- <image src="../static/activity/effectsthree.png"></image>
- <view class="effectsthree-width-name">
- {{item.name}}
- </view>
- </view>
- <view class="effectsthree-position">{{item.quantity}}个名额 </view>
- <view class="effectsthree-positionTwo">
- <view>
- <image :src="itemTwo.picUrl" mode="aspectFit"></image>
- </view>
- <view class="textone ells-one"
- v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value == 'coin'">
- {{itemTwo.title}}x{{itemTwo.value}}
- </view>
- <view class="textone ells-one" v-else> {{itemTwo.title}} </view>
- <view class="texttwo ells-one"
- v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value != 'coin'">
- ¥{{$numberFormat(itemTwo.value)}} </view>
- </view>
- </navigator>
- </view>
- <view class="effectstwo"></view>
- </view>
- </view>
- </view>
-
- <!-- 非一等奖 -->
- <view v-for="(item,index) in awardsList" :key="index">
- <view v-if="item.name != '一等奖'">
- <view class="wrap-award">
- <view class="effectsthree">
- <view class="effectsthree-width">
- <image src="../static/activity/effectsthree.png" mode="scaleToFill"></image>
- <view class="effectsthree-width-name">
- {{item.name}}
- </view>
- </view>
- <view class="effectsthree-position">{{item.quantity}}个名额 </view>
- <view style="padding-top: 120rpx;"></view>
- <view class="effectsthree-positionTwo" v-for="(itemTwo,index) in item.prizeList"
- :key="index">
- <navigator :url="JSON.parse(itemTwo.prizeType).value == 'goods' ? `/packagePrize/goods/detail?id=${ itemTwo.refId }`:JSON.parse(itemTwo.prizeType).value == 'coin' ?`/packagePrize/goods/detail?id=424`:`/packagePrize/goods/detail?id=425`" hover-class="none">
- <view class="flex" >
- <view >
- <image :src="itemTwo.picUrl" mode="aspectFit" class="imatwo"></image>
- </view>
- <view>
- <view class="textone ells-one"
- v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value == 'coin'">
- {{itemTwo.title}}x{{itemTwo.value}}
- </view>
- <view class="textone ells-one" v-else> {{itemTwo.title}}</view>
- <view class="texttwo ells-one"
- v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value != 'coin'">
- ¥{{$numberFormat(itemTwo.value)}} </view>
- </view>
- </view>
- </navigator>
- </view>
- </view>
- <view v-if="item.prizeList.length > 1 " class="wrap-award-explain">以上奖品随机获得一件</view>
- </view>
- </view>
- </view>
- <!-- 我的抽奖码 -->
-
- <!-- 抽奖码 -->
- <view class="wrap-description">
- <view class="wrap-description-code"> 我的抽奖码</view>
- <view v-if="info.codeList.length > 0" class="wrap-description-codetwo">
- <view class="codeList" v-for="(item,index) in info.codeList">
- <view class="codeList-bottom">{{item}}</view>
- </view>
- </view>
- <view v-else class="wrap-description-codethree">
- <view class="codethree">
- <image src="../static/activity/off.png" mode="scaleToFill" class="codeimg"></image>
- </view>
- <text class="codesix">还没有抽奖码</text>
- </view>
- <view class="wrap-description-codesix" v-if="info.codeList && info.codeList.length > 0">再获取1个抽奖码可超过当前<view class="view">{{ (info.codeList.length + 4)*5 > 80 ? 80 : (info.codeList.length + 4)*5}}%</view>的人</view>
- <view class="wrap-description-codesixtwo">每邀请一位好友助力成功,即可获得1个抽奖码</view>
- <view class="wrap-description-codesixtwo">抽奖码越多中奖概率越大</view>
- </view>
- <!-- 关注公众号 -->
- <!-- #ifdef MP-WEIXIN -->
- <view class="wrap-account" @click="toWeixin">
- <view class="wrap-account-view">
- <image src="../static/activity/logo.png" mode=""></image>
- <text>关注盲票公众号,获取中奖提醒</text>
- <view>去关注</view>
- </view>
- </view>
- <!-- #endif -->
-
- <!-- 图文介绍 -->
- <view v-if="description" class="wrap-descriptiontwo">
- <view style="padding: 36rpx 24rpx 36rpx;">图文介绍</view>
- <u-parse :content="description" :selectable="true"></u-parse>
- </view>
- </view>
-
- <!-- #ifdef MP-WEIXIN -->
- <view class="footer-fixed">
- <view class="flex btn">
- <button v-if="info.codeType == 2 && info.codeList.length < 1" type="default" @click="exChange"
- open-type="share">分享给好友,参与抽奖</button>
- <button v-if="info.codeType == 1 && info.codeList.length < 1" type="default" @click="exChangeCode">立即参与抽奖</button>
- <button v-if="info.codeType == 1 && info.codeList.length >= 1 || info.codeType == 2 && info.codeList.length >= 1" type="default" @click="exChange"
- open-type="share">分享给好友,提升中奖概率</button>
- <!--<u-count-down v-else :time="activityTimeTwo" format="DD:HH:mm:ss" autoStart millisecond
- @change="onChange">
- <button class="buttoncol" type="default">
- 开始倒计时:{{timeData.days}} 天{{ timeData.hours>=10?timeData.hours:'0'+timeData.hours}} :{{timeData.minutes>=10?timeData.minutes:'0'+timeData.minutes}} :{{timeData.seconds>=10?timeData.seconds:'0'+timeData.seconds}}
- </button>
- </u-count-down> -->
- </view>
- </view>
- <!-- #endif -->
- <!-- #ifdef H5 || MP-ALIPAY -->
- <view class="footer-fixed">
- <view class="flex btn">
- <button type="default" v-if="info.codeType == 1 && info.codeList.length < 1" @click="exChangeCode">立即参与抽奖</button>
- <button type="default" class="buttoncol" v-else>请在微信“盲票”小程序分享助力</button>
- </view>
- </view>
- <!-- #endif -->
-
- <!-- <u-popup :show="popupShow" mode="bottom" @close="close" closeable>
- <view class="popupcode">获取抽奖码</view>
- <view class="popupcodetwo">
- <view class="popupcodetwo-view">邀请好友助力,获取抽奖码</view>
- <text class="popupcodetwo-text">每邀请一位好友助力成功,即可获得1个抽奖码,没有上限</text>
- </view>
- <view class="popupcodethree" style="">
- <button type="default" class="popupcodethree-default" open-type="share">立即邀请好友助力</button>
- </view>
- </u-popup> -->
- <!-- <u-popup v-if="info.status && JSON.parse(info.status).value == 4" mode="bottom" @close="close" closeable> -->
-
- <!-- 助力邀请弹框组件 -->
- <activity-help :activity-show="activityShow" :inviteCode="inviteCodeTa" :marketingId="marketingId" @close="close" @exChange='exChange' @success="toActivity" v-if="activityShow && info.status && JSON.parse(info.status).value == 3" />
- <!-- 活动结束弹框 -->
- <u-popup v-if="info.status && JSON.parse(info.status).value == 4 || info.isOn == -1" show="true" mode="center" @close="close"
- round="11">
- <view style="text-align: center;width: 600rpx; height: 500rpx;">
- <view style="color: #666;margin-top: 110rpx;font-size: 40rpx;">来晚了,活动已结束</view>
- <view style="color: #666;margin-top: 50rpx;font-size: 36rpx;">点击前往查看新的免费抽奖活动</view>
- <button @click="toActivity" type="default"
- style="background-color: #FF8000;color: #fff; width: 300rpx;margin-top: 70rpx;">确定</button>
- </view>
- </u-popup>
- </view>
- </template>
- <script>
- import env from '../../config/env.js'
- import $http from '@/utils/request.js'
- import ActivityHelp from '@/components/activity-help/activity-help.vue'
- import { formatRichText } from '@/utils/util.js'
- export default {
- components: {
- ActivityHelp
- },
- data() {
- return {
- popupShow: false,
- id: '',
- description: '', //富文本
- info: {}, //列表
- timeData: {}, //时间
- awardsList: [], //奖品
- inviteCode: '', //邀请码
- activityTime: 0,
- activityTimeTwo: 0,
- pagesNum: "",
- activityShow: false,//助力邀请弹框
- inviteCodeTa: '', //邀请码
- marketingId: '',//活动id
- userInfo: '',//uid
-
- }
- },
- onLoad(opthios) {
- if(opthios.id){
- this.id = opthios.id
- }
- /**
- * 免费活动邀请助力分享跳转接收参数
- * inviteCodeTa: 邀请码
- * marketingId: 活动id
- * */
- if (opthios.inviteCode && opthios.marketingId) {
- this.inviteCodeTa = opthios.inviteCode
- this.marketingId = opthios.marketingId
- this.id = opthios.marketingId
- this.activityShow = true
- }
-
- if (opthios.userId) {
- uni.setStorageSync('shareUid', opthios.userId)
- }
-
- if (opthios.type) {
- uni.setStorageSync('shareType', opthios.type)
- }
-
- this.getDetail()
- },
- onShow() {
- this.pagesNum = getCurrentPages().length
- this.getBaseInfo()
- },
- methods: {
- toActivity() {
- uni.reLaunch({
- url: `/pages/activity/index`
- })
- },
- getDetail() {
- uni.showLoading({
- title: '加载中'
- });
- $http.post(`/api/v1/mp/user/marketing/detail/${this.id}`, {}).then(res => {
- uni.hideLoading();
- if (res.code == 0) {
- this.info = res.data
- let awardsList = res.data.awardsList
- awardsList.forEach(item => {
- item.prizeList.forEach(itemTwo => {
- itemTwo.picUrl = (env.filePublic + itemTwo.picUrl.split(',')[0] +
- '?imageView2/2/w/750')
- })
- })
- this.awardsList = awardsList
- // 处理富文本
- // #ifndef MP-ALIPAY
- const description = res.data.description.replaceAll(".jpg\"", ".jpg?imageView2/2/w/750\"")
- .replaceAll(".jpeg\"", ".jpeg?imageView2/2/w/750\"").replaceAll(".png\"",
- ".png?imageView2/2/w/750\"");
- this.description = formatRichText(description);
- // #endif
-
- // #ifdef MP-ALIPAY
- res.data.description.split(".jpg\"").join(".jpg?imageView2/2/w/750\"")
- res.data.description.split(".jpeg\"").join(".jpeg?imageView2/2/w/750\"")
- res.data.description.split(".png\"").join(".png?imageView2/2/w/750\"")
- this.description = formatRichText(res.data.description);
- // #endif
-
- let timestamp = parseInt(new Date().getTime())
- this.activityTime = this.info.endTime - timestamp
- this.activityTimeTwo = this.info.startTime - timestamp
- }
- }).catch(() => {
- uni.hideLoading();
- })
- $http.post('/api/v1/mp/user/marketing/inviteCode', {}).then(res => {
- if (res.code == 0) {
- this.inviteCode = res.data
- }
- })
- },
- onChange(e) {
- this.timeData = e
- },
- exChange() {
- //弹出层打开
- // this.popupShow = true
- uni.requestSubscribeMessage({
- tmplIds: ['3y_My-yRmqmGd3-f-vAwNaK4LQeehzXBSNDi_5wcnFI',
- 'FGcPOV1j9ApESr3VUlWjFr6E1vF4X_h0LLN82T2CLL0',
- '92xxL8XTRPLROyNUtmN04OT0kyq4iwSCH3sz-j6zbZs'
- ],
- success(res) {
- }
- })
- },
- //立即参与抽奖
- exChangeCode(){
- $http.post(`/api/v1/mp/user/marketing/generateCode/${this.id}`, {}).then( res => {
- console.log(res);
- if(res.code == 0){
- this.getDetail()
- setTimeout(()=>{
- uni.$u.toast('参与成功,您已获得1个抽奖码');
- },500)
- }
- })
- this.exChange()
- },
- close() {
- //弹出层收起
- // this.popupShow = false
- // 关闭支付弹框
- this.activityShow = false
- this.getDetail()
- },
- //公众号
- toWeixin() {
- uni.navigateTo({
- url: `/packageOperate/activity/wxofficial`
- })
- },
- getBaseInfo() {
- $http.post('/api/v1/mp/user/getLoginUserinfo', {}).then(res => {
- uni.hideLoading();
- if (res.code == 0) {
- this.userInfo = res.data
- }
- })
- },
- },
- onShareAppMessage(res) {
- return {
- title: '超值宝贝免费抽,参与活动仅需3秒',
- path: `/packageOperate/activity/index?marketingId=${ this.info.id }&inviteCode=${ this.inviteCode }&userId=${ this.userInfo.userId }&type=1`,
- imageUrl: 'https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/free_draw_bkg.jpeg',
- }
- },
- //分享朋友圈
- onShareTimeline() {
- return {
- title: '一起来刮盲票吧',
- path: `/packageOperate/activity/index?marketingId=${ this.info.id }&inviteCode=${ this.inviteCode }&userId=${ this.userInfo.userId }&type=1`,
- imageUrl: 'https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/free_draw_bkg.jpeg',
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .popupcode {
- height: 98rpx;
- width: 100%;
- background-color: #F8832C;
- text-align: center;
- line-height: 98rpx;
- color: #fff;
- font-size: 32rpx;
- }
- .popupcodetwo {
- padding: 30rpx 20rpx;
- &-view {
- color: #101010;
- line-height: 50rpx;
- font-size: 30rpx;
- }
- &-text {
- color: #8c8c8c;
- font-size: 26rpx;
- }
- }
- .popupcodethree {
- padding: 0rpx 20rpx 50rpx;
- &-default {
- background-color: #FCE9DB;
- color: #fff;
- border: 2rpx solid #F8832C;
- color: #F9832C;
- border-radius: 22rpx;
- }
- }
- .wrap {
- // 设置ios刘海屏底部横线安全区域
- // padding-bottom: constant(safe-area-inset-bottom);
- // padding-bottom: env(safe-area-inset-bottom);
- padding-bottom: 200rpx;
- background: url(../static/activity/effectsone.png) no-repeat 100% 0%;
- background-size: 100%;
- &-fakeNum {
- margin-top: 46rpx;
- .fakeNum {
- line-height: 66rpx;
- text-align: center;
- width: 266rpx;
- height: 76rpx;
- background: url(../static/activity/rectangle.png) no-repeat center center;
- background-size: 266rpx 76rpx;
- margin: 0 auto;
- color: #A13D01;
- font-size: 30rpx;
- }
- }
- &-date {
- text-align: center;
- width: 100%;
- font-family: YouSheBiaoTiHei;
- color: #FFFFFF;
- &-on {
- display: inline-block;
- font-size: 76rpx;
- line-height: 68rpx;
- &-line {
- display: inline-block;
- width: 68rpx;
- height: 2rpx;
- overflow: hidden;
- background-color: #fff;
- position: relative;
- bottom: 25rpx;
- }
- }
- &-date {
- font-size: 52rpx;
- }
- }
- &-fixed {
- height: 630rpx;
- margin: 30rpx 30rpx;
- &-effectstwo {
- border-radius: 20rpx;
- width: 100%;
- height: 100%;
- background: url(../static/activity/effectstwo.png) no-repeat center center;
- .effectsthree {
- position: relative;
- height: 400rpx;
- width: 100%;
- z-index: 10;
- &-width {
- position: absolute;
- width: 175rpx;
- height: 175rpx;
- margin: 0;
- image {
- width: 100%;
- height: 100%;
- }
- &-name {
- position: relative;
- left: 10rpx;
- top: -160rpx;
- transform: rotateZ(-45deg);
- color: #fff;
- font-size: 26rpx;
- }
- }
- &-position {
- position: absolute;
- // z-index: 1;
- width: 180rpx;
- height: 62rpx;
- background-image: linear-gradient(to right, #FAE08A, #FFC45A);
- border-radius: 17rpx;
- line-height: 62rpx;
- text-align: center;
- color: #A13D01;
- font-size: 30rpx;
- top: 20rpx;
- right: 20rpx;
- }
- &-positionTwo {
- width: 100%;
- height: 100%;
- text-align: center;
- image {
- width: 350rpx;
- height: 350rpx;
- margin-top: 70rpx;
- }
- .textone {
- width: 70%;
- margin: 0 auto;
- margin-top: 80rpx;
- color: #333333;
- font-size: 30rpx;
- line-height: 40rpx;
- }
- .texttwo {
- color: #FC531E;
- font-size: 30rpx;
- line-height: 34rpx;
- }
- }
- }
- .effectstwo {
- position: relative;
- bottom: 120rpx;
- margin-left: 17.5%;
- width: 65%;
- height: 65%;
- background: url(../static/activity/effectssix.png) no-repeat 100% center;
- background-size: 100%;
- }
- }
- }
- &-award {
- padding-bottom: 50rpx;
- // height: 2230rpx;
- border-radius: 18rpx;
- margin: 30rpx 30rpx;
- background-color: #fff;
- .effectsthree {
- position: relative;
- // height: 400rpx;
- // width: 100%;
- // z-index: 10;
- &-width {
- position: absolute;
- width: 175rpx;
- height: 175rpx;
- margin: 0;
- image {
- width: 100%;
- height: 100%;
- }
- &-name {
- position: relative;
- left: 10rpx;
- top: -160rpx;
- transform: rotateZ(-45deg);
- color: #fff;
- font-size: 26rpx;
- }
- }
- &-position {
- position: absolute;
- z-index: 1;
- width: 180rpx;
- height: 62rpx;
- background-image: linear-gradient(to right, #FAE08A, #FFC45A);
- border-radius: 17rpx;
- line-height: 62rpx;
- text-align: center;
- color: #A13D01;
- font-size: 30rpx;
- top: 20rpx;
- right: 20rpx;
- }
- &-positionTwo {
- width: 100%;
- height: 220rpx;
- // text-align: center;
- padding: 0 62rpx;
- justify-content: flex-start;
- .imatwo {
- width: 150rpx;
- height: 150rpx;
- }
- .textone {
- color: #333333;
- font-size: 30rpx;
- margin-left: 20rpx;
- line-height: 75rpx;
- }
- .texttwo {
- margin-left: 20rpx;
- color: #FC531E;
- font-size: 28rpx;
- line-height: 75rpx;
- }
- .imgone {
- width: 449rpx;
- height: 280rpx;
- position: relative;
- bottom: 80rpx;
- margin-left: 0%;
- z-index: 0;
- // width: 45%;
- // height: 45%;
- }
- }
- }
- &-explain {
- margin-top: 30rpx;
- text-align: center;
- color: #999999;
- font-size: 30rpx;
- }
- }
- &-description {
- min-height: 200rpx;
- background-color: #fff;
- margin: 30rpx 30rpx;
- border-radius: 18rpx;
- padding-bottom: 40rpx;
- &-code {
- font-size: 30rpx;
- color: #333;
- padding: 36rpx 24rpx;
- }
- &-codetwo {
- text-align: center;
- margin-top: 20rpx;
- margin-bottom: 40rpx;
- .codeList {
- text-align: center;
- margin-bottom: 40rpx;
- &-bottom {
- margin: 0 auto;
- width: 526rpx;
- height: 70rpx;
- background-color: #F8832C;
- color: #fff;
- border-radius: 12rpx;
- font-size: 36rpx;
- line-height: 70rpx;
- }
- }
- }
- &-codethree {
- text-align: center;
- .codethree {
- margin-left: 80rpx;
- .codeimg {
- width: 200rpx;
- height: 200rpx;
- }
- }
- .codesix {
- line-height: 1rpx;
- color: #F8832C;
- font-size: 30rpx;
- display: inline-block;
- margin-bottom: 80rpx;
- }
- }
- &-codesix {
- padding: 10rpx 0;
- text-align: center;
- line-height: 60rpx;
- font-size: 28rpx;
- font-weight: bold;
- color: #666666;
- margin-bottom: 20rpx;
- .view {
- font-size: 28rpx;
- color: #F9822C;
- display: inline-block;
- }
- }
- &-codesixtwo {
- margin: 0 auto;
- width: 600rpx;
- font-size: 26rpx;
- color: #999;
- line-height: 40rpx;
- // padding-bottom: 40rpx;
- text-align: center;
- }
- }
- &-descriptiontwo {
- margin: 30rpx;
- border-radius: 18rpx;
- overflow: hidden;
- background-color: #fff;
- }
- &-account {
- height: 100rpx;
- border-radius: 22rpx;
- background-color: #fff;
- margin: 30rpx 30rpx 0 30rpx;
- text-align: center;
- &-view {
- padding: 0 20rpx;
- image {
- width: 64rpx;
- height: 64rpx;
- vertical-align: -50%;
- }
- text {
- line-height: 100rpx;
- margin: 20rpx;
- font-size: 30rpx;
- color: #333333;
- }
- view {
- text-align: center;
- border-radius: 6rpx;
- display: inline-block;
- height: 44rpx;
- line-height: 44rpx;
- font-size: 26rpx;
- width: 112rpx;
- color: #f9822c;
- background-color: #fff;
- border: 2rpx solid #f9822c;
- }
- }
- }
- }
- .data-btn {
- float: left;
- text {
- display: inline-block;
- width: 60rpx;
- }
- }
- .footer-fixed {
- position: fixed;
- bottom: var(--window-bottom);
- left: 0;
- right: 0;
- z-index: 11;
- box-shadow: 0 -4rpx 40rpx 0 rgba(151, 151, 151, 0.24);
- background: #fff;
- // 设置ios刘海屏底部横线安全区域
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- .btn {
- padding: 20rpx 0;
- ::v-deep button {
- width: 640rpx;
- height: 90rpx;
- line-height: 90rpx;
- font-size: 34rpx;
- color: #fff;
- background-color: #f9822c;
- border: none;
- border-radius: 48rpx;
- }
- }
- .buttoncol {
- background-color: #555;
- }
- }
- </style>
|