lottery_new.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. <template>
  2. <view class="lottery_new">
  3. <view class="welcome" v-if="pageIndex == 0">
  4. <!-- logo与跑马灯 -->
  5. <view class="header">
  6. <img :src="lotteryInfo.logo" class="logo" mode="widthFix" />
  7. <view class="barrage-box">
  8. <view class="text">{{ recordList.length == 0 ? '还没有人中奖,快来参与吧!' : '' }}</view>
  9. </view>
  10. </view>
  11. <!-- 立即参与页面 -->
  12. <view class="page-1" style="padding: 0 16rpx">
  13. <view class="activity-info">
  14. <!-- <text class="title">{{ acticve_detail?.name }}</text> -->
  15. <view class="active-rule">
  16. <rich-text :nodes="lotteryInfo.rule" class="rich_text" style="font-size: 36rpx; font-weight: 300"></rich-text>
  17. </view>
  18. </view>
  19. <view class="activity-btn" @click="_handleChangePage(1)"></view>
  20. </view>
  21. </view>
  22. <view class="lottery" v-if="pageIndex == 1">
  23. <view class="lottery_box">
  24. <view class="lottery_rule_btn" @click="showRule">活动规则</view>
  25. <l-dialer
  26. :customStyle="'width: 500rpx;height: 500rpx;margin: 0rpx auto;'"
  27. @click="onClick"
  28. dial-style="color: rgba(60,48,158,0.7); padding: 32rpx;background-image: url(https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/lottery_bg.png)"
  29. :prizeList="prizeList"
  30. :turns="5"
  31. :duration="5"
  32. @done="onDone"
  33. ref="dialer"
  34. pointerStyle="display: none"
  35. />
  36. <view class="lottery_bottom">
  37. <view class="lottery_btn" @click="onClick"></view>
  38. <view class="lottery_number">可用次数:{{ lotteryInfo.number }}</view>
  39. </view>
  40. <!-- <view class="lottery_need_score"> </view> -->
  41. <view class="lottery_record_title"></view>
  42. <view class="lottery_record">
  43. <view class="lottery_record_none" v-if="!recordList.length">这里还是空的哦~</view>
  44. <scroll-view class="lottery_record_list" scroll-y="true">
  45. <view class="lottery_record_item" v-for="(item, index) in recordList" :key="index">
  46. <view class="reward_name">获得{{ item.reward_name }}</view>
  47. <view class="reward_time">{{ item.insert_time }}</view>
  48. </view>
  49. </scroll-view>
  50. </view>
  51. </view>
  52. <uni-popup ref="lotteryRule" type="center">
  53. <view class="lottery_rule_box">
  54. <view class="active-rule">
  55. <rich-text :nodes="lotteryInfo.rule" class="rich_text" style="font-size: 36rpx; font-weight: 300"></rich-text>
  56. </view>
  57. <view class="close-btn" @click="closeRule"></view>
  58. </view>
  59. </uni-popup>
  60. <uni-popup ref="lotteryReward" type="center">
  61. <view class="lottery_reward_box">
  62. <view class="reward_box">
  63. <view :class="['reward_title', reward_info.id == 0 ? 'noGet' : 'get']">{{ reward_info.id == 0 ? '很遗憾' : '恭喜您' }}</view>
  64. <view>
  65. <img class="reward_image" v-if="reward_info.reward_type == 5" :src="reward_info.img" />
  66. <view v-else :class="['reward_image', reward_info.id == 0 ? 'noget' : reward_enum[reward_info.reward_type]]"></view>
  67. <view class="reward_name"> {{ reward_info.id == 0 ? '谢谢参与' : reward_info.name }}</view>
  68. </view>
  69. <view class="reward_btn" @click="closeReward">{{ reward_info.id == 0 ? '我知道了' : '开心收下' }}</view>
  70. </view>
  71. <view class="close-btn" @click="closeReward"></view>
  72. </view>
  73. </uni-popup>
  74. </view>
  75. </view>
  76. </template>
  77. <script>
  78. export default {
  79. data() {
  80. return {
  81. pageIndex: 0,
  82. height: '',
  83. // 奖项列表,
  84. prizeList: [],
  85. // 中奖记录
  86. recordList: [],
  87. // 地址列表
  88. addrList: [],
  89. // 抽奖信息
  90. lotteryInfo: {
  91. id: 0,
  92. name: '',
  93. logo: '',
  94. number: '0',
  95. start_date: '',
  96. end_date: '',
  97. start_time: '',
  98. end_time: '',
  99. rule: '',
  100. },
  101. recordId: 0,
  102. // 请求参数
  103. requestParam: {
  104. id: 0,
  105. activity_id: 0,
  106. },
  107. reward_info: {
  108. id: 0,
  109. },
  110. reward_enum: {
  111. 1: 'score',
  112. 2: 'coupon',
  113. 3: 'redpacket',
  114. 4: 'virtual_good',
  115. 5: 'goods',
  116. 6: 'others',
  117. },
  118. };
  119. },
  120. onLoad(param) {
  121. //未登陆提醒用户登陆
  122. try {
  123. // 接收参数
  124. console.log(param, 'onload param');
  125. this.requestParam.id = param.id;
  126. this.requestParam.activity_id = param.activity_id;
  127. // 如果有scene参数的话,获取其中的ID
  128. if (param.scene) {
  129. // 转键值对参数
  130. let scene = this.$http.strToParam(param.scene);
  131. // 如果没有传入ID,但是传入了场景ID,获取场景ID
  132. if (!param.id && scene.id) this.requestParam.id = scene.id;
  133. }
  134. // 窗口信息
  135. var sysinfo = uni.getWindowInfo();
  136. // 获取屏幕可用高度
  137. this.height = 'height:' + sysinfo.windowHeight + 'px;';
  138. // 监听地址变动
  139. uni.$on('addr_list_change', (data) => {
  140. // 地址列表
  141. this.addrList = data.list;
  142. });
  143. // #ifdef MP-WEIXIN
  144. //分享按钮
  145. uni.showShareMenu({
  146. withShareTicket: true,
  147. menus: ['shareAppMessage', 'shareTimeline'],
  148. });
  149. // #endif
  150. } catch (e) {
  151. console.log(e);
  152. }
  153. },
  154. onShareAppMessage(obj) {
  155. // if (obj) {
  156. // this.shareRequest();
  157. // }
  158. return {
  159. title: '999智控终端平台\n新人抽奖',
  160. path: `/pages/recruitment/lottery_new?id=${this.requestParam.id}&activity_id=${this.requestParam.activity_id}`,
  161. imageUrl: 'https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/20250210-143021.jpg',
  162. promise: new Promise((resolve, reject) => {
  163. this.$http.request('api/share_message/get_item', { item_id: this.requestParam.activity_id, pages: '/pages/recruitment/lottery_new' }).then((callback) => {
  164. console.log(callback, 'api/share_message/get_item');
  165. let obj = {
  166. title: callback.data?.title == '' ? this.lotteryInfo.name : callback.data.title,
  167. path: '/pages/recruitment/lottery_new?id=' + this.requestParam.id,
  168. imageUrl: callback.data?.image_url == '' ? this.lotteryInfo.logo : callback.data.image_url,
  169. };
  170. resolve(obj);
  171. });
  172. }),
  173. };
  174. },
  175. onShow() {
  176. console.log(this.requestParam, 'onshow requestParam');
  177. if (!this.$checkAccess.checkLogin()) {
  178. uni.showModal({
  179. title: '温馨提示',
  180. content: '请先登录',
  181. confirmText: '去登录',
  182. cancelText: '取消',
  183. success: (res) => {
  184. if (res.confirm) {
  185. uni.redirectTo({
  186. url: `/pages/login/index?redirect=/pages/recruitment/lottery_new&id=${this.requestParam.id}`,
  187. });
  188. }
  189. },
  190. });
  191. return;
  192. }
  193. // 没有数据的话,或者请求中,不允许刷新
  194. if (this.isReqing) return;
  195. // 登录提示
  196. // if (!this.$checkAccess.alterLogin()) return;
  197. // 如果存在产品ID的话
  198. if (this.requestParam.id > 0) {
  199. // 设置请求中
  200. this.isReqing = true;
  201. // 请求
  202. this.$http.request('api/lottery_recruitment/get_detail', this.requestParam).then((re) => {
  203. // 设置非请求中
  204. this.isReqing = false;
  205. // 成功结果
  206. if (re.code == 'success') {
  207. this.lotteryInfo = re.data;
  208. this.prizeList = re.data.reward_list;
  209. } else {
  210. if (re.code != 'no_login') {
  211. uni.showModal({
  212. content: re.msg,
  213. showCancel: false,
  214. });
  215. }
  216. }
  217. });
  218. this.showRecord();
  219. } else {
  220. uni.showModal({
  221. content: '未知的活动ID',
  222. showCancel: false,
  223. });
  224. }
  225. },
  226. methods: {
  227. _handleChangePage(index) {
  228. this.pageIndex = index;
  229. },
  230. onDone(index) {
  231. this.reward_info = this.prizeList[index];
  232. this.$refs.lotteryReward.open('center');
  233. this.showRecord();
  234. },
  235. onClick() {
  236. // 活动是否开始
  237. if (!this.lotteryInfo.id) {
  238. uni.showToast({
  239. title: '暂无可参与活动',
  240. icon: 'none',
  241. });
  242. return;
  243. }
  244. // 活动是否开始
  245. if (this.lotteryInfo.start_time * 1000 > new Date().getTime()) {
  246. uni.showToast({
  247. title: '活动还没开始哦',
  248. icon: 'none',
  249. });
  250. return;
  251. }
  252. // 活动是否结束
  253. if (this.lotteryInfo.end_time * 1000 <= new Date().getTime()) {
  254. uni.showToast({
  255. title: '活动已结束了哦',
  256. icon: 'none',
  257. });
  258. return;
  259. }
  260. // 次数已用完了
  261. if (this.lotteryInfo.number <= 0) {
  262. uni.showToast({
  263. title: '次数已用完了',
  264. icon: 'none',
  265. });
  266. return;
  267. }
  268. if (!this.$checkAccess.getHasFollow()) {
  269. this.$refs.addFollow.open('center');
  270. return;
  271. }
  272. // 次数操作
  273. this.lotteryInfo.number = this.lotteryInfo.number - 1;
  274. // 请求列表
  275. this.$http.request('/api/lottery_recruitment/get_reward', { lottery_id: this.lotteryInfo.id }).then((re) => {
  276. // 设置非请求中
  277. this.isReqing = false;
  278. // 成功结果
  279. if (re.code == 'success') {
  280. // 奖品列表更新
  281. this.prizeList = re.data.reward_list;
  282. // 奖品的索引
  283. return this.$refs.dialer.run(re.data.reward_index);
  284. } else {
  285. uni.showToast({
  286. title: re.msg,
  287. icon: 'none',
  288. });
  289. return;
  290. }
  291. });
  292. },
  293. closePopup() {
  294. this.$refs.addFollow.close();
  295. },
  296. closeReward() {
  297. this.$refs.lotteryReward.close();
  298. this.reward_info = {};
  299. },
  300. showRule() {
  301. this.$refs.lotteryRule.open('center');
  302. },
  303. closeRule() {
  304. this.$refs.lotteryRule.close();
  305. },
  306. showRecord() {
  307. // 活动是否开始
  308. // 请求列表
  309. this.$http.request('/api/lottery_recruitment_record/get_list', { lottery_id: this.requestParam.id }).then((re) => {
  310. // 设置非请求中
  311. this.isReqing = false;
  312. // 成功结果
  313. if (re.code == 'success') {
  314. this.recordList = re.data;
  315. } else {
  316. this.recordList = [];
  317. }
  318. });
  319. },
  320. openAddr(index) {
  321. // 选择的下标
  322. this.recordIndex = index;
  323. // 地址列表
  324. this.getAddrList(true);
  325. },
  326. // 选择地址
  327. checkedAddrItem(item) {
  328. // 判断数据
  329. this.$http.request('api/lottery_recruitment_record/set_addr', { id: this.recordList[this.recordIndex].id, addr_id: item.id }, 'post').then((callback) => {
  330. // 获取成功
  331. if (callback.code == 'success') {
  332. this.recordList[this.recordIndex].status = 1;
  333. this.recordList[this.recordIndex].state = '进行中';
  334. }
  335. this.$refs.addrPopup.close();
  336. });
  337. },
  338. getAddrList(showPopup = false) {
  339. // 判断数据
  340. this.$http.request('api/custom_addr/get_list').then((callback) => {
  341. // 获取成功
  342. if (callback.code == 'success') {
  343. this.addrList = callback.data;
  344. // 如果有的话
  345. if (this.addrList.length) {
  346. // 获取默认的
  347. for (let i in this.addrList) {
  348. // 如果是默认的
  349. if (this.addrList[i].is_default) this.checkedAddr = this.addrList[i];
  350. }
  351. // 如果没有默认的话
  352. if (!this.checkedAddr.id) {
  353. this.checkedAddr = this.addrList[this.addrList.length - 1];
  354. }
  355. }
  356. // 弹出地址层
  357. if (showPopup) this.$refs.addrPopup.open('bottom');
  358. }
  359. });
  360. },
  361. },
  362. };
  363. </script>
  364. <style lang="less" scoped>
  365. .lottery_new {
  366. box-sizing: border-box;
  367. position: relative;
  368. height: 100vh;
  369. .welcome {
  370. width: 100vw;
  371. height: 100%;
  372. display: flex;
  373. flex-direction: column;
  374. box-sizing: border-box;
  375. background: linear-gradient(to bottom, #fedc9f, #ff9861);
  376. .header {
  377. .logo {
  378. width: 100%;
  379. }
  380. .barrage-box {
  381. padding: 10rpx;
  382. width: 100%;
  383. transform-origin: 65vw 75vw;
  384. transform: rotate(0deg);
  385. white-space: nowrap;
  386. display: flex;
  387. justify-content: center;
  388. align-items: center;
  389. z-index: 3;
  390. box-sizing: border-box;
  391. background-color: #ff8b37;
  392. opacity: 0.8;
  393. overflow-x: hidden;
  394. }
  395. .text {
  396. width: 200vw; //调整文字显示
  397. font-size: 16px;
  398. color: #333;
  399. animation: aniMove 8s linear infinite;
  400. animation-fill-mode: forwards;
  401. }
  402. /* 文字滚动 */
  403. @keyframes aniMove {
  404. 0% {
  405. transform: translateX(100%);
  406. }
  407. 100% {
  408. transform: translateX(-100%);
  409. }
  410. }
  411. }
  412. .page-1 {
  413. width: 100%;
  414. display: flex;
  415. align-items: center;
  416. flex-direction: column;
  417. box-sizing: border-box;
  418. height: 100%;
  419. .activity-info {
  420. padding-top: 60rpx;
  421. display: flex;
  422. flex-direction: column;
  423. align-items: center;
  424. justify-content: center;
  425. width: 100%;
  426. .title {
  427. font-size: 46rpx;
  428. font-weight: bold;
  429. color: #fff;
  430. text-align: center;
  431. margin-bottom: 40rpx;
  432. }
  433. .active-rule {
  434. display: block;
  435. font-size: 30rpx;
  436. line-height: 40rpx;
  437. box-sizing: border-box;
  438. margin-bottom: 32rpx;
  439. width: 670rpx;
  440. height: 609rpx;
  441. overflow-y: auto;
  442. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/rule.png');
  443. background-repeat: no-repeat;
  444. background-size: 100% 100%;
  445. padding: 93rpx 48rpx;
  446. .rich_text {
  447. white-space: break-spaces;
  448. }
  449. }
  450. }
  451. .activity-btn {
  452. width: 368rpx;
  453. height: 108rpx;
  454. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/join.png');
  455. background-size: 100% 100%;
  456. background-repeat: no-repeat;
  457. // background: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/join.png') no-repeat center 100% 100%;
  458. }
  459. }
  460. }
  461. .lottery {
  462. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/lottery_background.png');
  463. background-size: 100% 100%;
  464. background-repeat: no-repeat;
  465. width: 100vw;
  466. min-height: 100vh;
  467. padding-top: 405rpx;
  468. .lottery_box {
  469. display: block;
  470. width: 750rpx;
  471. margin: 0 auto;
  472. position: relative;
  473. .lottery_bottom {
  474. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/lottery_bottom.png');
  475. background-size: 100% 100%;
  476. background-repeat: no-repeat;
  477. width: 512rpx;
  478. height: 220rpx;
  479. margin: 0 auto;
  480. display: flex;
  481. flex-direction: column;
  482. align-items: center;
  483. padding-top: 80rpx;
  484. box-sizing: border-box;
  485. .lottery_number {
  486. color: #fff;
  487. font-size: 22rpx;
  488. margin-top: 10rpx;
  489. }
  490. .lottery_btn {
  491. width: 285rpx;
  492. height: 78rpx;
  493. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/lottery_btn.png');
  494. background-repeat: no-repeat;
  495. background-size: 100% 100%;
  496. }
  497. }
  498. .lottery_rule_btn {
  499. width: 140rpx;
  500. height: 42rpx;
  501. background: #fef7db;
  502. color: #ff7f00;
  503. border-radius: 500rpx 0rpx 0rpx 500rpx;
  504. position: absolute;
  505. right: 0;
  506. top: 0;
  507. z-index: inherit;
  508. font-size: 24rpx;
  509. text-align: center;
  510. line-height: 42rpx;
  511. }
  512. // .lottery_need_score {
  513. // width: 453rpx;
  514. // height: 35rpx;
  515. // background: #d4430e;
  516. // border-radius: 0rpx 0rpx 0rpx 0rpx;
  517. // font-size: 24rpx;
  518. // color: #fff;
  519. // border-radius: 20rpx;
  520. // text-align: center;
  521. // margin: 20rpx auto 0;
  522. // opacity: 0.5;
  523. // }
  524. .lottery_record_title {
  525. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/lottery_record_title.png');
  526. background-size: 100% 100%;
  527. background-repeat: no-repeat;
  528. width: 516rpx;
  529. height: 61rpx;
  530. margin: 60rpx auto 24rpx;
  531. }
  532. .lottery_record {
  533. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/lettery_record.png');
  534. background-size: 100% 100%;
  535. background-repeat: no-repeat;
  536. width: 682rpx;
  537. height: 456rpx;
  538. margin: 0 auto;
  539. overflow-y: auto;
  540. padding: 56rpx 48rpx;
  541. box-sizing: border-box;
  542. .lottery_record_none {
  543. width: 100%;
  544. height: 100%;
  545. display: flex;
  546. align-items: center;
  547. justify-content: center;
  548. color: #deb887;
  549. }
  550. .lottery_record_item {
  551. width: 586rpx;
  552. height: 93rpx;
  553. border-radius: 0rpx 0rpx 0rpx 0rpx;
  554. border-bottom: 1rpx solid #e3e3e3;
  555. display: flex;
  556. justify-content: space-between;
  557. align-items: center;
  558. .reward_name {
  559. color: #333;
  560. }
  561. .reward_time {
  562. font-size: 24rpx;
  563. color: #999999;
  564. }
  565. }
  566. }
  567. }
  568. }
  569. .lottery_rule_box {
  570. display: flex;
  571. flex-direction: column;
  572. justify-content: center;
  573. align-items: center;
  574. .active-rule {
  575. display: block;
  576. font-size: 30rpx;
  577. line-height: 40rpx;
  578. box-sizing: border-box;
  579. margin-bottom: 32rpx;
  580. width: 670rpx;
  581. height: 609rpx;
  582. overflow-y: auto;
  583. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/rule.png');
  584. background-repeat: no-repeat;
  585. background-size: 100% 100%;
  586. padding: 93rpx 48rpx;
  587. .rich_text {
  588. white-space: break-spaces;
  589. }
  590. }
  591. }
  592. .lottery_reward_box {
  593. display: flex;
  594. flex-direction: column;
  595. justify-content: center;
  596. align-items: center;
  597. .reward_box {
  598. width: 548rpx;
  599. height: 658rpx;
  600. border-radius: 20rpx;
  601. background: linear-gradient(to bottom, #fedc9f, #ff9861);
  602. padding: 40rpx 0;
  603. box-sizing: border-box;
  604. display: flex;
  605. flex-direction: column;
  606. align-items: center;
  607. justify-content: space-between;
  608. .reward_title {
  609. font-size: 68rpx;
  610. font-weight: 400;
  611. &.get {
  612. color: #ff0000;
  613. }
  614. &.noGet {
  615. color: #fe7b2b;
  616. }
  617. }
  618. .reward_btn {
  619. width: 272rpx;
  620. height: 77rpx;
  621. color: #fff;
  622. text-align: center;
  623. line-height: 77rpx;
  624. background: linear-gradient(180deg, #ff211a 0%, #ffb883 100%);
  625. box-shadow: inset 0rpx -2rpx 1rpx 0rpx #fff6b6, inset 0rpx 4rpx 6rpx 0rpx rgba(255, 255, 255, 0.6);
  626. border-radius: 50rpx 50rpx 50rpx 50rpx;
  627. }
  628. .reward_image {
  629. width: 208rpx;
  630. height: 208rpx;
  631. background-size: 100% 100%;
  632. background-repeat: no-repeat;
  633. &.noget {
  634. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/noget.png');
  635. }
  636. &.score {
  637. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/score.png');
  638. }
  639. &.redpacket {
  640. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/redpacket.png');
  641. }
  642. &.coupon {
  643. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/coupon.png');
  644. }
  645. &.virtual_good {
  646. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/virtual_good.png');
  647. }
  648. &.others {
  649. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/others.png');
  650. }
  651. }
  652. .reward_name {
  653. color: #333;
  654. text-align: center;
  655. }
  656. }
  657. }
  658. .close-btn {
  659. background-image: url('https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/lottery/close_btn.png');
  660. background-repeat: no-repeat;
  661. background-size: 100% 100%;
  662. width: 62rpx;
  663. height: 62rpx;
  664. margin-top: 32rpx;
  665. }
  666. }
  667. </style>