createList.vue 20 KB

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