| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170 |
- <template>
- <view class="container">
- <view class="reds"></view>
- <view class="conter">
- <!-- <view class="tips flex_center_down_center" v-if="state == 1">
- <image src="../../static/error/missing-face.png"></image>
- <text >79 拼团成功</text>
- </view> -->
- <view class="details flex-between-center">
- <view class="left-img" @click="ToGroup(goodsList)">
- <image :src="goodsList.image"></image>
- <image class="left-img1" src="https://shicai.liuniu946.com/img/img69.png"></image>
- <!-- <image class="left-img1" v-if=" types == 2" src="https://shicaitest.liuniu946.com/img/img70.png"></image> -->
- </view>
- <view class="right-word">
- <view class="one">{{goodsList.title}}</view>
-
- <view class="two m-t10">
- <view class="three">
- <text>{{ goodsList.mark }}</text>
- </view>
- <!-- <text class="two-1">单买价¥{{goodsList.product_price}}</text> -->
- <text class="two-2" @click="ToGroup(goodsList)">商品详情></text>
- </view>
- <view class="word-3">
- <!-- <image src="https://shicaitest.liuniu946.com/img/img84.png"></image> -->
- <view class="word-3-1">
- <text class="word-text">本单邀请奖</text><!-- 本单发起人奖金 -->
- <text class="word-3-1-1">{{parseFloat(goodsList.people_prize)}}元/人</text>
- </view>
- <image class="wenhao" src="../../static/icon/wenhao.png" @click="navTo('/pages/rule/AAjiangjin')"></image>
- </view>
-
-
- <view class="four m-t5">
- <text >拼团价¥</text>
- <text class="four-1">{{goodsList.price}}</text>
- </view>
- <view class="five m-t10">
- <text >已拼{{goodsList.sales}}份</text>
- </view>
- </view>
- </view>
-
- <view class="participate" >
- <view class="rows-1">
-
- <view class="KaiTuan-1">发起拼团</view>
- <view class="KaiTuan-2">与<text style="color: #FF0A1A;">附近的人</text>一起享受优惠</view>
-
- <!-- 少于5个人时 -->
- <view class="participate-4" :class="{PinkCenter: goodsList.max_people < 5 }" v-if="goodsList.max_people < 5">
- <!-- AA团 -->
- <view class="participate-4-1" v-for="item in peopleList">
- <image src="https://shicai.liuniu946.com/img/img72.png"></image>
- </view>
- </view>
-
- <!-- 大于5个人时 -->
- <scroll-view class="pinkT-Box" scroll-x="true" v-if="goodsList.max_people >= 5">
- <view class="participate-4">
- <!-- AA团 -->
- <view class="participate-4-1" v-for="item in peopleList">
- <image src="https://shicai.liuniu946.com/img/img72.png"></image>
- </view>
-
- <!-- 达人团 -->
- <!-- <view class="participate-4-1" v-if="types == 2 " v-for="item in peopleNub + 1" >
- <image src="https://shicai.liuniu946.com/img/img72.png"></image>
- </view> -->
-
- </view>
- </scroll-view>
-
- </view>
-
- <!-- <view v-if="state == 1">
- <view class="participate-5" v-if="status == 1 && userBool == 1 " @click="openshare">邀请好友参团</view>
- <view class="participate-5" v-if="status != 1 && userBool == 0 " @click="goBuy" >立即参团</view>
- <view class="participate-5" v-if="status != 1 && userBool == 1 " @click="openshare" >分享给好友</view>
- </view> -->
- <view class="participate-5" @click="kaiPinkT">点击购买,开拼</view>
- <!-- <view class="participate-5" v-if="state == 2" @click="GoDingdan">查看订单及团长信息</view> -->
-
- <view class="participate-6"></view>
- <view class="participate-7 flex-between-center">
- <view class="participate-7-1">
- <text class="word">AA团</text>
- <text>玩法</text>
- </view>
- <view class="participate-7-1" @click="goRule">
- <text class="word1">详细规则</text>
- <image src="../../static/img/img74.png"></image>
- </view>
- </view>
- <view class="participate-8 flex-between-center">
- <view class="participate-8-1">
- <image class="img1" src="https://shicai.liuniu946.com/img/img76.png"></image>
- <view class="word-1">开团/参团</view>
- <view class="word-2">拼团享低价</view>
- </view>
- <image src="https://shicai.liuniu946.com/img/img75.png"></image>
- <view class="participate-8-1">
- <image class="img2" src="https://shicai.liuniu946.com/img/img77.png"></image>
- <view class="word-1">邀请邻里参团</view>
- <view class="word-2">分享优惠多</view>
- </view>
- <image src="https://shicai.liuniu946.com/img/img75.png"></image>
- <view class="participate-8-1">
- <image class="img3" src="https://shicai.liuniu946.com/img/img78.png"></image>
- <view class="word-1">人满发货</view>
- <view class="word-2">人不满退款</view>
- </view>
- </view>
- </view>
-
- <!-- 大家还在拼 -->
- <now-list :recommendedlist="recommendedlist"></now-list>
-
- </view>
-
-
- <uni-popup ref="share" type="center" >
- <view class="share-box">
- <view class="share-tit">
- <!-- 10枚洋鸡蛋低至<text>19</text>元, -->
- 赶紧邀请认识的人来拼团吧
- </view>
- <view class="share-tit2">
- 美天选菜平台配送范围有限,建议分享给您附近的朋友或邻居
- </view>
- <view class="share-footbox">
- <button class="share-icon button-share" open-type="share" @click="closeshare">
- <image src="https://shicai.liuniu946.com/img/icon-wx.png" class="icon"></image>
- <view class="share-txt" style="line-height: 1;margin-top: 4rpx;">邀请好友</view>
- </button>
- <!-- <view class="share-icon" @click="open">
- <image src="https://shicai.liuniu946.com/img/icon-wx2.png" class="icon"></image>
- <view class="share-txt">朋友圈</view>
- </view> -->
- </view>
- </view>
- </uni-popup>
-
- <view class="mask" v-show="maskshow">
- <image @longpress="loadImg()" @tap="maskshow = false" mode="widthFix" :src="posturl"></image>
- </view>
-
- <view class="foot" @click="openshare">分享给好友</view>
-
- <!-- 返回按钮 -->
- <return-button></return-button>
- </view>
- </template>
- <script>
- import uniCountdowns from '@/components/uni-countdown/uni-countdowns.vue';
- import uniPopup from '@/components/uni-popup/uni-popup.vue';
- // import { getCombinationLisPink, getCombinationPoster } from '@/api/groupBooking.js';
- import { cartAdd, groupGoods } from '@/api/product.js';
- import { timeComputed } from '@/utils/rocessor.js';
- import { nowPinkLst } from '@/api/order.js';
- import { mapState } from 'vuex';
- // 返回按钮
- import returnButton from '@/pages/return/returnButton.vue';
- // 大家还在拼
- import NowList from '../groupBooking/common/nowList.vue';
- export default {
- computed: {
- ...mapState(['baseURL', 'urlFile']),
- ...mapState('user',['userInfo']),
- // 还需要报名的人数
- // peopleNub() {
- // return this.pinkT.max_people - 1 - this.people.length;
- // },
- //最后成团时,销售额佣金百分比
- percentage(){
-
- if((1 + this.people.length) >= this.pinkT.min_people)
- {
- let number;
- // AA团
- if( this.types == 1 ) {
- number = this.people.length + 1; //现有人数
- }
- // 达人团
- if( this.types == 2 ) {
- number = this.people.length; //现有人数
- }
-
- let size = number - this.pinkT.min_people;
- let percentage = (parseInt(size) / parseInt(this.upgrade_people_nums)) * parseInt(this.prize_up) + parseInt(this.min_prize);//最终的百分比
- console.log(this.min_prize,this.upgrade_people_nums,3898)
- console.log(percentage,8676)
- if( percentage > this.max_prize)
- {
- console.log(this.max_prize,8888)
- return parseFloat(this.max_prize);
- }else{
- console.log(percentage,9999)
- return parseFloat(percentage);
- }
- }
- else{
- return '?';
- }
- }
- },
- components: {
- uniCountdowns,
- uniPopup,
- returnButton,
- NowList
- },
- // #ifdef MP
- onShareAppMessage: function(res) {
- if (res.from === 'button') {
- // 来自页面内分享按钮
- let pages = getCurrentPages();
- // 获取当前页面
- let page = pages[pages.length - 1];
- let path = '/' + page.route + '?';
- // 保存传值
- for (let i in page.options) {
- if(i !='spread' ) {
- path += i + '=' + page.options[i] + '&';
- }
- }
- // 保存邀请人
- path += 'spread=' + this.userInfo.uid;
- console.log(path,9685)
- let data = {
- path: path,
- imageUrl: this.goodsList.image,
- title: '附近的好友邀请您加入拼团'
- };
- return data;
- } else {
- let pages = getCurrentPages();
- // 获取当前页面
- let page = pages[pages.length - 1];
- let path = '/' + page.route + '?';
- // 保存传值
- for (let i in page.options) {
- if(i !='spread' ) {
- path += i + '=' + page.options[i] + '&';
- }
- }
- // 保存邀请人
- path += 'spread=' + this.userInfo.uid;
- console.log(path,9685)
- let data = {
- path: path,
- imageUrl: this.goodsList.image,
- title: '附近的好友邀请您加入拼团'
- };
- return data;
- }
- },
- // #endif
- data() {
- return {
- i:0,
- min_prize:0,//最低提成百分比
- max_prize:0,//最高提成百分比
- upgrade_people_nums:'',//升级人数
- prize_up: '', // 提升百分比
- orderId:'',//订单号
- order_count:'',//已拼数量
- types:'',//1AA团 2 达人团
- state:0,//1正在拼团 2 拼团成功 3 拼团失败
- user_info: {}, //当前用户信息
- shopinfo:{},//订单信息
- goodsinfo:{},//商品信息
- image:'',//订单商品图片
- cart_info:{},
- posturl: '',
- list: '', //拼团全部信息
- gp_id: 0, //拼团商品id
- goods: {}, //商品信息
- pinkT: {}, //拼团团长信息
- people: [], //拼团成员信息
- status: 0, //判断是否为团长
- notPink: false, //是否已经参团
- gid: 0,
- // 倒计时
- stopTime: {
- stopTimeD: 0,
- stopTimeH: 0,
- stopTimeM: 0,
- stopTimeS: 0
- },
- pinkTInfo: '', //当前用户信息
- userBool: 0, //判断用户是否已经参与拼团 0未参加 1为已参加
- spread: '', //默认没有邀请人
- option: '', //option参数
- showtime: true, //倒计时天数
- maskshow: false, //弹窗
- teamid: '' ,//团长id
- erros:'',//保存商品错误信息
- unique:'',//保存传入的规格用于确认购买规格号
- recommendedlist:[],
- pinkUser: '' ,// 是否为团长
- orderShow: false,
-
- goodsList: {}, // 商品信息
- peopleList: '', // 人数
- type: 1, //默认支付方式add为
- }
- },
- onLoad(option) {
- console.log(option)
- if (option.scene) {
- if (typeof option.scene == 'string') {
- let scene = ('{'+option.scene+"}").replace('qr%26','').replace(/%3D/g,':').replace(/%26/g,',').replace('pink_id','\"pink_id\"').replace('spread','\"spread\"');
- let opt = JSON.parse(scene);
- // 保存拼团订单id
- console.log('haha1')
- this.gp_id = opt.id;
-
- if(opt.order_id) {
- this.orderId = opt.order_id;
- this.orderShow = true
- }
- if (opt.spread) {
- // 存储邀请人
- this.spread = opt.spread;
- uni.setStorageSync('spread', opt.spread);
- }
- }
- } else {
- // 保存拼团订单id
- console.log('haha2')
- this.gp_id = option.id;
-
- this.pinkUser = option.pinkUser;
- if (option.spread) {
- // 存储邀请人
- this.spread = option.spread;
- uni.setStorageSync('spread', option.spread);
- }
- }
-
- this.getData();
-
- // 大家还在拼
- nowPinkLst({}).then(({data}) => {
- this.recommendedlist = data;
- })
- },
- onShow() {
-
- },
- // onPullDownRefresh() {
- // let obj = this;
- // //监听下拉刷新动作的执行方法,每次手动下拉刷新都会执行一次
- // setTimeout(function() {
- // obj.getData();
- // uni.stopPullDownRefresh(); //停止下拉刷新动画
- // }, 1000);
- // },
- methods: {
- // 跳转
- navTo(url) {
- uni.navigateTo({
- url: url
- })
- },
- // 下载图片方法
- loadImg() {
- uni.downloadFile({
- url: this.posturl,
- success: res => {
- console.log(res.tempFilePath);
- uni.saveImageToPhotosAlbum({
- //将图片保存在手机
- filePath: res.tempFilePath, //保存的位置
- success: res => {
- uni.showToast({
- title: '保存成功',
- icon: 'none'
- });
- }
- });
- },
- fail(e) {
- console.log(e);
- }
- });
- },
-
- // 查看传值用
- openSp() {
- let obj = this;
- uni.scanCode({
- complete(e) {
- uni.showModal({
- title: '',
- content: JSON.stringify(e),
- showCancel: false,
- complete() {
- if(obj.erros){
- uni.showModal({
- title: '错误',
- content:JSON.stringify(obj.erros),
- showCancel: false
- });
- }
- }
- });
- }
- });
- },
-
- // 详细规则
- goRule() {
- uni.navigateTo({
- url: '/pages/rule/AArule'
- })
- },
-
- // 团长确认
- // tuanzhang() {
- // let obj = this;
- // if (this.pinkUser == 1) {
- // this.$nextTick(function(){
- // obj.$refs.popPhone.open();
- // })
- // }
- // },
- // queren() {
- // this.$refs.popPhone.close();
- // },
-
- // 获取拼团信息
- getData() {
- let obj = this;
- groupGoods({}, obj.gp_id).then(({data})=> {
- obj.goodsList = data.storeInfo;
- obj.peopleList = obj.goodsList.max_people
-
- })
- },
-
- // 一键开团
- kaiPinkT() {
- let obj = this;
- // 创建传值对象
- let data = {
- cartNum: 1, //商品数量
- new: 1, //商品是否新增加到购物车1为不加入0为加入
- combinationId: obj.gp_id,
- productId: obj.goodsList.product_id
- };
- cartAdd(data)
- .then(function(e) {
- let da = e.data;
- if (obj.type == 1) {
- // 跳转到支付页
- uni.navigateTo({
- url: '/pages/order/createOrderKai?id=' + da.cartId + '&num=' + obj.goodsList.num +'&goodsType=2'
- });
- }
- })
- .catch(e => {
- console.log(e);
- });
- },
-
- //跳转拼团商品详情页
- ToGroup(item) {
- let id = item.id;
- uni.navigateTo({
- url: '/pages/product/productGroup?id=' + id + '&show=true'
- });
- },
-
- // 去开团
- ToKaiTuan(item) {
- console.log(8754847)
- let id = item.id;
- uni.navigateTo({
- url: '/pages/product/productGroup?id=' + id
- });
- },
-
- // 计算倒计时时间
- timeComputed(da) {
- let obj = this;
- let stopTime = timeComputed(da);
- obj.stopTime.stopTimeD = stopTime.day;
- obj.stopTime.stopTimeH = stopTime.hours;
- obj.stopTime.stopTimeM = stopTime.minutes;
- obj.stopTime.stopTimeS = stopTime.seconds;
- if (stopTime.day < 1) {
- obj.showtime = false;
- }
- },
-
- openshare(){
- this.$refs.share.open()
- },
- closeshare() {
- this.$refs.share.close()
- },
- // open(){
- // this.$refs.popup2.open()
- // },
- launch(){
- uni.showModal({
- content: '您是否是团长,需要发起无购买拼团?',
- success: function (res) {
- if (res.confirm) {
- console.log('用户点击确定');
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- }
- }
- }
-
- </script>
- <style lang="scss">
- .share-box{
- width: 710rpx;
- padding: 42rpx 85rpx;
- border-radius:15rpx;
- background-color: #FFFFFF;
- text-align: center;
- .share-tit{
- font-size:28rpx;
- font-weight:bold;
- color:rgba(0,0,0,1);
- line-height:34rpx;
- margin-bottom: 30rpx;
- }
- .share-tit2{
- font-size:22rpx;
- font-weight:bold;
- color:rgba(107,105,108,1);
- line-height:30rpx;
- margin-bottom: 30rpx;
- }
- .share-footbox{
- display: flex;
- .button-share {
- background: 0;
- flex-direction: column;
- display: flex;
- align-items: center;
-
- &::after {
- border: 0;
- }
- }
- .share-icon{
- flex: 1;
- height: 180rpx;
- .lyy-b-but {
- width: 550rpx;
- height: 80rpx;
- margin: 0 5rpx;
- background: #fc5b62;
- border-radius: 100rpx;
- text-align: center;
- color: white;
- line-height: 80rpx;
- font-size: 32rpx;
- }
- .icon{
- width: 120rpx;
- height: 120rpx;
- margin-bottom: 20rpx;
- }
- .share-txt{
- font-size:27rpx;
- font-weight:bold;
- color:rgba(9,10,13,1);
- }
- }
- }
-
- }
-
- .pinkTuan {
- position: relative;
- .pinktuan-sym {
- border-radius: 0;
- }
- }
-
- page,.container{
- line-height: 1;
- height: 100%;
- .reds{
- position: relative;
- top: 0;
- z-index: 0;
- width:100%;
- height:520rpx;
- // background:linear-gradient(14deg,#ff7425,#ff1e29);
- background: linear-gradient(14deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
- }
- .conter{
- position: absolute;
- top: 0;
- padding:0 20rpx;
- width: 100%;
- padding-bottom: 100rpx;
- }
- .tips{
- margin: 15rpx 0rpx;
- padding: 5rpx 10rpx;
- border-radius: 25rpx 0 0 25rpx;
- width:300rpx;
- height:50rpx;
- background:#ed372c;
- image{
- width: 45rpx;
- height: 45rpx;
- margin-right: 50rpx;
- }
- text{
- font-size:23rpx;
- font-weight:400;
- color:#ffffff;
- }
- }
- .details {
- margin-top: 20rpx;
- padding: 25rpx 35rpx;
- width: 100%;
- background:#ffffff;
- border-radius:20rpx;
- .m-t10{
- margin-top: 10rpx;
- }
- .m-t5{
- margin-top: 5rpx;
- }
- .left-img {
- position: relative;
- image {
- width: 170rpx;
- height: 170rpx;
- border-radius: 10rpx;
- margin-right: 25rpx;
- }
- .left-img1{
- width: 83rpx;
- height: 34rpx;
- position: absolute;
- top:0;
- left:0;
- }
- }
- .right-word {
- width: 100%;
- .one {
- font-size:30rpx;
- color:#000000;
- overflow : hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- width: 420rpx;
- line-height: 1.2;
- // margin-left: 8rpx;
- }
- .two{
- font-size:25rpx;
- color:#8e8e8e;
- // margin-left: 8rpx;
- display: flex;
- align-items: center;
- .two-1{
- padding-right: 15rpx;
- border-right: 1px solid #8e8e8e;
- }
- .two-2{
- padding-left: 15rpx;
- }
- }
- .word-3{
- margin-top: 10rpx;
- position: relative;
- font-size:20rpx;
- color:#ffffff;
- display: flex;
- align-items: center;
- // image{
- // width: 208rpx;
- // height: 45rpx;
- // }
- .wenhao {
- width: 32rpx;
- height: 32rpx;
- margin-left: 16rpx;
- }
- .word-3-1{
- // position: absolute;
- // top:7px;
- // left:5px;
- width: 200rpx;
- border: 1px solid #F9DCDD;
- .word-text {
- width: 65%;
- display: inline-block;
- background: linear-gradient(0deg,#ff7425,#ff1e29);
- padding: 4rpx 4rpx;
- text-align: center;
- }
- .word-3-1-1{
- width: 35%;
- background: #FFF5F4;
- color:#FD1B2A;
- display: inline-block;
- text-align: center;
- padding: 4rpx 0;
- // margin-left: 15rpx;
- }
-
- }
- }
- .three{
- font-size:25rpx;
- font-weight:400;
- color:#ff0919;
- // margin-left: 8rpx;
- }
- .six{
- margin-top: 10rpx;
- position: relative;
- font-size:22rpx;
- color:#ffffff;
- image{
- width: 255rpx;
- height: 80rpx;
- }
- .six-1{
- position: absolute;
- top:6px;
- left:7px;
- .six-red{
- color:#F9DCDD;
- margin-left: 15rpx;
- }
- }
- .six-2{
- position: absolute;
- top:24px;
- left:7px;
- color:#FF2829;
- .six-red{
- color:#F9DCDD;
- margin-left: 15rpx;
- }
- }
- }
- .four{
- font-size:25rpx;
- font-weight:500;
- color:#ff0919;
- // margin-left: 8rpx;
- .four-1{
- font-size:45rpx;
- }
- }
- .five{
- font-size:25rpx;
- font-weight:normal;
- color:#8b8e95;
- // margin-left: 8rpx;
- }
- }
- }
- .participate{
- margin-top: 25rpx;
- padding: 25rpx 25rpx;
- width: 100%;
- background:#ffffff;
- border-radius:20rpx;
- text-align: center;
- .participate-one{
- font-size: 43rpx;
- }
- .rows-1{
- .participate-1{
- font-size:29rpx;
- color:#000000;
- text-align: center;
- text{
- color: #F81726;
- }
- }
- .participate-2{
- font-size:29rpx;
- color:rgba(145,148,155,1);
- line-height:44rpx;
- //text-align: center;
- .participate-red{
- color:#FF0A1A;
- }
- }
-
- .KaiTuan-1 {
- font-size: 42rpx;
- font-weight: bold;
- color:rgba(0,0,0,1);
- line-height: 65rpx;
- }
-
- .KaiTuan-2 {
- font-size: $font-base;
- font-weight: bold;
- color:rgba(0,0,0,1);
- line-height: 40rpx;
- }
-
- .participate-3{
- font-size:22rpx;
- font-weight:bold;
- color:#99999a;
- line-height:33rpx;
- }
- .pinkT-Box {
- white-space: nowrap;
- margin: 30rpx 0;
- }
- .PinkCenter {
- justify-content: center;
- margin: 30rpx 0;
- }
- .participate-4{
- display: flex;
- &:nth-last-child(1){
- margin-right: 0rpx;
- }
- .participate-4-1{
- position: relative;
- image{
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- margin-right: 30rpx;
- }
- .participate-4-1-1{
- width: 60rpx;
- height: 30rpx;
- border-radius: 0;
- position: absolute;
- bottom: 0;
- left: 20rpx;
- }
- }
- }
- }
-
-
- .participate-5{
- margin: 0 auto;
- height:80rpx;
- // background:linear-gradient(-14deg,#fe6b26,#ff3228);
- background: linear-gradient(-14deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
- border-radius:40rpx;
- font-size:30rpx;
- color:#ffffff;
- line-height:80rpx;
- }
- .participate-6{
- height:1px;
- background:#e9e9e9;
- margin-top: 50rpx;
- }
- .participate-7{
- color: #000000;
- font-size:29rpx;
- font-weight:500;
- margin: 45rpx 0;
- .participate-7-1{
- .word{
- color:#ff0a1a;
- }
- .word1{
- font-size:25rpx;
- color:#989aa0;
- }
- image{
- width: 10rpx;
- height: 20rpx;
- margin-left: 15rpx;
- }
- }
- }
- .participate-8{
- image{
- width: 26rpx;
- height: 12rpx;
- }
- .participate-8-1{
-
- .img1{
- width: 43rpx;
- height: 50rpx;
- }
- .img2{
- width: 43rpx;
- height: 42rpx;
- }
- .img3{
- width: 60rpx;
- height: 46rpx;
- }
- .word-1{
- font-size:23rpx;
- color:#000000;
- line-height:34rpx;
- }
- .word-2{
- font-size:21rpx;
- color:#91949B;
- line-height:34rpx;
- }
- }
- }
- }
- .info {
- width: 714rpx;
- margin: 15rpx auto 0;
- background: rgba(255, 255, 255, 1);
- border-radius: 10rpx;
- padding: 30rpx;
-
- .info-top {
- display: flex;
- justify-content: space-between;
- .top-left {
- display: flex;
- .left-img {
- width: 137rpx;
- height: 137rpx;
- border-radius: 5rpx;
- margin-right: 10rpx;
- }
- .left-box {
- .left-tit {
- font-size: 27rpx;
- font-weight: 400;
- color: rgba(0, 0, 0, 1);
- margin-bottom: 5rpx;
- }
- .left {
- font-size: 23rpx;
- font-weight: 400;
- color: rgba(149, 149, 149, 1);
- line-height: 35rpx;
- }
- }
- }
- .top-right {
- font-size: 27rpx;
- font-weight: 400;
- color: rgba(0, 0, 0, 1);
- }
- }
- .info-pic {
- display: flex;
- justify-content: space-between;
- .pic-left {
- margin-top: 30rpx;
- font-size: 27rpx;
- font-weight: 400;
- color: rgba(74, 74, 74, 1);
- width: 30%;
- }
- .pic-right {
- width: 70%;
- margin-top: 30rpx;
- font-size: 27rpx;
- font-weight: 400;
- color: rgba(0, 0, 0, 1);
- &.red {
- color: #FF0A31;
- }
- }
- }
- }
- .infos {
- width: 714rpx;
- margin: 15rpx auto 0;
- background: rgba(255, 255, 255, 1);
- border-radius: 10rpx;
- padding: 0 30rpx 30rpx 30rpx;
- .info-top {
- display: flex;
- justify-content: space-between;
- .top-left {
- display: flex;
- .left-img {
- width: 137rpx;
- height: 137rpx;
- border-radius: 5rpx;
- margin-right: 10rpx;
- }
- .left-box {
- .left-tit {
- font-size: 27rpx;
- font-weight: 400;
- color: #000000;
- margin-bottom: 5rpx;
- }
- .left {
- font-size: 23rpx;
- font-weight: 400;
- color: rgba(149, 149, 149, 1);
- line-height: 35rpx;
- }
- }
- }
- .top-right {
- font-size: 27rpx;
- font-weight: 400;
- color: #000000;
- }
- }
- .info-pic {
- display: flex;
- justify-content: space-between;
- .pic-left {
- margin-top: 30rpx;
- font-size: 27rpx;
- font-weight: 400;
- color: #000000;
- }
- .pic-right {
- margin-top: 30rpx;
- font-size: 27rpx;
- font-weight: 400;
- color: #000000;
- &.red {
- color: #000000;
- }
- }
- }
- }
-
- .foot{
- position: fixed;
- bottom: 0;
- width:100%;
- height:80rpx;
- // background:linear-gradient(90deg,#ff7425,#ff1e29);
- background: linear-gradient(90deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
- font-size:30rpx;
- font-weight:bold;
- color:#ffffff;
- line-height:80rpx;
- text-align: center;
- z-index: 99;
- }
- .popup1{
- width:510rpx;
- background:rgba(255,255,255,1);
- border-radius:20rpx;
- .popup-1{
- height: 50%;
- padding: 50rpx;
- font-size:29rpx;
- color:rgba(51,51,51,1);
- line-height:42rpx;
- border-bottom: 1px solid #EEEEEE;
- }
- .popup-2{
- margin: 0 auto;
- margin-top: 20rpx;
- width:217rpx;
- height:55rpx;
- background:rgba(2,193,93,1);
- font-size:35rpx;
- font-weight:500;
- color:#ffffff;
- line-height:55rpx;
- text-align: center;
- }
- }
- .popup2{
- width:600rpx;
- background:rgba(255,255,255,1);
- border-radius:20rpx;
- padding-bottom:20rpx;
- .popup2-1{
- text-align: center;
- height: 80%;
- padding: 50rpx;
- font-size:43rpx;
- color:rgba(51,51,51,1);
- border-bottom: 1px solid #EEEEEE;
- }
- .popup2-2{
- margin: 0 auto;
- margin-top: 20rpx;
- width:100%;
- height:55rpx;
- font-size:35rpx;
- font-weight:500;
- color:#000000;
- line-height:55rpx;
- text-align: center;
- .one{
- width: 50%;
- font-size:43rpx;
- color:#000000;
- line-height:65rpx;
- border-right: 1px solid #EEEEEE;
- &:nth-last-child(1){
- border-right: 0px;
- }
- }
- }
- }
- }
- .mask {
- z-index: 999;
- width: 750rpx;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- text-align: center;
- background-color: rgba(0, 0, 0, 0.5);
- image {
- width: 80%;
- margin-top: 20%;
- // opacity: 0.8;
- }
- }
- .pop-box {
- background: #FFFFFF;
- margin: 0 40rpx;
- padding: 30rpx 30rpx;
- border-radius: 20rpx;
- .pop-tit {
- font-size: 32rpx;
- line-height: 1.5;
- }
- .pop-buttom {
- margin: 40rpx 0;
- background: #f0f0f0;
- // color: #FFFFFF;
- padding: 10rpx 20rpx;
- border-radius: 10rpx;
- border: 1px solid $border-color-dark;
- font-size: $font-base;
- }
- .pop-qr {
- background: $base-color;
- width: 200rpx;
- margin: auto;
- padding: 20rpx;
- color: #FFFFFF;
- border-radius: 15rpx;
- text-align: center;
- }
- }
- </style>
|