1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/article.vue?003c","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/article.vue?a5b4","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/article.vue?30c9","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/article.vue?5758","uni-app:///pages/user/article.vue","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/article.vue?54c9","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/article.vue?e609"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/user/article.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/user/article.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./article.vue?vue&type=template&id=ea1f32aa&\"\nvar renderjs\nimport script from \"./article.vue?vue&type=script&lang=js&\"\nexport * from \"./article.vue?vue&type=script&lang=js&\"\nimport style0 from \"./article.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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 = \"pages/user/article.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./article.vue?vue&type=template&id=ea1f32aa&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var f0 = _vm._f(\"getTime\")(_vm.artData.add_time)\n\n var l0 =\n _vm.plList.length > 0\n ? _vm.__map(_vm.plList, function(plIemt, __i0__) {\n var $orig = _vm.__get_orig(plIemt)\n\n var f1 =\n _vm.isZhankai == true && plIemt.user\n ? _vm._f(\"getTime\")(plIemt.add_time)\n : null\n return {\n $orig: $orig,\n f1: f1\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n f0: f0,\n l0: l0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./article.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./article.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"text-box\">\r\n\t\t\t<view class=\"text-title\">\r\n\t\t\t\t<view class=\"text-1\">{{artData.title}}</view>\r\n\t\t\t\t<view class=\"text-2\">\r\n\t\t\t\t\t<view class=\"name clamp\">\r\n\t\t\t\t\t\t{{artData.mer.name}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"gg\"></view>\r\n\t\t\t\t\t<view class=\"time\">\r\n\t\t\t\t\t\t{{artData.add_time | getTime}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"gg\"></view>\r\n\t\t\t\t\t<view class=\"time\">\r\n\t\t\t\t\t\t已阅读 {{artData.visit}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"text-content-title\" @click=\"navTo('/pages/user/dydetail?id=' + artData.mer.id)\">\r\n\t\t\t\t<view class=\"title-left-box\">\r\n\t\t\t\t\t<view class=\"image\">\r\n\t\t\t\t\t\t<image :src=\"artData.mer.headimg\" mode=\"\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"title-left-box-content\">\r\n\t\t\t\t\t\t<view class=\"title-left-box-name\">\r\n\t\t\t\t\t\t\t<view class=\"name-title\">\r\n\t\t\t\t\t\t\t\t{{artData.mer.name}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"name-dingyue\" v-if=\"artData.mer.is_sub==1\">\r\n\t\t\t\t\t\t\t\t已订阅\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"name-dingyue\" v-else>\r\n\t\t\t\t\t\t\t\t+订阅\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"title-left-box-title\">\r\n\t\t\t\t\t\t\t<text>发表文章:{{artData.mer.count}}</text><text\r\n\t\t\t\t\t\t\t\tstyle=\"margin-left: 20rpx;\">订阅:{{artData.mer.sub}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view class=\"tt\">\r\n\t\t\t\t\t>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"content-content\" v-html=\"artData.content\"></view>\r\n\t\t</view>\r\n\t\t<view class=\"pinglun\" v-if=\"plList.length > 0\">\r\n\t\t\t<view class=\" pinglun-box \">\r\n\t\t\t\t<view class=\"pinglun-title\">\r\n\t\t\t\t\t评论交流({{plNum}})\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\" v-if=\"isZhankai==true && plIemt.user\" v-for=\"plIemt in plList\">\r\n\t\t\t\t\t<view class=\"pinglun-content\" >\r\n\t\t\t\t\t\t<view class=\"pinglun-content-left\">\r\n\t\t\t\t\t\t\t<image :src=\"plIemt.user.avatar\" mode=\"\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"pinglun-content-right\">\r\n\t\t\t\t\t\t\t<view class=\"pinglun-name\">\r\n\t\t\t\t\t\t\t\t{{plIemt.user.nickname }}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"pinglun-tit\">\r\n\t\t\t\t\t\t\t\t{{plIemt.content}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"pinglun-time\">\r\n\t\t\t\t\t\t\t\t{{plIemt.add_time | getTime}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"hf-wrap\" v-if=\"plIemt.to.length > 0\">\r\n\t\t\t\t\t\t<view class=\"hf\" v-for=\"hfitem in plIemt.to\">\r\n\t\t\t\t\t\t\t<!-- <text style=\"color: #3ea8cb;\">作者</text> -->\r\n\t\t\t\t\t\t\t<text style=\"color: #3ea8cb;\">回复</text>:<text>{{hfitem.content}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"\" style=\"height: 10rpx;\" v-if=\"plIemt.to.length > 0\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\r\n\t\t\t\t<view class=\"zhankai\" @click=\"zhankai()\">\r\n\t\t\t\t\t<view class=\"all\" v-if=\"isZhankai==true\">\r\n\t\t\t\t\t\t收起\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"all\" v-else>\r\n\t\t\t\t\t\t展开全部\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<image src=\"../../static/img/top.png\" mode=\"\" v-if=\"isZhankai==true\"></image>\r\n\t\t\t\t\t<image src=\"../../static/img/bottom.png\" mode=\"\" v-else></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"look\">\r\n\t\t\t<view class=\" look-box \">\r\n\t\t\t\t<view class=\"look-title\">\r\n\t\t\t\t\t相关阅读\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"look-content\" v-for=\"(xgItem,index) in xgList\"\r\n\t\t\t\t\t@click=\"navTo('/pages/user/article?id=' + xgItem.id)\">\r\n\t\t\t\t\t<view class=\"look-content-right\">\r\n\t\t\t\t\t\t<view class=\"look-name\">\r\n\t\t\t\t\t\t\t{{index + 1}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"look-tit clamp\">\r\n\t\t\t\t\t\t\t{{xgItem.title}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"look-time\">\r\n\t\t\t\t\t\t<!-- {{xgItem.visit}}次 -->\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"pw\">\r\n\r\n\t\t</view>\r\n\t\t<view class=\"send-box\" @click=\"buy()\">\r\n\t\t\t<input type=\"text\" class=\"input\" value=\"\" placeholder=\"我来聊两句...\" confirm-type=\"发布\" v-model=\"myPl\"\r\n\t\t\t\t@confirm=\"subPl\" />\r\n\t\t\t<image src=\"../../static/img/dianzan.png\" mode=\"\" @click=\"dianZan\"></image>\r\n\t\t\t<!-- <image src=\"../../static/img/share1.png\" mode=\"\"></image> -->\r\n\t\t\t<text style=\"color: #999;font-weight: bold;font-size: 28rpx;\" @click=\"subPl\">发布</text>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tweixindata,\r\n\t\tshareLoad\r\n\t} from '@/utils/wxAuthorized.js';\r\n\timport {\r\n\t\tgetArtDetail,\r\n\t\tgetPlList,\r\n\t\tgetXgList,\r\n\t\tdianZan,\r\n\t\tsubPl\r\n\t} from '@/api/art.js'\r\n\timport {\r\n\t\tgetTime\r\n\t} from '@/utils/rocessor.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tisDingyue: false, //是否订阅\r\n\t\t\t\tplNum: 10, //评论数量\r\n\t\t\t\tdyNumber: 10, //订阅人数\r\n\t\t\t\tisZhankai: false, //是否展开\r\n\t\t\t\tartId: 0,\r\n\t\t\t\tartData: {},\r\n\t\t\t\tplList: [],\r\n\t\t\t\txgList: [], //相关阅读\r\n\t\t\t\tmyPl: '', //我的评论\r\n\t\t\t};\r\n\t\t},\r\n\t\tfilters: {\r\n\t\t\tgetTime\r\n\t\t},\r\n\t\tonLoad(opt) {\r\n\t\t\tif (opt.id) {\r\n\t\t\t\tthis.artId = opt.id\r\n\t\t\t}\r\n\t\t\tthis.getArtDetail()\r\n\t\t\tthis.getPlList()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 分享\r\n\t\t\tIndexShare() {\r\n\t\t\t\tlet obj = this;\r\n\t\t\t\t// let money = obj.money;\r\n\t\t\t\tlet item = {\r\n\t\t\t\t\tlink: obj.$store.state.baseURL + '/index/#/pages/user/article?id=' + obj.artId, // 分享链接\r\n\t\t\t\t\timgUrl: obj.artData.image_input[0],\r\n\t\t\t\t\tdesc: obj.artData.synopsis,\r\n\t\t\t\t\ttitle: obj.artData.title,\r\n\t\t\t\t\tsuccess: console.log('分享加载成功')\r\n\t\t\t\t};\r\n\t\t\t\tshareLoad(item);\r\n\t\t\t},\r\n\t\t\tnavTo(url) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\t//展开全部\r\n\t\t\tzhankai() {\r\n\t\t\t\tif (this.isZhankai == false) {\r\n\t\t\t\t\tthis.isZhankai = true\r\n\t\t\t\t} else if (this.isZhankai == true) {\r\n\t\t\t\t\tthis.isZhankai = false\r\n\t\t\t\t}\r\n\r\n\t\t\t},\r\n\t\t\t// 获取详情\r\n\t\t\tgetArtDetail() {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tgetArtDetail({}, obj.artId).then(res => {\r\n\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\tobj.artData = res.data\r\n\t\t\t\t\tif (obj.artData.content != null) {\r\n\t\t\t\t\t\tobj.artData.content = obj.artData.content.replace(/<img/g,\r\n\t\t\t\t\t\t\t\"<img style='max-width:100%;height:auto;'\");\r\n\t\t\t\t\t\t// obj.artData.content = obj.artData.content.replace(/<p style=\"text-indent:28px/g,\" <p style='text-indent:28px;text-align: justify;\");\r\n\t\t\t\t\t} //小程序商品详情图超出屏幕问题\r\n\t\t\t\t\tthis.getXgList(res.data.cid)\r\n\t\t\t\t\tthis.IndexShare()\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgetPlList() {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tgetPlList({}, obj.artId).then(res => {\r\n\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\tobj.plNum = res.data.count\r\n\t\t\t\t\tobj.plList = res.data.list\r\n\t\t\t\t\t// let arr = []//评论列表\r\n\t\t\t\t\t// let brr = []//回复列表\r\n\t\t\t\t\t// if (res.data.list.length > 0) {\r\n\t\t\t\t\t// \tres.data.list.forEach(item => {\r\n\t\t\t\t\t// \t\tif (item.user) {\r\n\t\t\t\t\t// \t\t\tarr.push(item)\r\n\t\t\t\t\t// \t\t} else {\r\n\t\t\t\t\t// \t\t\tbrr.push(item)\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\t\r\n\t\t\t\t\t// console.log(arr, brr, 'arr++brr')\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgetXgList(cid) {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tgetXgList({\r\n\t\t\t\t\ttype: cid\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\tobj.xgList = res.data\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsubPl() {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tconsole.log('发布评论')\r\n\t\t\t\tif (obj.myPl == '') {\r\n\t\t\t\t\treturn obj.$api.msg('请输入评论内容')\r\n\t\t\t\t}\r\n\t\t\t\tsubPl({\r\n\t\t\t\t\tcontent: obj.myPl\r\n\t\t\t\t}, obj.artId).then(res => {\r\n\t\t\t\t\tobj.myPl = ''\r\n\t\t\t\t\tobj.$api.msg('发布成功!')\r\n\t\t\t\t\tthis.getPlList()\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 点赞\r\n\t\t\tdianZan() {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tdianZan({}, obj.artId).then(res => {\r\n\t\t\t\t\tobj.$api.msg('点赞成功!')\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage,\r\n\t.content {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\r\n\t.text-box {\r\n\t\tpadding: 30rpx;\r\n\t\tborder: 1rpx solid #EEEEEE;\r\n\t\twidth: 100%;\r\n\t\tbackground-color: #fff;\r\n\r\n\t\t.text-title {\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\r\n\t\t\t.text-1 {\r\n\t\t\t\tfont-size: 33rpx;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t\tmargin-bottom: 30rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.text-2 {\r\n\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t.name {\r\n\t\t\t\t\tfont-size: 25rpx;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.gg {\r\n\t\t\t\t\tmargin: 0 15rpx;\r\n\t\t\t\t\twidth: 3rpx;\r\n\t\t\t\t\theight: 25rpx;\r\n\t\t\t\t\tbackground: #EEEEEE;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.time {\r\n\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n\r\n\t.text-content-title {\r\n\t\tmargin: 30rpx 0;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tbackground: #F5F5F5;\r\n\t\tpadding: 17rpx 30rpx;\r\n\t\tborder-radius: 7rpx;\r\n\r\n\r\n\t\t.title-left-box {\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: space-between;\r\n\t\t\talign-items: center;\r\n\r\n\t\t\t.image {\r\n\t\t\t\twidth: 85rpx;\r\n\t\t\t\theight: 85rpx;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\tborder-radius: 50%;\r\n\t\t\t\tmargin-right: 18rpx;\r\n\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 100%;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.title-left-box-content {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: column;\r\n\r\n\t\t\t\t.title-left-box-name {\r\n\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t\t.name-title {\r\n\t\t\t\t\t\tfont-size: 29rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.name-dingyue {\r\n\t\t\t\t\t\tmargin-left: 15rpx;\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t\tcolor: #F3554F;\r\n\t\t\t\t\t\twidth: 92rpx;\r\n\t\t\t\t\t\theight: 34rpx;\r\n\t\t\t\t\t\tborder: 1rpx solid #F3554F;\r\n\t\t\t\t\t\tborder-radius: 17rpx;\r\n\t\t\t\t\t\tline-height: 34rpx;\r\n\t\t\t\t\t\ttext-align: center;\r\n\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.title-left-box-title {\r\n\t\t\t\ttext {\r\n\t\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\t\t.tt {\r\n\t\t\tcolor: #B3B3B3;\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t/deep/ .content-content {\r\n\t\tp {\r\n\t\t\ttext-align: justify;\r\n\t\t}\r\n\t}\r\n\r\n\t.pinglun {\r\n\t\tbackground: #F8F8F8;\r\n\t\tpadding: 20rpx 0;\r\n\t}\r\n\r\n\t.pinglun-box {\r\n\t\tbackground: #FFFFFF;\r\n\r\n\t\t.pinglun-title {\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tcolor: #333333;\r\n\t\t\tline-height: 80rpx;\r\n\t\t\tmargin-left: 30rpx;\r\n\t\t}\r\n\r\n\t\t.pinglun-content {\r\n\t\t\tdisplay: flex;\r\n\t\t\tborder-top: 1rpx solid #EEEEEE;\r\n\t\t\t// border-bottom: 1rpx solid #EEEEEE;\r\n\t\t\tpadding: 30rpx 0 0 30rpx;\r\n\r\n\t\t\t.pinglun-content-left {\r\n\t\t\t\twidth: 66rpx;\r\n\t\t\t\theight: 66rpx;\r\n\t\t\t\tborder-radius: 50%;\r\n\t\t\t\toverflow: hidden;\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 100%;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.pinglun-content-right {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\tmargin-left: 30rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: column;\r\n\r\n\t\t\t\t.pinglun-name {\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.pinglun-tit {\r\n\t\t\t\t\tmargin: 8rpx 0;\r\n\t\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.pinglun-time {\r\n\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t\tmargin-bottom: 15rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.zhankai {\r\n\t\tpadding: 10rpx 0;\r\n\t\tjustify-content: center;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\r\n\t\t.all {}\r\n\r\n\t\timage {\r\n\t\t\tmargin-left: 10rpx;\r\n\t\t\twidth: 20rpx;\r\n\t\t\theight: 20rpx;\r\n\r\n\t\t}\r\n\t}\r\n\r\n\t.look {\r\n\t\tbackground: #FFFFFF;\r\n\t\tmargin-top: 20rpx;\r\n\r\n\t\t.look-box {\r\n\t\t\tmargin: 0 30rpx;\r\n\r\n\t\t\t.look-title {\r\n\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t\tline-height: 80rpx;\r\n\t\t\t\tmargin-left: 30rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.look-content {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\tpadding: 30rpx 0;\r\n\r\n\t\t\t\tborder-top: 1px solid #EEEEEE;\r\n\t\t\t\tborder-bottom: 1px solid #EEEEEE;\r\n\r\n\t\t\t\t.look-content-right {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t\t.look-name {\r\n\r\n\t\t\t\t\t\twidth: 37rpx;\r\n\t\t\t\t\t\theight: 37rpx;\r\n\t\t\t\t\t\tbackground: #EE6231;\r\n\t\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\t\tfont-size: 27rpx;\r\n\t\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\tline-height: 37rpx;\r\n\t\t\t\t\t\ttext-align: center;\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.look-tit {\r\n\t\t\t\t\t\tmargin-left: 10rpx;\r\n\t\t\t\t\t\twidth: 500rpx;\r\n\r\n\t\t\t\t\t\tfont-size: 27rpx;\r\n\t\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.look-time {}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\r\n\r\n\t.send-box {\r\n\t\t// border-top: 1rpx solid #999999;\r\n\t\tbackground: #FFFFFF;\r\n\t\tpadding: 30rpx;\r\n\t\twidth: 100%;\r\n\t\tposition: fixed;\r\n\t\tbottom: 0;\r\n\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-around;\r\n\t\talign-items: center;\r\n\r\n\t\t.input {\r\n\t\t\tpadding-left: 30rpx;\r\n\t\t\twidth: 550rpx;\r\n\t\t\theight: 60rpx;\r\n\t\t\tbackground: #EEEEEE;\r\n\t\t\tborder-radius: 31rpx;\r\n\t\t}\r\n\r\n\t\timage {\r\n\t\t\twidth: 42rpx;\r\n\t\t\theight: 42rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.pw {\r\n\t\theight: 120rpx;\r\n\t}\r\n\t.hf-wrap {\r\n\t\twidth: 600rpx;\r\n\t\tbackground-color: #f4f4f4;\r\n\t\tmargin-left: 120rpx;\r\n\t\tpadding: 10rpx;\r\n\t\tpadding-bottom: 0;\r\n\t\tfont-size: 26rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t\t.hf {\r\n\t\t\tpadding-bottom: 10rpx;\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./article.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./article.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1660177692714\n var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
|