hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/components/list-pu.js.map

1 line
15 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/chenq/chen/hengmei/hengmei/components/list-pu.vue?0ff0","webpack:///D:/chenq/chen/hengmei/hengmei/components/list-pu.vue?5ebe","webpack:///D:/chenq/chen/hengmei/hengmei/components/list-pu.vue?7e27","webpack:///D:/chenq/chen/hengmei/hengmei/components/list-pu.vue?990a","uni-app:///components/list-pu.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;;;AAGtD;AACgL;AAChL,gBAAgB,uLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;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;AAAqqB,CAAgB,mqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoGzrB;AACA,iBADA;AAEA;AACA;AACA,iBADA;AAEA;AACA;AACA,OAJA,EADA;;AAOA;AACA,kBADA;AAEA,oBAFA,EAPA;;AAWA;AACA,kBADA;AAEA,oBAFA,EAXA;;AAeA;AACA,kBADA;AAEA,mBAFA,EAfA;;AAmBA;AACA,kBADA;AAEA,mBAFA,EAnBA;;AAuBA;AACA,mBADA;AAEA,oBAFA,EAvBA,EAFA;;;AA8BA,MA9BA,kBA8BA;AACA;AACA,mBADA;AAEA,oBAFA;AAGA,6BAHA;AAIA,mBAJA;AAKA,oBALA;AAMA,4CANA;;AAQA,GAvCA;AAwCA;AACA,YADA,oBACA,CADA,EACA;AACA;AACA,KAHA;AAIA,YAJA,oBAIA,KAJA,EAIA;AACA;AACA;AACA,+HADA;;AAGA;AACA,KAVA;AAWA,cAXA,sBAWA,KAXA,EAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA;AACA,KAvBA;AAwBA;AACA,YAzBA,oBAyBA,KAzBA,EAyBA;AACA;AACA;AACA;AACA;AACA,KA9BA;AA+BA,aA/BA,uBA+BA;AACA;AACA;AACA;AACA,KAnCA;AAoCA,YApCA,sBAoCA;AACA;AACA;AACA,KAvCA,EAxCA,E","file":"components/list-pu.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./list-pu.vue?vue&type=template&id=530d2029&\"\nvar renderjs\nimport script from \"./list-pu.vue?vue&type=script&lang=js&\"\nexport * from \"./list-pu.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 = \"components/list-pu.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!./list-pu.vue?vue&type=template&id=530d2029&\"","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!./list-pu.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!./list-pu.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"disjb fw\" v-if=\"list.length!=0\">\r\n\t\t\t<!-- 左侧列表 -->\r\n\t\t\t<view class=\"list-box\">\r\n\t\t\t\t<view @tap=\"goDetail(index)\" v-if=\"index%2==0\" :class=\"radiu?'radius15 mar-x10':'radius30 mar-x30'\" class=\"posir colf zou\" v-for=\"(item,index) in list\" :key=\"index\">\r\n\t\t\t\t\t<!-- 背景图 -->\r\n\t\t\t\t\t<image :class=\"radiu?'radius15':'radius30'\" class=\" width100 list-min\" :src=\"item.main_img\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<view class=\"posia disjbac fon24\" :style=\"{borderRadius: radiu ? '15rpx 15rpx 0 0' : '30rpx 30rpx 0 0',padding:radiu ? '10rpx' : '17rpx 25rpx' }\" style=\"background-color: rgba(56,117,246,.8);top: 0;left: 0;right: 0;\">\r\n\t\t\t\t\t\t<view @tap.stop=\"chooseLike(index)\" class=\"disac\" style=\"width: 48%;justify-content: flex-start;\">\r\n\t\t\t\t\t\t\t<image :style=\"{width: radiu ?'30rpx':'40rpx',height: radiu ?'30rpx':'40rpx'}\" :src=\"['/static/public/cnllection-no.png','/static/public/yconllection.png'][item.is_collected]\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t\t<view class=\"mar-z10\">{{['收藏','已收藏'][item.is_collected]}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"width: 2rpx;height: 30rpx;background-color: #FFFFFF;\"></view>\r\n\t\t\t\t\t\t<view @tap.stop=\"praiseEv(index)\" class=\"disac\" style=\"width: 48%;justify-content: flex-end;\">\r\n\t\t\t\t\t\t\t<image :style=\"{width: radiu ?'30rpx':'40rpx',height: radiu ?'30rpx':'40rpx'}\" :src=\"['/static/public/list-nlike.png','/static/public/detail-like.png'][item.is_liked]\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t\t<view class=\"mar-z10\">{{['喜欢',item.likes][item.is_liked]}}</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=\"posia list-like-box\" @tap.stop=\"chooseLike(index)\"> -->\r\n\t\t\t\t\t\t<!-- 不喜欢 -->\r\n\t\t\t\t\t\t<!-- <image v-if=\"item.is_collected!=1\" src=\"/static/public/no-like.png\" mode=\"aspectFill\"></image> -->\r\n\t\t\t\t\t\t<!-- 喜欢 --> \r\n\t\t\t\t\t\t<!-- <image v-else :class=\"item.is_collected==1?'bounceIn':'bounceOut'\" class=\"animated\" src=\"/static/public/like.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t\t<view v-if=\"item.main_img!=''\" :class=\"radiu?'list-cont-box15':'list-cont-box'\" class=\"posia fon20\">\r\n\t\t\t\t\t\t<!-- 视频标题 -->\r\n\t\t\t\t\t\t<view class=\"fon30 bold mar-x10 disac\" :style=\"{fontSize:nFon+'px'}\">\r\n\t\t\t\t\t\t\t<view class=\"clips1\">{{item.title}}</view>\r\n\t\t\t\t\t\t\t<!-- <text v-if=\"item.isVideo && isVedio\" :style=\"{fontSize:(nFon-2)+'px',marginLeft:nmarz+'px'}\" style=\"border-radius: 5rpx;padding: 0 6rpx;text-align: center;\" class=\"pbackc flexs\">视频</text> -->\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<!-- 视频描述 -->\r\n\t\t\t\t\t\t<view class=\"mar-x10 clips1 opc\">{{item.content}}</view>\r\n\t\t\t\t\t\t<view class=\"disjbac\">\r\n\t\t\t\t\t\t\t<view class=\"disac\">\r\n\t\t\t\t\t\t\t\t<!-- 发布者头像 -->\r\n\t\t\t\t\t\t\t\t<image class=\"list-headimg\" :src=\"item.head_img\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t\t\t<!-- 发布者昵称 -->\r\n\t\t\t\t\t\t\t\t<view class=\"clips1 opc\">{{item.name}}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<text v-if=\"item.isVideo && isVedio\" :style=\"{fontSize:(nFon-2)+'px',marginLeft:nmarz+'px'}\" style=\"border-radius: 5rpx;padding: 0 6rpx;text-align: center;\" class=\"pbackc flexs\">视频</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<!-- <image v-if=\"item.isVideo && isVedio\" :style=\"{width:nWidth+'rpx',height:nHeight+'rpx'}\" class=\"posia\" style=\"top: 50%;left: 50%;transform: translate(-50%,-50%);\" src=\"/static/public/video.png\" mode=\"\"></image> -->\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=\"list-box\">\r\n\t\t\t\t<view @tap=\"goDetail(index)\" v-if=\"index%2!=0\" :class=\"radiu?'radius15 mar-x10':'radius30 mar-x30'\" class=\"posir colf zou\" v-for=\"(item,index) in list\" :key=\"index\">\r\n\t\t\t\t\t<!-- 背景图 -->\r\n\t\t\t\t\t<image :class=\"radiu?'radius15':'radius30'\" class=\"width100 list-min\" :src=\"item.main_img\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<view class=\"posia disjbac fon24\" :style=\"{borderRadius: radiu ? '15rpx 15rpx 0 0' : '30rpx 30rpx 0 0',padding:radiu ? '10rpx' : '17rpx 25rpx'}\" style=\"background-color: rgba(56,117,246,.8);top: 0;left: 0;right: 0;\">\r\n\t\t\t\t\t\t<view @tap.stop=\"chooseLike(index)\" class=\"disac\" style=\"width: 48%;justify-content: flex-start;\">\r\n\t\t\t\t\t\t\t<image :style=\"{width: radiu ?'30rpx':'40rpx',height: radiu ?'30rpx':'40rpx'}\" :src=\"['/static/public/cnllection-no.png','/static/public/yconllection.png'][item.is_collected]\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t\t<view class=\"mar-z10\">{{['收藏','已收藏'][item.is_collected]}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"width: 2rpx;height: 30rpx;background-color: #FFFFFF;\"></view>\r\n\t\t\t\t\t\t<view @tap.stop=\"praiseEv(index)\" class=\"disac\" style=\"width: 48%;justify-content: flex-end;\">\r\n\t\t\t\t\t\t\t<image :style=\"{width: radiu ?'30rpx':'40rpx',height: radiu ?'30rpx':'40rpx'}\" :src=\"['/static/public/list-nlike.png','/static/public/detail-like.png'][item.is_liked]\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t\t<view class=\"mar-z10\">{{['喜欢',item.likes][item.is_liked]}}</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=\"posia list-like-box\" @tap.stop=\"chooseLike(index)\"> -->\r\n\t\t\t\t\t\t<!-- 不喜欢 -->\r\n\t\t\t\t\t\t<!-- <image v-if=\"item.is_collected!=1\" src=\"/static/public/no-like.png\" mode=\"aspectFill\"></image> -->\r\n\t\t\t\t\t\t<!-- 喜欢 -->\r\n\t\t\t\t\t\t<!-- <image v-else :class=\"item.is_collected==1?'bounceIn':'bounceOut'\" class=\"animated\" src=\"/static/public/like.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t\t<view v-if=\"item.main_img!=''\" :class=\"radiu?'list-cont-box15':'list-cont-box'\" class=\"posia fon20 \">\r\n\t\t\t\t\t\t<!-- 视频标题 -->\r\n\t\t\t\t\t\t<view class=\"fon30 bold mar-x10 disac\" :style=\"{fontSize:nFon+'px'}\">\r\n\t\t\t\t\t\t\t<view class=\"clips1\">{{item.title}}</view>\r\n\t\t\t\t\t\t\t<!-- <text v-if=\"item.isVideo && isVedio\" :style=\"{fontSize:(nFon-2)+'px',marginLeft:nmarz+'px'}\" style=\"border-radius: 5rpx;padding: 0 6rpx;text-align: center;\" class=\"pbackc flexs\">视频</text> -->\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<!-- 视频描述 -->\r\n\t\t\t\t\t\t<view class=\"mar-x10 clips1 opc\">{{item.content}}</view>\r\n\t\t\t\t\t\t<view class=\"disjbac\">\r\n\t\t\t\t\t\t\t<view class=\"disac\">\r\n\t\t\t\t\t\t\t\t<!-- 发布者头像 -->\r\n\t\t\t\t\t\t\t\t<image class=\"list-headimg\" :src=\"item.head_img\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t\t\t<!-- 发布者昵称 -->\r\n\t\t\t\t\t\t\t\t<view class=\"clips1 opc\">{{item.name}}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<text v-if=\"item.isVideo && isVedio\" :style=\"{fontSize:(nFon-2)+'px',marginLeft:nmarz+'px'}\" style=\"border-radius: 5rpx;padding: 0 6rpx;text-align: center;\" class=\"pbackc flexs\">视频</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<!-- <image v-if=\"item.isVideo && isVedio\" :style=\"{width:nWidth+'rpx',height:nHeight+'rpx'}\" class=\"posia\" style=\"top: 50%;left: 50%;transform: translate(-50%,-50%);\" src=\"/static/public/video.png\" mode=\"\"></image> -->\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-else class=\"\" style=\"display: flex;flex-direction: column;align-items: center;\">\r\n\t\t\t<image src=\"/static/public/nothing.png\" style=\"width: 474rpx;height: 273rpx;\" mode=\"aspectFill\"></image>\r\n\t\t\t<!-- <view class=\"fon24 col3\" style=\"margin-bottom: 60rpx;\">暂无内容</view> -->\r\n\t\t</view>\r\n\t\t<!-- 弹框 -->\r\n\t\t<pu-po :isShowT=\"isShowT\" :contentVal=\"pu_content\" @comfirmev=\"comfirmev\" @cancleev=\"cancleev\"></pu-po>\r\n\t</view>\r\n</template>\r\n \r\n<script>\r\n\texport default {\r\n\t\tname:\"list-pu\",\r\n\t\tprops:{\r\n\t\t\tlist:{//数据\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:function(){\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tnWidth:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'120'\r\n\t\t\t},\r\n\t\t\tnHeight:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'120'\r\n\t\t\t},\r\n\t\t\tnFon:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'15'\r\n\t\t\t},\r\n\t\t\tnmarz:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'10'\r\n\t\t\t},\r\n\t\t\tradiu:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tvision:false,\r\n\t\t\t\tisShowT:false,\r\n\t\t\t\tpu_content:'是否需要取消收藏?',\r\n\t\t\t\tcurrent:'-1',\r\n\t\t\t\tjieDuan:false,\r\n\t\t\t\tisVedio:uni.getStorageSync('isVedio')\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tcancleEv(e){\r\n\t\t\t\tif(e==0) this.vision = false\r\n\t\t\t},\r\n\t\t\tgoDetail(index){//查看详情\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pagesB/problemDetail/problemDetail?id='+this.list[index].id+'&category_id='+this.list[index].category_id\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tchooseLike(index){//喜欢不喜欢事件\r\n\t\t\t\t// console.log('喜欢不喜欢:',index);\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()){\r\n\t\t\t\t\tthis.$emit('chooseLike',index)\r\n\t\t\t\t\tthis.current = index\r\n\t\t\t\t\tif(this.list[index].is_collected==1) {\r\n\t\t\t\t\t\tthis.isShowT = true\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// 调用tools.js中的种植埋点事件\r\n\t\t\t\t\t\tthis.$toolAll.tools.plantPoint(3,this.list[index].id);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 点赞事件\r\n\t\t\tpraiseEv(index){\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()){\r\n\t\t\t\t\tthis.$emit('praise',index)\r\n\t\t\t\t\tthis.current = index\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcomfirmev(){\r\n\t\t\t\t// console.log('取消收藏成功');\r\n\t\t\t\tthis.$emit('comfirmev',this.current)\r\n\t\t\t\tthis.isShowT = false\r\n\t\t\t},\r\n\t\t\tcancleev(){\r\n\t\t\t\t// console.log('关闭弹框');\r\n\t\t\t\tthis.isShowT = false\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t\r\n</style>\r\n"],"sourceRoot":""}