drawCard_infinite.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  1. <template>
  2. <view class="container">
  3. <view class="head">
  4. <image class="img" :src="detail.icon" mode="aspectFill"></image>
  5. <view class="info">
  6. <view class="title row">
  7. {{ detail.name }}
  8. </view>
  9. <view class="row">
  10. <view class="price">
  11. ¥{{ detail.price }}
  12. <span class="text fontPFR">/张明信片</span>
  13. </view>
  14. <image
  15. @click="$navigateTo('/pages/rule/rule', { type: 1 })"
  16. class="button"
  17. :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/invite/button1.png'"
  18. mode="widthFix"
  19. ></image>
  20. </view>
  21. <view class="row">
  22. <!-- <view class="users">
  23. <image class="photo" :style="'left:' + index * 11 + 'px'" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/Frame1.png'"
  24. v-for="(item, index) in userList" mode="widthFix"></image>
  25. </view> -->
  26. <!-- <view class="hot">
  27. <image :src="'https://file.rongcyl.cn/festatic/bkm/imgv2' + /first/hot.png" mode="widthFix"></image>
  28. {{ detail.hotNum }}
  29. </view> -->
  30. </view>
  31. </view>
  32. </view>
  33. <div v-if="detail.subType.includes('110')" class="oubox flex justify-around items-center">
  34. <div class="flex items-center" @click="showList">
  35. <img src="https://file.rongcyl.cn/festatic/bkm/ouking_a.png" class="w-10 h-10" />
  36. <div class="ml-1">
  37. <div class="fontPFSCS" style="font-size: 30rpx">欧王奖励</div>
  38. <div style="font-size: 24rpx">{{ ouCount }}届欧王</div>
  39. </div>
  40. </div>
  41. <div class="flex items-center">
  42. <img
  43. src="https://file.rongcyl.cn/festatic/bkm/x_a.png"
  44. class="w-10 h-10"
  45. v-if="detail.subType.includes('111')"
  46. />
  47. <img src="https://file.rongcyl.cn/festatic/bkm/x.png" class="w-10 h-10" v-else />
  48. <div class="ml-1" :style="{ color: detail.subType.includes('111') ? '' : '#a9bcd1' }">
  49. <div class="fontPFSCS" style="font-size: 30rpx">随机掉落</div>
  50. <div style="font-size: 24rpx">
  51. {{ detail.subType.includes('111') ? '已开启' : '未开启' }}
  52. </div>
  53. </div>
  54. </div>
  55. <div class="flex items-center">
  56. <img
  57. src="https://file.rongcyl.cn/festatic/bkm/free_a.png"
  58. class="w-10 h-10"
  59. v-if="detail.subType.includes('112')"
  60. />
  61. <img src="https://file.rongcyl.cn/festatic/bkm/free.png" class="w-10 h-10" v-else />
  62. <div class="ml-1" :style="{ color: detail.subType.includes('112') ? '' : '#a9bcd1' }">
  63. <div class="fontPFSCS" style="font-size: 30rpx">随机免单</div>
  64. <div style="font-size: 24rpx">
  65. {{ detail.subType.includes('112') ? '已开启' : '未开启' }}
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <view class="box" v-if="detail.subType && !detail.subType.includes('110')">
  71. <view class="boxContent">
  72. <view class="boxLeft">
  73. <view class="row1">
  74. <view class="text">连击 × {{ combos || 0 }}</view>
  75. <view class="text">
  76. {{ combos || 0 }}
  77. <span class="text1">/300</span>
  78. </view>
  79. </view>
  80. <view class="row2">
  81. <view class="row2content">
  82. <p>每连击300发未出传说赏,可获得一个宝箱。</p>
  83. <p>如果中间抽出传说赏,则清空连击次数。</p>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="boxRiaht">
  88. <image
  89. class="icon"
  90. :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_infinite/icon1.png'"
  91. mode="widthFix"
  92. ></image>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="buttons1">
  97. <image
  98. class="button"
  99. @click="tabClick(1)"
  100. style="margin-right: 40rpx"
  101. :src="'https://file.rongcyl.cn/festatic/bkm/imgv2' + `/drawCard_infinite/button1${active1 == 1 ? 'A' : ''}.png`"
  102. mode="widthFix"
  103. ></image>
  104. <image
  105. class="button"
  106. @click="tabClick(2)"
  107. :src="'https://file.rongcyl.cn/festatic/bkm/imgv2' + `/drawCard_infinite/button2${active1 == 2 ? 'A' : ''}.png`"
  108. mode="widthFix"
  109. ></image>
  110. </view>
  111. <view class="prizeList" v-if="active1 == 1">
  112. <view class="prizeRow" v-for="(item, index) in prizeList">
  113. <image
  114. class="bk"
  115. :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_infinite/bk.png'"
  116. mode="scaleToFill"
  117. ></image>
  118. <view class="prizeRowContent">
  119. <view class="prizesTitle">
  120. <span>
  121. <span style="font-size: 36rpx; margin-right: 10rpx; font-weight: 600">
  122. {{ $selectDictLabel(rewardType, item.type) }}
  123. </span>
  124. <span style="font-weight: 600">概率 {{ item.probability }}%</span>
  125. </span>
  126. <span class="sp">各类别赏中赏概率不代表具体产品中赏概率</span>
  127. </view>
  128. <view class="prizesItems">
  129. <view class="prize" v-for="(item2, index2) in item.prizeList" @click="showImg(item2)">
  130. <view class="kaImg">
  131. <image
  132. class="kabk"
  133. :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_infinite/kaBk.png'"
  134. mode="widthFix"
  135. ></image>
  136. <image class="img" :src="item2.icon" mode="aspectFit"></image>
  137. </view>
  138. <view class="kaName">
  139. {{ item2.name }}
  140. </view>
  141. <view class="price">
  142. <span class="priceText">¥{{ detail.price }}</span>
  143. 参考价
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. </view>
  150. <view class="winningRecord" v-if="active1 == 2">
  151. <view class="card" v-for="(item, index) in winningRecordList" :key="index">
  152. <view class="row">
  153. <view class="left">
  154. <image class="photo" :src="item.userAvtar" mode="aspectFill"></image>
  155. <span class="name">{{ item.userName }}</span>
  156. </view>
  157. <view class="right text1">
  158. <span style="margin-right: 10rpx">{{ item.creatTime }}</span>
  159. <span>No.{{ item.id }}</span>
  160. </view>
  161. </view>
  162. <view class="row" style="margin-top: 20rpx">
  163. <view class="left">
  164. <image class="img" :src="item.prizeIcon" mode="aspectFill"></image>
  165. <span class="name">{{ item.prizeName }}</span>
  166. </view>
  167. <view class="right" style="font-size: 28rpx">{{ $selectDictLabel(rewardType, item.prizeType) }} × 1</view>
  168. </view>
  169. </view>
  170. <div class="text-center" v-if="winningRecordList.length == 0">
  171. <image
  172. style="width: 80vw; margin: auto; margin-top: -80rpx"
  173. :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/noData.png'"
  174. mode="widthFix"
  175. ></image>
  176. <view class="text-center" style="margin-top: -60rpx; color: #999999">啊哦,没有任何内容</view>
  177. </div>
  178. </view>
  179. <view class="buttons2">
  180. <img
  181. @click="submit(1)"
  182. src="https://file.rongcyl.cn/festatic/bkm/1fuck.png"
  183. style="width: 116rpx; height: 116rpx"
  184. />
  185. <img
  186. @click="submit(3)"
  187. src="https://file.rongcyl.cn/festatic/bkm/3fuck.png"
  188. style="width: 116rpx; height: 116rpx"
  189. />
  190. <img
  191. @click="submit(5)"
  192. src="https://file.rongcyl.cn/festatic/bkm/5fuck.png"
  193. style="width: 116rpx; height: 116rpx"
  194. />
  195. <img
  196. @click="submit(10)"
  197. src="https://file.rongcyl.cn/festatic/bkm/10fuck.png"
  198. style="width: 116rpx; height: 116rpx"
  199. />
  200. </view>
  201. <paymentPopup ref="paymentPopup" @callBack="paymentSuccess" />
  202. <uni-popup ref="popup">
  203. <view class="popup-content oulist">
  204. <img src="https://file.rongcyl.cn/festatic/bkm/oulist.png" class="w-full h-full" />
  205. <div class="absolute left-0 right-0 bottom-0 overflow-scroll py-2" style="height: 540rpx">
  206. <div v-for="(ou, i) in ouList" :key="i" class="flex justify-between items-center px-2 py-2">
  207. <div class="flex mr-2">
  208. <img
  209. :src="`https://file.rongcyl.cn/festatic/bkm/${i + 1}.png`"
  210. v-if="i < 3"
  211. class="inline-block mt-1"
  212. style="width: 56rpx; height: 56rpx"
  213. />
  214. <span
  215. v-else
  216. class="bold inline-block mt-1"
  217. style="width: 56rpx; height: 56rpx; text-align: center; line-height: 56rpx"
  218. >
  219. {{ i + 1 }}
  220. </span>
  221. <img
  222. :src="ou.userAvtar"
  223. style="width: 68rpx; height: 68rpx; border-radius: 50%"
  224. class="inline-block ml-2"
  225. />
  226. </div>
  227. <div class="flex-1">
  228. <div style="font-size: 28rpx" class="bold">{{ ou.userName }}</div>
  229. <div style="font-size: 22rpx; color: #666666">
  230. <span style="margin-right: 36rpx">在线{{ ou.onlineTime }}分钟</span>
  231. <img src="https://file.rongcyl.cn/festatic/bkm/tri.png" class="w-4 h-4 inline-block relative top-1" />
  232. <span style="font-size: 24rpx; color: #666666">{{ ou.reward }} 奖励</span>
  233. </div>
  234. </div>
  235. <div>
  236. <span v-if="ou.status" style="color: #00c537; font-size: 24rpx">在线中</span>
  237. <span v-else style="font-size: 24rpx; color: #666666">{{ ou.downTime | formatTime }}下线</span>
  238. </div>
  239. </div>
  240. </div>
  241. </view>
  242. <div @click="closeList">
  243. <img
  244. src="https://file.rongcyl.cn/festatic/bkm/close.png"
  245. class="w-9 h-9 mt-6"
  246. style="margin-left: 50%; transform: translateX(-50%); z-index: 9999; position: relative"
  247. />
  248. </div>
  249. </uni-popup>
  250. <imgPopup ref="imgPopup" />
  251. <view style="width: 100%; height: 200rpx"></view>
  252. </view>
  253. </template>
  254. <script>
  255. import noData from '@/component/noData.vue'
  256. import { rewardType } from '@/utils/commonConfig.js'
  257. import { raffleDetailApi, prizeListApi, prizeUserListApi, combosApi, getOuCount, getOuList } from '@/api/drawCard.js'
  258. import { cardType, formatSeconds } from '@/utils/utils.js'
  259. import paymentPopup from '@/component/paymentPopup.vue'
  260. import imgPopup from '@/component/imgPopup.vue'
  261. export default {
  262. components: {
  263. paymentPopup,
  264. noData,
  265. imgPopup,
  266. },
  267. onLoad(query) {
  268. console.log(query, 'query')
  269. if (query.id) {
  270. this.raffleId = query.id
  271. this.init()
  272. }
  273. },
  274. data() {
  275. return {
  276. rewardType: rewardType,
  277. active1: 1,
  278. detail: {},
  279. raffleId: null,
  280. prizeList: [],
  281. userIds: [],
  282. prizeUserList: [],
  283. winningRecordList: [],
  284. combos: 0,
  285. ouCount: 0,
  286. ouList: [],
  287. }
  288. },
  289. filters: {
  290. formatTime(dateString) {
  291. let month = dateString.substring(5, 7)
  292. let day = dateString.substring(8, 10)
  293. let time = dateString.substring(11, 16)
  294. return month + '/' + day + ' ' + time
  295. },
  296. },
  297. methods: {
  298. showImg(value) {
  299. this.$refs.imgPopup.show(value)
  300. },
  301. showList() {
  302. this.getOuKingList()
  303. this.$refs.popup.open('center')
  304. },
  305. closeList() {
  306. this.$refs.popup.close()
  307. },
  308. subType(value) {
  309. let index = null
  310. if (value == 120) {
  311. index = 1
  312. } else if (value == 110) {
  313. index = 2
  314. } else if (value == 111) {
  315. index = 3
  316. } else if (value == 112) {
  317. index = 4
  318. }
  319. return index
  320. },
  321. init() {
  322. // 获取卡包详情
  323. this.getDetail()
  324. this.tabClick(1)
  325. // 判断是否登录
  326. let hasLogin = getApp().globalData.hasLogin
  327. if (hasLogin) {
  328. this.getCombos()
  329. }
  330. },
  331. // 支付成功后回调
  332. paymentSuccess() {
  333. this.init()
  334. },
  335. clickDrawCard() {
  336. this.$refs.paymentPopup.show(this.raffleId, this.selectIndex, this.detail)
  337. },
  338. tabClick(index) {
  339. this.active1 = index
  340. if (index == 1) {
  341. //获取奖池
  342. this.getPrizeList()
  343. } else if (index == 2) {
  344. // 获取中奖记录
  345. this.getPrizeUserList()
  346. }
  347. },
  348. getOuKingList() {
  349. getOuList({
  350. raffleId: this.raffleId,
  351. page: 1,
  352. limit: 1000,
  353. }).then(rs => {
  354. this.ouList = rs.data
  355. })
  356. },
  357. getDetail() {
  358. let params = {
  359. raffleId: this.raffleId,
  360. }
  361. raffleDetailApi(params).then(res => {
  362. console.log(res, '详情')
  363. this.detail = res.data
  364. if (res.data.subType.includes('110')) {
  365. getOuCount(params).then(rs => {
  366. this.ouCount = rs.data
  367. })
  368. }
  369. })
  370. this.getOuKingList()
  371. },
  372. getPrizeList() {
  373. let params = {
  374. raffleId: this.raffleId,
  375. }
  376. prizeListApi(params).then(res => {
  377. console.log(res, '奖池预览')
  378. let newArray = res.data
  379. for (var i = 0; i < res.data.length; i++) {
  380. if (res.data[i].type == 23) {
  381. newArray = []
  382. newArray.push(res.data[i])
  383. res.data.splice(i, 1)
  384. newArray.push(...res.data)
  385. break
  386. }
  387. }
  388. this.prizeList = newArray
  389. })
  390. },
  391. getPrizeUserList() {
  392. let params = {
  393. limit: 999,
  394. page: 1,
  395. raffleId: this.raffleId,
  396. }
  397. prizeUserListApi(params).then(res => {
  398. this.winningRecordList = res.data
  399. })
  400. },
  401. getCombos() {
  402. let params = {
  403. raffleId: this.raffleId,
  404. }
  405. combosApi(params).then(res => {
  406. console.log(res, '连击数')
  407. this.combos = res.data.combos
  408. })
  409. },
  410. submit(number) {
  411. let params = {
  412. raffleId: this.raffleId,
  413. }
  414. this.$refs.paymentPopup.show(params, number, this.detail)
  415. },
  416. },
  417. }
  418. </script>
  419. <style>
  420. .container >>> .uni-popup__wrapper.center {
  421. border-radius: 24rpx !important;
  422. }
  423. </style>
  424. <style scoped lang="scss">
  425. .oulist {
  426. width: 660rpx;
  427. height: 816rpx;
  428. overflow: hidden;
  429. position: relative;
  430. }
  431. .container {
  432. background: #9ec8f9;
  433. padding-top: 30rpx;
  434. overflow: auto;
  435. .head {
  436. background: #fff;
  437. border: 20rpx;
  438. padding: 30rpx;
  439. border-radius: 20rpx 20rpx 0 0;
  440. display: flex;
  441. justify-content: space-between;
  442. margin-bottom: 40rpx;
  443. .img {
  444. width: 212rpx;
  445. height: 212rpx;
  446. border-radius: 10rpx;
  447. overflow: hidden;
  448. margin-right: 20rpx;
  449. }
  450. .info {
  451. display: flex;
  452. flex-direction: column;
  453. justify-content: start;
  454. flex: 1;
  455. .row {
  456. margin: 10rpx 0;
  457. display: flex;
  458. justify-content: space-between;
  459. color: #999999;
  460. .button {
  461. width: 134rpx;
  462. }
  463. .hot {
  464. display: flex;
  465. font-size: 24rpx;
  466. color: #999999;
  467. image {
  468. width: 32rpx;
  469. }
  470. }
  471. .users {
  472. position: relative;
  473. .photo {
  474. position: absolute;
  475. width: 40rpx;
  476. height: 40rpx;
  477. border-radius: 50%;
  478. }
  479. }
  480. }
  481. .title {
  482. font-weight: 600;
  483. color: #000;
  484. }
  485. .price {
  486. font-size: 32rpx;
  487. font-weight: 600;
  488. color: #ff2c43;
  489. .text {
  490. font-size: 28rpx;
  491. color: #999999;
  492. font-weight: 500;
  493. }
  494. }
  495. }
  496. }
  497. .oubox {
  498. width: 95vw;
  499. height: 148rpx;
  500. background: rgba(255, 255, 255, 0.85);
  501. box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(176, 123, 255, 0.3);
  502. border-radius: 48rpx;
  503. margin: auto;
  504. opacity: 1;
  505. border: 2rpx solid rgba(58, 67, 207, 1);
  506. }
  507. .box {
  508. margin: 0 20rpx 20rpx 20rpx;
  509. padding: 4rpx;
  510. background: linear-gradient(90deg, rgba(211, 252, 111, 1), rgba(61, 248, 255, 1));
  511. box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(176, 123, 255, 0.3);
  512. border-radius: 48rpx;
  513. .boxContent {
  514. background: linear-gradient(90deg, #a4fcff 0%, #d3fc6e 100%);
  515. border-radius: 48rpx;
  516. opacity: 1;
  517. display: flex;
  518. padding: 16rpx 30rpx;
  519. .boxLeft {
  520. position: relative;
  521. flex: 1;
  522. .row1 {
  523. display: flex;
  524. justify-content: space-between;
  525. font-size: 36rpx;
  526. margin-bottom: 8rpx;
  527. .text {
  528. color: #000000;
  529. font-weight: 600;
  530. text-shadow: -4rpx -2rpx 0rpx rgba(255, 255, 255, 1);
  531. font-family: auto;
  532. }
  533. .text1 {
  534. text-shadow: none;
  535. font-weight: 500;
  536. }
  537. }
  538. .row2 {
  539. position: relative;
  540. top: 6rpx;
  541. height: 12vw;
  542. border-radius: 6vw;
  543. background: linear-gradient(90deg, #65c3e5 0%, #b1ff29 100%);
  544. .row2content {
  545. position: relative;
  546. top: -6rpx;
  547. background: #0d2a2c;
  548. height: 12vw;
  549. border-radius: 6vw;
  550. font-size: 20rpx;
  551. color: rgba(255, 255, 255, 0.9);
  552. display: flex;
  553. flex-direction: column;
  554. justify-content: center;
  555. align-items: flex-start;
  556. padding: 0 26rpx;
  557. }
  558. }
  559. }
  560. .boxRiaht {
  561. padding-left: 8vw;
  562. padding-right: 30rpx;
  563. display: flex;
  564. align-items: center;
  565. .icon {
  566. width: 12vw;
  567. height: 12vw;
  568. }
  569. }
  570. }
  571. }
  572. .buttons1 {
  573. display: flex;
  574. justify-content: center;
  575. .button {
  576. width: 38vw;
  577. height: 10vw;
  578. }
  579. }
  580. .prizeList {
  581. .prizeRow {
  582. position: relative;
  583. margin: 0 20rpx 20rpx 20rpx;
  584. padding-bottom: 20rpx;
  585. .bk {
  586. position: relative;
  587. width: 100%;
  588. height: 100%;
  589. position: absolute;
  590. top: 0;
  591. z-index: 1;
  592. }
  593. .prizeRowContent {
  594. position: relative;
  595. width: calc(100% - 60rpx);
  596. padding: 20rpx 30rpx;
  597. z-index: 2;
  598. .prizesTitle {
  599. font-size: 24rpx;
  600. padding-bottom: 10rpx;
  601. width: 100%;
  602. color: #fff;
  603. display: flex;
  604. justify-content: space-between;
  605. .sp {
  606. color: rgba(255, 255, 255, 0.7);
  607. padding-top: 16rpx;
  608. font-size: 20rpx;
  609. }
  610. }
  611. .prizesItems {
  612. background: #fffbe8;
  613. display: flex;
  614. width: calc(100% - 32rpx);
  615. padding: 16rpx;
  616. border-radius: 16rpx;
  617. .prize {
  618. width: 22vw;
  619. .kaImg {
  620. position: relative;
  621. .kabk {
  622. width: 100%;
  623. height: 100%;
  624. }
  625. .img {
  626. position: absolute;
  627. top: 0;
  628. width: 70%;
  629. height: 80%;
  630. left: 52%;
  631. top: 50%;
  632. transform: translateX(-50%) translateY(-50%);
  633. }
  634. }
  635. .kaName {
  636. width: 100%;
  637. overflow: hidden;
  638. white-space: nowrap;
  639. text-overflow: ellipsis;
  640. font-size: 24rpx;
  641. font-weight: 600;
  642. text-align: center;
  643. }
  644. .price {
  645. text-align: center;
  646. font-size: 20rpx;
  647. color: #999999;
  648. .priceText {
  649. color: #ff2c43;
  650. font-weight: 600;
  651. font-size: 24rpx;
  652. }
  653. }
  654. }
  655. }
  656. }
  657. }
  658. }
  659. .buttons2 {
  660. position: fixed;
  661. bottom: 10vw;
  662. display: flex;
  663. z-index: 4;
  664. justify-content: space-around;
  665. width: 100%;
  666. .button {
  667. width: 13vw;
  668. height: 13vw;
  669. font-size: 32rpx;
  670. color: #fff;
  671. background: linear-gradient(270deg, #531dbb 0%, #6e2fe5 100%);
  672. text-align: center;
  673. line-height: 13vw;
  674. border-radius: 8rpx;
  675. box-shadow: inset 0rpx 4rpx 6rpx 0rpx rgba(255, 255, 255, 0.25);
  676. position: relative;
  677. transform: rotate(45deg);
  678. font-weight: 600;
  679. p {
  680. transform: rotate(-45deg);
  681. }
  682. }
  683. }
  684. .winningRecord {
  685. .card {
  686. margin: 20rpx 20rpx 0 20rpx;
  687. border-radius: 16rpx;
  688. background: #fff;
  689. padding: 20rpx;
  690. .row {
  691. display: flex;
  692. justify-content: space-between;
  693. align-items: center;
  694. .left {
  695. display: flex;
  696. align-items: center;
  697. .photo {
  698. margin-right: 10rpx;
  699. width: 60rpx;
  700. height: 60rpx;
  701. border-radius: 50%;
  702. }
  703. .name {
  704. font-size: 28rpx;
  705. font-weight: 600;
  706. }
  707. .img {
  708. width: 80rpx;
  709. height: 80rpx;
  710. border-radius: 4rpx;
  711. margin-right: 10rpx;
  712. }
  713. }
  714. .text1 {
  715. color: #666666;
  716. font-size: 24rpx;
  717. }
  718. }
  719. }
  720. }
  721. }
  722. </style>