createList.vue 18 KB

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