App.vue 24 KB

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