createList.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  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. flex: 1;
  375. .list {
  376. flex: 1;
  377. margin-top: 20rpx;
  378. overflow: hidden;
  379. &-item {
  380. width: 100%;
  381. background: #ffffff;
  382. border-radius: 24rpx;
  383. margin-top: 20rpx;
  384. padding: 36rpx 24rpx 19rpx;
  385. box-sizing: border-box;
  386. position: relative;
  387. display: block;
  388. .expand {
  389. width: 32rpx;
  390. height: 32rpx;
  391. position: absolute;
  392. top: 36rpx;
  393. right: 32rpx;
  394. }
  395. .title {
  396. width: calc(100% - 128rpx);
  397. font-family: PingFang-SC, PingFang-SC;
  398. font-weight: bold;
  399. font-size: 32rpx;
  400. color: #002846;
  401. line-height: 32rpx;
  402. }
  403. .name {
  404. font-family: PingFangSC, PingFang SC;
  405. font-weight: 400;
  406. font-size: 24rpx;
  407. color: #667e90;
  408. line-height: 24rpx;
  409. margin-top: 35rpx;
  410. }
  411. .progress {
  412. margin-top: 36rpx;
  413. &-left {
  414. width: calc(100% - 95rpx);
  415. &-text {
  416. font-family: PingFangSC, PingFang SC;
  417. font-weight: 400;
  418. font-size: 24rpx;
  419. color: #667e90;
  420. line-height: 24rpx;
  421. }
  422. &-box {
  423. flex: 1;
  424. position: relative;
  425. height: 12rpx;
  426. background: #f0f2f8;
  427. border-radius: 6rpx;
  428. &-current {
  429. height: 12rpx;
  430. background: #7cc5c5;
  431. border-radius: 6rpx;
  432. position: absolute;
  433. top: 0;
  434. left: 0;
  435. }
  436. }
  437. }
  438. &-right {
  439. font-size: 24rpx;
  440. line-height: 24rpx;
  441. color: #95a5b1;
  442. span {
  443. font-size: 24rpx;
  444. line-height: 24rpx;
  445. color: #002846;
  446. }
  447. }
  448. }
  449. .bottom {
  450. margin-top: 30rpx;
  451. border-top: 1rpx solid #efefef;
  452. padding-top: 20rpx;
  453. &-left {
  454. font-family: PingFangSC, PingFang SC;
  455. font-weight: 400;
  456. font-size: 24rpx;
  457. color: #667e90;
  458. line-height: 24rpx;
  459. }
  460. &-right {
  461. border-radius: 32rpx;
  462. background: linear-gradient(90deg, #33a7a7 0%, #4db2b2 100%);
  463. padding: 19rpx 22rpx;
  464. font-family: PingFangSC, PingFang SC;
  465. font-weight: 400;
  466. font-size: 26rpx;
  467. color: #ffffff;
  468. line-height: 26rpx;
  469. letter-spacing: 2rpx;
  470. }
  471. }
  472. }
  473. }
  474. .empty {
  475. flex: 1;
  476. }
  477. .dialog {
  478. position: fixed;
  479. left: 0;
  480. right: 0;
  481. top: 0;
  482. bottom: 0;
  483. background: rgba(0, 0, 0, 0.4);
  484. z-index: 1001;
  485. justify-content: flex-end;
  486. .dbox {
  487. width: 100%;
  488. height: 738rpx;
  489. background: #ffffff;
  490. box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0, 0, 0, 0.07);
  491. border-radius: 24rpx 24rpx 0rpx 0rpx;
  492. padding: 48rpx 30rpx 0;
  493. box-sizing: border-box;
  494. &-top {
  495. &-title {
  496. width: calc(100% - 60rpx);
  497. font-family: PingFang-SC, PingFang-SC;
  498. font-weight: bold;
  499. font-size: 32rpx;
  500. color: #002846;
  501. line-height: 40rpx;
  502. }
  503. &-expand {
  504. width: 32rpx;
  505. height: 32rpx;
  506. transform: rotate(180deg);
  507. }
  508. }
  509. &-name {
  510. font-family: PingFangSC, PingFang SC;
  511. font-weight: 400;
  512. font-size: 24rpx;
  513. color: #667e90;
  514. line-height: 24rpx;
  515. margin-top: 24rpx;
  516. }
  517. &-progress {
  518. margin-top: 36rpx;
  519. &-left {
  520. width: calc(100% - 95rpx);
  521. &-text {
  522. font-family: PingFangSC, PingFang SC;
  523. font-weight: 400;
  524. font-size: 24rpx;
  525. color: #667e90;
  526. line-height: 24rpx;
  527. }
  528. &-box {
  529. flex: 1;
  530. position: relative;
  531. height: 12rpx;
  532. background: #f0f2f8;
  533. border-radius: 6rpx;
  534. &-current {
  535. height: 12rpx;
  536. background: #7cc5c5;
  537. border-radius: 6rpx;
  538. position: absolute;
  539. top: 0;
  540. left: 0;
  541. }
  542. }
  543. }
  544. &-right {
  545. font-size: 24rpx;
  546. line-height: 24rpx;
  547. color: #95a5b1;
  548. span {
  549. font-size: 24rpx;
  550. line-height: 24rpx;
  551. color: #002846;
  552. }
  553. }
  554. }
  555. &-menu {
  556. margin-top: 43rpx;
  557. overflow: hidden;
  558. margin-left: -30rpx;
  559. &-pre {
  560. width: calc(25% - 30rpx);
  561. background: #f7f8fa;
  562. border-radius: 24rpx;
  563. padding: 30rpx 20rpx;
  564. margin-top: 24rpx;
  565. margin-left: 30rpx;
  566. box-sizing: border-box;
  567. float: left;
  568. image {
  569. width: 42rpx;
  570. height: 42rpx;
  571. }
  572. text {
  573. font-family: PingFangSC, PingFang SC;
  574. font-weight: 400;
  575. font-size: 24rpx;
  576. color: #002846;
  577. line-height: 24rpx;
  578. text-align: center;
  579. margin-top: 24rpx;
  580. }
  581. }
  582. }
  583. }
  584. &-box {
  585. width: 100%;
  586. height: 1200rpx;
  587. background: #f7f7f7;
  588. padding-top: 38rpx;
  589. border-radius: 24rpx 24rpx 0rpx 0rpx;
  590. box-sizing: border-box;
  591. position: relative;
  592. overflow-y: auto;
  593. &-title {
  594. font-family: PingFang-SC, PingFang-SC;
  595. font-weight: bold;
  596. font-size: 32rpx;
  597. color: #002846;
  598. line-height: 32rpx;
  599. text-align: center;
  600. }
  601. &-close {
  602. width: 48rpx;
  603. height: 48rpx;
  604. position: absolute;
  605. top: 30rpx;
  606. right: 30rpx;
  607. }
  608. &-teaminfo {
  609. margin-top: 40rpx;
  610. }
  611. }
  612. }
  613. .alert {
  614. position: fixed;
  615. left: 0;
  616. right: 0;
  617. top: 0;
  618. bottom: 0;
  619. z-index: 1002;
  620. background: rgba(0, 0, 0, 0.4);
  621. &-box {
  622. width: calc(100% - 100rpx);
  623. padding: 54rpx 99rpx 48rpx;
  624. box-sizing: border-box;
  625. position: relative;
  626. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/alert_bg.png') no-repeat;
  627. background-size: 100% 100%;
  628. &-title {
  629. font-family: PingFang-SC, PingFang-SC;
  630. font-weight: bold;
  631. font-size: 36rpx;
  632. color: #002846;
  633. line-height: 56rpx;
  634. text-align: center;
  635. }
  636. &-close {
  637. width: 48rpx;
  638. height: 48rpx;
  639. position: absolute;
  640. top: 40rpx;
  641. right: 30rpx;
  642. }
  643. &-text {
  644. font-family: PingFangSC, PingFang SC;
  645. font-weight: 400;
  646. font-size: 30rpx;
  647. color: #002846;
  648. line-height: 48rpx;
  649. text-align: center;
  650. margin-top: 32rpx;
  651. }
  652. .zt_btn {
  653. margin-top: 66rpx;
  654. }
  655. }
  656. }
  657. }
  658. </style>