1 line
17 KiB
Plaintext
1 line
17 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/articleDetail/articleDetail.vue?3946","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/articleDetail/articleDetail.vue?e2ab","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/articleDetail/articleDetail.vue?a5a1","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/articleDetail/articleDetail.vue?02c8","uni-app:///pagesB/articleDetail/articleDetail.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,sH,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;;;AAG5D;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0rB,CAAgB,yqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiE9sB;AACA,MADA,kBACA;AACA;AACA,wCADA;AAEA,kBAFA;AAGA,8BAHA;AAIA,oBAJA;AAKA,mBALA,EAKA;AACA,iBANA,EAMA;AACA,sBAPA;AAQA,kBARA,EAQA;AACA,qBATA;AAUA,mBAVA;AAWA,qBAXA;AAYA,kBAZA;AAaA,oBAbA;AAcA,cAdA;AAeA,aAfA;AAgBA,eAhBA,EAgBA;AACA;AACA;AAlBA;AAoBA,GAtBA;AAuBA;AACA;AACA,eAFA,yBAEA;AACA;AACA,KAJA;AAKA,gBALA,0BAKA;AACA;AACA,KAPA,EAvBA;;AAgCA,mBAhCA,6BAgCA,GAhCA,EAgCA;AACA;AACA;AACA;AACA;AACA;AACA,0CADA,EACA;AACA,yLAFA,EAEA;AACA,8FAHA,CAGA;AAHA;AAKA;AACA,GA3CA;AA4CA,QA5CA,kBA4CA,OA5CA,EA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA;AACA,GAtDA;AAuDA,eAvDA,2BAuDA;AACA;AACA;AACA,wCAFA,CAEA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GA/DA;AAgEA;AACA,cADA,sBACA,WADA,EACA;AACA;AACA,gCADA;AAEA,uBAFA;AAGA,uBAHA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BADA;AAEA,uCAFA;AAGA,mCAHA;;AAKA;AACA;AACA,eARA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA,iCAFA;AAGA,uCAHA;AAIA,8BAJA;;AAMA;AACA,aAXA;AAYA;AACA;AACA,OAjCA,EAiCA,mBAjCA;AAkCA,KAzCA;AA0CA,aA1CA,qBA0CA,KA1CA,EA0CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAjDA;AAkDA,YAlDA,oBAkDA,KAlDA,EAkDA;AACA;AACA,qHADA;;AAGA,KAtDA;AAuDA,YAvDA,sBAuDA;AACA;AACA,8CADA;;AAGA,KA3DA;AA4DA,SA5DA,mBA4DA;AACA;AACA;AACA;AACA;AACA;AACA,uCANA,CAMA;AACA;AACA;AACA;AACA,KAtEA;AAuEA,eAvEA,uBAuEA,EAvEA,EAuEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAVA,EAUA,mBAVA;AAWA,KAnFA,EAhEA,E","file":"pagesB/articleDetail/articleDetail.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/articleDetail/articleDetail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./articleDetail.vue?vue&type=template&id=31fe4f3c&\"\nvar renderjs\nimport script from \"./articleDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./articleDetail.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesB/articleDetail/articleDetail.vue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./articleDetail.vue?vue&type=template&id=31fe4f3c&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./articleDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./articleDetail.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 状态栏 -->\r\n\t\t<status-nav :titleVal=\"'详情'\" :statusTitle=\"true\"></status-nav>\r\n\t\t<view v-if=\"isLoading\" :style=\"{paddingTop: statusHeight+'px'}\" class=\"pad-zy32 pad-x180\">\r\n\t\t\t<view class=\"fon36 col3 bold mar-sx20\" style=\"line-height: 50rpx;\">{{detailObj.title}}</view>\r\n\t\t\t<view class=\"disac mar-x20\">\r\n\t\t\t\t<image :src=\"headImg\" style=\"width: 60rpx;height: 60rpx;border-radius: 100%;\" mode=\"widthFix\"></image>\r\n\t\t\t\t<view class=\"mar-z10\">\r\n\t\t\t\t\t<view class=\"fon28 col3\">{{name}}</view>\r\n\t\t\t\t\t<view class=\"fon20 col9\" style=\"margin-top: 6rpx;\">{{detailObj.published_at}}发布</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 内容详情 -->\r\n\t\t\t<view class=\"fon28\" style=\"color: #1A1A1A; line-height: 40rpx;\">\r\n\t\t\t\t<!-- <image class=\"mar-x20\" src=\"/static/public/banner.png\" style=\"height: 400rpx;width: 100%;\" mode=\"\"></image> -->\r\n\t\t\t\t<!-- <view style=\"margin-bottom:50rpx;\">屋基寨位于阿坝茂县松坪沟,是典型的羌族聚居区,有着鲜明的价值观和民族文化屋基寨美景屋基寨美景。</view>\r\n\t\t\t\t<view style=\"margin-bottom:50rpx;\">山寨海拔3000米以上,有川西独特的自然景色,但是海拔高、地势陡,各类资源匮乏,居民收入单一屋基寨地貌屋基寨地貌。</view>\r\n\t\t\t\t<view style=\"margin-bottom:50rpx;\">成都恒美毛发医疗美容总经理徐军挺,了解到当地居民希望发展旅游增加收入时,便立即驱车前往屋基寨村民着盛装迎接恒美一行村民着盛装迎接恒美一行。</view>\r\n\t\t\t\t<view style=\"margin-bottom:50rpx;\">徐军挺总经理建议:做强乡村旅游,要完善基础设施,同时要保持乡村建筑风貌和地域文化特色;还要完善服务标准,提升消防安全水平;</view>\r\n\t\t\t\t<view style=\"margin-bottom:50rpx;\">打造乡村旅游品牌,形成示范带动作用参观了解村民居住环境参观了解村民居住环境了解村民们的生活习俗风土人情了解村民们的生活习俗风土人情。</view> -->\r\n\t\t\t\t<rich-text :nodes=\"content\"></rich-text>\r\n\t\t\t</view>\r\n\t\t\t<!-- 导航 -->\r\n\t\t\t<view class=\"mar-s50 pad-s10\">\r\n\t\t\t\t<cate-pu :newCurrent=\"newCurrent*1\" :activeb=\"publicColor\" :isCenter=\"cateListTwo.length<=4?false:true\" :newbmo=\"'#F5F5F5'\" @choosecateEv=\"chooseTwo\" :newcateList=\"cateListTwo\"></cate-pu>\r\n\t\t\t</view>\r\n\t\t\t<!-- 列表 -->\r\n\t\t\t<view v-if=\"dataList.length!=0\" class=\"mar-x20\">\r\n\t\t\t\t<view @tap=\"goDetail(index)\" class=\"pad-sx30 width100 disjb bbot\" v-for=\"(item,index) in dataList\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"disjb fc\">\r\n\t\t\t\t\t\t<view class=\"fon30 col3 clips2\" style=\"height: 84rpx;\">{{item.title}}</view>\r\n\t\t\t\t\t\t<view class=\"fon24 col9 mar-s25\">{{item.time}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<image v-if=\"item.imgSrc!=''\" class=\"flexs mar-z30\" style=\"width: 140rpx;height: 140rpx;\" :src=\"item.imgSrc\" mode=\"aspectFill\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"dataList.length==0\" class=\"disjcac fc\" style=\"margin-top: 20%;\">\r\n\t\t\t\t<image class=\"zanw-img\" src=\"/static/public/zanwn.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t<view class=\"fon24 col3\">暂无内容</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"posixzy disjbac bacf pad-zy32 btnBKS\">\r\n\t\t\t<view class=\"posir\">\r\n\t\t\t\t<image @tap=\"backHome\" class=\"posia backH\" src=\"/static/public/back-home.png\" mode=\"aspectFill\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"disac fon28 colf\">\r\n\t\t\t\t<view @tap=\"lianK\" class=\"disac posir lianShare\" style=\"background-color: #3875F6; border-top-left-radius: 51rpx;border-bottom-left-radius: 51rpx;\">\r\n\t\t\t\t\t<image src=\"/static/public/bottom-customer.png\" class=\"mar-zy20\" style=\"width: 47rpx;height: 47rpx;\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<view>联系客服</view>\r\n\t\t\t\t\t<button class=\"fon24 posia\" style=\"opacity: 0;top: 0;left: 0;right: 0;bottom: 0;\" open-type=\"contact\">客服</button>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"disac posir lianShare\" style=\"background-color: #38CE51;border-top-right-radius: 51rpx;border-bottom-right-radius: 51rpx;\">\r\n\t\t\t\t\t<image src=\"/static/public/bottom-shear.png\" style=\"width: 47rpx;height: 47rpx;margin-left: 15rpx;margin-right: 8rpx;\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<view>分享给好友</view>\r\n\t\t\t\t\t<button class=\"posia\" open-type=\"share\" style=\"top: 0;right: 0;left: 0;bottom: 0;opacity: 0;\">分享</button>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 用户信息授权,手机号授权 -->\r\n\t\t<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\theadImg:'/static/public/like.png',\r\n\t\t\t\tname:'恒美植发',\r\n\t\t\t\ttime:'2021-07-14 08:22',\r\n\t\t\t\tshowTop:false,\r\n\t\t\t\tdetailObj:{},//详情\r\n\t\t\t\tcontent:'',//富文本详情\r\n\t\t\t\tisLoading:false,\r\n\t\t\t\tdetailId:'',//当前关于我们新闻ID\r\n\t\t\t\tinvite_code:'',\r\n\t\t\t\tnewCurrent:0,\r\n\t\t\t\tcateListTwo:[],\r\n\t\t\t\tdataList:[],\r\n\t\t\t\tcategory_id:0,\r\n\t\t\t\tsize:10,\r\n\t\t\t\tpage:1,\r\n\t\t\t\ttotal:'',//总数\r\n\t\t\t\tisZanw:true,\r\n\t\t\t\t// shareImg:''//分享图\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 主题颜色\r\n\t\t\tpublicColor() {\r\n\t\t\t\treturn this.$store.state.publicColor\r\n\t\t\t},\r\n\t\t\tstatusHeight() {\r\n\t\t\t\treturn this.$store.state.statusHeight\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShareAppMessage(res) {\r\n\t\t var ya = this;\r\n\t\t\tthis.$requst.post('user/record',{type:'content',action:'share',id:this.detailObj.id}).then(res=>{console.log('分享成功:',res);},error=>{})\r\n\t\t\t// 调用tools.js中的种植埋点事件\r\n\t\t\tthis.$toolAll.tools.plantPoint(4,this.detailObj.id);\r\n\t\t\tvar shareObj = {\r\n\t\t \ttitle: `${ya.detailObj.title}`, // 默认是小程序的名称(可以写slogan等)\r\n\t\t \tpath: `/pagesB/articleDetail/articleDetail?id=${this.detailId}&share_id=${uni.getStorageSync('userId')}&invite_code=${uni.getStorageSync('invite_code')}`, // 默认是当前页面,必须是以‘/’开头的完整路径\r\n\t\t \timageUrl: `${this.$http}${this.detailObj.share_img || this.detailObj.cover}`//自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持PNG及JPG,不传入 imageUrl 则使用默认截图。显示图片长宽比是 5:4\r\n\t\t \t};\r\n\t\t return shareObj;\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.detailId = options.id\r\n\t\t\tthis.category_id = options.category_id\r\n\t\t\tif(uni.getStorageSync('phone_active')!=0 && uni.getStorageSync('is_active')!=0){\r\n\t\t\t\tthis.checkDetail(options.id);\r\n\t\t\t\tthis.$requst.get('index/base-config').then(res=>{\r\n\t\t\t\t\tthis.headImg = this.$http + res.data.logo;\r\n\t\t\t\t\tthis.name = res.data.logo_title;\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReachBottom() {//触底事件\r\n\t\t\tif(this.total!=this.dataList.length){\r\n\t\t\t\tthis.page++\r\n\t\t\t\tthis.checkAbout(this.category_id)//调用自主预约列表事件\r\n\t\t\t} else {\r\n\t\t\t\tif(this.isZanw) this.$toolAll.tools.showToast('暂无更多列表','none',1000)\r\n\t\t\t\tthis.isZanw = false\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tcheckAbout(category_id){\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\tcategory_id:category_id,\r\n\t\t\t\t\tpage:this.page,\r\n\t\t\t\t\tsize:this.size\r\n\t\t\t\t}\r\n\t\t\t\tthis.$requst.post('archives/about',params).then(res=>{\r\n\t\t\t\t\t// console.log('关于我们:',res);\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tif(this.cateListTwo.length==0){\r\n\t\t\t\t\t\t\tif(res.data.category.length!=0){\r\n\t\t\t\t\t\t\t\tres.data.category.forEach((item,index)=>{\r\n\t\t\t\t\t\t\t\t\tlet cateObj = {\r\n\t\t\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\t\t\tmode_id:item.mode_id,\r\n\t\t\t\t\t\t\t\t\t\ttitle:item.title\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tthis.cateListTwo.push(cateObj)\r\n\t\t\t\t\t\t\t\t\tif(this.category_id==item.id) this.newCurrent = index\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(this.page==1) this.dataList = []\r\n\t\t\t\t\t\tif(res.data.list.list.length!=0){\r\n\t\t\t\t\t\t\tthis.total = res.data.list.total\r\n\t\t\t\t\t\t\tres.data.list.list.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet newImg = ''\r\n\t\t\t\t\t\t\t\tif(item.cover=='') newImg = '/static/public/logo.png'\r\n\t\t\t\t\t\t\t\telse newImg = this.$http + item.cover\r\n\t\t\t\t\t\t\t\tlet aobj = {\r\n\t\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\t\ttitle:item.title,\r\n\t\t\t\t\t\t\t\t\ttime:item.published_at,\r\n\t\t\t\t\t\t\t\t\timgSrc:newImg\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif(this.detailId!=item.id) this.dataList.push(aobj)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t},error=>{})\r\n\t\t\t},\r\n\t\t\tchooseTwo(index){//二级分类选择\r\n\t\t\t\tthis.newCurrent = index\r\n\t\t\t\t// console.log('二级分类:',index);\r\n\t\t\t\tthis.isZanw = true\r\n\t\t\t\tthis.page = 1\r\n\t\t\t\tthis.category_id = this.cateListTwo[index].id\r\n\t\t\t\tthis.checkAbout(this.cateListTwo[index].id)\r\n\t\t\t},\r\n\t\t\tgoDetail(index){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pagesB/articleDetail/articleDetail?id='+this.dataList[index].id +\"&category_id=\"+this.category_id\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tbackHome(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/tabbar/pagehome/pagehome'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tlianK(){//客服\r\n\t\t\t\t// wx.openCustomerServiceChat({\r\n\t\t\t\t// \textInfo: {url: `https://work.weixin.qq.com/kfid/kfcb3bba5b57d9a42ba?enc_scene=ENC616HXDjLYNcmsR49PBE75UERg8Ncv3dygpYjfnh3XVvA&scene_param=${uni.getStorageSync('openid')}`},\r\n\t\t\t\t// \tcorpId: 'ww1f86f258d4ff5817',\r\n\t\t\t\t// \tsuccess(res) {}\r\n\t\t\t\t// })\r\n\t\t\t\tthis.$toolAll.tools.closeTimer()//清空埋点倒计时\r\n\t\t\t\tthis.$requst.post('user/record',{type:'other',action:'ask',id:0}).then(res=>{},error=>{})\r\n\t\t\t\t// 调用tools.js中的种植埋点事件\r\n\t\t\t\tthis.$toolAll.tools.plantPoint(5);\r\n\t\t\t},\r\n\t\t\tcheckDetail(id){\r\n\t\t\t\tthis.$requst.post('archives/detail',{id:id}).then(res=>{\r\n\t\t\t\t\t// console.log('详情:',res);\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tthis.detailObj = res.data.detail;\r\n\t\t\t\t\t\t// this.shareImg = this.$http + this.detailObj.share_img;\r\n\t\t\t\t\t\tthis.content = this.$toolAll.tools.escape2Html(res.data.detail.content)\r\n\t\t\t\t\t\tuni.hideToast()\r\n\t\t\t\t\t\tthis.isLoading = true\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.checkAbout(this.category_id);\r\n\t\t\t\t},error=>{})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n</style>\r\n"],"sourceRoot":""} |