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

1 line
20 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/myOrder/myOrder.vue?7127","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/myOrder/myOrder.vue?38dc","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/myOrder/myOrder.vue?38f4","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/myOrder/myOrder.vue?77fb","uni-app:///pages/views/myOrder/myOrder.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,yG;AACAA,UAAU,CAACC,gBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;;;AAGtD;AACyK;AACzK,gBAAgB,6KAAU;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;AAAkoB,CAAgB,inBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyDtpB;AACA;AACA,oBADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,kBADA;AAEA,yCAFA;AAGA,gBAHA;AAIA;AACA;AACA,mCADA;AAEA,oDAFA;AAGA,wCAHA;AAIA,yBAJA;AAKA,gBALA;AAMA,uBANA;AAOA,oBAPA;AAQA,iBARA;;AAUA;AACA,mC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oBAPA;AAQA,iBARA,GAnHA,CAJA;;;AAkIA,iBAlIA;AAmIA,oBAnIA;;AAqIA,GA1IA;AA2IA,SA3IA,qBA2IA;AACA;AACA,GA7IA;AA8IA,QA9IA,kBA8IA,OA9IA,EA8IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA1JA;AA2JA,cA3JA,wBA2JA,CA3JA,EA2JA;AACA;AACA,GA7JA;AA8JA;AACA,WADA,qBACA;AACA;AACA,oBADA;AAEA,qBAFA;;AAIA,KANA;AAOA,UAPA,kBAOA,KAPA,EAOA;AACA;AACA,6CADA;;AAGA,KAXA;AAYA,UAZA,kBAYA,KAZA,EAYA;AACA;AACA,KAdA;AAeA,WAfA,mBAeA,CAfA,EAeA;AACA;AACA;AACA,KAlBA;AAmBA,aAnBA,uBAmBA;AACA,8DADA,CACA;AACA;AACA;AACA;AACA;AACA,2CADA,CACA;AACA;AACA,OAJA,EAIA,IAJA;;AAMA,KA7BA;AA8BA,kBA9BA,0BA8BA,KA9BA,EA8BA;AACA;AACA,uDADA;;AAGA,KAlCA;AAmCA,aAnCA,qBAmCA,KAnCA,EAmCA;AACA;AACA,2DADA;;AAGA,KAvCA;AAwCA,eAxCA,uBAwCA,KAxCA,EAwCA;AACA;AACA;AACA,gDADA;;AAGA,KA7CA,EA9JA,E","file":"pages/views/myOrder/myOrder.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/views/myOrder/myOrder.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./myOrder.vue?vue&type=template&id=a7d93aaa&\"\nvar renderjs\nimport script from \"./myOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./myOrder.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/myOrder/myOrder.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!./myOrder.vue?vue&type=template&id=a7d93aaa&\"","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!./myOrder.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!./myOrder.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <!-- 使用标题栏 -->\r\n <status-nav class=\"statush\" :statusBackw=\"true\" :whereCome=\"whereCome*1\" :statusTitle=\"true\" :title-val=\"'我的订单'\" :tabcolor=\"'#ffffff'\">\r\n </status-nav>\r\n <view class=\"ptwo-box bacb\">\r\n <view class=\"disaa fon28 padding-sx20\">\r\n <view @tap=\"tapTab(index)\" :class=\"current==index?'colorf78':''\" v-for=\"(item,index) in tabArr\"\r\n :key=\"index\">{{item}}</view>\r\n </view>\r\n </view>\r\n <swiper :current=\"current\" @change=\"changec\" :style=\"'height: ' + height +'px;'\">\r\n <swiper-item class=\"swiper-item\" v-for=\"(itemarr,indexarr) in dataArr.length\" :key=\"indexarr\">\r\n <scroll-view scroll-y=\"true\" :style=\"'height: ' + height +'px;'\">\r\n <view :class=\"'active'+index\" v-for=\"(item,index) in dataArr[indexarr]\" :key=\"index\"\r\n class=\"padding-sx20 fon28 bacb margin-sx20 padding-zy30 item-box\" style=\"border-radius: 5rpx;\">\r\n <view class=\"fon24 color6 margin-sx10\">订单号:{{item.orderId}}</view>\r\n <view @tap=\"checkDetail(index)\" class=\"margin-sx20 disac posir borbot padding-x20\">\r\n <image class=\"radius10 flexs\" style=\"width: 160rpx;height: 160rpx;\" :src=\"item.src\" mode=\"\">\r\n </image>\r\n <view class=\"margin-zy20\" style=\"width: 60%;\">\r\n <view class=\"fon32 clips2\">{{item.title}}</view>\r\n <view class=\"fon24 color9 margin-sx10\">{{item.cate}}</view>\r\n <view class=\"fon24 color6\">X{{item.num}}</view>\r\n </view>\r\n <view style=\"position: absolute;right: 10rpx;bottom: 40rpx;text-align: right;\">\r\n <view class=\"fon24 colorf78 margin-x10\">{{['','待发货','待收货','待评价'][item.status]}}</view>\r\n <view>¥<text class=\"fon36 bold\">{{item.allprice}}</text>.0</view>\r\n <view class=\"fon26 disac margin-s20\">\r\n <view class=\"flexs\">实付款:</view><text class=\"colorf78\">¥{{item.price}}.0</text>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"disac jcend\">\r\n <view v-if=\"item.status==2\" @tap=\"checkLogistics(index)\"\r\n style=\"width: 150rpx;height: 60rpx;border-radius: 30rpx;border: 1rpx solid #999999;text-align: center;line-height: 60rpx;font-size: 26rpx;margin-left: 20rpx;\">\r\n 查看物流</view>\r\n <view v-if=\"item.status==3\" @tap=\"goPing(index)\"\r\n style=\"width: 150rpx;height: 60rpx;border-radius: 30rpx;border: 1rpx solid #999999;text-align: center;line-height: 60rpx;font-size: 26rpx;margin-left: 20rpx;\">\r\n 评价晒单</view>\r\n <view v-if=\"item.status==2 || item.status==3\" @tap=\"saleAfter(index)\"\r\n style=\"width: 150rpx;height: 60rpx;border-radius: 30rpx;border: 1rpx solid #999999;text-align: center;line-height: 60rpx;font-size: 26rpx;margin-left: 20rpx;\">\r\n 申请售后</view>\r\n <view v-if=\"item.status==2\"\r\n style=\"width: 150rpx;height: 60rpx;border-radius: 30rpx;border: 1rpx solid #FF7800;text-align: center;line-height: 60rpx;font-size: 26rpx;color: #FF7800;margin-left: 20rpx;\">\r\n 确认收货</view>\r\n </view>\r\n </view>\r\n </scroll-view>\r\n </swiper-item>\r\n </swiper>\r\n <backTop :showTop=\"showTop\" @backTop=\"backTop\"></backTop>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n import backTop from '@/components/backTop.vue';\r\n export default {\r\n components:{\r\n backTop\r\n },\r\n data() {\r\n return {\r\n whereCome:0,\r\n tabArr: ['全部', '待发货', '待收货', '待评价'],\r\n current: 0,\r\n dataArr: [\r\n [{\r\n orderId: '1111111111111111',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n {\r\n orderId: '2222222222222222',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n {\r\n orderId: '2222222222222222',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n {\r\n orderId: '2222222222222222',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n {\r\n orderId: '3333333333333333',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 2\r\n },\r\n {\r\n orderId: '44444444444444444',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 3\r\n },\r\n ],\r\n [{\r\n orderId: '1111111111111111',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n {\r\n orderId: '2222222222222222',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n {\r\n orderId: '2222222222222222',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n {\r\n orderId: '2222222222222222',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 1\r\n },\r\n ],\r\n [{\r\n orderId: '3333333333333333',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 2\r\n },\r\n\r\n ],\r\n [{\r\n orderId: '44444444444444444',\r\n src: '../../../static/img/gouwc/gouwc01.png',\r\n title: '博世变速箱油自波箱油ATF60 自动挡换油套餐',\r\n cate: 'RAV4荣放2.5',\r\n num: '2',\r\n allprice: '950',\r\n price: '950',\r\n status: 3\r\n }, ]\r\n ],\r\n height: 750,\r\n showTop:false\r\n }\r\n },\r\n mounted() {\r\n this.setHeight();\r\n },\r\n onLoad(options) {\r\n // console.log(options);\r\n this.whereCome = options.index\r\n this.current = options.num\r\n // let obj = uni.createSelectorQuery().select('.ptwo-box')\r\n // obj.boundingClientRect(function (data) { // data - 各种参数\r\n // console.log(data.height)\r\n // }).exec()\r\n // let obj1 = uni.createSelectorQuery().select('.statush')\r\n // obj1.boundingClientRect(function (data) { // data - 各种参数\r\n // console.log(data.height)\r\n // }).exec()\r\n },\r\n onPageScroll(e) {\r\n e.scrollTop > 360 ? this.showTop = true : this.showTop = false\r\n },\r\n methods: {\r\n backTop(){\r\n uni.pageScrollTo({\r\n scrollTop: 0,\r\n duration: 300\r\n });\r\n },\r\n goPing(index){\r\n uni.navigateTo({\r\n url:'/pages/views/evaluate/evaluate'\r\n })\r\n },\r\n tapTab(index) {\r\n this.current = index\r\n },\r\n changec(e) {\r\n console.log(e);\r\n this.current = e.detail.current\r\n },\r\n setHeight() {\r\n let windowHeight = uni.getSystemInfoSync().screenHeight; //页面可见区域\r\n // windowHeight = windowHeight - 44; //页面可见区域 - 在线购物条高度\t\t\t\t\t\r\n var query = uni.createSelectorQuery();\r\n query.in(this).select('.item-box').boundingClientRect(rect => {\r\n if (rect) {\r\n this.height = windowHeight - 90; //页面可见区域 - 头部高度\r\n }\r\n }).exec();\r\n\r\n },\r\n checkLogistics(index){\r\n uni.navigateTo({\r\n url:'/pages/views/viewLogistics/viewLogistics'\r\n })\r\n },\r\n saleAfter(index){\r\n uni.navigateTo({\r\n url:'/pages/views/applyAfterSales/applyAfterSales'\r\n })\r\n },\r\n checkDetail(index){\r\n console.log('查看详情:'+index);\r\n uni.navigateTo({\r\n url:'/pages/views/detail/productDetail'\r\n })\r\n }\r\n },\r\n }\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\n"],"sourceRoot":""}