createList.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. <template>
  2. <view class="qbox adffc">
  3. <view class="list" v-if="list.length">
  4. <up-list @scrolltolower="scrolltolower" style="height: 100%">
  5. <up-list-item class="list-item" v-for="(item, index) in list" :key="index">
  6. <view @click.prevent="showDialog(item)">
  7. <image class="expand" :src="imgBase + 'questionnaire_icon_down.png'"></image>
  8. <view class="title">{{ item.title || '' }}</view>
  9. <view class="name">团队名称:{{ item.teamName || '' }}</view>
  10. <view class="progress adfacjb" @click.stop="showTeamUser(item)">
  11. <view class="progress-left adfac">
  12. <view class="progress-left-text">作答进度:</view>
  13. <view class="progress-left-box">
  14. <view class="progress-left-box-current" :style="{ width: (item.finishNum / item.userNum) * 100 + '%' }"></view>
  15. </view>
  16. </view>
  17. <view class="progress-right">
  18. <span>{{ item.finishNum }}/</span>
  19. {{ item.userNum }}
  20. </view>
  21. </view>
  22. <view class="bottom adfacjb">
  23. <view class="bottom-left">截止时间:{{ item.endTime }}</view>
  24. <view class="bottom-right" v-if="item.status === 0 && item.type == 1" @click.stop="handleAnswer(item)">立即作答</view>
  25. <view class="bottom-right" v-else-if="item.status === 1 && !item.fileUrl" @click.stop="createReport(item)">生成报告</view>
  26. </view>
  27. </view>
  28. </up-list-item>
  29. </up-list>
  30. </view>
  31. <view class="empty" v-else>
  32. <page-empty></page-empty>
  33. </view>
  34. <view class="dialog adffc" v-if="show">
  35. <view class="dbox">
  36. <view class="dbox-top adfacjb">
  37. <view class="dbox-top-title">{{ dto.title || '' }}</view>
  38. <image class="dbox-top-expand" :src="imgBase + 'questionnaire_icon_down.png'" @click="show = false"></image>
  39. </view>
  40. <view class="dbox-name">团队名称:{{ dto.teamName || '' }}</view>
  41. <view class="dbox-progress adfacjb">
  42. <view class="dbox-progress-left adfac">
  43. <view class="dbox-progress-left-text">作答进度:</view>
  44. <view class="dbox-progress-left-box">
  45. <view class="dbox-progress-left-box-current" :style="{ width: (dto.finishNum / dto.userNum) * 100 + '%' }"></view>
  46. </view>
  47. </view>
  48. <view class="dbox-progress-right">
  49. <span>{{ dto.finishNum }}/</span>
  50. {{ dto.userNum }}
  51. </view>
  52. </view>
  53. <view class="dbox-menu">
  54. <view class="dbox-menu-pre adffcac" v-for="(item, index) in menuListCopy" :key="index" @click="handleMenuClick(item, index)">
  55. <template v-if="item.text === '分享问卷'">
  56. <button class="share-btn" open-type="share">
  57. <image :src="item.img"></image>
  58. <text>{{ item.text }}</text>
  59. </button>
  60. </template>
  61. <template v-else>
  62. <image :src="item.img"></image>
  63. <text>{{ item.text }}</text>
  64. </template>
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="dialog adffc" v-if="teamInfoShow">
  70. <view class="dialog-box">
  71. <view class="dialog-box-title">团队信息</view>
  72. <image class="dialog-box-close" :src="imgBase + 'remind_close.png'" @click="teamInfoShow = false"></image>
  73. <view class="dialog-box-teaminfo">
  74. <cus-team-info-fill ref="teamRef" confirmText="保存" @handleConfirm="handleConfirm"></cus-team-info-fill>
  75. </view>
  76. </view>
  77. </view>
  78. <div class="alert adffcacjc" v-if="alertShow">
  79. <div class="alert-box">
  80. <div class="alert-box-title">温馨提示</div>
  81. <image :src="imgBase + 'remind_close.png'" class="alert-box-close" @click="alertShow = false"></image>
  82. <div class="alert-box-text">
  83. 该问卷尚未生成报告
  84. <br />
  85. 请确认团队人员是否全部作答
  86. <br />
  87. 完成后点击生成报告
  88. </div>
  89. <div class="zt_btn" @click="alertShow = false">我知道了</div>
  90. </div>
  91. </div>
  92. <cus-team-user
  93. :deluser="true"
  94. :show="teamUserShow"
  95. :list="teamUserList"
  96. @close="teamUserShow = false"
  97. @addUser="addUser"
  98. @handleConfirm="userConfirm"
  99. @deleteUser="deleteUser"
  100. ></cus-team-user>
  101. </view>
  102. </template>
  103. <script>
  104. import PageEmpty from '@/components/pageEmpty/index.vue'
  105. import CusTeamUser from '@/components/CusTeamUser/index.vue'
  106. import CusTeamInfoFill from '@/components/CusTeamInfoFill/index.vue'
  107. export default {
  108. components:{ PageEmpty, CusTeamUser, CusTeamInfoFill },
  109. props:{
  110. list:{
  111. typeof:Array,
  112. default:[]
  113. }
  114. },
  115. data(){
  116. return {
  117. show:false,
  118. teamInfoShow:false,
  119. teamUserShow:false,
  120. alertShow:false,
  121. dto:null,
  122. menuList:[
  123. {
  124. img:this.$imgBase+'questionnaire_edit.png',
  125. text:'编辑问卷'
  126. },
  127. {
  128. img:this.$imgBase+'questionnaire_share.png',
  129. text:'分享问卷'
  130. },
  131. {
  132. img:this.$imgBase+'questionnaire_info.png',
  133. text:'团队信息'
  134. },
  135. {
  136. img:this.$imgBase+'questionnaire_copy.png',
  137. text:'复制链接'
  138. },
  139. {
  140. img:this.$imgBase+'questionnaire_users.png',
  141. text:'团队人员'
  142. },
  143. {
  144. img:this.$imgBase+'questionnaire_report.png',
  145. text:'生成报告'
  146. }
  147. ],
  148. menuListCopy:[],
  149. teamUserList:[],
  150. originTeamUserList:[],
  151. teamScaleData:[],
  152. teamLevelData:[],
  153. categoryData:[],
  154. delMemberIds:[],
  155. }
  156. },
  157. methods:{
  158. scrolltolower(){
  159. this.$emit('scrolltolower')
  160. },
  161. showDialog(item){
  162. this.dto = item;
  163. if(this.dto.type==1) this.menuListCopy = this.menuList.filter((_, index) => index !== 4);
  164. else this.menuListCopy = JSON.parse(JSON.stringify(this.menuList))
  165. this.show = true;
  166. this.$emit('showDialogFn',item);
  167. },
  168. async getTeamScaleData(){
  169. return new Promise((resolve,reject)=>{
  170. this.$api.get('/getListByType/team_scale').then(({data:res})=>{
  171. if(res.code!==0) return this.$showToast(res.msg)
  172. this.teamScaleData = res.data.map(d=>({name:d.dictLabel,id:d.dictValue}))
  173. resolve()
  174. })
  175. })
  176. },
  177. async getTeamHierarchyData(){
  178. return new Promise((resolve,reject)=>{
  179. this.$api.get('/getListByType/team_hierarchy').then(({data:res})=>{
  180. if(res.code!==0) return this.$showToast(res.msg)
  181. this.teamLevelData = res.data.map(d=>({name:d.dictLabel,id:d.dictValue}))
  182. resolve()
  183. })
  184. })
  185. },
  186. async getUserCategoryData(){
  187. return new Promise((resolve,reject)=>{
  188. this.$api.get('/getListByType/UserCategory').then(({data:res})=>{
  189. if(res.code!==0) return this.$showToast(res.msg)
  190. this.categoryData = res.data.map(d=>({name:d.dictLabel,id:d.dictValue}))
  191. resolve()
  192. })
  193. })
  194. },
  195. async handleMenuClick(item){
  196. if(item.text==='编辑问卷'){
  197. uni.navigateTo({
  198. url:`/pagesHome/questionnaireEdit?teamQuestionnaireId=${this.dto.teamQuestionnaireId}&type=${this.dto.type}&questionnaireName=${this.dto.title}&isEdit=true`
  199. })
  200. this.show = false;
  201. }else if(item.text==='分享问卷'){
  202. }else if(item.text==='团队信息'){
  203. this.teamInfoShow = true;
  204. await this.getTeamScaleData()
  205. await this.getTeamHierarchyData()
  206. this.$api.get(`/core/user/team/${this.dto.teamId}`).then(({data:res})=>{
  207. if(res.code!==0) return this.$showToast(res.msg)
  208. this.$refs.teamRef.setTeamInfo(res.data)
  209. this.$refs.teamRef.teamInfo.functionIds = res.data.functions.map(f=>f.id);
  210. this.$refs.teamRef.teamInfo.orgIds = res.data.organizations.map(o=>o.id);
  211. this.$refs.teamRef.areaText = res.data.provinceName+res.data.cityName;
  212. this.$refs.teamRef.industryText = res.data.industryName;
  213. this.$refs.teamRef.functionTypeText = res.data.functions.map(f=>f.functionName).join('、');
  214. this.$refs.teamRef.architectureTypeText = res.data.organizations.map(f=>f.orgName).join('、');
  215. this.$refs.teamRef.teamScaleText = this.teamScaleData.find(d=>d.id==res.data.scale).name;
  216. this.$refs.teamRef.teamLevelText = this.teamLevelData.find(d=>d.id==res.data.hierarchy).name;
  217. })
  218. }
  219. else if(item.text==='复制链接') {
  220. let shareUserId = JSON.parse(uni.getStorageSync('userInfo')).id;
  221. let res = await this.$api.post('/wx/genInviteLink',{
  222. 'path': '',
  223. 'query': `shareTQId=${this.dto.teamQuestionnaireId}&shareUserId=${shareUserId}&shareType=Questionnaire`,
  224. 'env_version': 'trial'//默认"release",正式版"release",体验版"trial",开发版"develop"
  225. });
  226. if(res.data.code!==0) return this.$showToast(res.data.msg)
  227. uni.setClipboardData({
  228. data:res.data.data.openlink,
  229. success: () => {
  230. this.$showToast('复制成功')
  231. },
  232. fail: () => {
  233. this.$showToast('复制失败')
  234. }
  235. })
  236. }
  237. else if(item.text==='团队人员'){
  238. this.showTeamUser(this.dto);
  239. }
  240. else if(item.text==='生成报告'){
  241. if(this.dto.status==0) return this.$showToast('问卷未完成,全部团队人员作答后才能生成报告')
  242. this.createReportConfirm(this.dto.teamQuestionnaireId)
  243. }
  244. },
  245. async showTeamUser(item){
  246. if(item.type==1) return
  247. this.dto = item;
  248. await this.getUserCategoryData()
  249. this.$api.get(`/core/member/listByQueTeamId/${this.dto.teamQuestionnaireId}`).then(({data:res})=>{
  250. if(res.code!==0) return this.$showToast(res.msg)
  251. this.teamUserList = res.data;
  252. this.originTeamUserList = res.data;
  253. this.teamUserList.forEach(l=>{
  254. l.categoryName = this.categoryData.find(c=>c.id==l.category)?.name;
  255. })
  256. this.teamUserShow = true
  257. })
  258. },
  259. handleConfirm(data){
  260. data.coachId = JSON.parse(uni.getStorageSync('userInfo')).id;
  261. this.$api.put('/core/user/team',data).then(({data:res})=>{
  262. if(res.code!==0) return this.$showToast(res.msg)
  263. this.$showToast('保存成功')
  264. this.teamInfoShow = false;
  265. })
  266. },
  267. handleAnswer(item){
  268. uni.navigateTo({
  269. url:'/pagesPublish/questionnaireFill?teamQuestionnaireId='+item.teamQuestionnaireId+'&teamId='+item.teamId+'&type='+item.type
  270. })
  271. },
  272. createReport(item){
  273. this.dto = item;
  274. this.createReportConfirm(item.teamQuestionnaireId)
  275. },
  276. createReportConfirm(teamQuestionnaireId){
  277. this.$api.get(`/core/team/questionnaire/generateReportCheck/${teamQuestionnaireId}`).then(({data:res})=>{
  278. if(res.code===0&&res.data===0){
  279. this.createReportFn(teamQuestionnaireId);
  280. }else if(res.code===0&&res.data>0){
  281. uni.showModal({
  282. title:'生成报告',
  283. content:`该问卷已生成${res.data??0}份报告,是否再次生成新报告?`,
  284. confirmColor:'#199C9C',
  285. success: (res) => {
  286. if(res.confirm){
  287. this.createReportFn(teamQuestionnaireId);
  288. }
  289. }
  290. })
  291. }else if(res.code!==0){
  292. uni.showModal({
  293. title:'生成报告',
  294. content:res.msg,
  295. showCancel:false,
  296. confirmColor:'#199C9C'
  297. })
  298. }
  299. this.show = false;
  300. })
  301. },
  302. createReportFn(teamQuestionnaireId){
  303. this.$api.get(`/core/team/questionnaire/genReport/${teamQuestionnaireId}`).then(({data:res})=>{
  304. this.show = false;
  305. uni.navigateTo({
  306. url:'/pagesHome/reportResult?result='+res.code+'&info='+encodeURIComponent(JSON.stringify(this.dto))
  307. })
  308. })
  309. },
  310. sendReport(item){
  311. },
  312. addUser(){
  313. uni.navigateTo({
  314. url:'/pagesMy/teamUser?type=select',
  315. events:{
  316. selectUserConfirm: data => {
  317. data.forEach((d,i)=>(this.$set(data[i],'status',0)));
  318. let newUser = this.filterUsers(this.teamUserList,data)
  319. this.teamUserList = [...this.teamUserList,...newUser];
  320. }
  321. }
  322. })
  323. },
  324. filterUsers(originArr,selectArr){
  325. const aValuesToExclude = new Set(originArr.map(item => item.id));
  326. return selectArr.filter(item => {
  327. return !aValuesToExclude.has(item.id);
  328. });
  329. },
  330. userConfirm(){
  331. if(this.teamUserList.length===0) return this.$showToast('至少保留一位团队人员');
  332. this.$api.get('/core/team/questionnaire/'+this.dto.teamQuestionnaireId).then(({data:res})=>{
  333. if(res.code!==0) return this.$showToast(res.msg)
  334. let dto = res.data;
  335. dto.coachId = JSON.parse(uni.getStorageSync('userInfo')).id;
  336. dto.delMemberIds = [...new Set(this.delMemberIds)];
  337. dto.memberList = this.teamUserList;
  338. dto.type = 2;
  339. delete dto.memberInfos;
  340. this.$api.put('/core/team/questionnaire/updateMembers',dto).then(({data:resu})=>{
  341. if(resu.code!==0) return this.$showToast(resu.msg)
  342. this.$showToast('操作成功')
  343. this.teamUserShow = false;
  344. // this.show = false;
  345. })
  346. })
  347. },
  348. deleteUser(data){
  349. let u = this.originTeamUserList.find(u=>u.id===data.item.id);
  350. if(u) this.delMemberIds=[...this.delMemberIds,u.id]
  351. this.teamUserList.splice(data.index,1);
  352. }
  353. }
  354. }
  355. </script>
  356. <style scoped lang="scss">
  357. .share-btn {
  358. background-color: transparent;
  359. border: none;
  360. padding: 0;
  361. margin: 0;
  362. line-height: 1;
  363. display: flex;
  364. flex-direction: column;
  365. justify-content: center;
  366. align-items: center;
  367. &::after {
  368. border: none;
  369. }
  370. }
  371. .qbox {
  372. width: 100%;
  373. height: 100%;
  374. .list {
  375. flex: 1;
  376. margin-top: 20rpx;
  377. &-item {
  378. width: 100%;
  379. background: #ffffff;
  380. border-radius: 24rpx;
  381. margin-top: 20rpx;
  382. padding: 36rpx 24rpx 19rpx;
  383. box-sizing: border-box;
  384. position: relative;
  385. display: block;
  386. &:first-child{
  387. margin-top: 0;
  388. }
  389. .expand {
  390. width: 32rpx;
  391. height: 32rpx;
  392. position: absolute;
  393. top: 36rpx;
  394. right: 32rpx;
  395. }
  396. .title {
  397. width: calc(100% - 128rpx);
  398. font-family: PingFang-SC, PingFang-SC;
  399. font-weight: bold;
  400. font-size: 32rpx;
  401. color: #002846;
  402. line-height: 32rpx;
  403. }
  404. .name {
  405. font-family: PingFangSC, PingFang SC;
  406. font-weight: 400;
  407. font-size: 24rpx;
  408. color: #667e90;
  409. line-height: 24rpx;
  410. margin-top: 35rpx;
  411. }
  412. .progress {
  413. margin-top: 36rpx;
  414. &-left {
  415. width: calc(100% - 95rpx);
  416. &-text {
  417. font-family: PingFangSC, PingFang SC;
  418. font-weight: 400;
  419. font-size: 24rpx;
  420. color: #667e90;
  421. line-height: 24rpx;
  422. }
  423. &-box {
  424. flex: 1;
  425. position: relative;
  426. height: 12rpx;
  427. background: #f0f2f8;
  428. border-radius: 6rpx;
  429. &-current {
  430. height: 12rpx;
  431. background: #7cc5c5;
  432. border-radius: 6rpx;
  433. position: absolute;
  434. top: 0;
  435. left: 0;
  436. }
  437. }
  438. }
  439. &-right {
  440. font-size: 24rpx;
  441. line-height: 24rpx;
  442. color: #95a5b1;
  443. span {
  444. font-size: 24rpx;
  445. line-height: 24rpx;
  446. color: #002846;
  447. }
  448. }
  449. }
  450. .bottom {
  451. margin-top: 30rpx;
  452. border-top: 1rpx solid #efefef;
  453. padding-top: 20rpx;
  454. &-left {
  455. font-family: PingFangSC, PingFang SC;
  456. font-weight: 400;
  457. font-size: 24rpx;
  458. color: #667e90;
  459. line-height: 24rpx;
  460. }
  461. &-right {
  462. border-radius: 32rpx;
  463. background: linear-gradient(90deg, #33a7a7 0%, #4db2b2 100%);
  464. padding: 19rpx 22rpx;
  465. font-family: PingFangSC, PingFang SC;
  466. font-weight: 400;
  467. font-size: 26rpx;
  468. color: #ffffff;
  469. line-height: 26rpx;
  470. letter-spacing: 2rpx;
  471. }
  472. }
  473. }
  474. }
  475. .empty {
  476. flex: 1;
  477. }
  478. .dialog {
  479. position: fixed;
  480. left: 0;
  481. right: 0;
  482. top: 0;
  483. bottom: 0;
  484. background: rgba(0, 0, 0, 0.4);
  485. z-index: 1001;
  486. justify-content: flex-end;
  487. .dbox {
  488. width: 100%;
  489. height: 738rpx;
  490. background: #ffffff;
  491. box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0, 0, 0, 0.07);
  492. border-radius: 24rpx 24rpx 0rpx 0rpx;
  493. padding: 48rpx 30rpx 0;
  494. box-sizing: border-box;
  495. &-top {
  496. &-title {
  497. width: calc(100% - 60rpx);
  498. font-family: PingFang-SC, PingFang-SC;
  499. font-weight: bold;
  500. font-size: 32rpx;
  501. color: #002846;
  502. line-height: 40rpx;
  503. }
  504. &-expand {
  505. width: 32rpx;
  506. height: 32rpx;
  507. transform: rotate(180deg);
  508. }
  509. }
  510. &-name {
  511. font-family: PingFangSC, PingFang SC;
  512. font-weight: 400;
  513. font-size: 24rpx;
  514. color: #667e90;
  515. line-height: 24rpx;
  516. margin-top: 24rpx;
  517. }
  518. &-progress {
  519. margin-top: 36rpx;
  520. &-left {
  521. width: calc(100% - 95rpx);
  522. &-text {
  523. font-family: PingFangSC, PingFang SC;
  524. font-weight: 400;
  525. font-size: 24rpx;
  526. color: #667e90;
  527. line-height: 24rpx;
  528. }
  529. &-box {
  530. flex: 1;
  531. position: relative;
  532. height: 12rpx;
  533. background: #f0f2f8;
  534. border-radius: 6rpx;
  535. &-current {
  536. height: 12rpx;
  537. background: #7cc5c5;
  538. border-radius: 6rpx;
  539. position: absolute;
  540. top: 0;
  541. left: 0;
  542. }
  543. }
  544. }
  545. &-right {
  546. font-size: 24rpx;
  547. line-height: 24rpx;
  548. color: #95a5b1;
  549. span {
  550. font-size: 24rpx;
  551. line-height: 24rpx;
  552. color: #002846;
  553. }
  554. }
  555. }
  556. &-menu {
  557. margin-top: 43rpx;
  558. overflow: hidden;
  559. margin-left: -30rpx;
  560. &-pre {
  561. width: calc(25% - 30rpx);
  562. background: #f7f8fa;
  563. border-radius: 24rpx;
  564. padding: 30rpx 20rpx;
  565. margin-top: 24rpx;
  566. margin-left: 30rpx;
  567. box-sizing: border-box;
  568. float: left;
  569. image {
  570. width: 42rpx;
  571. height: 42rpx;
  572. }
  573. text {
  574. font-family: PingFangSC, PingFang SC;
  575. font-weight: 400;
  576. font-size: 24rpx;
  577. color: #002846;
  578. line-height: 24rpx;
  579. text-align: center;
  580. margin-top: 24rpx;
  581. }
  582. }
  583. }
  584. }
  585. &-box {
  586. width: 100%;
  587. height: 1200rpx;
  588. background: #f7f7f7;
  589. padding-top: 38rpx;
  590. border-radius: 24rpx 24rpx 0rpx 0rpx;
  591. box-sizing: border-box;
  592. position: relative;
  593. overflow-y: auto;
  594. &-title {
  595. font-family: PingFang-SC, PingFang-SC;
  596. font-weight: bold;
  597. font-size: 32rpx;
  598. color: #002846;
  599. line-height: 32rpx;
  600. text-align: center;
  601. }
  602. &-close {
  603. width: 48rpx;
  604. height: 48rpx;
  605. position: absolute;
  606. top: 30rpx;
  607. right: 30rpx;
  608. }
  609. &-teaminfo {
  610. margin-top: 40rpx;
  611. }
  612. }
  613. }
  614. .alert {
  615. position: fixed;
  616. left: 0;
  617. right: 0;
  618. top: 0;
  619. bottom: 0;
  620. z-index: 1002;
  621. background: rgba(0, 0, 0, 0.4);
  622. &-box {
  623. width: calc(100% - 100rpx);
  624. padding: 54rpx 99rpx 48rpx;
  625. box-sizing: border-box;
  626. position: relative;
  627. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/alert_bg.png') no-repeat;
  628. background-size: 100% 100%;
  629. &-title {
  630. font-family: PingFang-SC, PingFang-SC;
  631. font-weight: bold;
  632. font-size: 36rpx;
  633. color: #002846;
  634. line-height: 56rpx;
  635. text-align: center;
  636. }
  637. &-close {
  638. width: 48rpx;
  639. height: 48rpx;
  640. position: absolute;
  641. top: 40rpx;
  642. right: 30rpx;
  643. }
  644. &-text {
  645. font-family: PingFangSC, PingFang SC;
  646. font-weight: 400;
  647. font-size: 30rpx;
  648. color: #002846;
  649. line-height: 48rpx;
  650. text-align: center;
  651. margin-top: 32rpx;
  652. }
  653. .zt_btn {
  654. margin-top: 66rpx;
  655. }
  656. }
  657. }
  658. }
  659. </style>