createList.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  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. this.dto = item;
  247. await this.getUserCategoryData()
  248. this.$api.get(`/core/member/listByQueTeamId/${this.dto.teamQuestionnaireId}`).then(({data:res})=>{
  249. if(res.code!==0) return this.$showToast(res.msg)
  250. this.teamUserList = res.data;
  251. this.originTeamUserList = res.data;
  252. this.teamUserList.forEach(l=>{
  253. l.categoryName = this.categoryData.find(c=>c.id==l.category)?.name;
  254. })
  255. this.teamUserShow = true
  256. })
  257. },
  258. handleConfirm(data){
  259. data.coachId = JSON.parse(uni.getStorageSync('userInfo')).id;
  260. this.$api.put('/core/user/team',data).then(({data:res})=>{
  261. if(res.code!==0) return this.$showToast(res.msg)
  262. this.$showToast('保存成功')
  263. this.teamInfoShow = false;
  264. })
  265. },
  266. handleAnswer(item){
  267. uni.navigateTo({
  268. url:'/pagesPublish/questionnaireFill?teamQuestionnaireId='+item.teamQuestionnaireId+'&teamId='+item.teamId+'&type='+item.type
  269. })
  270. },
  271. createReport(item){
  272. this.dto = item;
  273. this.createReportConfirm(item.teamQuestionnaireId)
  274. },
  275. createReportConfirm(teamQuestionnaireId){
  276. this.$api.get(`/core/team/questionnaire/generateReportCheck/${teamQuestionnaireId}`).then(({data:res})=>{
  277. if(res.code===0&&res.data===0){
  278. this.createReportFn(teamQuestionnaireId);
  279. }else if(res.code===0&&res.data>0){
  280. uni.showModal({
  281. title:'生成报告',
  282. content:`该问卷已生成${res.data??0}份报告,是否再次生成新报告?`,
  283. confirmColor:'#199C9C',
  284. success: (res) => {
  285. if(res.confirm){
  286. this.createReportFn(teamQuestionnaireId);
  287. }
  288. }
  289. })
  290. }else if(res.code!==0){
  291. uni.showModal({
  292. title:'生成报告',
  293. content:res.msg,
  294. showCancel:false,
  295. confirmColor:'#199C9C'
  296. })
  297. }
  298. this.show = false;
  299. })
  300. },
  301. createReportFn(teamQuestionnaireId){
  302. this.$api.get(`/core/team/questionnaire/genReport/${teamQuestionnaireId}`).then(({data:res})=>{
  303. this.show = false;
  304. uni.navigateTo({
  305. url:'/pagesHome/reportResult?result='+res.code+'&info='+encodeURIComponent(JSON.stringify(this.dto))
  306. })
  307. })
  308. },
  309. sendReport(item){
  310. },
  311. addUser(){
  312. uni.navigateTo({
  313. url:'/pagesMy/teamUser?type=select',
  314. events:{
  315. selectUserConfirm: data => {
  316. data.forEach((d,i)=>(this.$set(data[i],'status',0)));
  317. let newUser = this.filterUsers(this.teamUserList,data)
  318. this.teamUserList = [...this.teamUserList,...newUser];
  319. }
  320. }
  321. })
  322. },
  323. filterUsers(originArr,selectArr){
  324. const aValuesToExclude = new Set(originArr.map(item => item.id));
  325. return selectArr.filter(item => {
  326. return !aValuesToExclude.has(item.id);
  327. });
  328. },
  329. userConfirm(){
  330. if(this.teamUserList.length===0) return this.$showToast('至少保留一位团队人员');
  331. this.$api.get('/core/team/questionnaire/'+this.dto.teamQuestionnaireId).then(({data:res})=>{
  332. if(res.code!==0) return this.$showToast(res.msg)
  333. let dto = res.data;
  334. dto.coachId = JSON.parse(uni.getStorageSync('userInfo')).id;
  335. dto.delMemberIds = [...new Set(this.delMemberIds)];
  336. dto.memberList = this.teamUserList;
  337. dto.type = 2;
  338. delete dto.memberInfos;
  339. this.$api.put('/core/team/questionnaire/updateMembers',dto).then(({data:resu})=>{
  340. if(resu.code!==0) return this.$showToast(resu.msg)
  341. this.$showToast('操作成功')
  342. this.teamUserShow = false;
  343. // this.show = false;
  344. })
  345. })
  346. },
  347. deleteUser(data){
  348. let u = this.originTeamUserList.find(u=>u.id===data.item.id);
  349. if(u) this.delMemberIds=[...this.delMemberIds,u.id]
  350. this.teamUserList.splice(data.index,1);
  351. }
  352. }
  353. }
  354. </script>
  355. <style scoped lang="scss">
  356. .share-btn {
  357. background-color: transparent;
  358. border: none;
  359. padding: 0;
  360. margin: 0;
  361. line-height: 1;
  362. display: flex;
  363. flex-direction: column;
  364. justify-content: center;
  365. align-items: center;
  366. &::after {
  367. border: none;
  368. }
  369. }
  370. .qbox {
  371. width: 100%;
  372. height: 100%;
  373. flex: 1;
  374. .list {
  375. flex: 1;
  376. margin-top: 20rpx;
  377. overflow: hidden;
  378. &-item {
  379. width: 100%;
  380. background: #ffffff;
  381. border-radius: 24rpx;
  382. margin-top: 20rpx;
  383. padding: 36rpx 24rpx 19rpx;
  384. box-sizing: border-box;
  385. position: relative;
  386. display: block;
  387. .expand {
  388. width: 32rpx;
  389. height: 32rpx;
  390. position: absolute;
  391. top: 36rpx;
  392. right: 32rpx;
  393. }
  394. .title {
  395. width: calc(100% - 128rpx);
  396. font-family: PingFang-SC, PingFang-SC;
  397. font-weight: bold;
  398. font-size: 32rpx;
  399. color: #002846;
  400. line-height: 32rpx;
  401. }
  402. .name {
  403. font-family: PingFangSC, PingFang SC;
  404. font-weight: 400;
  405. font-size: 24rpx;
  406. color: #667e90;
  407. line-height: 24rpx;
  408. margin-top: 35rpx;
  409. }
  410. .progress {
  411. margin-top: 36rpx;
  412. &-left {
  413. width: calc(100% - 95rpx);
  414. &-text {
  415. font-family: PingFangSC, PingFang SC;
  416. font-weight: 400;
  417. font-size: 24rpx;
  418. color: #667e90;
  419. line-height: 24rpx;
  420. }
  421. &-box {
  422. flex: 1;
  423. position: relative;
  424. height: 12rpx;
  425. background: #f0f2f8;
  426. border-radius: 6rpx;
  427. &-current {
  428. height: 12rpx;
  429. background: #7cc5c5;
  430. border-radius: 6rpx;
  431. position: absolute;
  432. top: 0;
  433. left: 0;
  434. }
  435. }
  436. }
  437. &-right {
  438. font-size: 24rpx;
  439. line-height: 24rpx;
  440. color: #95a5b1;
  441. span {
  442. font-size: 24rpx;
  443. line-height: 24rpx;
  444. color: #002846;
  445. }
  446. }
  447. }
  448. .bottom {
  449. margin-top: 30rpx;
  450. border-top: 1rpx solid #efefef;
  451. padding-top: 20rpx;
  452. &-left {
  453. font-family: PingFangSC, PingFang SC;
  454. font-weight: 400;
  455. font-size: 24rpx;
  456. color: #667e90;
  457. line-height: 24rpx;
  458. }
  459. &-right {
  460. border-radius: 32rpx;
  461. background: linear-gradient(90deg, #33a7a7 0%, #4db2b2 100%);
  462. padding: 19rpx 22rpx;
  463. font-family: PingFangSC, PingFang SC;
  464. font-weight: 400;
  465. font-size: 26rpx;
  466. color: #ffffff;
  467. line-height: 26rpx;
  468. letter-spacing: 2rpx;
  469. }
  470. }
  471. }
  472. }
  473. .empty {
  474. flex: 1;
  475. }
  476. .dialog {
  477. position: fixed;
  478. left: 0;
  479. right: 0;
  480. top: 0;
  481. bottom: 0;
  482. background: rgba(0, 0, 0, 0.4);
  483. z-index: 1001;
  484. justify-content: flex-end;
  485. .dbox {
  486. width: 100%;
  487. height: 738rpx;
  488. background: #ffffff;
  489. box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0, 0, 0, 0.07);
  490. border-radius: 24rpx 24rpx 0rpx 0rpx;
  491. padding: 48rpx 30rpx 0;
  492. box-sizing: border-box;
  493. &-top {
  494. &-title {
  495. width: calc(100% - 60rpx);
  496. font-family: PingFang-SC, PingFang-SC;
  497. font-weight: bold;
  498. font-size: 32rpx;
  499. color: #002846;
  500. line-height: 40rpx;
  501. }
  502. &-expand {
  503. width: 32rpx;
  504. height: 32rpx;
  505. transform: rotate(180deg);
  506. }
  507. }
  508. &-name {
  509. font-family: PingFangSC, PingFang SC;
  510. font-weight: 400;
  511. font-size: 24rpx;
  512. color: #667e90;
  513. line-height: 24rpx;
  514. margin-top: 24rpx;
  515. }
  516. &-progress {
  517. margin-top: 36rpx;
  518. &-left {
  519. width: calc(100% - 95rpx);
  520. &-text {
  521. font-family: PingFangSC, PingFang SC;
  522. font-weight: 400;
  523. font-size: 24rpx;
  524. color: #667e90;
  525. line-height: 24rpx;
  526. }
  527. &-box {
  528. flex: 1;
  529. position: relative;
  530. height: 12rpx;
  531. background: #f0f2f8;
  532. border-radius: 6rpx;
  533. &-current {
  534. height: 12rpx;
  535. background: #7cc5c5;
  536. border-radius: 6rpx;
  537. position: absolute;
  538. top: 0;
  539. left: 0;
  540. }
  541. }
  542. }
  543. &-right {
  544. font-size: 24rpx;
  545. line-height: 24rpx;
  546. color: #95a5b1;
  547. span {
  548. font-size: 24rpx;
  549. line-height: 24rpx;
  550. color: #002846;
  551. }
  552. }
  553. }
  554. &-menu {
  555. margin-top: 43rpx;
  556. overflow: hidden;
  557. margin-left: -30rpx;
  558. &-pre {
  559. width: calc(25% - 30rpx);
  560. background: #f7f8fa;
  561. border-radius: 24rpx;
  562. padding: 30rpx 20rpx;
  563. margin-top: 24rpx;
  564. margin-left: 30rpx;
  565. box-sizing: border-box;
  566. float: left;
  567. image {
  568. width: 42rpx;
  569. height: 42rpx;
  570. }
  571. text {
  572. font-family: PingFangSC, PingFang SC;
  573. font-weight: 400;
  574. font-size: 24rpx;
  575. color: #002846;
  576. line-height: 24rpx;
  577. text-align: center;
  578. margin-top: 24rpx;
  579. }
  580. }
  581. }
  582. }
  583. &-box {
  584. width: 100%;
  585. height: 1200rpx;
  586. background: #f7f7f7;
  587. padding-top: 38rpx;
  588. border-radius: 24rpx 24rpx 0rpx 0rpx;
  589. box-sizing: border-box;
  590. position: relative;
  591. overflow-y: auto;
  592. &-title {
  593. font-family: PingFang-SC, PingFang-SC;
  594. font-weight: bold;
  595. font-size: 32rpx;
  596. color: #002846;
  597. line-height: 32rpx;
  598. text-align: center;
  599. }
  600. &-close {
  601. width: 48rpx;
  602. height: 48rpx;
  603. position: absolute;
  604. top: 30rpx;
  605. right: 30rpx;
  606. }
  607. &-teaminfo {
  608. margin-top: 40rpx;
  609. }
  610. }
  611. }
  612. .alert {
  613. position: fixed;
  614. left: 0;
  615. right: 0;
  616. top: 0;
  617. bottom: 0;
  618. z-index: 1002;
  619. background: rgba(0, 0, 0, 0.4);
  620. &-box {
  621. width: calc(100% - 100rpx);
  622. padding: 54rpx 99rpx 48rpx;
  623. box-sizing: border-box;
  624. position: relative;
  625. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/alert_bg.png') no-repeat;
  626. background-size: 100% 100%;
  627. &-title {
  628. font-family: PingFang-SC, PingFang-SC;
  629. font-weight: bold;
  630. font-size: 36rpx;
  631. color: #002846;
  632. line-height: 56rpx;
  633. text-align: center;
  634. }
  635. &-close {
  636. width: 48rpx;
  637. height: 48rpx;
  638. position: absolute;
  639. top: 40rpx;
  640. right: 30rpx;
  641. }
  642. &-text {
  643. font-family: PingFangSC, PingFang SC;
  644. font-weight: 400;
  645. font-size: 30rpx;
  646. color: #002846;
  647. line-height: 48rpx;
  648. text-align: center;
  649. margin-top: 32rpx;
  650. }
  651. .zt_btn {
  652. margin-top: 66rpx;
  653. }
  654. }
  655. }
  656. }
  657. </style>