index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. <template>
  2. <view class="common">
  3. <view class="body">
  4. <view class="top-class"></view>
  5. <view class="title">
  6. 超级炫
  7. </view>
  8. <view class="head">
  9. <u-row class="row-class">
  10. <u-col span="4">
  11. <image class="logo-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png" mode="aspectFit" />
  12. </u-col>
  13. <u-col span="4">
  14. <image class="commodity-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png" mode="aspectFit" />
  15. </u-col>
  16. <u-col span="4">
  17. <image class="logo-rules" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png" />
  18. </u-col>
  19. </u-row>
  20. </view>
  21. <view class="topImg">
  22. <image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png" mode="heightFix" />
  23. </view>
  24. <view class="topImg">
  25. <image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png" mode="heightFix" />
  26. </view>
  27. <view class="content">
  28. <view class="chouka" style="width: 100%;">
  29. <view class="cardTop" >
  30. </view>
  31. <template>
  32. <!-- 卡片区 -->
  33. <view class="cards">
  34. <view class="card" v-for="(item, idx) in cards" :key="idx" @click="flipCard(idx)"
  35. :class="{ 'flipping': item.isFlipping, 'flipped': item.flipped }">
  36. <view v-if="item.checkStauts" class="select-tag">
  37. 已选
  38. </view>
  39. <view class="card-inner">
  40. <view class="card-front">
  41. <image class="card-img" :src="item.front" mode="scaleToFill"></image>
  42. </view>
  43. <view class="card-back">
  44. <image class="card-img" :src="item.back"
  45. mode="scaleToFill"></image>
  46. <view class="card-back-text">
  47. <view v-show="item.prizeType == 0" class="card-text-1">很遗憾</view>
  48. <view v-show="item.prizeType == 0" class="card-img-item" >
  49. <image style="height:100rpx" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/regret.png" mode="heightFix"></image>
  50. </view>
  51. <view v-show="item.prizeType == 0" class="card-text-2">下次继续</view>
  52. <view v-show="item.prizeType == 1" class="card-text-1">现金红包</view>
  53. <view v-show="item.prizeType == 1" class="card-money">¥{{item.money/100}}</view>
  54. <view v-show="item.prizeType == 1" class="card-text-2">已存入您的微信零钱</view>
  55. <view v-show="item.prizeType == 2" class="card-text-1">再来一包</view>
  56. <view v-show="item.prizeType == 2" class="card-img-item" >
  57. <image style="height:100rpx" :src="item.img" mode="heightFix"></image>
  58. </view>
  59. <view v-show="item.prizeType == 2" class="card-text-2">凭包装兑换</view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. </template>
  66. </view>
  67. </view>
  68. </view>
  69. <u-popup :show="showWin" :round="10" mode="center" @close="close" @open="open" :closeable='true'>
  70. <view class="popup-flex">
  71. <view class="popup-content-scroll">
  72. <view class="popup-title">恭喜您,中奖啦</view>
  73. <view class="card-logo-popup">
  74. <image class="card_logo" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo_2.png" mode="heightFix" />
  75. </view>
  76. <view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_text1">现金红包</view>
  77. <view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="popup_text1">再来一包</view>
  78. <view class="center">
  79. <image v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/money.png" mode="heightFix" />
  80. <image v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="popup_img" :src="prizeJson.img" mode="heightFix" />
  81. </view>
  82. <view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="center pupup_textMoney">¥{{prizeJson.money/100}}</view>
  83. <view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="center pupup_text2">已存入您的微信零钱!</view>
  84. <view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="center pupup_text2">请凭包装袋到购买门店兑换!</view>
  85. </view>
  86. </view>
  87. </u-popup>
  88. <u-popup :show="showUnWin" :round="10" mode="center" @close="close" @open="open" closeable="true">
  89. <view class="popup-flex">
  90. <view class="popup-content-scroll">
  91. <!-- 这里放原来的内容部分(除返回按钮) -->
  92. <view class="popup-title">很遗憾,未中奖</view>
  93. <view class="card-logo-popup">
  94. <image class="card_logo" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo_2.png" mode="heightFix" />
  95. </view>
  96. <view class="popup_text1"></view>
  97. <view class="center">
  98. <image class="popup_img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/regret.png" mode="heightFix" />
  99. </view>
  100. <view class="center pupup_text2">本次抽卡未中奖,下次继续!</view>
  101. </view>
  102. </view>
  103. </u-popup>
  104. <CustomTabbar />
  105. </view>
  106. </template>
  107. <script>
  108. import CustomTabbar from '@/components/tabbar_cjx.vue';
  109. import {
  110. addWinDetail,
  111. saveCardData
  112. } from '@/api/scan'
  113. export default {
  114. components: {
  115. CustomTabbar
  116. },
  117. data() {
  118. return {
  119. rules: {
  120. 'userInfo.name': {
  121. type: 'string',
  122. required: true,
  123. message: '请填写姓名',
  124. trigger: ['blur', 'change']
  125. },
  126. 'userInfo.tel': {
  127. type: 'string',
  128. required: true,
  129. message: '请填写手机号',
  130. trigger: ['blur', 'change']
  131. },
  132. },
  133. model1: {
  134. userInfo: {
  135. name: '',
  136. tel: '',
  137. qrcodeId: ''
  138. },
  139. },
  140. showUnWin: false,
  141. showWin: true,
  142. cards: [{
  143. front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/one.png',
  144. back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
  145. flipped: false,
  146. prizeName: '',
  147. title: '',
  148. checkStauts: false,
  149. img: '',
  150. money: '',
  151. prizeType: '',
  152. isFlipping: false
  153. },
  154. {
  155. front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/two.png',
  156. back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
  157. flipped: false,
  158. prizeName: '',
  159. title: '',
  160. checkStauts: false,
  161. img: '',
  162. money: '',
  163. prizeType: '',
  164. isFlipping: false
  165. },
  166. {
  167. front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/three.png',
  168. back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
  169. flipped: false,
  170. prizeName: '',
  171. title: '',
  172. checkStauts: false,
  173. img: '',
  174. money: '',
  175. prizeType: '',
  176. isFlipping: false
  177. },
  178. {
  179. front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/four.png',
  180. back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
  181. flipped: false,
  182. prizeName: '',
  183. title: '',
  184. checkStauts: false,
  185. img: '',
  186. money: '',
  187. prizeType: '',
  188. isFlipping: false
  189. },
  190. {
  191. front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/five.png',
  192. back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
  193. flipped: false,
  194. prizeName: '',
  195. title: '',
  196. checkStauts: false,
  197. img: '',
  198. money: '',
  199. prizeType: '',
  200. isFlipping: false
  201. },
  202. {
  203. front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/six.png',
  204. back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
  205. flipped: false,
  206. prizeName: '',
  207. title: '',
  208. checkStauts: false,
  209. img: '',
  210. money: '',
  211. prizeType: '',
  212. isFlipping: false
  213. }
  214. ],
  215. totalDetail: '',
  216. prizeJson: {},
  217. saveData: {},
  218. scanCode: '',
  219. saveStatus: true,
  220. }
  221. },
  222. onLoad() {
  223. let scanDetail = uni.getStorageSync('scanDetail');
  224. this.scanCode = uni.getStorageSync('scanCode');
  225. this.model1.userInfo.qrcodeId = this.scanCode;
  226. this.prizeJson = scanDetail.prizeJson;
  227. console.log("----------------------------");
  228. console.log(this.prizeJson);
  229. let planDetail = JSON.parse(scanDetail.planDetail);
  230. while (planDetail.length < 5) {
  231. planDetail.push({
  232. 'prizeType': 0,
  233. 'money': 0
  234. })
  235. }
  236. this.totalDetail = planDetail;
  237. console.log(planDetail);
  238. if (scanDetail.result.click) {
  239. this.initCardData(scanDetail.clickJson);
  240. }
  241. },
  242. methods: {
  243. initCardData(clickJson) {
  244. let list = JSON.parse(clickJson);
  245. for (let i = 0; i < this.cards.length; i++) {
  246. if (i == list.index) {
  247. this.cards[i].checkStauts = true
  248. }
  249. this.cards[i].img = list['card' + i].img;
  250. this.cards[i].flipped = true;
  251. this.cards[i].prizeType = list['card' + i].prize_type == undefined ? list['card' + i].prizeType : list[
  252. 'card' + i].prize_type;
  253. this.cards[i].money = list['card' + i].money;
  254. this.cards[i].prizeName = list['card' + i].prizeName == undefined ? list['card' + i].prize_name : list[
  255. 'card' + i].prizeName;
  256. }
  257. this.$forceUpdate();
  258. },
  259. addWinDetail() {
  260. let that = this;
  261. this.$refs.uForm.validate().then(res => {
  262. addWinDetail(that.model1.userInfo).then(data => {
  263. this.showWin = false;
  264. if (data.code == 0) {
  265. that.saveStatus = false;
  266. // uni.redirectTo({
  267. // url: '/pages/lgz/index/claim' // 目标页面路径
  268. // })
  269. let params = {
  270. type: "success",
  271. title: "成功主题(带图标)",
  272. message: "提交成功",
  273. iconUrl: "https://uviewui.com/demo/toast/success.png",
  274. }
  275. that.$refs.uToast.show({
  276. ...params
  277. });
  278. } else {
  279. }
  280. })
  281. }).catch(errors => {
  282. })
  283. },
  284. open() {
  285. // console.log('open');
  286. },
  287. close() {
  288. this.showUnWin = false;
  289. this.showWin = false
  290. },
  291. flipCard(idx) {
  292. if (this.cards[idx].flipped) {
  293. return;
  294. }
  295. setTimeout(() => {
  296. if (this.prizeJson.prizeType == 0 || this.prizeJson.prize_type == 0) {
  297. this.showUnWin = true;
  298. }
  299. if ((this.prizeJson.prizeType == 1 || this.prizeJson.prize_type == 1 || this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2) && this.saveStatus) {
  300. this.showWin = true;
  301. }
  302. }, 2500); //弹框延迟3.5秒后显示弹框
  303. // 标记被点击的卡牌正在翻转
  304. this.cards[idx].isFlipping = true;
  305. this.cards[idx].checkStauts = true;
  306. let that = this;
  307. // 延迟翻转其他卡牌
  308. setTimeout(() => {
  309. that.cards[idx].flipped = true;
  310. that.cards[idx].isFlipping = false;
  311. // 其他未翻转的卡牌延迟2秒后同时翻转
  312. setTimeout(() => {
  313. that.cards.forEach((card, index) => {
  314. if (index !== idx && !card.flipped) {
  315. card.isFlipping = true;
  316. that.$forceUpdate();
  317. }
  318. });
  319. // 所有其他卡牌同时翻转
  320. setTimeout(() => {
  321. that.cards.forEach((card, index) => {
  322. if (index !== idx && !card.flipped) {
  323. card.flipped = true;
  324. card.isFlipping = false;
  325. that.$forceUpdate();
  326. }
  327. });
  328. }, 300); // 与其他卡牌翻转动画保持一致
  329. }, 1000); // 延迟2秒翻转其他卡牌
  330. // 处理数据逻辑
  331. that.totalDetail.splice(idx, 0, this.prizeJson);
  332. that.saveData.index = idx;
  333. for (let i = 0; i < that.totalDetail.length; i++) {
  334. that.saveData['card' + i] = that.totalDetail[i];
  335. that.cards[i].prizeType = that.totalDetail[i].prize_type == undefined ?
  336. that.totalDetail[i].prizeType :
  337. that.totalDetail[i].prize_type;
  338. that.cards[i].img = that.totalDetail[i].img;
  339. that.cards[i].money = that.totalDetail[i].money;
  340. that.cards[i].prizeName = that.totalDetail[i].prizeName == undefined ?
  341. that.totalDetail[i].prize_name :
  342. that.totalDetail[i].prizeName;
  343. }
  344. that.saveAllCardData();
  345. }, 100);
  346. },
  347. saveAllCardData() {
  348. let jsonStr = JSON.stringify(this.saveData);
  349. saveCardData(this.scanCode, jsonStr).then(res => {
  350. console.log(res)
  351. })
  352. },
  353. openDetail() {
  354. uni.navigateTo({
  355. url: '/pages/lgz/index/rules'
  356. });
  357. }
  358. }
  359. }
  360. </script>
  361. <style>
  362. @import url('../../../static/scss/common_cjx.css');
  363. .text {
  364. height: 10vh;
  365. text-align: center;
  366. line-height: 13vh;
  367. margin-bottom: 10rpx;
  368. }
  369. .textImage {
  370. height: 80rpx;
  371. width: 400rpx;
  372. }
  373. .content {
  374. height: 50vh;
  375. border-radius: 10rpx;
  376. margin: 20rpx 40rpx;
  377. padding: 10rpx 24rpx;
  378. overflow: auto;
  379. display: flex;
  380. align-items: center;
  381. justify-content: center;
  382. background-image:
  383. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
  384. background-size: cover;
  385. background-position: center;
  386. background-repeat: no-repeat;
  387. }
  388. .text-1 {
  389. text-align: center;
  390. font-size: 24rpx;
  391. font-weight: 600;
  392. color: white;
  393. background-color: #9A1712;
  394. width: 160rpx;
  395. border-radius: 4rpx;
  396. height: 40rpx;
  397. line-height: 40rpx;
  398. }
  399. .text-2 {
  400. text-align: center;
  401. font-size: 24rpx;
  402. font-weight: 600;
  403. color: #F9D395;
  404. background-color: #9A1712;
  405. width: 120rpx;
  406. border-radius: 4rpx;
  407. height: 40rpx;
  408. line-height: 40rpx;
  409. margin-left: 80rpx;
  410. }
  411. .cards {
  412. display: grid;
  413. grid-template-columns: repeat(3, 1fr);
  414. gap: 30rpx;
  415. width: 100%;
  416. }
  417. .card {
  418. width: 100%;
  419. height: 250rpx;
  420. position: relative;
  421. background: none;
  422. border-radius: 16rpx;
  423. margin: 0;
  424. perspective: 1000px;
  425. }
  426. .card-inner {
  427. position: relative;
  428. width: 100%;
  429. height: 100%;
  430. transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
  431. transform-style: preserve-3d;
  432. }
  433. .card.flipping .card-inner {
  434. transform: rotateY(180deg);
  435. }
  436. .card.flipped .card-inner {
  437. transform: rotateY(180deg);
  438. }
  439. .card-front,
  440. .card-back {
  441. position: absolute;
  442. width: 100%;
  443. height: 100%;
  444. backface-visibility: hidden;
  445. }
  446. .card-back {
  447. transform: rotateY(180deg);
  448. }
  449. .card-back-text {
  450. position: absolute;
  451. top: 50%;
  452. left: 0;
  453. width: 100%;
  454. text-align: center;
  455. color: #ffffff;
  456. font-weight: bold;
  457. font-size: 28rpx;
  458. transform: translateY(-50%);
  459. z-index: 2;
  460. pointer-events: none;
  461. }
  462. .card-img {
  463. width: 100%;
  464. height: 100%;
  465. display: block;
  466. }
  467. ::v-deep .u-popup__content {
  468. height: 500rpx;
  469. width: 500rpx;
  470. background-color: rgba(0, 0, 0, 0) !important;
  471. background-image:
  472. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img_2.png");
  473. background-size: cover;
  474. background-position: center;
  475. background-repeat: no-repeat;
  476. }
  477. ::v-deep .u-popup__content__close--top-right {
  478. top: 510rpx !important;
  479. right: 245rpx !important;
  480. color: #ffffff;
  481. }
  482. .winImgClss {
  483. height: 60rpx;
  484. width: 320rpx;
  485. }
  486. .popup-view {
  487. text-align: center;
  488. margin-top: 100rpx;
  489. }
  490. .popup-content {
  491. margin: 15px 54px;
  492. overflow: auto;
  493. }
  494. .popup-text {
  495. font-weight: 400;
  496. font-size: 20rpx;
  497. color: #9B0000;
  498. }
  499. .prize {
  500. height: 130rpx;
  501. width: 130rpx;
  502. }
  503. ::v-deep .u-form-item__body {
  504. padding: 8rpx;
  505. }
  506. ::v-deep uni-view.u-form-item__body__left {
  507. background: #AD7F55;
  508. border-radius: 5px 0px 0px 5px;
  509. border: 2px solid #63462B;
  510. border-right: none;
  511. }
  512. ::v-deep .u-form-item__body__right {
  513. background-color: #fff;
  514. border-radius: 0px 5px 5px 0px;
  515. border: 2px solid #63462B;
  516. }
  517. ::v-deep uni-text.u-form-item__body__left__content__label {
  518. color: #fff !important;
  519. padding-left: 4px;
  520. letter-spacing: 2px;
  521. }
  522. .popup-flex {
  523. display: flex;
  524. flex-direction: column;
  525. height: 100%;
  526. }
  527. .popup-content-scroll {
  528. flex: 1;
  529. }
  530. .popup-footer {
  531. flex-shrink: 0;
  532. padding: 0rpx 0 60rpx 0px;
  533. text-align: center;
  534. background: transparent;
  535. /* 可选,确保无背景遮挡 */
  536. }
  537. .save-button {
  538. width: 90rpx;
  539. margin: 0 auto;
  540. background: #b22222;
  541. color: #F9D395;
  542. border-radius: 12rpx;
  543. padding: 18rpx 0;
  544. font-size: 24rpx;
  545. font-weight: bold;
  546. height: 16rpx;
  547. line-height: 16rpx;
  548. letter-spacing: 4rpx;
  549. }
  550. ::v-deep .u-swiper {
  551. background-color: rgba(0, 0, 0, 0) !important;
  552. padding: 0px 20rpx !important;
  553. width: 90%;
  554. }
  555. ::v-deep .u-col-4 {
  556. display: flex !important;
  557. justify-content: center !important;
  558. /* 水平居中 */
  559. align-items: center !important;
  560. /* 垂直居中 */
  561. }
  562. ::v-deep .right-col .u-col-4 {
  563. display: flex !important;
  564. justify-content: flex-end !important;
  565. /* 水平居中 */
  566. align-items: center !important;
  567. /* 垂直居中 */
  568. }
  569. .card-img-f {
  570. height: 100rpx;
  571. width: 100rpx;
  572. }
  573. .card-text {
  574. font-size: 26rpx;
  575. }
  576. .select-tag {
  577. position: absolute;
  578. right: 0px;
  579. font-weight: 400;
  580. font-size: 20rpx;
  581. color: #FFFFFF;
  582. width: 40px;
  583. text-align: center;
  584. background-color: #11BC64;
  585. height: 15px;
  586. border-radius: 3px;
  587. line-height: 15px;
  588. z-index: 5;
  589. }
  590. .cardTop{
  591. margin-bottom: 20rpx;
  592. background-image:
  593. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/title_bgi.png");
  594. background-size: cover;
  595. background-position: center;
  596. background-repeat: no-repeat;
  597. height: 80rpx;
  598. margin-top: 20rpx;
  599. }
  600. .card-img-item{
  601. height: 100rpx;
  602. display: flex;
  603. justify-content: center;
  604. }
  605. .card-money{
  606. font-weight: 500;
  607. font-size: 36rpx;
  608. color: #FF31C2;
  609. }
  610. .card-text-1{
  611. font-weight: 500;
  612. font-size: 30rpx;
  613. color: #FFFFFF;
  614. }
  615. .card-text-2{
  616. font-weight: 500;
  617. font-size: 22rpx;
  618. color: #FFFFFF;
  619. }
  620. .popup-title{
  621. width: 320rpx;
  622. height: 60rpx;
  623. background: linear-gradient(45deg, #A767DF, #E7CFFF, #6B51D5, #F6ECFC);
  624. border-radius: 30rpx;
  625. text-align: center;
  626. margin-top: -20px;
  627. margin-left: 96rpx;
  628. line-height: 60rpx;
  629. font-weight: bold;
  630. font-size: 36rpx;
  631. color: #000000;
  632. }
  633. .card_logo{
  634. height: 80rpx;
  635. }
  636. .card-logo-popup{
  637. display: flex;
  638. justify-content: flex-end;
  639. }
  640. .popup_text1{
  641. font-weight: bold;
  642. font-size: 36rpx;
  643. color: #F6F6F9;
  644. text-align: center;
  645. margin-top: -40rpx;
  646. }
  647. .center{
  648. display: flex;
  649. justify-content: center;
  650. }
  651. .popup_img{
  652. height: 200rpx;
  653. margin-top: 20rpx;
  654. }
  655. .pupup_text2{
  656. font-weight: bold;
  657. font-size: 30rpx;
  658. color: #F6F6F9;
  659. margin-top: 150rpx;
  660. }
  661. .pupup_textMoney{
  662. font-weight: 500;
  663. font-size: 46rpx;
  664. color: #FF6B6B;
  665. margin-top: -170rpx;
  666. }
  667. </style>