dengrui/unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/evaluate/evaluate.js.map

1 line
9.3 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/evaluate/evaluate.vue?8c4d","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/evaluate/evaluate.vue?a44a","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/evaluate/evaluate.vue?ff08","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/evaluate/evaluate.vue?e680","uni-app:///pages/views/evaluate/evaluate.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,4G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;;;AAGvD;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;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;AAAmoB,CAAgB,knBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2CvpB;AACA;AACA,cADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,gBADA;AAEA,gBAFA;AAGA,iBAHA;;AAKA,GAVA;AAWA,QAXA,oBAWA;;AAEA,GAbA;AAcA;AACA,cADA,sBACA,GADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KARA;AASA,aATA,uBASA;AACA;AACA,gBADA;AAEA,gCAFA;AAGA;AACA;AACA;AACA,WAFA;AAGA,SAPA;;AASA,KAnBA;AAoBA,cApBA,sBAoBA,KApBA,EAoBA;AACA;AACA,sBADA;AAEA,yBAFA;;AAIA,KAzBA;AA0BA,UA1BA,kBA0BA,KA1BA,EA0BA;AACA;AACA,KA5BA,EAdA,E","file":"pages/views/evaluate/evaluate.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/views/evaluate/evaluate.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./evaluate.vue?vue&type=template&id=0cd1ae85&\"\nvar renderjs\nimport script from \"./evaluate.vue?vue&type=script&lang=js&\"\nexport * from \"./evaluate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../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 = \"pages/views/evaluate/evaluate.vue\"\nexport default component.exports","export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./evaluate.vue?vue&type=template&id=0cd1ae85&\"","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/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./evaluate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./evaluate.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"\">\n <!-- 使用标题栏 -->\r\n <status-nav :statusBackw=\"true\" :statusTitle=\"true\" :title-val=\"'评价'\" :tabcolor=\"'#ffffff'\"></status-nav>\r\n <view class=\"ptwo-box\">\r\n <view class=\"margin-s20 bacb padding-zy20 borbot padding-x20\">\r\n <view class=\"dis padding-sx30\">\r\n <image class=\"flexs\" style=\"width: 160rpx;height: 160rpx;\" src=\"../../../static/img/gouwc/gouwc03.png\" mode=\"\"></image>\r\n <view class=\"margin-z20\">\r\n <view class=\"clips2 fon28 color33\">博世变速箱油自波箱油波箱油ATF60自动 挡换油套餐</view>\r\n <view v-if=\"rateCon!=''\" class=\"fon24 colorf78 margin-s20\">已评价{{rateNum}}星,{{rateCon}}.</view>\r\n </view>\r\n </view>\r\n <view class=\"borbot\"></view>\r\n <view class=\"disac fon30 padding-sx30\">\r\n <view class=\"color33 margin-y20\">商品评价</view>\r\n <rate :size=\"42\" :gutter=\"20\" @change=\"chooseRate\"></rate>\r\n <view class=\"color9\">{{rateCon}}</view>\r\n </view>\r\n <view class=\"dis padding-sx30 padding-zy30\" style=\"background-color: #f6f6f6;height: 144rpx;border-radius: 8rpx;\">\r\n <image class=\"flexs\" style=\"width: 32rpx;height: 35rpx;\" src=\"../../../static/img/public/evaEdit.png\" mode=\"\"></image>\r\n <textarea style=\"height: auto;\" maxlength=\"500\" class=\"fon26 color9 margin-z20\" value=\"\" placeholder=\"多方面描述评价宝,可以帮助等多想买的人哦!\" />\r\n </view>\r\n <view class=\" margin-s20 flexs disac flw padding-x40\">\r\n <view v-if=\"imgSrc.length!=0\" v-for=\"(item,index) in imgSrc\" :key=\"index\" class=\"posir margin-y20 margin-x20 pimg-box\">\r\n <image @tap=\"previewImg(index)\" style=\"border-radius: 8rpx;height: 159rpx;width: 159rpx;\" :src=\"item\" mode=\"aspectFill\"></image>\r\n <image @tap=\"delimg(index)\" class=\"posia\" style=\"width: 30rpx;height: 30rpx;right: 6rpx;top: 6rpx;\" src=\"../../../static/img/product/pclose.png\" mode=\"\"></image>\r\n </view>\r\n <view @tap=\"chooseImg\" class=\"discc margin-x20\" style=\"height: 159rpx;width: 159rpx;border: 1rpx dashed #9c9c9c;border-radius: 8rpx;\">\r\n <image style=\"width: 63rpx;height: 57rpx;\" src=\"../../../static/img/public/bussiness.png\" mode=\"\"></image>\r\n <view class=\"fon26 margin-s20\" style=\"color: #7d7b7e;\">添加图片</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"disbc\">\r\n <button type=\"default\" style=\"width: 70%;margin-top: 60rpx; font-size: 30rpx;height: 86rpx;background-color: #1c4594;border-radius: 42.5rpx;color: #FFFFFF;line-height: 86rpx;\">提交评价</button>\r\n </view>\r\n </view>\r\n </view>\n</template>\n\n<script>\r\n import rate from '@/components/rate.vue';\r\n export default {\r\n components:{\r\n rate\r\n },\r\n data() {\n return {\r\n imgSrc:[],\r\n rateNum:5,\r\n rateCon:'',\r\n }\n },\r\n onLoad() {\r\n \r\n },\n methods: {\r\n chooseRate(val){\r\n this.rateNum = val\r\n if(val==1){this.rateCon = '极差'}\r\n if(val==2){this.rateCon = '差'}\r\n if(val==3){this.rateCon = '一般'}\r\n if(val==4){this.rateCon = '好'}\r\n if(val==5){this.rateCon = '非常好'}\r\n },\r\n chooseImg(){\r\n uni.chooseImage({\r\n count:9,\r\n sizeType:['compressed'],\r\n success: (res) => {\r\n res.tempFilePaths.forEach(item=>{\r\n this.imgSrc.push(item)\r\n })\r\n }\r\n })\r\n },\r\n previewImg(index){\r\n uni.previewImage({\r\n current:index,\r\n urls:this.imgSrc\r\n })\r\n },\r\n delimg(index){\r\n this.imgSrc.splice(index,1)\r\n }\n }\n }\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""}