hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/components/wfalls-flow.js.map

1 line
15 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/chenq/chen/hengmei/hengmei/components/wfalls-flow.vue?0ec1","webpack:///D:/chenq/chen/hengmei/hengmei/components/wfalls-flow.vue?5a11","webpack:///D:/chenq/chen/hengmei/hengmei/components/wfalls-flow.vue?43bf","webpack:///D:/chenq/chen/hengmei/hengmei/components/wfalls-flow.vue?0bae","uni-app:///components/wfalls-flow.vue","webpack:///D:/chenq/chen/hengmei/hengmei/components/wfalls-flow.vue?e7ae","webpack:///D:/chenq/chen/hengmei/hengmei/components/wfalls-flow.vue?8fe9"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACwC;;;AAGlG;AACgL;AAChL,gBAAgB,uLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;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;AAAyqB,CAAgB,uqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwC7rB;AACA;AACA;AACA,iBADA,CACA;AADA,KADA;AAIA;AACA,kBADA;AAEA,oBAFA,EAJA;;AAQA;AACA,kBADA;AAEA,oBAFA,EARA;;AAYA;AACA,kBADA;AAEA,mBAFA,EAZA,EADA;;;AAkBA,MAlBA,kBAkBA;AACA;AACA,4CADA,EACA;AACA,iBAFA;AAGA,oBAHA;AAIA,6BAJA;AAKA,oBALA;AAMA,iBANA;;AAQA,GA3BA;AA4BA;AACA,QADA,gBACA,MADA,EACA,MADA,EACA;AACA;AACA,KAHA,EA5BA;;AAiCA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA,KALA;AAMA,YANA,sBAMA;AACA;AACA;AACA,KATA;AAUA,cAVA,sBAUA,KAVA,EAUA,MAVA,EAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA;AACA;AACA;AACA,SATA,MASA;AACA;AACA,KAzBA;AA0BA,YA1BA,oBA0BA,KA1BA,EA0BA,MA1BA,EA0BA;AACA;AACA;AACA;AACA;AACA;AACA,mKAFA;;AAIA,SALA,MAKA;AACA;AACA,KApCA;AAqCA,QArCA,kBAqCA;AACA;AACA;AACA;AACA,OAFA,EAEA,CAFA;AAGA,KA1CA;AA2CA,oBA3CA,4BA2CA,CA3CA,EA2CA,CA3CA,EA2CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,EAGA,IAHA;AAIA,KAvDA,EAjCA;;AA0FA,SA1FA,qBA0FA;AACA;AACA;AACA;AACA,GA9FA,E;;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAAiwC,CAAgB,wrCAAG,EAAC,C;;;;;;;;;;;ACArxC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/wfalls-flow.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./wfalls-flow.vue?vue&type=template&id=6acf564f&scoped=true&\"\nvar renderjs\nimport script from \"./wfalls-flow.vue?vue&type=script&lang=js&\"\nexport * from \"./wfalls-flow.vue?vue&type=script&lang=js&\"\nimport style0 from \"./wfalls-flow.vue?vue&type=style&index=0&id=6acf564f&lang=stylus&scoped=true&\"\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 \"6acf564f\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/wfalls-flow.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!./wfalls-flow.vue?vue&type=template&id=6acf564f&scoped=true&\"","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!./wfalls-flow.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!./wfalls-flow.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view v-if=\"list.length==0\" 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<view class=\"list-container\">\n\t\t\t<view id=\"wf-list\" class=\"list\" v-for=\"(list,listIndex) of viewList\" :key=\"listIndex\">\r\n\t\t\t\t<view @tap=\"goDetail(listIndex,index)\" class=\"item\" style=\"position: relative;\" v-for=\"(item,index) of list.list\" :key=\"index\">\r\n\t\t\t\t\t<image style=\"border-radius: 30rpx;min-height: 260rpx;\" @load=\"handleViewRender(listIndex,index)\" @error=\"handleViewRender(listIndex,index)\" :src=\"item.main_img\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<view style=\"position: absolute;top: 18rpx;right: 18rpx;z-index: 3;\" @tap.stop=\"chooseLike(listIndex,index)\">\r\n\t\t\t\t\t\t<!-- <image src=\"/static/public/like.png\" style=\"width: 69rpx;height: 69rpx;border-radius: 100%;\" mode=\"\"></image> -->\r\n\t\t\t\t\t\t<!-- 不喜欢 -->\r\n\t\t\t\t\t\t<image v-if=\"item.is_collected!=1\" style=\"width: 69rpx;height: 69rpx;border-radius: 100%;\" src=\"/static/public/no-like.png\"></image>\r\n\t\t\t\t\t\t<!-- 喜欢 --> \r\n\t\t\t\t\t\t<image v-if=\"item.is_collected==1\" :class=\"item.is_collected==1?'bounceIn':'bounceOut'\" style=\"width: 69rpx;height: 69rpx;border-radius: 100%;\" 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 style=\"position: absolute;z-index: 1;bottom: 8rpx;color: #FFFFFF;background: -webkit-linear-gradient(bottom,rgba(0,0,0,0.79),rgba(255,255,255,0));width: 100%;padding-top: 100rpx;border-bottom-left-radius: 30rpx;border-bottom-right-radius: 30rpx;\">\r\n\t\t\t\t\t\t<view style=\"margin: 20rpx;font-size: 22rpx;line-height: 40rpx;\">\r\n\t\t\t\t\t\t\t<view style=\"display: flex;align-items: center;font-size: 30rpx;\">\r\n\t\t\t\t\t\t\t\t<view class=\"clips1 mar-y10\">{{item.title}}</view>\r\n\t\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 fon30\">视频</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"clips1\" style=\"opacity: .7;\">{{item.content}}</view>\r\n\t\t\t\t\t\t\t<view style=\"display: flex;align-items: center;\">\r\n\t\t\t\t\t\t\t\t<image :src=\"item.head_img\" style=\"width: 28rpx;height: 28rpx;border-radius: 100%;\" mode=\"\"></image>\r\n\t\t\t\t\t\t\t\t<view class=\"mar-z10\" style=\"opacity: .7;\">{{item.name}}</view>\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<image v-if=\"item.isVideo\" :style=\"{width:nWidth+'rpx',height:nHeight+'rpx'}\" class=\"posia\" style=\"top: 50%;left: 50%;transform: translate(-50%,-50%);z-index: 3;\" 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<!-- 弹框 -->\r\n\t\t<pu-po :isShowT=\"isShowT\" :contentVal=\"pu_content\" @comfirmev=\"comfirmev\" @cancleev=\"cancleev\"></pu-po>\r\n\t</view>\n</template>\n\n<script>\r\n\texport default {\r\n props:{\r\n list:{\r\n type:Array, //实际请求获取的列表数据\r\n },\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 },\n\t\tdata() {\n\t\t\treturn {\n viewList:[{list:[]},{list:[]}], //展示到视图的列表数据\r\n everyNum:2,\r\n\t\t\t\tjieDuan:false,\r\n\t\t\t\tpu_content:'是否需要取消收藏?',\r\n\t\t\t\tisShowT:false,\r\n\t\t\t\tcurrent:{}\r\n\t\t\t}\n\t\t},\r\n\t\twatch:{\r\n\t\t\tlist(oldVal,newVal){\r\n\t\t\t\tthis.init()\r\n\t\t\t}\r\n\t\t},\n\t\tmethods: {\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\tchooseLike(index,indext){//喜欢不喜欢事件\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',this.viewList[index].list[indext].id)\r\n\t\t\t\t\t\tthis.current = this.viewList[index].list[indext].id\r\n\t\t\t\t\t\tif(this.viewList[index].list[indext].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\t// 调用tools.js中的种植埋点事件\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.plantPoint(2,this.viewList[index].list[indext].id);\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\tgoDetail(index,indext){//查看详情\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\tuni.navigateTo({\r\n\t\t\t\t\t\t\t// url:'/pagesB/problemDetail/problemDetail?isCate='+this.list[index].isCate\r\n\t\t\t\t\t\t\turl:'/pagesB/problemDetail/problemDetail?id='+this.viewList[index].list[indext].id+'&category_id='+this.viewList[index].list[indext].category_id\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 init(){\r\n this.viewList = [{list:[]},{list:[]}];\r\n setTimeout(()=>{\r\n this.handleViewRender(0,0)\r\n },0)\r\n },\n\t\t\thandleViewRender(x,y){\r\n const index = this.viewList.reduce((total,current)=>total + current.list.length,0)\r\n if(index>this.list.length-1) {\r\n // 加载完成触发事件并返回加载过的图片数\r\n return\r\n };\r\n const query = uni.createSelectorQuery().in(this);\r\n let listFlag = 0;\r\n query.selectAll('#wf-list').boundingClientRect(data => {\r\n listFlag = data[0].bottom - data[1].bottom<=0?0:1;\r\n this.viewList[listFlag].list.push(this.list[index])\r\n }).exec()\r\n },\r\n\t\t},\r\n mounted() {\r\n if(this.list.length){\r\n this.init()\r\n }\r\n }\r\n\t}\n</script>\n\n<style lang=\"stylus\" scoped>\n .list-container\r\n display flex\r\n justify-content space-between\r\n align-items:flex-start\r\n padding-top 20rpx\r\n .list\r\n width calc(48%)\r\n display flex\r\n flex-direction column\r\n .item\r\n margin-bottom 30rpx\r\n image\r\n width 100%\r\n .desc\r\n padding 20rpx\r\n font-size 22rpx\n</style>","import mod from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--11-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--11-oneOf-1-5!../../../../../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!./wfalls-flow.vue?vue&type=style&index=0&id=6acf564f&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--11-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-3!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/stylus-loader/index.js??ref--11-oneOf-1-4!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--11-oneOf-1-5!../../../../../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!./wfalls-flow.vue?vue&type=style&index=0&id=6acf564f&lang=stylus&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1646182851131\n var cssReload = require(\"D:/HbuilderX/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":""}