help.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  1. <!-- -->
  2. <template>
  3. <div
  4. class="help_box"
  5. :style="'height:' + fullHeight + 'px'"
  6. v-loading="loading"
  7. element-loading-text="拼命加载中"
  8. >
  9. <!-- 头部信息 -->
  10. <div class="help_box-head">
  11. <img
  12. src="../../assets/image/new/30.png"
  13. @click="goBack()"
  14. alt=""
  15. class="help_box-head-img"
  16. />
  17. <div class="help_box-headBox">
  18. <img
  19. preview="1"
  20. v-lazy="'http://192.168.1.8:8002/' + img"
  21. alt=""
  22. class="help_box-headImg"
  23. />
  24. </div>
  25. </div>
  26. <!-- 主内容 -->
  27. <mescroll-vue
  28. ref="mescroll"
  29. class="home_box_mescroll"
  30. :down="mescrollDown"
  31. :up="mescrollUp"
  32. @init="mescrollInit"
  33. >
  34. <div class="help_box-main">
  35. <!-- 标题 -->
  36. <div class="navlist">
  37. <ul>
  38. <li
  39. class="navli"
  40. v-for="(item, index) in navList"
  41. :class="{ activeT: nowIndex === index }"
  42. @click="tabClick(index)"
  43. :key="index"
  44. >
  45. <div class="navliVal">{{ item.name }}</div>
  46. </li>
  47. </ul>
  48. </div>
  49. <!-- 相应内容 -->
  50. <div class="swiper-container swiper_con" style="background: #f7f8fc">
  51. <div class="swiper-wrapper">
  52. <!-- 交流 -->
  53. <div class="swiper-slide" ref="viewBox">
  54. <ul class="help_box-main-ulA" v-if="interflowShow">
  55. <li
  56. class="help_box-main-listA"
  57. v-for="(item, index) in this.interflowDat"
  58. :key="index"
  59. @click="
  60. interflowDetails(
  61. $event,
  62. item.id,
  63. item.visit_num,
  64. item.replys,
  65. item.like,
  66. item.like_num
  67. )
  68. "
  69. >
  70. <!-- 用户信息 -->
  71. <div class="help_box-main-listA-userBox">
  72. <img
  73. preview="1"
  74. v-lazy="'http://192.168.1.8:8002/' + item.photo"
  75. alt
  76. class="help_box-main-listA-userBox-img"
  77. />
  78. <div class="help_box-main-listA-userBox-txt">
  79. <div class="help_box-main-listA-userBox-name">
  80. {{
  81. item.user_remark == null
  82. ? item.username
  83. : item.user_remark
  84. }}
  85. <!-- <div class="help_box-main-listA-userBox-name-del">删除</div> -->
  86. <img
  87. src="../../assets/image/new/32.png"
  88. @click="delData(item.id)"
  89. alt=""
  90. class="help_box-main-listA-userBox-name-del"
  91. />
  92. </div>
  93. <div class="help_box-main-listA-userBox-time">
  94. {{ item.time }}
  95. </div>
  96. </div>
  97. </div>
  98. <!-- 交流内容-文字 -->
  99. <div class="help_box-main-listA-writing">
  100. {{ item.problem }}
  101. </div>
  102. <!-- 交流图片 -->
  103. <div class="help_box-main-listA-image">
  104. <ul class="help_box-main-listA-image-ul">
  105. <li
  106. class="help_box-main-listA-image-list"
  107. v-for="itemA in item.img"
  108. :key="itemA"
  109. @click="imgShow(itemA)"
  110. preview="1"
  111. >
  112. <img
  113. v-lazy="'http://192.168.1.8:8002/' + itemA"
  114. alt
  115. class="help_box-main-listA-imageList"
  116. />
  117. </li>
  118. </ul>
  119. </div>
  120. <!-- 交流数据的查看评论点赞 -->
  121. <div class="help_box-main-listA-operation">
  122. <ul class="help_box-main-listA-operation-ul">
  123. <li class="help_box-main-listA-operation-list">
  124. <img
  125. src="../../assets/image/new/8.png"
  126. alt
  127. class="help_box-main-listA-operation-listImg"
  128. />
  129. <div class="help_box-main-listA-operation-listNum">
  130. {{ item.visit_num }}
  131. </div>
  132. </li>
  133. <li class="help_box-main-listA-operation-list">
  134. <img
  135. src="../../assets/image/new/10.png"
  136. alt
  137. class="help_box-main-listA-operation-listImg"
  138. />
  139. <div class="help_box-main-listA-operation-listNum">
  140. {{ item.reply_num }}
  141. </div>
  142. </li>
  143. <li class="help_box-main-listA-operation-list">
  144. <!-- 未点赞 -->
  145. <img
  146. @click.stop="like(item.id, index)"
  147. v-if="item.exist === '0'"
  148. src="../../assets/image/new/3.png"
  149. alt
  150. class="help_box-main-listA-operation-listImg"
  151. />
  152. <!-- 点赞了 -->
  153. <img
  154. v-else
  155. @click.stop="noLike(item.id, index)"
  156. src="../../assets/image/new/23.png"
  157. alt
  158. class="help_box-main-listA-operation-listImg"
  159. />
  160. <div class="help_box-main-listA-operation-listNum">
  161. {{ item.like_num }}
  162. </div>
  163. </li>
  164. </ul>
  165. </div>
  166. </li>
  167. </ul>
  168. <!-- 暂空判断 -->
  169. <div class="collect_judge" id="empty" v-else>
  170. <img
  171. src="../../assets/image/wu.png"
  172. alt
  173. class="collect_judge_img"
  174. />
  175. <div class="collect_judge_text">抱歉,暂无鉴定</div>
  176. </div>
  177. </div>
  178. <!-- 鉴定 -->
  179. <div class="swiper-slide">
  180. <ul class="help_box-main-authenticateUl" v-if="interflowShow">
  181. <li
  182. class="help_box-main-authenticateList"
  183. v-for="(itemA, index) in interflowDat"
  184. :key="index"
  185. @click="authenticateDetails($event, itemA.id)"
  186. >
  187. <!-- 删除 -->
  188. <img
  189. src="../../assets/image/new/33.png"
  190. @click="delData(itemA.id)"
  191. alt=""
  192. class="help_box-main-authenticateList-imgDel"
  193. />
  194. <div class="help_box-main-authenticateList-box1">
  195. <img
  196. preview="1"
  197. v-lazy="'http://192.168.1.8:8002/' + itemA.img[0]"
  198. alt
  199. class="help_box-main-authenticateList-box1-img"
  200. />
  201. <div class="help_box-main-authenticateList-box1-txt">
  202. {{ itemA.problem }}
  203. </div>
  204. </div>
  205. <div class="help_box-main-authenticateList-box2">
  206. <div class="help_box-main-authenticateList-box3">
  207. <img
  208. preview="1"
  209. v-lazy="'http://192.168.1.8:8002/' + itemA.photo"
  210. alt
  211. class="help_box-main-authenticateList-box3-img"
  212. />
  213. <div class="help_box-main-authenticateList-box3-name">
  214. {{
  215. itemA.user_remark == "" || itemA.user_remark == null
  216. ? itemA.username
  217. : itemA.user_remark
  218. }}
  219. </div>
  220. </div>
  221. <img
  222. src="../../assets/image/new/10.png"
  223. alt
  224. class="help_box-main-authenticateList-box4-img"
  225. />
  226. </div>
  227. </li>
  228. </ul>
  229. <!-- 暂空判断 -->
  230. <div class="collect_judge" id="empty" v-else>
  231. <img
  232. src="../../assets/image/wu.png"
  233. alt
  234. class="collect_judge_img"
  235. />
  236. <div class="collect_judge_text">抱歉,暂无鉴定</div>
  237. </div>
  238. </div>
  239. </div>
  240. </div>
  241. </div>
  242. </mescroll-vue>
  243. </div>
  244. </template>
  245. <script>
  246. // 引入mescroll的vue组件
  247. import MescrollVue from "mescroll.js/mescroll.vue";
  248. import Swiper from "swiper";
  249. import "../../../swiper/css/swiper.min.css";
  250. export default {
  251. name: "help",
  252. //import引入的组件需要注入到对象中才能使用
  253. components: {
  254. MescrollVue,
  255. Swiper,
  256. },
  257. data() {
  258. //这里存放数据
  259. return {
  260. fullHeight: document.documentElement.clientHeight,
  261. navList: [{ name: "交流" }, { name: "鉴定" }],
  262. nowIndex: 0,
  263. mySwiper: "",
  264. // 交流
  265. interflowDat: [], //交流列表数据
  266. isClick: true, //点赞开关
  267. amplificationShow: false, //查看大图
  268. imgList: "",
  269. img: "", //用户头像
  270. interflowShow: true, //暂无数据
  271. // 上拉加载下拉刷新
  272. mescroll: null, // mescroll实例对象
  273. mescrollDown: {}, //下拉刷新的配置. (如果下拉刷新和上拉加载处理的逻辑是一样的,则mescrollDown可不用写了)
  274. mescrollUp: {
  275. // 上拉加载的配置.
  276. callback: this.upCallback, // 上拉回调,此处简写; 相当于 callback: function(page, mescroll) { }
  277. //以下是一些常用的配置,当然不写也可以的.
  278. page: {
  279. num: 0, //当前页 默认0,回调之前会加1; 即callback(page)会从1开始
  280. size: 6, //每页数据条数,默认10
  281. },
  282. isBounce: true, //根据记录的滚动条高度回弹
  283. htmlNodata: '<p class="upwarp-nodata">-- 已经到底了! --</p>',
  284. noMoreSize: 6, //如果列表已无数据,可设置列表的总数量要大于5才显示无更多数据;
  285. // 避免列表数据过少(比如只有一条数据),显示无更多数据会不好看
  286. // 这就是为什么无更多数据有时候不显示的原因
  287. toTop: {
  288. //回到顶部按钮
  289. src:
  290. "http://pic.51yuansu.com/pic3/cover/00/65/23/5896fa4bc81fc_610.jpg", //图片路径,默认null,支持网络图
  291. offset: 500, //列表滚动1000px才显示回到顶部按钮
  292. },
  293. onScroll: function (mescroll, y, isUp) {
  294. //吸顶
  295. // if (y > 500) {
  296. // self.navBarFixed = true;
  297. // } else {
  298. // self.navBarFixed = false;
  299. // }
  300. },
  301. lazyLoad: {
  302. use: true, // 是否开启懒加载,默认false
  303. },
  304. },
  305. aggregate: "", //后端传来数据的总条数
  306. loading: true,
  307. // 上拉加载下拉刷新
  308. };
  309. },
  310. beforeRouteEnter(to, from, next) {
  311. if (from.name === "field_details") {
  312. to.meta.isBack = true;
  313. }
  314. // 如果没有配置顶部按钮或isBounce,则beforeRouteEnter不用写
  315. next((vm) => {
  316. if (from.name === "field_details") {
  317. // 滚动到原来的列表位置,恢复顶部按钮和isBounce的配置
  318. vm.$refs.mescroll && vm.$refs.mescroll.beforeRouteEnter();
  319. }
  320. });
  321. },
  322. beforeRouteLeave(to, from, next) {
  323. if (to.name !== "field_details") {
  324. to.meta.isBack = false;
  325. } else {
  326. to.meta.isBack = true;
  327. // 如果没有配置顶部按钮或isBounce,则beforeRouteLeave不用写
  328. // 记录列表滚动的位置,隐藏顶部按钮和isBounce的配置
  329. this.$refs.mescroll && this.$refs.mescroll.beforeRouteLeave();
  330. }
  331. next();
  332. },
  333. activated() {
  334. if (!this.$route.meta.isBack) {
  335. // 如果isBack是false,表明需要获取新数据,否则就不再请求,直接使用缓存的数据
  336. this.mescroll.resetUpScroll(); // 刷新列表数据
  337. }
  338. // 恢复成默认的false,避免isBack一直是true,导致下次无法获取数据
  339. this.$route.meta.isBack = false;
  340. },
  341. //监听属性 类似于data概念
  342. computed: {},
  343. //监控data中的数据变化
  344. watch: {
  345. fullHeight(val) {
  346. //监控浏览器高度变化
  347. if (!this.timer) {
  348. this.fullHeight = val;
  349. this.timer = true;
  350. let that = this;
  351. setTimeout(function () {
  352. //防止过度调用监测事件,导致卡顿
  353. that.timer = false;
  354. }, 400);
  355. }
  356. },
  357. //交流鉴定切换
  358. nowIndex(val) {
  359. if (val == 0) {
  360. this.interflowData();
  361. } else if (val == 1) {
  362. this.interflowData();
  363. }
  364. },
  365. },
  366. //方法集合
  367. methods: {
  368. //动态获取浏览器高度
  369. get_boderHeight() {
  370. const that = this;
  371. window.onresize = () => {
  372. return (() => {
  373. window.fullHeight = document.documentElement.clientHeight;
  374. that.fullHeight = window.fullHeight;
  375. })();
  376. };
  377. },
  378. // mescroll组件初始化的回调,可获取到mescroll对象
  379. mescrollInit(mescroll) {
  380. this.mescroll = mescroll; // 如果this.mescroll对象没有使用到,则mescrollInit可以不用配置
  381. },
  382. upCallback(page, mescroll) {
  383. var that = this;
  384. // diverse 0 鉴定 1、交流
  385. if (that.nowIndex == 0) {
  386. var diverse = "1";
  387. } else if (that.nowIndex == 1) {
  388. var diverse = "0";
  389. }
  390. that
  391. .$axios({
  392. method: "get",
  393. url: "http://192.168.1.8:8002/user_answer",
  394. params: {
  395. page: that.mescrollUp.page.num,
  396. ret: "user",
  397. diverse: diverse,
  398. },
  399. })
  400. .then((res) => {
  401. var nums = res.data.num;
  402. if (this.aggregate === "") {
  403. //存变量
  404. this.aggregate = nums;
  405. var b = "6";
  406. this.aggregate = this.aggregate / b;
  407. this.aggregate = Math.ceil(this.aggregate); //将小数点转换为整数
  408. console.log(this.aggregate);
  409. }
  410. if (res.data.num !== 0) {
  411. var data = res.data.dat;
  412. for (var i = 0; i < data.length; i++) {
  413. if (data[i].username !== "admin") {
  414. // 1字符串转化成数组
  415. let phoneArr = [...data[i].username];
  416. var n = "";
  417. // 2.将数组中的4-7位变成*
  418. phoneArr.map((res, index) => {
  419. if (index > 2 && index < 7) {
  420. n += "*";
  421. // return '*';
  422. } else {
  423. n += res;
  424. }
  425. });
  426. data[i]["username"] = n;
  427. } else {
  428. data[i]["username"] = data[i].username;
  429. }
  430. }
  431. // 如果是第一页需手动置空列表
  432. if (page.num === 1) this.interflowDat = [];
  433. // 把请求到的数据添加到列表
  434. this.interflowDat = this.interflowDat.concat(data);
  435. // // 数据渲染成功后,隐藏下拉刷新的状态
  436. // this.$nextTick(() => {
  437. // mescroll.endSuccess(data.length);
  438. // });
  439. that.interflowShow = true;
  440. } else if (res.data.num == 0) {
  441. this.gerenShow = false;
  442. var data = res.data.dat;
  443. that.interflowDat = data;
  444. that.interflowShow = false;
  445. }
  446. // 数据渲染成功后,隐藏下拉刷新的状态
  447. this.$nextTick(() => {
  448. mescroll.endSuccess(res.data.dat.length);
  449. });
  450. that.loading = false;
  451. })
  452. .catch((err) => {
  453. mescroll.endErr();
  454. console.log(err);
  455. });
  456. },
  457. // 返回
  458. goBack() {
  459. var that = this;
  460. that.$router.replace("/person");
  461. },
  462. // tab切换交流、鉴定
  463. initSwiper() {
  464. var that = this;
  465. that.mySwiper = new Swiper(".swiper-container", {
  466. initialSlide: 0,
  467. autoplay: false,
  468. keyboardControl: true,
  469. autoHeight: true,
  470. observer: true, //修改swiper自己或子元素时,自动初始化swiper
  471. observeParents: true,
  472. autoplayDisableOnInteraction: false, //解决拖动之后不能自动轮播
  473. preventLinksPropagation: false, // 阻止点击事件冒泡
  474. onSlideChangeStart: function (swiper) {
  475. //这个是当swiper被改变是的回调函数,可以拿到当前索引
  476. console.log(swiper.activeIndex);
  477. // alert(swiper.activeIndex);
  478. that.nowIndex = swiper.activeIndex;
  479. },
  480. onSlideChangeTransitionStart: function (swiper, event) {},
  481. });
  482. },
  483. tabClick(index) {
  484. this.nowIndex = index;
  485. if (!this.mySwiper.slideTo) {
  486. this.initSwiper();
  487. }
  488. this.mySwiper.slideTo(index, 300, false);
  489. },
  490. // 交流、鉴定列表数据接口
  491. interflowData() {
  492. var that = this;
  493. // diverse 0 鉴定 1、交流
  494. if (that.nowIndex == 0) {
  495. var diverse = "1";
  496. } else if (that.nowIndex == 1) {
  497. var diverse = "0";
  498. }
  499. that
  500. .$axios({
  501. method: "get",
  502. url: "http://192.168.1.8:8002/user_answer",
  503. params: {
  504. page: 1,
  505. ret: "user",
  506. diverse: diverse,
  507. },
  508. })
  509. .then((res) => {
  510. if (res.data.num !== 0) {
  511. var data = res.data.dat;
  512. that.interflowDat = [];
  513. for (var i = 0; i < data.length; i++) {
  514. if (data[i].username !== "admin") {
  515. // 1字符串转化成数组
  516. let phoneArr = [...data[i].username];
  517. var n = "";
  518. // 2.将数组中的4-7位变成*
  519. phoneArr.map((res, index) => {
  520. if (index > 2 && index < 7) {
  521. n += "*";
  522. // return '*';
  523. } else {
  524. n += res;
  525. }
  526. });
  527. data[i]["username"] = n;
  528. } else {
  529. data[i]["username"] = data[i].username;
  530. }
  531. }
  532. that.interflowDat = data;
  533. that.interflowShow = true;
  534. } else if (res.data.num == 0) {
  535. this.gerenShow = false;
  536. var data = res.data.dat;
  537. that.interflowDat = data;
  538. that.interflowShow = false;
  539. }
  540. })
  541. .catch((err) => {
  542. console.log(err);
  543. });
  544. },
  545. // 点击进入交流详情
  546. interflowDetails(e, id, visit_num, replys, like, like_num) {
  547. var that = this;
  548. if (e.target.className !== "help_box-main-listA-userBox-name-del") {
  549. this.$router.push({
  550. name: "field_details",
  551. query: {
  552. id: id, //id
  553. visit_num: visit_num, //查看
  554. replys: replys, //评论
  555. like: like, //点赞状态
  556. like_num: like_num, //点赞次数
  557. ret: "help", //判断是从我的主页进入还是在交流进入
  558. },
  559. });
  560. }
  561. },
  562. // 点击进入鉴定详情
  563. authenticateDetails(e, id) {
  564. var that = this;
  565. if (e.target.className !== "help_box-main-authenticateList-imgDel") {
  566. that.$router.push({
  567. name: "addData_details",
  568. query: {
  569. id: id, //id
  570. ret: "help",
  571. // visit_num: visit_num, //查看
  572. // replys: replys, //评论
  573. // like: like, //点赞状态
  574. // like_num: like_num, //点赞次数
  575. },
  576. });
  577. }
  578. },
  579. // 交流点赞
  580. like(id, index) {
  581. var that = this;
  582. var isClick = that.isClick;
  583. var postData = that.$qs.parse({
  584. id: id, //id
  585. ret: "add", //点赞
  586. req: "title", //主问题
  587. });
  588. if (isClick === true) {
  589. that.isClick = false;
  590. that
  591. .$axios({
  592. method: "post",
  593. url: "http://192.168.1.8:8002/farm_likes",
  594. data: postData,
  595. })
  596. .then((res) => {
  597. if (res.data === 0) {
  598. this.$message({
  599. type: "success",
  600. message: "点赞成功!",
  601. duration: 1500,
  602. });
  603. that.interflowDat[index].like = "1"; //改变点赞状态
  604. that.interflowDat[index].like_num =
  605. that.interflowDat[index].like_num + 1; //改变点赞数据
  606. } else if (res.data === 1) {
  607. this.$notify.error({
  608. title: "错误",
  609. message: "点赞出错了!!",
  610. duration: 1500,
  611. });
  612. }
  613. })
  614. .catch((err) => {
  615. console.log(err);
  616. });
  617. setTimeout(function () {
  618. that.isClick = true;
  619. }, 1500);
  620. }
  621. },
  622. // 交流取消点赞
  623. noLike(id, index) {
  624. var that = this;
  625. var isClick = that.isClick;
  626. var postData = that.$qs.parse({
  627. id: id, //id
  628. ret: "off", //点赞
  629. req: "title", //主问题
  630. });
  631. if (isClick === true) {
  632. that.isClick = false;
  633. that
  634. .$axios({
  635. method: "post",
  636. url: "http://192.168.1.8:8002/farm_likes",
  637. data: postData,
  638. })
  639. .then((res) => {
  640. if (res.data === 0) {
  641. that.$message({
  642. type: "success",
  643. message: "取消点赞成功!",
  644. duration: 1500,
  645. });
  646. that.interflowDat[index].like = "0"; //改变点赞状态
  647. that.interflowDat[index].like_num =
  648. that.interflowDat[index].like_num - 1; //改变点赞数量
  649. } else if (res.data === 1) {
  650. that.$notify.error({
  651. title: "错误",
  652. message: "取消点赞出错了!!",
  653. duration: 1500,
  654. });
  655. }
  656. })
  657. .catch((err) => {
  658. console.log(err);
  659. });
  660. setTimeout(function () {
  661. that.isClick = true;
  662. }, 1500);
  663. }
  664. },
  665. //点击轮播图片进行放大
  666. imgShow(img) {
  667. this.amplificationShow = true;
  668. this.imgList = img;
  669. console.log(img);
  670. console.log(111);
  671. console.log(this.imgList);
  672. },
  673. // 点击删除数据
  674. delData(id) {
  675. var that = this;
  676. this.$confirm("确定删除当前数据?")
  677. .then((_) => {
  678. that
  679. .$axios({
  680. method: "get",
  681. url: "http://192.168.1.8:8002/user_reply",
  682. params: {
  683. id: id,
  684. ret: "anwers",
  685. },
  686. })
  687. .then((res) => {
  688. if (res.data.code == "200") {
  689. this.$message({
  690. type: "success",
  691. message: "删除成功!",
  692. duration: 1500,
  693. });
  694. that.interflowData();
  695. } else {
  696. this.$notify.error({
  697. title: "错误",
  698. message: "删除出错了!!",
  699. duration: 1500,
  700. });
  701. }
  702. })
  703. .catch((err) => {
  704. consoel.log(err);
  705. });
  706. })
  707. .catch((_) => {});
  708. },
  709. },
  710. //生命周期 - 创建完成(可以访问当前this实例)
  711. created() {},
  712. //生命周期 - 挂载完成(可以访问DOM元素)
  713. mounted() {
  714. this.img = this.$route.query.img;
  715. this.get_boderHeight();
  716. // this.initSwiper(); //tab切换交流、鉴定、方案
  717. // this.interflowData(); //交流、鉴定列表接口
  718. },
  719. };
  720. </script>
  721. <style lang='scss'>
  722. @import "../../assets/scss/help.scss";
  723. //@import url(); 引入公共css类
  724. .el-message-box {
  725. width: 340px;
  726. }
  727. </style>