1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/confirmOrder/confirmOrder.vue?e7b6","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/confirmOrder/confirmOrder.vue?3af9","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/confirmOrder/confirmOrder.vue?efa1","uni-app:///pages/views/confirmOrder/confirmOrder.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,wH;AACAA,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;;;AAG3D;AACyK;AACzK,gBAAgB,6KAAU;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;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACbA;AAAA;AAAA;AAAA;AAAuoB,CAAgB,snBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2F3pB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA;AACA,kDADA;AAEA,gFAFA;AAGA,8CAHA;AAIA,gDAJA;AAKA,2CALA,CADA;;AAQA,iBARA;AASA,kBATA;AAUA,iBAVA;AAWA,mBAXA;AAYA,qBAZA;AAaA,eAbA;AAcA,iBAdA;AAeA,qBAfA;AAgBA,oBAhBA;AAiBA,4BAjBA;AAkBA,aAlBA;;AAoBA,GAzBA;AA0BA,QA1BA,oBA0BA;;AAEA,GA5BA;AA6BA;AACA,WADA,qBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KARA;AASA,cATA,wBASA;AACA;AACA,KAXA;AAYA,YAZA,oBAYA,KAZA,EAYA;AACA;AACA,KAdA;AAeA,iBAfA,2BAeA;AACA;AACA,qDADA;;AAGA,KAnBA;AAoBA,WApBA,mBAoBA,CApBA,EAoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7BA;AA8BA,OA9BA,iBA8BA;;AAEA,KAhCA,EA7BA,E","file":"pages/views/confirmOrder/confirmOrder.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/views/confirmOrder/confirmOrder.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./confirmOrder.vue?vue&type=template&id=12f577a5&\"\nvar renderjs\nimport script from \"./confirmOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./confirmOrder.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/confirmOrder/confirmOrder.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!./confirmOrder.vue?vue&type=template&id=12f577a5&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.isBtn = false\n }\n }\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!./confirmOrder.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!./confirmOrder.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"\">\n <!-- 使用标题栏 -->\r\n <status-nav :statusBackw=\"true\" :statusTitle=\"true\" :whereCome=\"3\" :title-val=\"'订单确认'\" :tabcolor=\"'#ffffff'\"></status-nav>\r\n <!-- 地址信息 -->\r\n <view @tap=\"chooseAddress\" class=\"ptwo-box bacb disba padding-zy30 posir\">\r\n <view class=\"margin-sx40\" style=\"margin-top: 10px;\">\r\n <view class=\"fon28 color33 disac\">\r\n <view class=\"fon24 colorb margin-y20 btnaddress\" style=\"background-color: #e91111;\">默认</view>\r\n <view class=\"fon24 colorb margin-y20 btnaddress\" style=\"background-color: #ffc600;\">公司</view>\r\n 四川 成都市 温江区 涌泉社区\r\n </view>\r\n <view class=\"fon36 bold margin-sx20\">凤凰南大街75号</view>\r\n <view class=\"fon28 color33\">陈之汉 138****1234</view>\r\n </view>\r\n <image class=\"youj\" src=\"../../../static/img/my/youj.png\" mode=\"\"></image>\r\n <image class=\"posia lanh\" src=\"../../../static/img/order/oaddressx.png\" mode=\"\"></image>\r\n </view>\r\n <!-- 商品列表 -->\r\n <view class=\"bacb margin-s20 padding-zy30 padding-x30\">\r\n <view class=\"disba borbot padding-sx40\">\r\n <image class=\"flexs gouwcimg margin-y20\" src=\"../../../static/img/gouwc/gouwc03.png\" mode=\"scaleToFill\"></image>\r\n <view>\r\n <view class=\"clips2 fon28\">博世变速箱油自动/波箱油ATF60自动挡 12L循环机换油套餐</view>\r\n <view class=\"fon24 color9 margin-sx10\">RAV4荣放2.5</view>\r\n <view class=\"disba margin-s20\">\r\n <view class=\"bold colorf78\">¥250.0</view>\r\n <view class=\"fon28\">X2</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"disba borbot padding-sx40\">\r\n <image class=\"flexs gouwcimg margin-y20\" src=\"../../../static/img/gouwc/gouwc03.png\" mode=\"scaleToFill\"></image>\r\n <view>\r\n <view class=\"clips2 fon28\">博世变速箱油自动/波箱油ATF60自动挡 12L循环机换油套餐</view>\r\n <view class=\"fon24 color9 margin-sx10\">RAV4荣放2.5</view>\r\n <view class=\"disba margin-s20\">\r\n <view class=\"bold colorf78\">¥250.0</view>\r\n <view class=\"fon28\">X2</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"borbot margin-zy20\"></view>\r\n </view>\r\n <!-- 商品下单金额相关与留言 -->\r\n <view class=\"margin-s20 padding-zy30 bacb\">\r\n <view @tap=\"clickfen(index)\" v-for=\"(item,index) in infoArr\" :key=\"index\" class=\"disba padding-s40\">\r\n <view class=\"fon30 color33 flexs\">{{item.title}}</view>\r\n <view v-if=\"item.price!=''\" class=\"disac width100 jcend\">\r\n <view :class=\"index==0?'bold':''\" class=\"fon26 margin-y30\" v-if=\"item.price!=''\"><text :class=\"index==1?'colorf78':''\">{{item.price}}</text></view>\r\n <image v-if=\"item.src!=''\" class=\"youj\" :src=\"item.src\" style=\"margin-left: -15rpx;\" mode=\"\"></image>\r\n </view>\r\n <input class=\"borbot width100 margin-z20 fon24 padding-sx10\" v-if=\"item.price==''\" type=\"text\" v-model=\"orderBZ\" placeholder=\"可以再这里给商家留言\" placeholder-style=\"color:#9a9a9a;font-size:24rpx;font-weight:bold;\"/>\r\n <view class=\"borbot\"></view>\r\n </view>\r\n <view class=\"bold fon30 padding-sx20 textr\">合计: <text class=\"colorf78 fon36\">¥950.0</text></view>\r\n </view>\r\n <view class=\"margin-s20 padding-zy30 color9 fon24 marb-box12 textr\">本单商品可以获得10%的分红金额</view>\r\n <!-- 提交订单 -->\r\n <view class=\"disba bacb padding-sx10 padding-zy30 posi-bzy\" style=\"border-top: 1rpx solid #eeeeee;\">\r\n <view>\r\n <view class=\"fon28\">合计: <text class=\"fon32 bold colorf78\">¥950.0</text></view>\r\n <view class=\"fon24\" style=\"color: #353535;\">已使用分红金额¥50.00</view>\r\n </view>\r\n <button @tap=\"confirm\" :disabled=\"disabled\" class=\"bold btntj\">{{btncon}}</button>\r\n </view>\r\n <!-- 底部弹框 -->\r\n <view @touchmove.stop.prevent=\"\" v-if=\"isBtn\" class=\"posiall zIn5\" style=\"background-color: rgba(0,0,0,.6);\">\r\n <view class=\"posi-bzy padding20 animated bounceInUp\" style=\"border-top-left-radius: 30rpx;border-top-right-radius: 30rpx;background-color: #FFFFFF;z-index: 6;\">\r\n <view class=\"margin-s20 disba\">\r\n <view>分红抵扣</view>\r\n <view @tap=\"isBtn=false\" style=\"width: 38rpx;height: 38rpx;border-radius: 100%;background-color: rgba(0,0,0,.15);position: relative;display: flex;justify-content: center;align-items: center;\">\r\n <view style=\"width: 2rpx;height: 20rpx;background-color: #666666;position: absolute;transform: rotate(45deg);\"></view>\r\n <view style=\"width: 2rpx;height: 20rpx;background-color: #666666;position: absolute;transform: rotate(-45deg);\"></view>\r\n </view>\r\n </view>\r\n <view class=\"margin-sx20 width94\" style=\"background-color: #f3f3f3;border-radius: 41rpx;\">\r\n <input @blur=\"inputev\" type=\"number\" class=\"fon24 margin-zy30\" :maxlength=\"len\" style=\"height: 82rpx;\" v-model=\"fhprice\" placeholder=\"请输入您想要抵扣的金额\" />\r\n </view>\r\n <view class=\"fon24 color9\">可用分红金额:¥{{usableAmount}},实际获得金额:¥20.00</view>\r\n <view class=\"disbc\">\r\n <view @tap=\"use\" style=\"height: 86rpx;line-height: 86rpx;background-color: #FF7800;border-radius: 42.5rpx;text-align: center;color: #FFFFFF;font-weight: bold;width: 90%;margin-top: 40rpx;margin-bottom: 60rpx;\">立即使用</view>\r\n </view>\r\n </view>\r\n </view>\r\n <successpopu :isShow=\"isShow\" :isSuccess=\"isSuccess\" :title=\"title\" :content=\"content\" @change=\"changepopu\"></successpopu>\r\n </view>\n</template>\n\n<script>\r\n import successpopu from '@/components/successpopu.vue';\n export default {\r\n components:{\r\n successpopu\r\n },\n data() {\n return {\r\n infoArr:[\r\n {title:'商品总额',price:'¥1000.0',src:''},\r\n {title:'分红抵扣',price:'¥50.00',src:'../../../static/img/my/youj.png'},\r\n {title:'配送费',price:'¥0.0',src:''},\r\n {title:'本单分红',price:'¥95.0',src:''},\r\n {title:'订单备注',price:'',src:''},\r\n ],\r\n orderBZ:'',\r\n isBtn:false,\r\n fhprice:'',\r\n isShow:false,\r\n isSuccess:true,\r\n title:'',\r\n content:'',\r\n disabled:false,\r\n btncon:'确认提交',\r\n usableAmount:'200.00',\r\n len:10\r\n }\n },\r\n onLoad() {\r\n \r\n },\r\n methods: {\r\n confirm(){\r\n this.disabled = true\r\n this.btncon = '正在提交...'\r\n this.isShow = true\r\n this.isSuccess = true\r\n this.title = '恭喜你,购买成功'\r\n this.content = '可以在个人中心--我的订单查看订单详情'\r\n },\r\n changepopu(){\r\n this.isShow = false\r\n },\n clickfen(index){\r\n index==1?this.isBtn = true : this.isBtn = false\r\n },\r\n chooseAddress(){\r\n uni.navigateTo({\r\n url:'/pages/views/adManagement/adManagement'\r\n })\r\n },\r\n inputev(e){\r\n let ya =this\r\n let result = ''\r\n if(typeof(ya.fhprice) != 'Number'){\r\n ya.fhprice = ''\r\n }\r\n result = this.$toolAll.tools.checkPrice(val,ya.usableAmount)\r\n ya.len = result.len;\r\n ya.fhprice = result.val\r\n },\r\n use(){\r\n \r\n }\r\n }\n }\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""} |