dengrui/unpackage/dist/dev/.sourcemap/mp-weixin/pagesB/allEvaluate/allEvaluate.js.map

1 line
9.0 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesB/allEvaluate/allEvaluate.vue?00f0","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesB/allEvaluate/allEvaluate.vue?b3f6","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesB/allEvaluate/allEvaluate.vue?6d37","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesB/allEvaluate/allEvaluate.vue?34cf","uni-app:///pagesB/allEvaluate/allEvaluate.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,gH;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;;;AAG1D;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;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;AAAwrB,CAAgB,uqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgB5sB;AACA;AACA,sBADA;AAEA,8BAFA,EADA;;AAKA,MALA,kBAKA;AACA;AACA,iBADA;AAEA,aAFA;AAGA,cAHA;AAIA,eAJA;AAKA,kBALA;AAMA,mBANA;AAOA,mBAPA;AAQA,iBARA;AASA,gDATA;AAUA,qBAVA;AAWA,gBAXA;;AAaA,GAnBA;AAoBA,UApBA,sBAoBA;AACA;AACA,GAtBA;AAuBA,QAvBA,kBAuBA,OAvBA,EAuBA;AACA;AACA;AACA;AACA,GA3BA;AA4BA,QA5BA,oBA4BA;AACA;AACA,GA9BA;AA+BA,eA/BA,2BA+BA;AACA;AACA;AACA,yCAFA,CAEA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GAvCA;AAwCA;AACA,eADA,yBACA;AACA;AACA,KAHA;AAIA,oBAJA,4BAIA,EAJA,EAIA;AACA;AACA,kBADA;AAEA,uBAFA;AAGA,uBAHA;AAIA,mCAJA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CADA;;AAGA;AACA,eALA;AAMA,iFARA,CAQA;AACA;AACA;AACA;AACA,eAFA,MAEA;AACA;AACA,oDADA;AAEA,6BAFA;AAGA,iCAHA;AAIA,qCAJA;AAKA,6CALA;AAMA,qCANA;AAOA,+BAPA;;AASA;AACA,aAvBA;AAwBA;AACA;AACA;AACA,OAlCA,EAkCA,mBAlCA;AAmCA,KA9CA,EAxCA,E","file":"pagesB/allEvaluate/allEvaluate.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pagesB/allEvaluate/allEvaluate.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./allEvaluate.vue?vue&type=template&id=55621922&\"\nvar renderjs\nimport script from \"./allEvaluate.vue?vue&type=script&lang=js&\"\nexport * from \"./allEvaluate.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/allEvaluate/allEvaluate.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!./allEvaluate.vue?vue&type=template&id=55621922&\"","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!./allEvaluate.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!./allEvaluate.vue?vue&type=script&lang=js&\"","<template>\n <view style=\"padding-bottom: 120rpx;\" v-if=\"pageShow\">\r\n <!-- 使用标题栏 -->\r\n <status-nav :statusBackw=\"true\" :statusTitle=\"true\" :title-val=\"'商品评价'\" :tabcolor=\"'#ffffff'\"></status-nav>\r\n <view class=\"bacb padding-x20\" :style=\"{marginTop:(statusHNH+10)+'px'}\" style=\"background-color: #F5F5F5;\">\r\n <!-- 列表 -->\r\n <evaluateList :eval-arr=\"evalArr\" :isEval=\"true\"></evaluateList>\r\n </view>\r\n <!-- 客服 -->\r\n <bottomkf :detail=\"proDetail\" @diaoq=\"proDetailEv\" :sku_img=\"sku_img\"></bottomkf>\r\n </view>\n</template>\n\n<script>\r\n import bottomkf from '@/components/bottomkf.vue';\n import evaluateList from '@/components/evaluateList.vue';\n export default {\r\n components:{\r\n bottomkf,\r\n evaluateList\r\n },\n data() {\n return {\n evalArr:[],\r\n\t\t\t\tpage:1,\r\n\t\t\t\tsize:10,\r\n\t\t\t\ttotal:'',\r\n\t\t\t\tisZanw:true,\r\n\t\t\t\tonly_image:0,\r\n\t\t\t\tproDetail:'',\r\n\t\t\t\tsku_img:'',\r\n\t\t\t\tstatusHNH:uni.getStorageSync('statusHNH'),\r\n\t\t\t\tpageShow:false,\r\n\t\t\t\tdangId:''\n }\n },\r\n\t\tonUnload() {\r\n\t\t\tuni.removeStorageSync('plOrder')\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.checkAllEvaluate(options.id)\r\n\t\t\tthis.dangId = options.id\r\n\t\t\tthis.proDetail = uni.getStorageSync('plOrder')\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.$toolAll.tools.guoq()\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\t\t\tif(this.total!=this.evalArr.length){\r\n\t\t\t\tthis.page++\r\n\t\t\t\tthis.checkAllEvaluate(this.dangId)//调用自主预约列表事件\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},\n methods: {\r\n\t\t\tproDetailEv(){\r\n\t\t\t\tthis.sku_img = this.$http + this.proDetail.sku_list[0].main_image\r\n\t\t\t},\n checkAllEvaluate(id){//查看所有评论列表事件\r\n\t\t\t\tlet allEvaluateObj = {\r\n\t\t\t\t\tspu_id: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\tonly_image:this.only_image\r\n\t\t\t\t}\r\n\t\t\t\tthis.$requst.post('product/spu/comment-list',allEvaluateObj).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.pageShow = true\r\n\t\t\t\t\t\tif(this.page==1) this.evalArr = []\r\n\t\t\t\t\t\tthis.total = res.data.total\r\n\t\t\t\t\t\tif(res.data.list.length!=0){\r\n\t\t\t\t\t\t\tres.data.list.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet imgArr = []\r\n\t\t\t\t\t\t\t\titem.images.forEach(itemimg=>{\r\n\t\t\t\t\t\t\t\t\tlet imgObj = {\r\n\t\t\t\t\t\t\t\t\t\tsrc:this.$http + itemimg\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\timgArr.push(imgObj)\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\tlet newname = this.$toolAll.tools.hideName(item.account.nickname)//隐藏姓名中间几位\r\n\t\t\t\t\t\t\t\tlet haveH = item.account.headimgurl.slice(0,4)\r\n\t\t\t\t\t\t\t\tif(haveH!='http') {\r\n\t\t\t\t\t\t\t\t\thaveH = this.$http\r\n\t\t\t\t\t\t\t\t} else haveH = ''\r\n\t\t\t\t\t\t\t\tlet evalObj = {\r\n\t\t\t\t\t\t\t\t\tsrc:haveH + item.account.headimgurl,\r\n\t\t\t\t\t\t\t\t\tname:newname,\r\n\t\t\t\t\t\t\t\t\txingj:item.grade,\r\n\t\t\t\t\t\t\t\t\tcontent:item.content,\r\n\t\t\t\t\t\t\t\t\ttitle:item.orderSku.spu_name,\r\n\t\t\t\t\t\t\t\t\ttime:item.created_at,\r\n\t\t\t\t\t\t\t\t\timgList:imgArr\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.evalArr.push(evalObj)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t// console.log(this.evalArr);\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}\n }\n }\n</script>\n\n<style>\n\n</style>\n"],"sourceRoot":""}