groupdetails.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170
  1. <template>
  2. <view class="container">
  3. <view class="reds"></view>
  4. <view class="conter">
  5. <!-- <view class="tips flex_center_down_center" v-if="state == 1">
  6. <image src="../../static/error/missing-face.png"></image>
  7. <text >79 拼团成功</text>
  8. </view> -->
  9. <view class="details flex-between-center">
  10. <view class="left-img" @click="ToGroup(goodsList)">
  11. <image :src="goodsList.image"></image>
  12. <image class="left-img1" src="https://shicai.liuniu946.com/img/img69.png"></image>
  13. <!-- <image class="left-img1" v-if=" types == 2" src="https://shicaitest.liuniu946.com/img/img70.png"></image> -->
  14. </view>
  15. <view class="right-word">
  16. <view class="one">{{goodsList.title}}</view>
  17. <view class="two m-t10">
  18. <view class="three">
  19. <text>{{ goodsList.mark }}</text>
  20. </view>
  21. <!-- <text class="two-1">单买价¥{{goodsList.product_price}}</text> -->
  22. <text class="two-2" @click="ToGroup(goodsList)">商品详情></text>
  23. </view>
  24. <view class="word-3">
  25. <!-- <image src="https://shicaitest.liuniu946.com/img/img84.png"></image> -->
  26. <view class="word-3-1">
  27. <text class="word-text">本单邀请奖</text><!-- 本单发起人奖金 -->
  28. <text class="word-3-1-1">{{parseFloat(goodsList.people_prize)}}元/人</text>
  29. </view>
  30. <image class="wenhao" src="../../static/icon/wenhao.png" @click="navTo('/pages/rule/AAjiangjin')"></image>
  31. </view>
  32. <view class="four m-t5">
  33. <text >拼团价¥</text>
  34. <text class="four-1">{{goodsList.price}}</text>
  35. </view>
  36. <view class="five m-t10">
  37. <text >已拼{{goodsList.sales}}份</text>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="participate" >
  42. <view class="rows-1">
  43. <view class="KaiTuan-1">发起拼团</view>
  44. <view class="KaiTuan-2">与<text style="color: #FF0A1A;">附近的人</text>一起享受优惠</view>
  45. <!-- 少于5个人时 -->
  46. <view class="participate-4" :class="{PinkCenter: goodsList.max_people < 5 }" v-if="goodsList.max_people < 5">
  47. <!-- AA团 -->
  48. <view class="participate-4-1" v-for="item in peopleList">
  49. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  50. </view>
  51. </view>
  52. <!-- 大于5个人时 -->
  53. <scroll-view class="pinkT-Box" scroll-x="true" v-if="goodsList.max_people >= 5">
  54. <view class="participate-4">
  55. <!-- AA团 -->
  56. <view class="participate-4-1" v-for="item in peopleList">
  57. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  58. </view>
  59. <!-- 达人团 -->
  60. <!-- <view class="participate-4-1" v-if="types == 2 " v-for="item in peopleNub + 1" >
  61. <image src="https://shicai.liuniu946.com/img/img72.png"></image>
  62. </view> -->
  63. </view>
  64. </scroll-view>
  65. </view>
  66. <!-- <view v-if="state == 1">
  67. <view class="participate-5" v-if="status == 1 && userBool == 1 " @click="openshare">邀请好友参团</view>
  68. <view class="participate-5" v-if="status != 1 && userBool == 0 " @click="goBuy" >立即参团</view>
  69. <view class="participate-5" v-if="status != 1 && userBool == 1 " @click="openshare" >分享给好友</view>
  70. </view> -->
  71. <view class="participate-5" @click="kaiPinkT">点击购买,开拼</view>
  72. <!-- <view class="participate-5" v-if="state == 2" @click="GoDingdan">查看订单及团长信息</view> -->
  73. <view class="participate-6"></view>
  74. <view class="participate-7 flex-between-center">
  75. <view class="participate-7-1">
  76. <text class="word">AA团</text>
  77. <text>玩法</text>
  78. </view>
  79. <view class="participate-7-1" @click="goRule">
  80. <text class="word1">详细规则</text>
  81. <image src="../../static/img/img74.png"></image>
  82. </view>
  83. </view>
  84. <view class="participate-8 flex-between-center">
  85. <view class="participate-8-1">
  86. <image class="img1" src="https://shicai.liuniu946.com/img/img76.png"></image>
  87. <view class="word-1">开团/参团</view>
  88. <view class="word-2">拼团享低价</view>
  89. </view>
  90. <image src="https://shicai.liuniu946.com/img/img75.png"></image>
  91. <view class="participate-8-1">
  92. <image class="img2" src="https://shicai.liuniu946.com/img/img77.png"></image>
  93. <view class="word-1">邀请邻里参团</view>
  94. <view class="word-2">分享优惠多</view>
  95. </view>
  96. <image src="https://shicai.liuniu946.com/img/img75.png"></image>
  97. <view class="participate-8-1">
  98. <image class="img3" src="https://shicai.liuniu946.com/img/img78.png"></image>
  99. <view class="word-1">人满发货</view>
  100. <view class="word-2">人不满退款</view>
  101. </view>
  102. </view>
  103. </view>
  104. <!-- 大家还在拼 -->
  105. <now-list :recommendedlist="recommendedlist"></now-list>
  106. </view>
  107. <uni-popup ref="share" type="center" >
  108. <view class="share-box">
  109. <view class="share-tit">
  110. <!-- 10枚洋鸡蛋低至<text>19</text>元, -->
  111. 赶紧邀请认识的人来拼团吧
  112. </view>
  113. <view class="share-tit2">
  114. 美天选菜平台配送范围有限,建议分享给您附近的朋友或邻居
  115. </view>
  116. <view class="share-footbox">
  117. <button class="share-icon button-share" open-type="share" @click="closeshare">
  118. <image src="https://shicai.liuniu946.com/img/icon-wx.png" class="icon"></image>
  119. <view class="share-txt" style="line-height: 1;margin-top: 4rpx;">邀请好友</view>
  120. </button>
  121. <!-- <view class="share-icon" @click="open">
  122. <image src="https://shicai.liuniu946.com/img/icon-wx2.png" class="icon"></image>
  123. <view class="share-txt">朋友圈</view>
  124. </view> -->
  125. </view>
  126. </view>
  127. </uni-popup>
  128. <view class="mask" v-show="maskshow">
  129. <image @longpress="loadImg()" @tap="maskshow = false" mode="widthFix" :src="posturl"></image>
  130. </view>
  131. <view class="foot" @click="openshare">分享给好友</view>
  132. <!-- 返回按钮 -->
  133. <return-button></return-button>
  134. </view>
  135. </template>
  136. <script>
  137. import uniCountdowns from '@/components/uni-countdown/uni-countdowns.vue';
  138. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  139. // import { getCombinationLisPink, getCombinationPoster } from '@/api/groupBooking.js';
  140. import { cartAdd, groupGoods } from '@/api/product.js';
  141. import { timeComputed } from '@/utils/rocessor.js';
  142. import { nowPinkLst } from '@/api/order.js';
  143. import { mapState } from 'vuex';
  144. // 返回按钮
  145. import returnButton from '@/pages/return/returnButton.vue';
  146. // 大家还在拼
  147. import NowList from '../groupBooking/common/nowList.vue';
  148. export default {
  149. computed: {
  150. ...mapState(['baseURL', 'urlFile']),
  151. ...mapState('user',['userInfo']),
  152. // 还需要报名的人数
  153. // peopleNub() {
  154. // return this.pinkT.max_people - 1 - this.people.length;
  155. // },
  156. //最后成团时,销售额佣金百分比
  157. percentage(){
  158. if((1 + this.people.length) >= this.pinkT.min_people)
  159. {
  160. let number;
  161. // AA团
  162. if( this.types == 1 ) {
  163. number = this.people.length + 1; //现有人数
  164. }
  165. // 达人团
  166. if( this.types == 2 ) {
  167. number = this.people.length; //现有人数
  168. }
  169. let size = number - this.pinkT.min_people;
  170. let percentage = (parseInt(size) / parseInt(this.upgrade_people_nums)) * parseInt(this.prize_up) + parseInt(this.min_prize);//最终的百分比
  171. console.log(this.min_prize,this.upgrade_people_nums,3898)
  172. console.log(percentage,8676)
  173. if( percentage > this.max_prize)
  174. {
  175. console.log(this.max_prize,8888)
  176. return parseFloat(this.max_prize);
  177. }else{
  178. console.log(percentage,9999)
  179. return parseFloat(percentage);
  180. }
  181. }
  182. else{
  183. return '?';
  184. }
  185. }
  186. },
  187. components: {
  188. uniCountdowns,
  189. uniPopup,
  190. returnButton,
  191. NowList
  192. },
  193. // #ifdef MP
  194. onShareAppMessage: function(res) {
  195. if (res.from === 'button') {
  196. // 来自页面内分享按钮
  197. let pages = getCurrentPages();
  198. // 获取当前页面
  199. let page = pages[pages.length - 1];
  200. let path = '/' + page.route + '?';
  201. // 保存传值
  202. for (let i in page.options) {
  203. if(i !='spread' ) {
  204. path += i + '=' + page.options[i] + '&';
  205. }
  206. }
  207. // 保存邀请人
  208. path += 'spread=' + this.userInfo.uid;
  209. console.log(path,9685)
  210. let data = {
  211. path: path,
  212. imageUrl: this.goodsList.image,
  213. title: '附近的好友邀请您加入拼团'
  214. };
  215. return data;
  216. } else {
  217. let pages = getCurrentPages();
  218. // 获取当前页面
  219. let page = pages[pages.length - 1];
  220. let path = '/' + page.route + '?';
  221. // 保存传值
  222. for (let i in page.options) {
  223. if(i !='spread' ) {
  224. path += i + '=' + page.options[i] + '&';
  225. }
  226. }
  227. // 保存邀请人
  228. path += 'spread=' + this.userInfo.uid;
  229. console.log(path,9685)
  230. let data = {
  231. path: path,
  232. imageUrl: this.goodsList.image,
  233. title: '附近的好友邀请您加入拼团'
  234. };
  235. return data;
  236. }
  237. },
  238. // #endif
  239. data() {
  240. return {
  241. i:0,
  242. min_prize:0,//最低提成百分比
  243. max_prize:0,//最高提成百分比
  244. upgrade_people_nums:'',//升级人数
  245. prize_up: '', // 提升百分比
  246. orderId:'',//订单号
  247. order_count:'',//已拼数量
  248. types:'',//1AA团 2 达人团
  249. state:0,//1正在拼团 2 拼团成功 3 拼团失败
  250. user_info: {}, //当前用户信息
  251. shopinfo:{},//订单信息
  252. goodsinfo:{},//商品信息
  253. image:'',//订单商品图片
  254. cart_info:{},
  255. posturl: '',
  256. list: '', //拼团全部信息
  257. gp_id: 0, //拼团商品id
  258. goods: {}, //商品信息
  259. pinkT: {}, //拼团团长信息
  260. people: [], //拼团成员信息
  261. status: 0, //判断是否为团长
  262. notPink: false, //是否已经参团
  263. gid: 0,
  264. // 倒计时
  265. stopTime: {
  266. stopTimeD: 0,
  267. stopTimeH: 0,
  268. stopTimeM: 0,
  269. stopTimeS: 0
  270. },
  271. pinkTInfo: '', //当前用户信息
  272. userBool: 0, //判断用户是否已经参与拼团 0未参加 1为已参加
  273. spread: '', //默认没有邀请人
  274. option: '', //option参数
  275. showtime: true, //倒计时天数
  276. maskshow: false, //弹窗
  277. teamid: '' ,//团长id
  278. erros:'',//保存商品错误信息
  279. unique:'',//保存传入的规格用于确认购买规格号
  280. recommendedlist:[],
  281. pinkUser: '' ,// 是否为团长
  282. orderShow: false,
  283. goodsList: {}, // 商品信息
  284. peopleList: '', // 人数
  285. type: 1, //默认支付方式add为
  286. }
  287. },
  288. onLoad(option) {
  289. console.log(option)
  290. if (option.scene) {
  291. if (typeof option.scene == 'string') {
  292. let scene = ('{'+option.scene+"}").replace('qr%26','').replace(/%3D/g,':').replace(/%26/g,',').replace('pink_id','\"pink_id\"').replace('spread','\"spread\"');
  293. let opt = JSON.parse(scene);
  294. // 保存拼团订单id
  295. console.log('haha1')
  296. this.gp_id = opt.id;
  297. if(opt.order_id) {
  298. this.orderId = opt.order_id;
  299. this.orderShow = true
  300. }
  301. if (opt.spread) {
  302. // 存储邀请人
  303. this.spread = opt.spread;
  304. uni.setStorageSync('spread', opt.spread);
  305. }
  306. }
  307. } else {
  308. // 保存拼团订单id
  309. console.log('haha2')
  310. this.gp_id = option.id;
  311. this.pinkUser = option.pinkUser;
  312. if (option.spread) {
  313. // 存储邀请人
  314. this.spread = option.spread;
  315. uni.setStorageSync('spread', option.spread);
  316. }
  317. }
  318. this.getData();
  319. // 大家还在拼
  320. nowPinkLst({}).then(({data}) => {
  321. this.recommendedlist = data;
  322. })
  323. },
  324. onShow() {
  325. },
  326. // onPullDownRefresh() {
  327. // let obj = this;
  328. // //监听下拉刷新动作的执行方法,每次手动下拉刷新都会执行一次
  329. // setTimeout(function() {
  330. // obj.getData();
  331. // uni.stopPullDownRefresh(); //停止下拉刷新动画
  332. // }, 1000);
  333. // },
  334. methods: {
  335. // 跳转
  336. navTo(url) {
  337. uni.navigateTo({
  338. url: url
  339. })
  340. },
  341. // 下载图片方法
  342. loadImg() {
  343. uni.downloadFile({
  344. url: this.posturl,
  345. success: res => {
  346. console.log(res.tempFilePath);
  347. uni.saveImageToPhotosAlbum({
  348. //将图片保存在手机
  349. filePath: res.tempFilePath, //保存的位置
  350. success: res => {
  351. uni.showToast({
  352. title: '保存成功',
  353. icon: 'none'
  354. });
  355. }
  356. });
  357. },
  358. fail(e) {
  359. console.log(e);
  360. }
  361. });
  362. },
  363. // 查看传值用
  364. openSp() {
  365. let obj = this;
  366. uni.scanCode({
  367. complete(e) {
  368. uni.showModal({
  369. title: '',
  370. content: JSON.stringify(e),
  371. showCancel: false,
  372. complete() {
  373. if(obj.erros){
  374. uni.showModal({
  375. title: '错误',
  376. content:JSON.stringify(obj.erros),
  377. showCancel: false
  378. });
  379. }
  380. }
  381. });
  382. }
  383. });
  384. },
  385. // 详细规则
  386. goRule() {
  387. uni.navigateTo({
  388. url: '/pages/rule/AArule'
  389. })
  390. },
  391. // 团长确认
  392. // tuanzhang() {
  393. // let obj = this;
  394. // if (this.pinkUser == 1) {
  395. // this.$nextTick(function(){
  396. // obj.$refs.popPhone.open();
  397. // })
  398. // }
  399. // },
  400. // queren() {
  401. // this.$refs.popPhone.close();
  402. // },
  403. // 获取拼团信息
  404. getData() {
  405. let obj = this;
  406. groupGoods({}, obj.gp_id).then(({data})=> {
  407. obj.goodsList = data.storeInfo;
  408. obj.peopleList = obj.goodsList.max_people
  409. })
  410. },
  411. // 一键开团
  412. kaiPinkT() {
  413. let obj = this;
  414. // 创建传值对象
  415. let data = {
  416. cartNum: 1, //商品数量
  417. new: 1, //商品是否新增加到购物车1为不加入0为加入
  418. combinationId: obj.gp_id,
  419. productId: obj.goodsList.product_id
  420. };
  421. cartAdd(data)
  422. .then(function(e) {
  423. let da = e.data;
  424. if (obj.type == 1) {
  425. // 跳转到支付页
  426. uni.navigateTo({
  427. url: '/pages/order/createOrderKai?id=' + da.cartId + '&num=' + obj.goodsList.num +'&goodsType=2'
  428. });
  429. }
  430. })
  431. .catch(e => {
  432. console.log(e);
  433. });
  434. },
  435. //跳转拼团商品详情页
  436. ToGroup(item) {
  437. let id = item.id;
  438. uni.navigateTo({
  439. url: '/pages/product/productGroup?id=' + id + '&show=true'
  440. });
  441. },
  442. // 去开团
  443. ToKaiTuan(item) {
  444. console.log(8754847)
  445. let id = item.id;
  446. uni.navigateTo({
  447. url: '/pages/product/productGroup?id=' + id
  448. });
  449. },
  450. // 计算倒计时时间
  451. timeComputed(da) {
  452. let obj = this;
  453. let stopTime = timeComputed(da);
  454. obj.stopTime.stopTimeD = stopTime.day;
  455. obj.stopTime.stopTimeH = stopTime.hours;
  456. obj.stopTime.stopTimeM = stopTime.minutes;
  457. obj.stopTime.stopTimeS = stopTime.seconds;
  458. if (stopTime.day < 1) {
  459. obj.showtime = false;
  460. }
  461. },
  462. openshare(){
  463. this.$refs.share.open()
  464. },
  465. closeshare() {
  466. this.$refs.share.close()
  467. },
  468. // open(){
  469. // this.$refs.popup2.open()
  470. // },
  471. launch(){
  472. uni.showModal({
  473. content: '您是否是团长,需要发起无购买拼团?',
  474. success: function (res) {
  475. if (res.confirm) {
  476. console.log('用户点击确定');
  477. } else if (res.cancel) {
  478. console.log('用户点击取消');
  479. }
  480. }
  481. });
  482. }
  483. }
  484. }
  485. </script>
  486. <style lang="scss">
  487. .share-box{
  488. width: 710rpx;
  489. padding: 42rpx 85rpx;
  490. border-radius:15rpx;
  491. background-color: #FFFFFF;
  492. text-align: center;
  493. .share-tit{
  494. font-size:28rpx;
  495. font-weight:bold;
  496. color:rgba(0,0,0,1);
  497. line-height:34rpx;
  498. margin-bottom: 30rpx;
  499. }
  500. .share-tit2{
  501. font-size:22rpx;
  502. font-weight:bold;
  503. color:rgba(107,105,108,1);
  504. line-height:30rpx;
  505. margin-bottom: 30rpx;
  506. }
  507. .share-footbox{
  508. display: flex;
  509. .button-share {
  510. background: 0;
  511. flex-direction: column;
  512. display: flex;
  513. align-items: center;
  514. &::after {
  515. border: 0;
  516. }
  517. }
  518. .share-icon{
  519. flex: 1;
  520. height: 180rpx;
  521. .lyy-b-but {
  522. width: 550rpx;
  523. height: 80rpx;
  524. margin: 0 5rpx;
  525. background: #fc5b62;
  526. border-radius: 100rpx;
  527. text-align: center;
  528. color: white;
  529. line-height: 80rpx;
  530. font-size: 32rpx;
  531. }
  532. .icon{
  533. width: 120rpx;
  534. height: 120rpx;
  535. margin-bottom: 20rpx;
  536. }
  537. .share-txt{
  538. font-size:27rpx;
  539. font-weight:bold;
  540. color:rgba(9,10,13,1);
  541. }
  542. }
  543. }
  544. }
  545. .pinkTuan {
  546. position: relative;
  547. .pinktuan-sym {
  548. border-radius: 0;
  549. }
  550. }
  551. page,.container{
  552. line-height: 1;
  553. height: 100%;
  554. .reds{
  555. position: relative;
  556. top: 0;
  557. z-index: 0;
  558. width:100%;
  559. height:520rpx;
  560. // background:linear-gradient(14deg,#ff7425,#ff1e29);
  561. background: linear-gradient(14deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
  562. }
  563. .conter{
  564. position: absolute;
  565. top: 0;
  566. padding:0 20rpx;
  567. width: 100%;
  568. padding-bottom: 100rpx;
  569. }
  570. .tips{
  571. margin: 15rpx 0rpx;
  572. padding: 5rpx 10rpx;
  573. border-radius: 25rpx 0 0 25rpx;
  574. width:300rpx;
  575. height:50rpx;
  576. background:#ed372c;
  577. image{
  578. width: 45rpx;
  579. height: 45rpx;
  580. margin-right: 50rpx;
  581. }
  582. text{
  583. font-size:23rpx;
  584. font-weight:400;
  585. color:#ffffff;
  586. }
  587. }
  588. .details {
  589. margin-top: 20rpx;
  590. padding: 25rpx 35rpx;
  591. width: 100%;
  592. background:#ffffff;
  593. border-radius:20rpx;
  594. .m-t10{
  595. margin-top: 10rpx;
  596. }
  597. .m-t5{
  598. margin-top: 5rpx;
  599. }
  600. .left-img {
  601. position: relative;
  602. image {
  603. width: 170rpx;
  604. height: 170rpx;
  605. border-radius: 10rpx;
  606. margin-right: 25rpx;
  607. }
  608. .left-img1{
  609. width: 83rpx;
  610. height: 34rpx;
  611. position: absolute;
  612. top:0;
  613. left:0;
  614. }
  615. }
  616. .right-word {
  617. width: 100%;
  618. .one {
  619. font-size:30rpx;
  620. color:#000000;
  621. overflow : hidden;
  622. text-overflow: ellipsis;
  623. display: -webkit-box;
  624. -webkit-line-clamp: 2;
  625. -webkit-box-orient: vertical;
  626. width: 420rpx;
  627. line-height: 1.2;
  628. // margin-left: 8rpx;
  629. }
  630. .two{
  631. font-size:25rpx;
  632. color:#8e8e8e;
  633. // margin-left: 8rpx;
  634. display: flex;
  635. align-items: center;
  636. .two-1{
  637. padding-right: 15rpx;
  638. border-right: 1px solid #8e8e8e;
  639. }
  640. .two-2{
  641. padding-left: 15rpx;
  642. }
  643. }
  644. .word-3{
  645. margin-top: 10rpx;
  646. position: relative;
  647. font-size:20rpx;
  648. color:#ffffff;
  649. display: flex;
  650. align-items: center;
  651. // image{
  652. // width: 208rpx;
  653. // height: 45rpx;
  654. // }
  655. .wenhao {
  656. width: 32rpx;
  657. height: 32rpx;
  658. margin-left: 16rpx;
  659. }
  660. .word-3-1{
  661. // position: absolute;
  662. // top:7px;
  663. // left:5px;
  664. width: 200rpx;
  665. border: 1px solid #F9DCDD;
  666. .word-text {
  667. width: 65%;
  668. display: inline-block;
  669. background: linear-gradient(0deg,#ff7425,#ff1e29);
  670. padding: 4rpx 4rpx;
  671. text-align: center;
  672. }
  673. .word-3-1-1{
  674. width: 35%;
  675. background: #FFF5F4;
  676. color:#FD1B2A;
  677. display: inline-block;
  678. text-align: center;
  679. padding: 4rpx 0;
  680. // margin-left: 15rpx;
  681. }
  682. }
  683. }
  684. .three{
  685. font-size:25rpx;
  686. font-weight:400;
  687. color:#ff0919;
  688. // margin-left: 8rpx;
  689. }
  690. .six{
  691. margin-top: 10rpx;
  692. position: relative;
  693. font-size:22rpx;
  694. color:#ffffff;
  695. image{
  696. width: 255rpx;
  697. height: 80rpx;
  698. }
  699. .six-1{
  700. position: absolute;
  701. top:6px;
  702. left:7px;
  703. .six-red{
  704. color:#F9DCDD;
  705. margin-left: 15rpx;
  706. }
  707. }
  708. .six-2{
  709. position: absolute;
  710. top:24px;
  711. left:7px;
  712. color:#FF2829;
  713. .six-red{
  714. color:#F9DCDD;
  715. margin-left: 15rpx;
  716. }
  717. }
  718. }
  719. .four{
  720. font-size:25rpx;
  721. font-weight:500;
  722. color:#ff0919;
  723. // margin-left: 8rpx;
  724. .four-1{
  725. font-size:45rpx;
  726. }
  727. }
  728. .five{
  729. font-size:25rpx;
  730. font-weight:normal;
  731. color:#8b8e95;
  732. // margin-left: 8rpx;
  733. }
  734. }
  735. }
  736. .participate{
  737. margin-top: 25rpx;
  738. padding: 25rpx 25rpx;
  739. width: 100%;
  740. background:#ffffff;
  741. border-radius:20rpx;
  742. text-align: center;
  743. .participate-one{
  744. font-size: 43rpx;
  745. }
  746. .rows-1{
  747. .participate-1{
  748. font-size:29rpx;
  749. color:#000000;
  750. text-align: center;
  751. text{
  752. color: #F81726;
  753. }
  754. }
  755. .participate-2{
  756. font-size:29rpx;
  757. color:rgba(145,148,155,1);
  758. line-height:44rpx;
  759. //text-align: center;
  760. .participate-red{
  761. color:#FF0A1A;
  762. }
  763. }
  764. .KaiTuan-1 {
  765. font-size: 42rpx;
  766. font-weight: bold;
  767. color:rgba(0,0,0,1);
  768. line-height: 65rpx;
  769. }
  770. .KaiTuan-2 {
  771. font-size: $font-base;
  772. font-weight: bold;
  773. color:rgba(0,0,0,1);
  774. line-height: 40rpx;
  775. }
  776. .participate-3{
  777. font-size:22rpx;
  778. font-weight:bold;
  779. color:#99999a;
  780. line-height:33rpx;
  781. }
  782. .pinkT-Box {
  783. white-space: nowrap;
  784. margin: 30rpx 0;
  785. }
  786. .PinkCenter {
  787. justify-content: center;
  788. margin: 30rpx 0;
  789. }
  790. .participate-4{
  791. display: flex;
  792. &:nth-last-child(1){
  793. margin-right: 0rpx;
  794. }
  795. .participate-4-1{
  796. position: relative;
  797. image{
  798. width: 100rpx;
  799. height: 100rpx;
  800. border-radius: 50%;
  801. margin-right: 30rpx;
  802. }
  803. .participate-4-1-1{
  804. width: 60rpx;
  805. height: 30rpx;
  806. border-radius: 0;
  807. position: absolute;
  808. bottom: 0;
  809. left: 20rpx;
  810. }
  811. }
  812. }
  813. }
  814. .participate-5{
  815. margin: 0 auto;
  816. height:80rpx;
  817. // background:linear-gradient(-14deg,#fe6b26,#ff3228);
  818. background: linear-gradient(-14deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
  819. border-radius:40rpx;
  820. font-size:30rpx;
  821. color:#ffffff;
  822. line-height:80rpx;
  823. }
  824. .participate-6{
  825. height:1px;
  826. background:#e9e9e9;
  827. margin-top: 50rpx;
  828. }
  829. .participate-7{
  830. color: #000000;
  831. font-size:29rpx;
  832. font-weight:500;
  833. margin: 45rpx 0;
  834. .participate-7-1{
  835. .word{
  836. color:#ff0a1a;
  837. }
  838. .word1{
  839. font-size:25rpx;
  840. color:#989aa0;
  841. }
  842. image{
  843. width: 10rpx;
  844. height: 20rpx;
  845. margin-left: 15rpx;
  846. }
  847. }
  848. }
  849. .participate-8{
  850. image{
  851. width: 26rpx;
  852. height: 12rpx;
  853. }
  854. .participate-8-1{
  855. .img1{
  856. width: 43rpx;
  857. height: 50rpx;
  858. }
  859. .img2{
  860. width: 43rpx;
  861. height: 42rpx;
  862. }
  863. .img3{
  864. width: 60rpx;
  865. height: 46rpx;
  866. }
  867. .word-1{
  868. font-size:23rpx;
  869. color:#000000;
  870. line-height:34rpx;
  871. }
  872. .word-2{
  873. font-size:21rpx;
  874. color:#91949B;
  875. line-height:34rpx;
  876. }
  877. }
  878. }
  879. }
  880. .info {
  881. width: 714rpx;
  882. margin: 15rpx auto 0;
  883. background: rgba(255, 255, 255, 1);
  884. border-radius: 10rpx;
  885. padding: 30rpx;
  886. .info-top {
  887. display: flex;
  888. justify-content: space-between;
  889. .top-left {
  890. display: flex;
  891. .left-img {
  892. width: 137rpx;
  893. height: 137rpx;
  894. border-radius: 5rpx;
  895. margin-right: 10rpx;
  896. }
  897. .left-box {
  898. .left-tit {
  899. font-size: 27rpx;
  900. font-weight: 400;
  901. color: rgba(0, 0, 0, 1);
  902. margin-bottom: 5rpx;
  903. }
  904. .left {
  905. font-size: 23rpx;
  906. font-weight: 400;
  907. color: rgba(149, 149, 149, 1);
  908. line-height: 35rpx;
  909. }
  910. }
  911. }
  912. .top-right {
  913. font-size: 27rpx;
  914. font-weight: 400;
  915. color: rgba(0, 0, 0, 1);
  916. }
  917. }
  918. .info-pic {
  919. display: flex;
  920. justify-content: space-between;
  921. .pic-left {
  922. margin-top: 30rpx;
  923. font-size: 27rpx;
  924. font-weight: 400;
  925. color: rgba(74, 74, 74, 1);
  926. width: 30%;
  927. }
  928. .pic-right {
  929. width: 70%;
  930. margin-top: 30rpx;
  931. font-size: 27rpx;
  932. font-weight: 400;
  933. color: rgba(0, 0, 0, 1);
  934. &.red {
  935. color: #FF0A31;
  936. }
  937. }
  938. }
  939. }
  940. .infos {
  941. width: 714rpx;
  942. margin: 15rpx auto 0;
  943. background: rgba(255, 255, 255, 1);
  944. border-radius: 10rpx;
  945. padding: 0 30rpx 30rpx 30rpx;
  946. .info-top {
  947. display: flex;
  948. justify-content: space-between;
  949. .top-left {
  950. display: flex;
  951. .left-img {
  952. width: 137rpx;
  953. height: 137rpx;
  954. border-radius: 5rpx;
  955. margin-right: 10rpx;
  956. }
  957. .left-box {
  958. .left-tit {
  959. font-size: 27rpx;
  960. font-weight: 400;
  961. color: #000000;
  962. margin-bottom: 5rpx;
  963. }
  964. .left {
  965. font-size: 23rpx;
  966. font-weight: 400;
  967. color: rgba(149, 149, 149, 1);
  968. line-height: 35rpx;
  969. }
  970. }
  971. }
  972. .top-right {
  973. font-size: 27rpx;
  974. font-weight: 400;
  975. color: #000000;
  976. }
  977. }
  978. .info-pic {
  979. display: flex;
  980. justify-content: space-between;
  981. .pic-left {
  982. margin-top: 30rpx;
  983. font-size: 27rpx;
  984. font-weight: 400;
  985. color: #000000;
  986. }
  987. .pic-right {
  988. margin-top: 30rpx;
  989. font-size: 27rpx;
  990. font-weight: 400;
  991. color: #000000;
  992. &.red {
  993. color: #000000;
  994. }
  995. }
  996. }
  997. }
  998. .foot{
  999. position: fixed;
  1000. bottom: 0;
  1001. width:100%;
  1002. height:80rpx;
  1003. // background:linear-gradient(90deg,#ff7425,#ff1e29);
  1004. background: linear-gradient(90deg, rgba(181,116,242, 1) 0%, rgba(139,86,254, 1) 100%);
  1005. font-size:30rpx;
  1006. font-weight:bold;
  1007. color:#ffffff;
  1008. line-height:80rpx;
  1009. text-align: center;
  1010. z-index: 99;
  1011. }
  1012. .popup1{
  1013. width:510rpx;
  1014. background:rgba(255,255,255,1);
  1015. border-radius:20rpx;
  1016. .popup-1{
  1017. height: 50%;
  1018. padding: 50rpx;
  1019. font-size:29rpx;
  1020. color:rgba(51,51,51,1);
  1021. line-height:42rpx;
  1022. border-bottom: 1px solid #EEEEEE;
  1023. }
  1024. .popup-2{
  1025. margin: 0 auto;
  1026. margin-top: 20rpx;
  1027. width:217rpx;
  1028. height:55rpx;
  1029. background:rgba(2,193,93,1);
  1030. font-size:35rpx;
  1031. font-weight:500;
  1032. color:#ffffff;
  1033. line-height:55rpx;
  1034. text-align: center;
  1035. }
  1036. }
  1037. .popup2{
  1038. width:600rpx;
  1039. background:rgba(255,255,255,1);
  1040. border-radius:20rpx;
  1041. padding-bottom:20rpx;
  1042. .popup2-1{
  1043. text-align: center;
  1044. height: 80%;
  1045. padding: 50rpx;
  1046. font-size:43rpx;
  1047. color:rgba(51,51,51,1);
  1048. border-bottom: 1px solid #EEEEEE;
  1049. }
  1050. .popup2-2{
  1051. margin: 0 auto;
  1052. margin-top: 20rpx;
  1053. width:100%;
  1054. height:55rpx;
  1055. font-size:35rpx;
  1056. font-weight:500;
  1057. color:#000000;
  1058. line-height:55rpx;
  1059. text-align: center;
  1060. .one{
  1061. width: 50%;
  1062. font-size:43rpx;
  1063. color:#000000;
  1064. line-height:65rpx;
  1065. border-right: 1px solid #EEEEEE;
  1066. &:nth-last-child(1){
  1067. border-right: 0px;
  1068. }
  1069. }
  1070. }
  1071. }
  1072. }
  1073. .mask {
  1074. z-index: 999;
  1075. width: 750rpx;
  1076. height: 100%;
  1077. position: fixed;
  1078. top: 0;
  1079. left: 0;
  1080. text-align: center;
  1081. background-color: rgba(0, 0, 0, 0.5);
  1082. image {
  1083. width: 80%;
  1084. margin-top: 20%;
  1085. // opacity: 0.8;
  1086. }
  1087. }
  1088. .pop-box {
  1089. background: #FFFFFF;
  1090. margin: 0 40rpx;
  1091. padding: 30rpx 30rpx;
  1092. border-radius: 20rpx;
  1093. .pop-tit {
  1094. font-size: 32rpx;
  1095. line-height: 1.5;
  1096. }
  1097. .pop-buttom {
  1098. margin: 40rpx 0;
  1099. background: #f0f0f0;
  1100. // color: #FFFFFF;
  1101. padding: 10rpx 20rpx;
  1102. border-radius: 10rpx;
  1103. border: 1px solid $border-color-dark;
  1104. font-size: $font-base;
  1105. }
  1106. .pop-qr {
  1107. background: $base-color;
  1108. width: 200rpx;
  1109. margin: auto;
  1110. padding: 20rpx;
  1111. color: #FFFFFF;
  1112. border-radius: 15rpx;
  1113. text-align: center;
  1114. }
  1115. }
  1116. </style>