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

1 line
12 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0EzrB;AACA;AACA,oBADA,EADA;;AAIA,iBAJA;AAKA;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,EALA;;;AAiCA,MAjCA,kBAiCA;AACA;AACA,mBADA;AAEA,oBAFA;AAGA,6BAHA;AAIA,mBAJA;AAKA,oBALA;;AAOA,GAzCA;AA0CA;AACA,YADA,oBACA,CADA,EACA;AACA;AACA,KAHA;AAIA,YAJA,oBAIA,KAJA,EAIA;AACA;AACA;AACA,6HAFA;;AAIA,KATA;AAUA,cAVA,sBAUA,KAVA,EAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA;AACA,kBADA,EACA;AACA,oCAFA;AAGA,qCAHA,CAGA;AAHA;AAKA;AACA;AACA,SAbA,MAaA;AACA;AACA,KA7BA;AA8BA,aA9BA,uBA8BA;AACA;AACA;AACA;AACA,KAlCA;AAmCA,YAnCA,sBAmCA;AACA;AACA;AACA,KAtCA,EA1CA,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 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<text v-if=\"item.isVideo\" :style=\"{fontSize:(nFon-2)+'px',marginLeft:nmarz+'px'}\" style=\"border-radius: 5rpx;padding: 0 6rpx;text-align: center;\" class=\"pbackc flexs\">视频</text></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=\"disac\">\r\n\t\t\t\t\t\t\t<!-- 发布者头像 -->\r\n\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<!-- 发布者昵称 -->\r\n\t\t\t\t\t\t\t<view class=\"clips1 opc\">{{item.name}}</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<image v-if=\"item.isVideo\" :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 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\" :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=\"disac\">\r\n\t\t\t\t\t\t\t<!-- 发布者头像 -->\r\n\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<!-- 发布者昵称 -->\r\n\t\t\t\t\t\t\t<view class=\"clips1 opc\">{{item.name}}</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<image v-if=\"item.isVideo\" :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\t<!-- 弹框授权 -->\r\n\t\t<empower :vision=\"vision\" :isWhere=\"2\" @cancleEv=\"cancleEv\"></empower>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport empower from '@/components/empower.vue';\r\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\tempower\r\n\t\t},\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};\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\tuni.navigateTo({\r\n\t\t\t\t\t// url:'/pagesB/problemDetail/problemDetail?isCate='+this.list[index].isCate\r\n\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})\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.jieDuan==false){\r\n\t\t\t\t\tlet isAuth = this.$toolAll.tools.returnAuth()\r\n\t\t\t\t\tif(!isAuth){\r\n\t\t\t\t\t\tthis.$emit('chooseLike',index)\r\n\t\t\t\t\t\tthis.current = index\r\n\t\t\t\t\t\tif(this.list[index].is_collected==1) {\r\n\t\t\t\t\t\t\tthis.isShowT = true\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlet maiOjb = {\r\n\t\t\t\t\t\t\t\te:3,//内容收藏\r\n\t\t\t\t\t\t\t\tc:this.list[index].id,\r\n\t\t\t\t\t\t\t\tt:new Date().getTime()//当前时间戳\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.maiDian(maiOjb)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else this.jieDuan = true\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\r\n</style>\r\n"],"sourceRoot":""}