1 line
9.2 KiB
Plaintext
1 line
9.2 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/daiEvaluated/daiEvaluated.vue?e983","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/daiEvaluated/daiEvaluated.vue?d183","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/daiEvaluated/daiEvaluated.vue?9953","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/daiEvaluated/daiEvaluated.vue?65f4","uni-app:///pagesA/daiEvaluated/daiEvaluated.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,kH;AACAA,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;;;AAG3D;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;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;AAAyrB,CAAgB,wqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyB7sB;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,aAFA;AAGA,cAHA;AAIA,eAJA;AAKA,kBALA;AAMA,gDANA;AAOA,qBAPA;;AASA,GAXA;AAYA,QAZA,oBAYA;AACA;AACA,GAdA;AAeA,QAfA,oBAeA;AACA;AACA,GAjBA;AAkBA,eAlBA,2BAkBA;AACA;AACA;AACA,sBAFA,CAEA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GA1BA;AA2BA;AACA,YADA,sBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BADA;AAEA,6CAFA;AAGA,qCAHA;AAIA,wDAJA;AAKA,2CALA;AAMA,0CANA;AAOA,oCAPA;AAQA,8CARA;AASA,8CATA;AAUA,0CAVA;;AAYA;AACA;AACA,eAhBA;AAiBA,aAlBA;AAmBA;AACA;AACA,OA5BA,EA4BA,mBA5BA;AA6BA,KA/BA;AAgCA,eAhCA,uBAgCA,KAhCA,EAgCA;AACA;AACA;AACA,wCADA;;AAGA,KArCA;AAsCA,eAtCA,uBAsCA,EAtCA,EAsCA;AACA;AACA,2DADA;;AAGA,KA1CA,EA3BA,E","file":"pagesA/daiEvaluated/daiEvaluated.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pagesA/daiEvaluated/daiEvaluated.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./daiEvaluated.vue?vue&type=template&id=06856e8b&\"\nvar renderjs\nimport script from \"./daiEvaluated.vue?vue&type=script&lang=js&\"\nexport * from \"./daiEvaluated.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 = \"pagesA/daiEvaluated/daiEvaluated.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!./daiEvaluated.vue?vue&type=template&id=06856e8b&\"","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!./daiEvaluated.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!./daiEvaluated.vue?vue&type=script&lang=js&\"","<template>\n <view v-if=\"pageShow\">\n <!-- 使用标题栏 -->\r\n <status-nav :statusBackw=\"true\" :statusTitle=\"true\" :title-val=\"'待评价'\" :tabcolor=\"'#ffffff'\"></status-nav>\r\n <view :style=\"{paddingTop:(statusHNH+10)+'px'}\">\r\n <view v-if=\"dataArr.length!=0\" class=\"margin-sx20 bacb padding-zy20\">\r\n <view class=\"padding-sx30 borbot\" v-for=\"(item,index) in dataArr\" :key=\"index\">\r\n <view class=\"disac\" @tap=\"checkDetail(item.spu_id)\">\r\n <image class=\"flexs goodsImg\" :src=\"item.src\" mode=\"aspectFill\"></image>\r\n <view class=\"margin-z20\">\r\n <view class=\"fon28 clips2\">{{item.title}}</view>\r\n <view class=\"margin-sx10\"><text class=\"fon26\" style=\"color: #6f6f6f;\">共{{item.num}}件</text><text class=\"bold fon26 margin-z10\">¥<text class=\"fon32\">{{item.price}}</text>.0</text></view>\r\n </view>\r\n </view>\r\n <view class=\"disba jcend\">\r\n <view @tap=\"goEvaluated(index)\" class=\"fon26 colorf78\" style=\"border: 1rpx solid #FF7800;height: 60rpx;width: 150rpx;border-radius: 29.5rpx;text-align: center;line-height: 60rpx;\">评价</view>\r\n </view>\r\n </view>\r\n </view>\r\n\t\t\t<view v-if=\"dataArr.length==0\" class=\"zanwu\">暂无待评价商品记录</view>\r\n </view>\r\n </view>\n</template>\n\n<script>\n export default {\n data() {\n return {\r\n dataArr:[],\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\tstatusHNH:uni.getStorageSync('statusHNH'),\r\n\t\t\t\tpageShow:false\r\n }\n },\r\n\t\tonShow() {\r\n\t\t\tthis.$toolAll.tools.guoq()\r\n\t\t},\r\n onLoad() {\r\n\t\t\tthis.checkDai()\r\n },\r\n\t\tonReachBottom() {\r\n\t\t\tif(this.total!=this.dataArr.length){\r\n\t\t\t\tthis.page++\r\n\t\t\t\tthis.checkDai()//调用自主预约列表事件\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\tcheckDai(){//查询待评价列表\r\n\t\t\t\tthis.$requst.post('user/order',{tag:'waiting_comment',page:this.page,size:this.size}).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.dataArr = []\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\titem.skus.forEach(itemone=>{\r\n\t\t\t\t\t\t\t\t\tif(itemone.has_comment!='yes'){\r\n\t\t\t\t\t\t\t\t\t\tlet orderObj = {\r\n\t\t\t\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\t\t\t\torderId:itemone.order_id,\r\n\t\t\t\t\t\t\t\t\t\t\tdanId:itemone.id,\r\n\t\t\t\t\t\t\t\t\t\t\tsrc:this.$http + itemone.sku_cover,\r\n\t\t\t\t\t\t\t\t\t\t\ttitle:itemone.spu_name,\r\n\t\t\t\t\t\t\t\t\t\t\tcate:itemone.sku_name,\r\n\t\t\t\t\t\t\t\t\t\t\tnum:itemone.num,\r\n\t\t\t\t\t\t\t\t\t\t\tallprice:item.price/100,\r\n\t\t\t\t\t\t\t\t\t\t\tprice:itemone.price/100,\r\n\t\t\t\t\t\t\t\t\t\t\tspu_id:itemone.spu_id\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tthis.dataArr.push(orderObj)\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t})\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},error=>{})\r\n\t\t\t},\n goEvaluated(index){//去评价事件\r\n\t\t\t\tuni.setStorageSync('orderPing',this.dataArr[index])\r\n uni.navigateTo({\r\n url:'/pagesA/evaluate/evaluate'\r\n })\r\n },\r\n checkDetail(id){//查看详情事件\r\n uni.navigateTo({\r\n url:'/pagesA/productDetail/productDetail?id='+id\r\n })\r\n }\n }\n }\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""} |