App.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. <script>
  2. export default {
  3. onLaunch: function () {
  4. // #ifdef APP-PLUS
  5. // 初始化极光推送
  6. this.initJPush()
  7. // #endif
  8. let that = this;
  9. this.$queue.connectSocket()
  10. that.$queue.changeTabbar(that.$queue.getData('userType')||1)
  11. uni.removeStorageSync('filter')
  12. // #ifdef APP-PLUS
  13. // 检查是否首次启动 - 引导页逻辑
  14. let firstUpload = uni.getStorageSync("firstUpload") || false;
  15. let token = this.$queue.getData('token')
  16. let userType = this.$queue.getData('userType')
  17. let companyStatus = this.$queue.getData('companyStatus')
  18. if (!firstUpload) {
  19. // 跳转到引导页
  20. uni.reLaunch({
  21. url: "/pages/my/jobApplicant/startPage",
  22. success: () => {
  23. // 标记已经显示过引导页
  24. uni.setStorageSync("firstUpload", true);
  25. }
  26. });
  27. // 这里需要return,避免执行后面的代码
  28. return;
  29. } else if (
  30. token &&
  31. (!userType || (userType == 2 && companyStatus != 2))
  32. ) {
  33. // 有登录token,但是没有userType,跳转选择角色页面,强制用户选择
  34. // 有登录token,并且userType为2,但是公司状态没有通过
  35. uni.reLaunch({
  36. url: '/pages/my/jobApplicant/guidePage',
  37. })
  38. return
  39. } else if (token && userType) {
  40. // 已经登录,且有userType
  41. uni.reLaunch({
  42. url: '/pages/index/index',
  43. })
  44. }
  45. // #endif
  46. // #ifdef APP || H5
  47. uni.setStorageSync("isDial", false);
  48. setInterval(() => {
  49. // #ifdef H5 || APP
  50. let userId = uni.getStorageSync("userId");
  51. if (uni.getStorageSync("token")) {
  52. that.$Request.get("/app/chat/selectUserChatVideo").then((res) => {
  53. if (res.code == 0 && res.data) {
  54. // videoStatus 状态 1是发起 2是通话中 3是已取消 4是已拒绝 5是已结束 不过他只会返回1和2
  55. if (res.data.videoStatus) {
  56. console.log(res.data);
  57. uni.setStorageSync("videoStatus", res.data.videoStatus);
  58. uni.setStorageSync("messageType", res.data.messageType); //4视频通话 5语音通话
  59. if (res.data.videoStatus == 1) {
  60. console.log(uni.getStorageSync("isDial"));
  61. if (!uni.getStorageSync("isDial")) {
  62. uni.setStorageSync("isDial", true); //跳转通话页面 做标识 true 已跳转 false 未跳转
  63. uni.navigateTo({
  64. url:
  65. "/my/videoVoice/videoVoice?byUserId=" +
  66. res.data.userId +
  67. "&chatContentId=" +
  68. res.data.chatContentId +
  69. "&isRol=2&messageType=" +
  70. res.data.messageType +
  71. "&chatConversationId=" +
  72. res.data.chatConversationId +
  73. "&postPushId=" +
  74. res.data.postPushId +
  75. "&resumesId=" +
  76. res.data.resumesId +
  77. "&userType=" +
  78. res.data.userType,
  79. });
  80. }
  81. }
  82. }
  83. } else {
  84. uni.setStorageSync("videoStatus", 4);
  85. }
  86. });
  87. }
  88. // #endif
  89. }, 5000);
  90. // #endif
  91. // #ifdef MP-WEIXIN
  92. if (!uni.getStorageSync("token")) {
  93. uni.login({
  94. provider: "weixin",
  95. success: function (loginRes) {
  96. console.log(loginRes, "************");
  97. let data = {
  98. code: loginRes.code,
  99. };
  100. that.$Request.get("/app/Login/wxLogin", data).then((res) => {
  101. if (res.code == 0) {
  102. uni.setStorageSync("openId", res.data.open_id);
  103. uni.setStorageSync("unionId", res.data.unionId);
  104. uni.setStorageSync("sessionkey", res.data.session_key);
  105. let inviterCode = "";
  106. if (uni.getStorageSync("inviterCode")) {
  107. inviterCode = uni.getStorageSync("inviterCode");
  108. }
  109. let sendData = {
  110. openId: uni.getStorageSync("openId"),
  111. unionId: uni.getStorageSync("unionId"),
  112. userName: "游客",
  113. avatar: "",
  114. sex: "1", //性别
  115. inviterCode: inviterCode, //别人登录进来携带你的邀请码
  116. };
  117. let phoneNum = false;
  118. uni.setStorageSync("sendDataList", sendData);
  119. that.$Request.getT("/app/common/type/188").then((ret) => {
  120. if (ret.code == 0) {
  121. if (ret.data && ret.data.value && ret.data.value == "是") {
  122. phoneNum = true;
  123. let flag = res.data.flag;
  124. if (flag == "2" && phoneNum) {
  125. //需要授权手机号则走手机号授权
  126. uni.setStorageSync("weixinPhone", true);
  127. } else {
  128. //不需要手机号则则直接走授权登录
  129. uni.setStorageSync("weixinPhone", false);
  130. }
  131. } else {
  132. uni.setStorageSync("weixinPhone", false);
  133. }
  134. }
  135. });
  136. }
  137. });
  138. },
  139. });
  140. }
  141. // #endif
  142. setInterval((d) => {
  143. //定时器,定时去调取聊天未读消息
  144. let userId = uni.getStorageSync("userId");
  145. let token = uni.getStorageSync('token')
  146. if (userId && token) {
  147. this.$Request.get("/app/chat/selectChatCount").then((res) => {
  148. if (res.code === 0) {
  149. let chatCount = res.data.chatCount;
  150. let messageCount = res.data.messageCount;
  151. uni.setStorageSync("messageCount", messageCount);
  152. uni.$emit('chatUnreadCount', chatCount || 0)
  153. let num = chatCount + messageCount;
  154. if (num == 0) {
  155. uni.removeTabBarBadge({
  156. index: 2,
  157. });
  158. return;
  159. }
  160. uni.setTabBarBadge({
  161. index: 2,
  162. text: num + "",
  163. });
  164. }
  165. });
  166. }
  167. }, 6000);
  168. //#ifdef APP-PLUS
  169. // APP检测更新 具体打包流程可以参考:https://ask.dcloud.net.cn/article/35667
  170. plus.screen.lockOrientation("portrait-primary"); //竖屏正方向锁定
  171. //获取是否热更新过
  172. const updated = uni.getStorageSync("updated"); // 尝试读取storage
  173. if (updated.completed === true) {
  174. // 如果上次刚更新过
  175. // 删除安装包及安装记录
  176. console.log("安装记录被删除,更新成功");
  177. uni.removeSavedFile({
  178. filePath: updated.packgePath,
  179. success: (res) => {
  180. uni.removeStorageSync("updated");
  181. },
  182. });
  183. } else if (updated.completed === false) {
  184. console.log('安装未完成,继续安装')
  185. uni.removeStorageSync("updated");
  186. plus.runtime.install(updated.packgePath, {
  187. force: true,
  188. });
  189. uni.setStorage({
  190. key: "updated",
  191. data: {
  192. completed: true,
  193. packgePath: updated.packgePath,
  194. },
  195. success: (res) => {
  196. console.log("成功安装上次的更新,应用需要重启才能继续完成");
  197. },
  198. });
  199. uni.showModal({
  200. title: "温馨提示",
  201. content: "应用将重启以完成更新",
  202. showCancel: false,
  203. complete: () => {
  204. plus.runtime.restart();
  205. },
  206. });
  207. } else {
  208. console.log('获取当前系统版本信息')
  209. //获取当前系统版本信息
  210. plus.runtime.getProperty(plus.runtime.appid, (widgetInfo) => {
  211. //请求后台接口 解析数据 对比版本
  212. that.$Request.getT("/app/user/selectNewApp").then((res) => {
  213. res = res.data[0];
  214. console.log('当前版本:',widgetInfo.version+'线上版本:'+res.version)
  215. if (res.wgtUrl && widgetInfo.version < res.version) {
  216. console.log('进入更新逻辑')
  217. let downloadLink = "";
  218. let androidLink = res.androidWgtUrl;
  219. let iosLink = res.iosWgtUrl;
  220. let ready = false;
  221. //校验是是不是热更新
  222. if (res.wgtUrl.match(RegExp(/.wgt/))) {
  223. // 判断系统类型
  224. if (plus.os.name.toLowerCase() === "android") {
  225. console.log("安卓系统");
  226. if (androidLink && androidLink !== "#") {
  227. // 我这里默认#也是没有地址,请根据业务自行修改
  228. console.log("发现下载地址");
  229. // 安卓:创建下载任务
  230. if (androidLink.match(RegExp(/.wgt/))) {
  231. console.log("确认wgt热更新包");
  232. downloadLink = androidLink;
  233. ready = true;
  234. } else {
  235. console.log("安卓推荐.wgt强制更新,.apk的强制更新请您自行修改程序");
  236. }
  237. } else {
  238. console.log("下载地址是空的,无法继续");
  239. }
  240. } else {
  241. console.log("苹果系统");
  242. if (iosLink && iosLink !== "#") {
  243. // 我这里默认#也是没有地址,请根据业务自行修改
  244. console.log("发现下载地址");
  245. // 苹果(A):进行热更新(如果iosLink是wgt更新包的下载地址)判断文件名中是否含有.wgt
  246. if (iosLink.match(RegExp(/.wgt/))) {
  247. console.log("确认wgt热更新包");
  248. downloadLink = iosLink;
  249. ready = true;
  250. } else {
  251. console.log("苹果只支持.wgt强制更新");
  252. }
  253. } else {
  254. console.log("下载地址是空的,无法继续");
  255. }
  256. }
  257. if (ready) {
  258. console.log("任务开始");
  259. let downloadTask = uni.downloadFile({
  260. url: downloadLink,
  261. success: (res) => {
  262. if (res.statusCode === 200) {
  263. // 保存下载的安装包
  264. console.log("保存安装包");
  265. uni.saveFile({
  266. tempFilePath: res.tempFilePath,
  267. success: (res) => {
  268. const packgePath = res.savedFilePath;
  269. // 保存更新记录到stroage,下次启动app时安装更新
  270. if(true){
  271. console.log('直接进行安装')
  272. uni.removeStorageSync("updated");
  273. plus.runtime.install(packgePath, {
  274. force: true,
  275. });
  276. uni.setStorage({
  277. key: "updated",
  278. data: {
  279. completed: true,
  280. packgePath: packgePath,
  281. },
  282. success: (res) => {
  283. console.log("成功安装上次的更新,应用需要重启才能继续完成");
  284. },
  285. });
  286. uni.showModal({
  287. title: "温馨提示",
  288. content: "应用将重启以完成更新",
  289. showCancel: false,
  290. complete: () => {
  291. plus.runtime.restart();
  292. },
  293. });
  294. }else{
  295. uni.setStorage({
  296. key: "updated",
  297. data: {
  298. completed: false,
  299. packgePath: packgePath,
  300. },
  301. success: () => {
  302. console.log("成功保存记录");
  303. },
  304. });
  305. }
  306. // 任务完成,关闭下载任务
  307. console.log(
  308. "任务完成,关闭下载任务,下一次启动应用时将安装更新"
  309. );
  310. downloadTask.abort();
  311. downloadTask = null;
  312. },
  313. });
  314. }
  315. },
  316. });
  317. } else {
  318. console.log("下载地址未准备,无法开启下载任务");
  319. }
  320. } else {
  321. //不是热更新是在线更新 校验是否强制升级
  322. if (res.method == "true") {
  323. uni.showModal({
  324. showCancel: false,
  325. confirmText: "立即更新",
  326. title: "发现新版本",
  327. content: res.des,
  328. success: (res) => {
  329. if (res.confirm) {
  330. that.$queue.showLoading("下载中...");
  331. if (uni.getSystemInfoSync().platform == "android") {
  332. uni.downloadFile({
  333. url: androidLink,
  334. success: (downloadResult) => {
  335. if (downloadResult.statusCode === 200) {
  336. plus.runtime.install(
  337. downloadResult.tempFilePath,
  338. {
  339. force: false,
  340. },
  341. (d) => {
  342. console.log("install success...");
  343. plus.runtime.restart();
  344. },
  345. (e) => {
  346. console.error("install fail...");
  347. }
  348. );
  349. }
  350. },
  351. });
  352. }
  353. if (uni.getSystemInfoSync().platform == "ios") {
  354. plus.runtime.openURL(iosLink, function (res) {});
  355. }
  356. } else if (res.cancel) {
  357. console.log("取消");
  358. }
  359. },
  360. });
  361. } else {
  362. uni.showModal({
  363. title: "发现新版本",
  364. confirmText: "立即更新",
  365. cancelText: "下次更新",
  366. content: res.des,
  367. success: (res) => {
  368. if (res.confirm) {
  369. that.$queue.showLoading("下载中...");
  370. if (uni.getSystemInfoSync().platform == "android") {
  371. uni.downloadFile({
  372. url: androidLink,
  373. success: (downloadResult) => {
  374. if (downloadResult.statusCode === 200) {
  375. plus.runtime.install(
  376. downloadResult.tempFilePath,
  377. {
  378. force: false,
  379. },
  380. (d) => {
  381. console.log("install success...");
  382. plus.runtime.restart();
  383. },
  384. (e) => {
  385. console.error("install fail...");
  386. }
  387. );
  388. }
  389. },
  390. });
  391. }
  392. if (uni.getSystemInfoSync().platform == "ios") {
  393. plus.runtime.openURL(iosLink, function (res) {});
  394. }
  395. } else if (res.cancel) {
  396. console.log("取消");
  397. }
  398. },
  399. });
  400. }
  401. }
  402. }
  403. });
  404. });
  405. }
  406. //#endif
  407. },
  408. onShow: function () {
  409. // uni.removeStorageSync('firstLogin');
  410. // uni.removeStorageSync('firstUpload');
  411. //关键词过滤 602
  412. this.$Request.getT("/app/common/type/602").then((res) => {
  413. if (res.code == 0) {
  414. if (res.data && res.data.value) {
  415. this.$queue.setData("chatSearchKeys", res.data.value);
  416. }
  417. }
  418. });
  419. // 小程序是否上线
  420. // this.$Request.get('/app/common/type/238').then(res => {
  421. // if (res.code == 0) {
  422. // // #ifdef MP-WEIXIN
  423. // this.$queue.setData('XCXIsSelect', res.data.value);
  424. // // #endif
  425. // // #ifndef MP-WEIXIN
  426. // this.$queue.setData('XCXIsSelect', '是');
  427. // // #endif
  428. // }
  429. // });
  430. this.$Request.get("/app/common/type/257").then((res) => {
  431. if (res.code == 0) {
  432. // #ifdef MP-WEIXIN
  433. this.$queue.setData("XCXIsSelect", res.data.value);
  434. // #endif
  435. // #ifndef MP-WEIXIN
  436. this.$queue.setData("XCXIsSelect", "是");
  437. // #endif
  438. }
  439. });
  440. //用户客服
  441. // 企业微信链接 274
  442. this.$Request.get("/app/common/type/322").then((res) => {
  443. if (res.code == 0) {
  444. this.$queue.setData("kefu", res.data.value);
  445. }
  446. });
  447. // 企业微信客服APPID 275
  448. this.$Request.get("/app/common/type/324").then((res) => {
  449. if (res.code == 0) {
  450. this.$queue.setData("kefuAppid", res.data.value);
  451. }
  452. });
  453. //企业端客服
  454. this.$Request.get("/app/common/type/321").then((res) => {
  455. if (res.code == 0) {
  456. this.$queue.setData("kefuq", res.data.value);
  457. }
  458. });
  459. // 企业微信客服APPID 275
  460. this.$Request.get("/app/common/type/323").then((res) => {
  461. if (res.code == 0) {
  462. this.$queue.setData("kefuAppidq", res.data.value);
  463. }
  464. });
  465. // 企业会员每天免费联系次数 421
  466. this.$Request.get("/app/common/type/421").then((res) => {
  467. if (res.code == 0) {
  468. this.$queue.setData("vipMsgNum", res.data.value);
  469. }
  470. });
  471. // 企业非会员每天免费联系次数 422
  472. this.$Request.get("/app/common/type/422").then((res) => {
  473. if (res.code == 0) {
  474. this.$queue.setData("msgNum", res.data.value);
  475. }
  476. });
  477. // 企业会员每次联系价格 419
  478. this.$Request.get("/app/common/type/419").then((res) => {
  479. if (res.code == 0) {
  480. this.$queue.setData("vipMsgPrice", res.data.value);
  481. }
  482. });
  483. // 企业非会员每次联系价格 420
  484. this.$Request.get("/app/common/type/420").then((res) => {
  485. if (res.code == 0) {
  486. this.$queue.setData("msgPrice", res.data.value);
  487. }
  488. });
  489. //腾讯云实时语音SDKAppID
  490. this.$Request.get("/app/common/type/814").then((res) => {
  491. if (res.code == 0) {
  492. uni.setStorageSync("sdkAppId", res.data.value);
  493. }
  494. });
  495. console.log("App Show");
  496. // #ifdef H5
  497. // let sysTem = uni.getSystemInfoSync()
  498. // if (sysTem.model == 'PC') { //如果是pc访问移动端域名
  499. // this.$Request.get('/app/common/type/432').then(res => {
  500. // if (res.code == 0) {
  501. // if (res.data.value == '是') {
  502. // this.$Request.get('/app/common/type/433').then(ree => {
  503. // if (ree.code == 0) {
  504. // if (ree.data.value) {
  505. // window.location.href = ree.data.value;
  506. // }
  507. // }
  508. // })
  509. // }
  510. // }
  511. // })
  512. // }
  513. // #endif
  514. // #ifdef APP-PLUS
  515. if (uni.getSystemInfoSync().platform == "android") {
  516. let clientid = plus.push.getClientInfo().clientid;
  517. let userId = this.$queue.getData("userId");
  518. if (userId) {
  519. this.$Request
  520. .postT("/app/user/updateClientId?clientId=" + clientid + "&userId=" + userId)
  521. .then((res) => {});
  522. }
  523. }
  524. //#endif
  525. //#ifdef H5
  526. let isopen = false;
  527. this.$Request.get("/app/common/type/237").then((res) => {
  528. if (res.data.value == "是") {
  529. isopen = true;
  530. }
  531. });
  532. if (isopen) {
  533. let ua = navigator.userAgent.toLowerCase();
  534. if (ua.indexOf("micromessenger") !== -1) {
  535. let openid = uni.getStorageSync("openid");
  536. let userId = uni.getStorageSync("userId");
  537. let that = this;
  538. if (!openid) {
  539. if (
  540. window.location.href.indexOf("?code=") !== -1 ||
  541. window.location.href.indexOf("&code=") !== -1
  542. ) {
  543. let code;
  544. if (window.location.href.indexOf("?code=") !== -1) {
  545. code = window.location.href.split("?code=")[1].split("&")[0];
  546. } else {
  547. code = window.location.href.split("&code=")[1].split("&")[0];
  548. }
  549. this.$Request.get("/app/Login/getOpenId?code=" + code).then((ret) => {
  550. uni.setStorageSync("openId", ret.data);
  551. this.$Request
  552. .get("/app/Login/openid/login?openId=" + ret.data)
  553. .then((res) => {
  554. this.$queue.setData("userId", res.user.userId);
  555. this.$queue.setData("token", res.token);
  556. this.$queue.setData("phone", res.user.phone);
  557. this.$queue.setData("userName", res.user.userName);
  558. this.$queue.setData("avatar", res.user.avatar);
  559. this.$queue.setData("invitationCode", res.user.invitationCode);
  560. this.$queue.setData("inviterCode", res.user.inviterCode);
  561. });
  562. });
  563. } else {
  564. this.$Request.get("/app/common/type/108").then((res) => {
  565. if (res.data.value == "是") {
  566. window.location.href =
  567. "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" +
  568. that.$queue.getWxAppid() +
  569. "&redirect_uri=" +
  570. window.location.href.split("#")[0] +
  571. "&response_type=code&scope=snsapi_userinfo#wechat_redirect";
  572. }
  573. });
  574. }
  575. }
  576. if (userId && openid) {
  577. this.$Request
  578. .get("/app/Login/bindOpenId?userId=" + userId + "&openId=" + openid)
  579. .then((res) => {
  580. });
  581. }
  582. }
  583. }
  584. //#endif
  585. },
  586. onHide: function () {
  587. console.log("App Hide");
  588. },
  589. methods: {
  590. // 初始化极光推送
  591. initJPush() {
  592. // 确保在App环境下执行(H5/小程序不支持)
  593. if (uni.getSystemInfoSync().platform === 'android' || uni.getSystemInfoSync().platform === 'ios') {
  594. const jpushModule = uni.requireNativePlugin('JG-JPush')
  595. if (!jpushModule) {
  596. console.error('极光推送插件未找到,请检查导入和调试基座')
  597. return;
  598. }
  599. jpushModule.initJPushService()
  600. // 监听:点击通知(用户点击通知栏的通知)
  601. jpushModule.addNotificationListener((res) => {
  602. // console.log('点击了通知:', res)
  603. // setTimeout(() => {
  604. // // jpushModule.setBadge(0)
  605. // // jpushModule.setBadgeNumber({ badge: 0 })
  606. // console.log('设置了Badge')
  607. // }, 500)
  608. // 可在这里跳转到指定页面(比如根据通知的extra参数跳转)
  609. // if (res.extras && res.extras.page) {
  610. // // tab页面
  611. // // /pages/index/index
  612. // // /pages/talentSearch/index
  613. // // /pages/msg/index
  614. // // /pages/my/index
  615. // setTimeout(() => {
  616. // uni.switchTab({
  617. // url: res.extras.page // 例如:/pages/detail/detail?id=123
  618. // })
  619. // }, 500)
  620. // }
  621. })
  622. jpushModule.getRegistrationID((res) => {
  623. if (res.code === 0) {
  624. console.log('获取设备ID', res)
  625. this.$queue.setData('registerID', res?.registerID || '')
  626. } else {
  627. console.error('获取RegistrationID失败:', res)
  628. }
  629. })
  630. }
  631. },
  632. }
  633. };
  634. </script>
  635. <style lang="scss">
  636. /*每个页面公共css */
  637. @import "uview-ui/index.scss";
  638. @import "components/colorui/main.css";
  639. @import "components/colorui/icon.css";
  640. page {
  641. background-color: #ffffff;
  642. color: #343546;
  643. }
  644. .bg {
  645. background-color: #f7f7f7;
  646. }
  647. /*文本省略*/
  648. .m-ellipsis {
  649. overflow: hidden;
  650. white-space: nowrap;
  651. text-overflow: ellipsis;
  652. }
  653. .m-ellipsis-l2,
  654. .m-ellipsis-l3 {
  655. display: -webkit-box;
  656. overflow: hidden;
  657. text-overflow: ellipsis;
  658. -webkit-box-orient: vertical;
  659. word-break: break-all;
  660. }
  661. .m-ellipsis-l2 {
  662. -webkit-line-clamp: 2;
  663. }
  664. .m-ellipsis-l3 {
  665. -webkit-line-clamp: 3;
  666. }
  667. .popup-content .popup-text-permission{
  668. padding: 100rpx;
  669. color: #343546;
  670. }
  671. </style>