index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  1. <template>
  2. <view>
  3. <nav-bar title="试卷报告"></nav-bar>
  4. <view class="top">
  5. <view class="title">{{ reportdata.examName }}</view>
  6. <view class="desc">交卷时间:{{ $method.timestampToTime(reportdata.updateTime, false) }}</view>
  7. <view class="box">
  8. <view class="left">
  9. <view>
  10. <!-- 考试 -->
  11. {{
  12. (((reportdata.rightQuestionNum /
  13. reportdata.totalQuestionNum )|| 0) *
  14. 100).toFixed(0)
  15. }}%
  16. <!-- {{ (((reportdata.rightQuestionNum / (reportdata.rightQuestionNum + wrongRecordWrongNum)) || 0) * 100).toFixed(0)}}% -->
  17. </view>
  18. <view>正确率</view>
  19. <view>不含简答/案例题</view>
  20. </view>
  21. <view class="right">
  22. <view class="flex up">
  23. <!-- <u-icon name="checkmark" color="#16D48B" size="48" style="margin-right: 14rpx;"></u-icon> -->
  24. <image class="right_num" src="/static/right_num.png" mode="widthFix"></image>
  25. <view class="text">正确题数</view>
  26. <text class="green">{{ reportdata.rightQuestionNum }}</text>
  27. </view>
  28. <view class="flex up">
  29. <!-- <u-icon name="checkmark" color="#16D48B" size="48" style="margin-right: 14rpx;"></u-icon> -->
  30. <image class="out_num" src="/static/out_num.png" mode="widthFix"></image>
  31. <view class="text">少选题数</view>
  32. <text class="yellow">{{ reportdata.lessQuestionNum }}</text>
  33. </view>
  34. <view class="flex down">
  35. <!-- <u-icon name="close" color="#FF3B30" size="38" style="margin-right: 26rpx;"></u-icon> -->
  36. <image class="wrong_num" src="/static/wrong_num.png" mode="widthFix"></image>
  37. <view class="text">错误题数</view>
  38. <text class="red">{{ wrongRecordWrongNum }}</text>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="dis_fst">
  43. <navigator
  44. hover-class="none"
  45. :url="
  46. '/pages5/examReport/questionBankWrongExplain?recordId=' + reportdata.recordId+'&id='+examData.examId+'&eachExamId='+eachExamId
  47. "
  48. >
  49. <button hover-class="none" :disabled="subscribeInfo.canDo === 0" class="btnACs">错题解析</button>
  50. </navigator>
  51. <navigator
  52. hover-class="none"
  53. :url="
  54. '/pages5/examReport/questionBankAllExplain?id=' +
  55. reportdata.examId +
  56. '&recordId='+ reportdata.recordId +
  57. '&eachExamId='+eachExamId
  58. "
  59. >
  60. <button hover-class="none" :disabled="subscribeInfo.canDo === 0" class="btnACs">全部解析</button>
  61. </navigator>
  62. <navigator
  63. hover-class="none"
  64. :url="
  65. '/pages5/examBank/index?examId=' +
  66. reportdata.examId +
  67. '&eachExamId='+eachExamId+'&subscribeId='+reportdata.subscribeId
  68. "
  69. >
  70. <button hover-class="none" :disabled="subscribeInfo.canDo === 0" class="btnACs">去做题</button>
  71. </navigator>
  72. </view>
  73. </view>
  74. <view class="bottom">
  75. <view class="circle-wrap">
  76. <view class="circle-list">
  77. <view class="item" v-show="reportdata.totalScore">
  78. <view class="title">
  79. 试卷得分
  80. <text>(不含简答和案例题)</text>
  81. </view>
  82. <canvas v-show="!noticeModal" class="canvas" canvas-id="Canvas1"></canvas>
  83. </view>
  84. <view class="item" v-show="reportdata.examTime">
  85. <view class="title">答题时长</view>
  86. <canvas v-show="!noticeModal" canvas-id="Canvas2"></canvas>
  87. </view>
  88. <view class="item" v-show="reportdata.score != -1">
  89. <view class="title">试卷得分
  90. <text>(含简答和案例题)</text>
  91. </view>
  92. <canvas v-show="!noticeModal" canvas-id="Canvas3"></canvas>
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. <template v-if="subscribeInfo.liveStartTime">
  98. <template v-if="subscribeInfo.liveStartTime <= sysTime && subscribeInfo.liveEndTime >= sysTime">
  99. <view class="notice" v-if="subscribeInfo.liveSubscribe == 0">
  100. <image class="img" mode="widthFix" src="../static/notice1.png"></image>
  101. <view class="text">
  102. 模考讲解正在直播中
  103. </view>
  104. <view class="btn" @click="goLive()">立即前往查看直播</view>
  105. </view>
  106. </template>
  107. <template v-else>
  108. <view class="notice" v-if="subscribeInfo.liveSubscribe == 0">
  109. <image class="img" mode="widthFix" src="../static/notice1.png"></image>
  110. <view class="text">
  111. 模考讲解直播将在<text class="blue">{{$method.timestampToTime(subscribeInfo.liveStartTime,false,true)}}</text>开始 开启模考讲解直播提醒,不错过每一个考点
  112. </view>
  113. <view class="btn" @click="noticeModal = true">开启模考讲解直播提醒</view>
  114. </view>
  115. <view class="notice" v-if="subscribeInfo.liveSubscribe == 1">
  116. <image class="img" mode="widthFix" src="../static/notice2.png"></image>
  117. <view class="text">
  118. 模考讲解直播将在<text class="blue">{{$method.timestampToTime(subscribeInfo.liveStartTime,false,true)}}</text>开始
  119. </view>
  120. </view>
  121. </template>
  122. </template>
  123. <view v-if="courseList.length" class="course_list">
  124. <view class="titles">
  125. <image class="code" src="@/static/learn/act_icon.png" ></image>
  126. <text class="title">推荐课程</text>
  127. </view>
  128. <view class="list_item" v-for="(item,index) in courseList" :key="index" @click="toBuy(item)">
  129. <view class="course_content">
  130. <view class="c_title">{{item.goodsName}}</view>
  131. <view class="c_downs">
  132. <view class="img">
  133. <image :src="$method.splitImgHost(item.coverUrl, true)"></image>
  134. <view class="time" v-if="item.year">{{item.year?item.year:''}}</view>
  135. </view>
  136. <view class="text">
  137. <view class="desc">
  138. <view class="left">
  139. <text class="mon_t">¥ {{item.standPrice}}</text>
  140. <!-- <text class="sale">/限时优惠</text> -->
  141. <text v-if="item.linePrice" class="sale"> ¥ </text>
  142. <text v-if="item.linePrice" class="price_line">&nbsp;{{ item.linePrice }}</text>
  143. </view>
  144. <view class="right">
  145. <view class="regiser_row" v-if="!hideBuyState">立即购买</view>
  146. </view>
  147. </view>
  148. <view v-if="item.buyUserNum" class="joins">
  149. <!-- <image class="people" src="/static/index/people.png"></image> -->
  150. <!-- 为0时,不显示 -->
  151. <view class="people">{{ item.buyUserNum }}人参与</view>
  152. </view>
  153. </view>
  154. </view>
  155. </view>
  156. </view>
  157. </view>
  158. <u-popup class="notice__modal" v-model="noticeModal" mode="center" border-radius="24" :mask-close-able="false">
  159. <view class="notice__content">
  160. <view class="body">
  161. <image class="img" src="/pages5/static/notice4.png" mode="widthFix"></image>
  162. <view class="content">
  163. <view class="bold center">开启模考讲解直播提醒</view>
  164. <view class="center text">
  165. 此科目模考分析将在<text class="blue">{{$method.timestampToTime(subscribeInfo.liveStartTime,false,true)}}</text>进行直播讲解,开启直播提醒,不错过名师讲解
  166. </view>
  167. </view>
  168. </view>
  169. <view class="footer">
  170. <view class="btn close" @click="noticeModal = false">暂不开启</view>
  171. <view class="btn" @click="openRemind">开启提醒</view>
  172. </view>
  173. </view>
  174. </u-popup>
  175. </view>
  176. </template>
  177. <script>
  178. import { mapGetters,mapActions } from 'vuex';
  179. import {WEBVIEW_URL} from '@/common/request.js'
  180. export default {
  181. data() {
  182. return {
  183. id: '',
  184. noticeModal:false,
  185. recordId:'',
  186. reportdata: {},
  187. examData:{},
  188. examId:'',
  189. chapterId:'',
  190. context1: null,
  191. context2: null,
  192. eachExamId:'',
  193. wrongRecordWrongNum:0,
  194. subscribeInfo:{},
  195. courseList: [],
  196. pageNum: 1,
  197. pageSize: 10,
  198. total: 0,
  199. timer: null,
  200. };
  201. },
  202. computed: { ...mapGetters(['userInfo','sysTime', 'hideBuyState']) },
  203. onPullDownRefresh() {
  204. this.pageNum = 1
  205. this.courseList = []
  206. this.getcourList()
  207. // this.timer = setTimeout(function() {
  208. // uni.stopPullDownRefresh()
  209. // }, 500)
  210. },
  211. onReachBottom() {
  212. console.log(this.total,'total')
  213. console.log(this.courseList.length,'length')
  214. if (this.courseList.length < this.total) {
  215. this.pageNum++
  216. this.getcourList()
  217. }
  218. },
  219. async onLoad(option) {
  220. console.log(option)
  221. this.recordId = option.id;
  222. this.examId = option.examId;
  223. this.eachExamId = option.eachExamId
  224. this.subscribeId = option.subscribeId;
  225. await this.setSystemTime();
  226. this.mockSubscribeInfo();
  227. this.mockWrongRecordWrongNum();
  228. await this.bankExam();
  229. await this.mockReport();
  230. },
  231. onShow() {
  232. this.pageNum = 1
  233. this.courseList = []
  234. this.getcourList()
  235. },
  236. onUnload() {
  237. clearTimeout(this.timer)
  238. },
  239. methods: {
  240. ...mapActions(['setSystemTime']),
  241. getCanvas() {
  242. uni.getSystemInfo({
  243. success: res => {
  244. var winW = res.screenWidth;
  245. var winH = res.screenHeight;
  246. uni.createSelectorQuery()
  247. .in(this)
  248. .select('.canvas')
  249. .boundingClientRect()
  250. .exec(async newRes => {
  251. var width = newRes[0].width;
  252. var height = newRes[0].height;
  253. var caculateX = winW / 750;
  254. var caculateY = winH / 1334;
  255. console.log(caculateX);
  256. if(this.reportdata.totalScore) {
  257. var context1 = uni.createCanvasContext('Canvas1');
  258. this.context1 = context1;
  259. context1.setStrokeStyle('#EEEEEE');
  260. context1.setLineWidth(caculateX * 20);
  261. context1.arc(caculateX * 90, caculateX * 90, caculateX * 80, 0, 2 * Math.PI, true);
  262. context1.stroke();
  263. context1.beginPath();
  264. context1.setStrokeStyle('#32D74B');
  265. context1.setFillStyle('#32D74B');
  266. context1.setTextAlign('center');
  267. context1.setTextBaseline('middle');
  268. context1.setLineCap('round');
  269. context1.setFontSize(caculateX * 64);
  270. context1.fillText(this.reportdata.performance, caculateX * 90, caculateX * 90, caculateX * 180);
  271. context1.setFillStyle('#999999');
  272. context1.setFontSize(caculateX * 20);
  273. context1.fillText(`满分${this.reportdata.totalScore}`, caculateX * 90, caculateX * 130, caculateX * 180);
  274. context1.arc(caculateX * 90, caculateX * 90, caculateX * 80, -Math.PI/2, -Math.PI/2 + (this.reportdata.performance / this.reportdata.totalScore) * 2 * Math.PI, false);
  275. context1.stroke();
  276. context1.draw();
  277. }
  278. if(this.reportdata.examTime) {
  279. var context2 = uni.createCanvasContext('Canvas2');
  280. this.context2 = context2;
  281. context2.setStrokeStyle('#EEEEEE');
  282. context2.setLineWidth(caculateX * 20);
  283. context2.arc(caculateX * 90, caculateX * 90, caculateX * 80, 0, 2 * Math.PI, true);
  284. context2.stroke();
  285. context2.beginPath();
  286. context2.setStrokeStyle('#007AFF');
  287. context2.setFillStyle('#007AFF');
  288. context2.setTextAlign('center');
  289. context2.setTextBaseline('middle');
  290. context2.setLineCap('round');
  291. context2.setFontSize(caculateX * 64);
  292. context2.fillText(`${this.reportdata.doTime}'`, caculateX * 90, caculateX * 90, caculateX * 180);
  293. context2.setFillStyle('#999999');
  294. context2.setFontSize(caculateX * 20);
  295. context2.fillText(`限时${this.reportdata.examTime}'`, caculateX * 90, caculateX * 130, caculateX * 180);
  296. context2.arc(caculateX * 90, caculateX * 90, caculateX * 80, -Math.PI/2, -Math.PI/2 + (this.reportdata.doTime / this.reportdata.examTime) * 2 * Math.PI, false);
  297. context2.stroke();
  298. context2.draw();
  299. }
  300. if(this.reportdata.score != -1) {
  301. var context3 = uni.createCanvasContext('Canvas3');
  302. this.context3 = context3;
  303. context3.setStrokeStyle('#EEEEEE');
  304. context3.setLineWidth(caculateX * 20);
  305. context3.arc(caculateX * 90, caculateX * 90, caculateX * 80, 0, 2 * Math.PI, true);
  306. context3.stroke();
  307. context3.beginPath();
  308. context3.setStrokeStyle('#32D74B');
  309. context3.setFillStyle('#32D74B');
  310. context3.setTextAlign('center');
  311. context3.setTextBaseline('middle');
  312. context3.setLineCap('round');
  313. context3.setFontSize(caculateX * 64);
  314. context3.fillText((this.reportdata.performance + this.reportdata.score), caculateX * 90, caculateX * 90, caculateX * 180);
  315. context3.setFillStyle('#999999');
  316. context3.setFontSize(caculateX * 20);
  317. context3.fillText(`满分${this.reportdata.totalScore}`, caculateX * 90, caculateX * 130, caculateX * 180);
  318. context3.arc(caculateX * 90, caculateX * 90, caculateX * 80, -Math.PI/2, -Math.PI/2 + ((this.reportdata.performance + this.reportdata.score) / this.reportdata.totalScore) * 2 * Math.PI, false);
  319. context3.stroke();
  320. context3.draw();
  321. }
  322. });
  323. }
  324. });
  325. },
  326. getcourList() {
  327. this.$http({
  328. url: '/apply/recommend/goodsList',
  329. method: 'post',
  330. data: {
  331. examId: this.examId,
  332. pageNum: this.pageNum,
  333. pageSize: this.pageSize,
  334. }
  335. }).then((res) => {
  336. if (res.data.code == 200) {
  337. this.courseList.push(...res.data.rows)
  338. this.total = res.data.total
  339. }
  340. })
  341. },
  342. toBuy(item) {
  343. if (item.goodsType == 2) {
  344. uni.navigateTo({
  345. url: '/pages2/bank/detail?id='+item.goodsId
  346. })
  347. } else {
  348. // /pages5/liveDetail/index
  349. uni.navigateTo({
  350. url: '/pages3/course/detail?id='+item.goodsId + '&goodsType=' + item.goodsType
  351. })
  352. }
  353. },
  354. goLive() {
  355. let uuid = new Date().valueOf() + ""
  356. // buyCourse 是否购买课程:1是 0否
  357. let encode = encodeURIComponent(WEBVIEW_URL+'pages/live/index?token='+uni.getStorageSync('token')+'&userInfo='+JSON.stringify(this.userInfo)+'&channelId='
  358. +this.subscribeInfo.liveUrl+'&buyCourse=1'+'&ident='+uuid)
  359. uni.navigateTo({
  360. url:`../../pages/webview/index?url=`+encode
  361. })
  362. },
  363. mockSubscribeInfo(){
  364. this.$api.mockSubscribeInfo(this.subscribeId).then(res => {
  365. console.log('subscribeInfo', this.subscribeInfo)
  366. this.subscribeInfo = res.data.data
  367. })
  368. },
  369. openRemind() {
  370. this.noticeModal = false
  371. this.$api.mockSubscribeEdit({
  372. subscribeId:this.subscribeId,
  373. liveSubscribe:1,
  374. }).then(res => {
  375. if(res.data.code == 200) {
  376. this.mockSubscribeInfo()
  377. uni.showToast({
  378. icon:'none',
  379. title:'开启成功'
  380. })
  381. }
  382. })
  383. },
  384. bankExam(){
  385. return new Promise(resolve =>{
  386. this.$api.bankExam(this.examId).then(res => {
  387. this.examData = res.data.data;
  388. resolve()
  389. })
  390. })
  391. },
  392. /**
  393. * 去做题
  394. */
  395. async doRepeat(id, goodsId, moduleId = 0, chapterId = 0) {
  396. // await this.getDetail(goodsId);
  397. let count = await this.examRecordCount(id, goodsId);
  398. let answerNum = await this.getExamDetail(id);
  399. //超过答题次数
  400. if (answerNum > 0 && count >= answerNum) {
  401. this.$u.toast('该试卷只能答题' + answerNum + '次!');
  402. return;
  403. }
  404. var pages = getCurrentPages();
  405. var prepage = pages[pages.length - 2]; //上一个页面
  406. prepage.$vm.isRepeat = true;
  407. uni.redirectTo({
  408. url: '/pages5/examReport/questionBank?orderGoodsId='+this.orderGoodsId+'&id=' + id + '&goodsid=' + goodsId + '&moduleId=' + moduleId + '&chapterId=' + chapterId + ''
  409. });
  410. },
  411. /**
  412. * @param {Object} exam_id
  413. * 获取试卷可以做的次数
  414. */
  415. getExamDetail(exam_id) {
  416. return new Promise(resolve => {
  417. this.$api.getExamDetail(exam_id).then(res => {
  418. resolve(res.data.data.answerNum);
  419. });
  420. });
  421. },
  422. mockWrongRecordWrongNum() {
  423. return new Promise(resolve => {
  424. // /mock/wwrong/record/wrongNum/${data}
  425. this.$api.mockWrongRecordWrongNum(this.recordId).then(res => {
  426. this.wrongRecordWrongNum = res.data.data || 0;
  427. resolve();
  428. });
  429. });
  430. },
  431. /**
  432. * 查询试卷历史做题次数
  433. */
  434. examRecordCount(examId, goodsId) {
  435. return new Promise(resolve => {
  436. this.$api
  437. .examRecordCount({
  438. examId: examId,
  439. orderGoodsId: this.orderGoodsId,
  440. })
  441. .then(res => {
  442. resolve(res.data.data);
  443. });
  444. });
  445. },
  446. getDetail(id) {
  447. return new Promise(resolve => {
  448. this.$api.goodsDetail(id).then(res => {
  449. this.goodsData = res.data.data;
  450. resolve();
  451. });
  452. });
  453. },
  454. mockReport() {
  455. return new Promise(resolve => {
  456. // /mock/record/'+data
  457. this.$api.mockReport(this.recordId).then(res => {
  458. this.reportdata = res.data.data;
  459. this.getCanvas()
  460. resolve()
  461. });
  462. })
  463. }
  464. }
  465. };
  466. </script>
  467. <style>
  468. page {
  469. background-color: #eaeef1;
  470. }
  471. </style>
  472. <style lang="scss" scope>
  473. @import './indexCourseList.scss';
  474. .disNone {
  475. display: none;
  476. }
  477. .dis_fst {
  478. margin-top: 40rpx;
  479. display: flex;
  480. align-items: center;
  481. justify-content: space-around;
  482. }
  483. .btnACs {
  484. height: 48rpx;
  485. width: 160rpx;
  486. text-align: center;
  487. line-height: 48rpx;
  488. border: 1rpx solid #007aff;
  489. border-radius: 16rpx;
  490. color: #007aff;
  491. font-size: 24rpx;
  492. }
  493. .top {
  494. margin: 16rpx 16rpx 0;
  495. border-radius: 16rpx;
  496. padding: 40rpx 24rpx 16rpx;
  497. background: #fff;
  498. .title {
  499. font-size: 32rpx;
  500. font-weight: bold;
  501. color: #333333;
  502. }
  503. .desc {
  504. margin-top: 20rpx;
  505. font-size: 24rpx;
  506. color: #999999;
  507. }
  508. .box {
  509. margin-top: 30rpx;
  510. display: flex;
  511. .left {
  512. width: 250rpx;
  513. height: 272rpx;
  514. background: #f5f5f5;
  515. border-radius: 16rpx;
  516. display: flex;
  517. align-items: center;
  518. justify-content: center;
  519. flex-direction: column;
  520. margin-right: 16rpx;
  521. view {
  522. text-align: center;
  523. &:nth-of-type(1) {
  524. font-size: 60rpx;
  525. font-weight: bold;
  526. color: #007aff;
  527. }
  528. &:nth-of-type(2) {
  529. font-size: 32rpx;
  530. font-weight: bold;
  531. color: #333333;
  532. }
  533. &:nth-of-type(3) {
  534. font-size: 24rpx;
  535. color: #999999;
  536. }
  537. }
  538. }
  539. .right {
  540. flex: 1;
  541. display: flex;
  542. flex-direction: column;
  543. justify-content: space-between;
  544. .flex {
  545. background: #f5f5f5;
  546. display: flex;
  547. height: 80rpx;
  548. align-items: center;
  549. padding: 0 40rpx;
  550. border-radius: 16rpx;
  551. image {
  552. margin-right: 28rpx;
  553. &.right_num {
  554. width:26rpx;
  555. }
  556. &.out_num {
  557. width:38rpx;
  558. }
  559. &.wrong_num {
  560. width:30rpx;
  561. }
  562. }
  563. .text {
  564. flex: 1;
  565. font-size: 30rpx;
  566. color: #666666;
  567. }
  568. text {
  569. font-size: 48rpx;
  570. color: #e12626;
  571. &.red {
  572. color: #FF3B30;
  573. }
  574. &.green {
  575. color: #36C75A;
  576. }
  577. &.yellow {
  578. color:#FFC53D;
  579. }
  580. }
  581. }
  582. }
  583. }
  584. }
  585. .bottom {
  586. .circle-wrap {
  587. .circle-list {
  588. display: flex;
  589. .item {
  590. padding: 20rpx;
  591. border-radius: 16rpx;
  592. background: #fff;
  593. margin: 16rpx;
  594. flex: 1;
  595. .title {
  596. font-weight: bold;
  597. font-size: 30rpx;
  598. line-height: 24rpx;
  599. color: #333333;
  600. text {
  601. font-size: 20rpx;
  602. color: #999999;
  603. }
  604. }
  605. canvas {
  606. margin: 36rpx auto 0;
  607. width: 180rpx;
  608. height: 180rpx;
  609. }
  610. .text {
  611. text-align: center;
  612. margin-top: 16rpx;
  613. font-size: 24rpx;
  614. color: #333333;
  615. }
  616. }
  617. }
  618. }
  619. }
  620. .notice {
  621. background:#fff;
  622. padding:40rpx;
  623. .img {
  624. width:100%;
  625. }
  626. .text {
  627. text-align: center;
  628. font-size: 28rpx;
  629. color: #666666;
  630. line-height: 48rpx;
  631. .blue {
  632. color:#007AFF;
  633. }
  634. }
  635. .btn {
  636. text-align: center;
  637. line-height: 80rpx;
  638. margin:40rpx auto 0;
  639. width: 528rpx;
  640. height: 80rpx;
  641. background: #007AFF;
  642. border-radius: 40rpx;
  643. color:#fff;
  644. }
  645. }
  646. .notice__modal {
  647. .notice__content {
  648. width: 640rpx;
  649. height: 779rpx;
  650. background: #FFFFFF;
  651. display: flex;
  652. flex-direction: column;
  653. .body {
  654. flex:1;
  655. .content {
  656. padding:30rpx 40rpx 28rpx;
  657. line-height: 40rpx;
  658. font-size: 28rpx;
  659. color:#666;
  660. .img {
  661. width:100%;
  662. }
  663. .bold {
  664. color:#333;
  665. font-size: 32rpx;
  666. font-weight: bold;
  667. }
  668. .center {
  669. text-align: center;
  670. }
  671. .blue {
  672. color:#007AFF;
  673. }
  674. .text {
  675. margin-top:20rpx;
  676. }
  677. }
  678. }
  679. .footer {
  680. height:140rpx;
  681. border-top:1px solid #EEEEEE;
  682. display: flex;
  683. align-items: center;
  684. justify-content: center;
  685. .btn {
  686. margin:0 12rpx;
  687. width: 268rpx;
  688. height: 80rpx;
  689. color:#fff;
  690. font-size: 30rpx;
  691. text-align: center;
  692. line-height: 80rpx;
  693. background: #007AFF;
  694. border-radius: 40rpx 40rpx 40rpx 40rpx;
  695. &.close {
  696. color:#007AFF;
  697. background: #F5F5F5;
  698. border-radius: 40rpx 40rpx 40rpx 40rpx;
  699. }
  700. }
  701. }
  702. }
  703. }
  704. </style>