1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/yswc/wx-qhb/pageA/counter.vue?7969","webpack:///C:/Users/Administrator/Desktop/yswc/wx-qhb/pageA/counter.vue?549f","webpack:///C:/Users/Administrator/Desktop/yswc/wx-qhb/pageA/counter.vue?2323","webpack:///C:/Users/Administrator/Desktop/yswc/wx-qhb/pageA/counter.vue?b4a0","uni-app:///pageA/counter.vue","webpack:///C:/Users/Administrator/Desktop/yswc/wx-qhb/pageA/counter.vue?ea13"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","uIcon","uNumberBox","uPicker","uPopup","kjFlow","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","g0","_self","_c","i18n","length","_isMounted","e0","$event","logshow","$mp","data","Object","assign","$root","recyclableRender","staticRenderFns","_withStripped","value","show","original","bourn","type","gat","gatShow","columns","columnData","goods","index","domestic","province_id","goodstype","container_id","leftname","rightname","money","width","height","onLoad","onShow","uni","title","computed","methods","goodtype","changewu","setTimeout","calculate","params","weight","getarea","is_domestic","pid","res","success","close","good","logistics","url","gain","change","changeHandler","columnIndex","values","picker","confirm"],"mappings":"wIAAA,MAGA,aACA,YAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,gFCLX,oIACIC,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,WACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,oBACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IACEA,EAAa,CACXC,MAAO,WACL,OAAO,qGAITC,WAAY,WACV,OAAO,iHAITC,QAAS,WACP,OAAO,0GAITC,OAAQ,WACN,OAAO,wGAITC,OAAQ,WACN,OAAO,4DAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eAETC,GADKJ,EAAIK,MAAMC,GACVN,EAAIO,KAAKC,QACbR,EAAIS,aACPT,EAAIU,GAAK,SAAUC,GACjBX,EAAIY,SAAU,IAGlBZ,EAAIa,IAAIC,KAAOC,OAAOC,OACpB,GACA,CACEC,MAAO,CACLb,GAAIA,MAKRc,GAAmB,EACnBC,EAAkB,GACtBpB,EAAOqB,eAAgB,G,iCCnEvB,yHAAinB,eAAG,G,sHC0GpnB,CACAN,gBACA,OACAF,WACAS,QACAC,QACAC,YACAC,SACAC,OACAC,MACAC,WACAC,WAGAC,cAGAC,SACAC,QACAC,WACAC,eACAC,mBACAC,gBACAC,YACAC,aACAC,SACA9B,UACA+B,SACAC,YAGAC,oBASAC,kBACAC,yBACAC,0BAGA,iBAEAC,UACAtC,gBACA,0BAGAuC,SAEAC,oBAAA,WACAJ,2DACA,aACA,uBAKAK,oBAAA,WACA,kBACA,gBACAC,uBACA,4BACA,MAEA,qCAIAC,qBAAA,WACA,sBAIAP,8CACAQ,QACAhB,+BACAiB,kBACA5C,mBACA+B,iBACAC,mBACAf,uBAEA,kBACA,aACA,sBAdA,oCAmBA4B,mBAAA,WACA,gBACA,mBACAV,gCACAQ,QACAG,0BACAC,SAEA,kBACA1D,eAEA,cACA,2BAEA2D,uBACA,oCAEA,uBAIAC,oBACA,gBACA5D,eACA,yBACA,2BACA,4BAEA6D,iBACA,iBAGAC,mBACA,uBACA,cAGAC,qBACAjB,cACAkB,sEAIAC,gBACA,sBACA,oCAEA,WACA,gBACA,mBAIAC,mBACA,YACA,aACA,MACA,gBACA,iBAEA,gBACA,iBAGAC,0BACA,IACAC,EAMAvE,EANAuE,YAGAlC,GAGArC,EALA2B,MAKA3B,EAJAwE,OAIAxE,EAHAqC,OAAA,EAGArC,EADAyE,yCAGA,OAEAA,yCAIAC,oBACAvE,yBACA,aACA,aACA,mDAGA,+CACA,mCAIA,c,6DCpSA,yHAAorC,eAAG,G","file":"pageA/counter.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pageA/counter.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./counter.vue?vue&type=template&id=20a96b3e&scoped=true&\"\nvar renderjs\nimport script from \"./counter.vue?vue&type=script&lang=js&\"\nexport * from \"./counter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./counter.vue?vue&type=style&index=0&id=20a96b3e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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 \"20a96b3e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pageA/counter.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./counter.vue?vue&type=template&id=20a96b3e&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uNumberBox: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-number-box/u-number-box\" */ \"@/uview-ui/components/u-number-box/u-number-box.vue\"\n )\n },\n uPicker: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-picker/u-picker\" */ \"@/uview-ui/components/u-picker/u-picker.vue\"\n )\n },\n uPopup: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n kjFlow: function () {\n return import(\n /* webpackChunkName: \"components/kj-flow/kj-flow\" */ \"@/components/kj-flow/kj-flow.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.i18n.length\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.logshow = false\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./counter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./counter.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- 物流报价器 -->\r\n\t<view class=\"back\">\r\n\t\t<!-- 城市 -->\r\n\t\t<view class=\"add u-flex u-row-around\">\r\n\t\t\t<text class='address' @click=\"change(0)\">{{original||i18n.Starting}}</text>\r\n\t\t\t<image src=\"static/images/arrows.png\" mode=\"\" style=\"width: 130rpx;height: 10rpx;\"></image>\r\n\t\t\t<text class='address' @click=\"change(1)\">{{bourn||i18n.destination}}</text>\r\n\t\t</view>\r\n\t\t<!-- 商品类型 -->\r\n\t\t<view class=\"type\">\r\n\t\t\t<view class=\"title u-flex\">\r\n\t\t\t\t<text>{{i18n.shoptype}}</text>\r\n\t\t\t\t<image src=\"\" mode=\"\" style=\"width: 12rpx;height: 12rpx;\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"u-flex\" style=\"margin-top: 24rpx;\">\r\n\t\t\t\t<view :class=\"index==idx?'left':'right'\" @click=\"good(item,idx)\" style=\"margin-right: 20rpx;\"\r\n\t\t\t\t\tv-for=\"(item,idx) in goods\" :key=\"idx\">\r\n\t\t\t\t\t\t{{item.value=='normal'? i18n.Normal :i18n.special}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t<!-- <view class=\"right\" style=\"margin-left: 20rpx;\">特殊商品</view> -->\r\n\t\t\t</view>\r\n\t\t</view> \r\n\t\t<!-- 跨境物流 -->\r\n\t\t<view class=\"logistics u-flex u-row-between\">\r\n\t\t\t<text style=\"font-weight: 600;\">{{i18n.flow}}</text>\r\n\t\t\t<view class=\"u-flex\" @click=\"changewu\">\r\n\t\t\t\t<text class=\"change\">{{leftname?leftname+' | '+rightname : i18n.selection}}</text>\r\n\t\t\t\t<u-icon name=\"arrow-right\" size='16'></u-icon>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 商品重量 -->\r\n\t\t<view class=\"weight \">\r\n\t\t\t<view class=\"u-flex u-row-between\">\r\n\t\t\t\t<text style=\"font-weight: 600;\">{{i18n.Commodity}}</text>\r\n\t\t\t\t<u-number-box v-model=\"value\">\r\n\t\t\t\t\t<view slot=\"minus\" class=\"minus\">\r\n\t\t\t\t\t\t<u-icon name=\"minus\" size=\"12\"></u-icon>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view slot=\"input\"\r\n\t\t\t\t\t\tstyle=\"width: 50px;text-align: center;height: 30px;line-height: 30px;background: #f5f5f5;\"\r\n\t\t\t\t\t\tclass=\"input u-flex\">\r\n\t\t\t\t\t\t<input type=\"text\" v-model=\"value\" />\r\n\t\t\t\t\t\t<text>kg</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view slot=\"plus\" class=\"plus\">\r\n\t\t\t\t\t\t<u-icon name=\"plus\" size=\"12\"></u-icon>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-number-box>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"u-flex u-row-between\" style=\"margin-top: 30rpx;\">\r\n\t\t\t\t<text style=\"font-weight: 600;\">{{i18n.volume}}</text>\r\n\t\t\t\t<text style=\"font-size: 20rpx;\r\ncolor: rgba(34, 34, 34, 0.5);\">{{i18n.accurately}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"u-flex u-row-between\" style=\"margin-top: 32rpx;\">\r\n\t\t\t\t<view class=\"vite u-flex\">\r\n\t\t\t\t\t<input type=\"text\" :placeholder=\"i18n.length\" v-model=\"length\" />\r\n\t\t\t\t\t<text>cm</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">*</view>\r\n\t\t\t\t<view class=\"vite u-flex\">\r\n\t\t\t\t\t<input type=\"text\" :placeholder=\"i18n.wide\" v-model=\"width\" />\r\n\t\t\t\t\t<text>cm</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">*</view>\r\n\t\t\t\t<view class=\"vite u-flex\">\r\n\t\t\t\t\t<input type=\"text\" :placeholder=\"i18n.height\" v-model=\"height\" />\r\n\t\t\t\t\t<text>cm</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 获取价格 -->\r\n\t\t<view @click=\"gain\" :class=\"gat==1?'yuan':'price'\">\r\n\t\t\t{{i18n.Acquisition}}\r\n\t\t</view>\r\n\t\t<view class=\"gain\" v-if=\"gatShow\">\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<text class='weigh'>{{i18n.Calculated}}:</text>\r\n\t\t\t\t<text class='weigh' style=\"color: rgba(34, 34, 34, 1);\">{{value}}kg</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"u-flex u-row-between\"\r\n\t\t\t\tstyle=\"border-top: 2rpx solid #979797;margin-top: 32rpx;padding-top: 20rpx;\">\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<text class='weigh'>{{i18n.Estimated}}</text>\r\n\t\t\t\t\t<text style=\"margin-left: 6rpx;\" class='red'>¥</text>\r\n\t\t\t\t\t<text class='red' style=\"font-size: 32rpx;\">{{money}}</text>\r\n\t\t\t\t\t<text class='red'>{{i18n.since}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"info\" @click=\"logistics\">{{i18n.details}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 地址选择 -->\r\n\t\t<u-picker :show=\"show\" ref=\"uPicker\" keyName=\"name\" :columns=\"columns\" @confirm=\"confirm\"\r\n\t\t\t@change=\"changeHandler\"></u-picker>\r\n\t\t<!-- 跨境物流 -->\r\n\t\t<u-popup round='28' :show=\"logshow\" @close=\"close\">\r\n\t\t\t<view class=\"pop\">\r\n\t\t\t\t<kj-flow :goodstype='goodstype' :province_id='province_id' ref=\"child\" @success='success'\r\n\t\t\t\t\t@close='logshow=false'></kj-flow>\r\n\t\t\t</view>\r\n\t\t</u-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tlogshow: false, //物流选择\r\n\t\t\t\tvalue: 1,\r\n\t\t\t\tshow: false,\r\n\t\t\t\toriginal: '', //起始地\r\n\t\t\t\tbourn: '', //目的地\r\n\t\t\t\ttype: 0,\r\n\t\t\t\tgat: 0,\r\n\t\t\t\tgatShow: false,\r\n\t\t\t\tcolumns: [\r\n\r\n\t\t\t\t],\r\n\t\t\t\tcolumnData: [\r\n\r\n\t\t\t\t],\r\n\t\t\t\tgoods: [],\r\n\t\t\t\tindex: 0,\r\n\t\t\t\tdomestic: 1,\r\n\t\t\t\tprovince_id: '',\r\n\t\t\t\tgoodstype: 'normal',\r\n\t\t\t\tcontainer_id: '', //货柜id\r\n\t\t\t\tleftname: '',\r\n\t\t\t\trightname: '',\r\n\t\t\t\tmoney: '',\r\n\t\t\t\tlength: '',\r\n\t\t\t\twidth: '',\r\n\t\t\t\theight: ''\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\t// this.goods = [{\r\n\t\t\t// \t\tname: this.i18n.Normal\r\n\t\t\t// \t},\r\n\t\t\t// \t{\r\n\t\t\t// \t\tname: this.i18n.special\r\n\t\t\t// \t}\r\n\t\t\t// ]\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\ttitle: this.i18n.compute\r\n\t\t\t})\r\n\t\t\t// this.getarea()\r\n\t\t\tthis.goodtype()\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\ti18n() {\r\n\t\t\t\treturn this.$t('index')\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t//商品类型\r\n\t\t\tgoodtype() {\r\n\t\t\t\tuni.$u.http.get('/api/express-goods-type', ).then((res) => {\r\n\t\t\t\t\tthis.goods = res\r\n\t\t\t\t}).catch(() => {\r\n\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//物流选择\r\n\t\t\tchangewu() {\r\n\t\t\t\tif (this.province_id) {\r\n\t\t\t\t\tthis.logshow = true\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.$refs.child.transport();\r\n\t\t\t\t\t}, 800)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$u.toast(this.i18n.selectcity)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//物流计算器\r\n\t\t\tcalculate() {\r\n\t\t\t\tif (this.container_id == '') {\r\n\t\t\t\t\tthis.$u.toast(this.i18n.container)\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tuni.$u.http.get('/api/express-order/calculate', {\r\n\t\t\t\t\tparams: {\r\n\t\t\t\t\t\tcontainer_id: this.container_id, //\t\t是\tString\t货柜ID\r\n\t\t\t\t\t\tweight: this.value, //\t\t是\tString\t重量(kg)\r\n\t\t\t\t\t\tlength: this.length, //\t\t是\tString\t长(m)\r\n\t\t\t\t\t\twidth: this.width, //\t\t是\tString\t宽(m)\r\n\t\t\t\t\t\theight: this.height, //\t\t是\tString\t高(m)\r\n\t\t\t\t\t\ttype: this.goodstype, //\t\t是\tString\t商品类型: normal. 普通商品, special.特殊商品\r\n\t\t\t\t\t}\r\n\t\t\t\t}).then((res) => {\r\n\t\t\t\t\tthis.money = res\r\n\t\t\t\t}).catch(() => {\r\n\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//地区列表\r\n\t\t\tgetarea() {\r\n\t\t\t\tthis.columns = []\r\n\t\t\t\tthis.columnData = []\r\n\t\t\t\tuni.$u.http.get('/api/area/tree', {\r\n\t\t\t\t\tparams: {\r\n\t\t\t\t\t\tis_domestic: this.domestic,\r\n\t\t\t\t\t\tpid: 0\r\n\t\t\t\t\t}\r\n\t\t\t\t}).then((res) => {\r\n\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\t// this.columns.splice(0,1, [{name:res[0].name}]) \r\n\t\t\t\t\tthis.columns = [res]\r\n\t\t\t\t\tthis.columns[1] = res[0].children\r\n\t\t\t\t\t// this.columnData[0] = res[0].children\r\n\t\t\t\t\tres.forEach(item => {\r\n\t\t\t\t\t\tthis.columnData.push(item.children)\r\n\t\t\t\t\t})\r\n\t\t\t\t}).catch(() => {\r\n\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsuccess(msg) {\r\n\t\t\t\tthis.logshow = false\r\n\t\t\t\tconsole.log(msg);\r\n\t\t\t\tthis.leftname = msg.leftname\r\n\t\t\t\tthis.container_id = msg.dateid\r\n\t\t\t\tthis.rightname = msg.rightname\r\n\t\t\t},\r\n\t\t\tclose() {\r\n\t\t\t\tthis.logshow = false\r\n\t\t\t},\r\n\t\t\t//切换商品类型\r\n\t\t\tgood(item, idx) {\r\n\t\t\t\tthis.goodstype = item.value\r\n\t\t\t\tthis.index = idx\r\n\t\t\t},\r\n\t\t\t//物流详情\r\n\t\t\tlogistics() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pageA/logisticsinfo?weight=' + this.value + '&money=' + this.money\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//获取价格\r\n\t\t\tgain() {\r\n\t\t\t\tif (this.container_id == '') {\r\n\t\t\t\t\tthis.$u.toast(this.i18n.container)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.gat = 1\r\n\t\t\t\t\tthis.gatShow = true\r\n\t\t\t\t\tthis.calculate()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//开启地址选择器\r\n\t\t\tchange(type) {\r\n\t\t\t\tthis.type = type\r\n\t\t\t\tthis.show = true\r\n\t\t\t\tif (type == 0) {\r\n\t\t\t\t\tthis.domestic = 1\r\n\t\t\t\t\tthis.getarea()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.domestic = 0\r\n\t\t\t\t\tthis.getarea()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tchangeHandler(e) {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tcolumnIndex,\r\n\t\t\t\t\tvalue,\r\n\t\t\t\t\tvalues, // values为当前变化列的数组内容\r\n\t\t\t\t\tindex,\r\n\t\t\t\t\t// 微信小程序无法将picker实例传出来,只能通过ref操作\r\n\t\t\t\t\tpicker = this.$refs.uPicker\r\n\t\t\t\t} = e\r\n\t\t\t\t// 当第一列值发生变化时,变化第二列(后一列)对应的选项\r\n\t\t\t\tif (columnIndex === 0) {\r\n\t\t\t\t\t// picker为选择器this实例,变化第二列对应的选项\r\n\t\t\t\t\tpicker.setColumnValues(1, this.columnData[index])\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 回调参数为包含columnIndex、value、values\r\n\t\t\tconfirm(e) {\r\n\t\t\t\tconsole.log('confirm', e)\r\n\t\t\t\tthis.show = false\r\n\t\t\t\tif (this.type == 0) {\r\n\t\t\t\t\tthis.original = e.value[0].name + '-' + e.value[1].name\r\n\t\t\t\t\t// console.log(e.value[0]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.bourn = e.value[0].name + '-' + e.value[1].name\r\n\t\t\t\t\tthis.province_id = e.value[1].id\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.vite {\r\n\t\twidth: 198rpx;\r\n\t\theight: 60rpx;\r\n\t\tbackground: #F4F4F4;\r\n\t\tborder-radius: 36rpx;\r\n\t\tpadding: 12rpx 28rpx;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t.pop {\r\n\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\tfont-weight: 500;\r\n\t\tfont-size: 36rpx;\r\n\t\tcolor: #333333;\r\n\t\tline-height: 50rpx;\r\n\t\ttext-align: left;\r\n\t\tfont-style: normal;\r\n\t\tpadding: 32rpx 28rpx 0 0;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t.back {\r\n\t\tbackground-color: rgba(244, 244, 244, 1);\r\n\t\tpadding: 20rpx 24rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.yuan {\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 96rpx;\r\n\t\t\tbackground: #F83224;\r\n\t\t\tbox-shadow: 0rpx 16rpx 40rpx -12rpx rgba(255, 21, 21, 0.5);\r\n\t\t\tborder-radius: 48rpx;\r\n\t\t\tmargin-top: 62rpx;\r\n\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tline-height: 96rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-style: normal;\r\n\t\t}\r\n\r\n\t\t.gain {\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 208rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tborder-radius: 16rpx;\r\n\t\t\tmargin-top: 68rpx;\r\n\t\t\tpadding: 40rpx 24rpx 34rpx 24rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\r\n\t\t\t.weigh {\r\n\t\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #777777;\r\n\t\t\t\tline-height: 40rpx;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t}\r\n\r\n\t\t\t.info {\r\n\t\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t\tline-height: 34rpx;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t}\r\n\r\n\t\t\t.red {\r\n\t\t\t\tfont-family: HarmonyOS_Sans_Medium;\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tcolor: #F83224;\r\n\t\t\t\tline-height: 26rpx;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//步进器\r\n\t\t.minus {\r\n\t\t\twidth: 22px;\r\n\t\t\theight: 22px;\r\n\t\t\t// border-width: 1px;\r\n\t\t\t// border-color: #E6E6E6;\r\n\t\t\t// border-style: solid;\r\n\t\t\tborder-top-left-radius: 100px;\r\n\t\t\tborder-top-right-radius: 100px;\r\n\t\t\tborder-bottom-left-radius: 100px;\r\n\t\t\tborder-bottom-right-radius: 100px;\r\n\t\t\t@include flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t.input {\r\n\t\t\tpadding: 0 10px;\r\n\t\t}\r\n\r\n\t\t.plus {\r\n\t\t\twidth: 22px;\r\n\t\t\theight: 22px;\r\n\t\t\t// background-color: #FF0000;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\tdisplay: flex;\r\n\t\t\t/* #endif */\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t//商品重量\r\n\t\t.weight {\r\n\t\t\tpadding: 34rpx 20rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\twidth: 702rpx;\r\n\t\t\t// height: 108rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tborder-radius: 16rpx;\r\n\t\t\tmargin-top: 20rpx;\r\n\t\t}\r\n\r\n\r\n\t\t//获取价格\r\n\t\t.price {\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 96rpx;\r\n\t\t\tbackground: #F83224;\r\n\t\t\tbox-shadow: 0rpx 16rpx 40rpx -12rpx rgba(255, 21, 21, 0.5);\r\n\t\t\tborder-radius: 48rpx;\r\n\t\t\tposition: fixed;\r\n\t\t\tbottom: 72rpx;\r\n\t\t\tleft: 24rpx;\r\n\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tline-height: 96rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-style: normal;\r\n\t\t}\r\n\r\n\t\t//跨境物流\r\n\t\t.logistics {\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 96rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tborder-radius: 16rpx;\r\n\t\t\tpadding: 28rpx 22rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tmargin-top: 20rpx;\r\n\r\n\t\t\t.change {\r\n\t\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #F83224;\r\n\t\t\t\tline-height: 40rpx;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t\tmargin-right: 8rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// 商品类型\r\n\t\t.type {\r\n\t\t\tpadding: 28rpx 20rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 190rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tborder-radius: 16rpx;\r\n\t\t\tmargin-top: 20rpx;\r\n\r\n\t\t\t.title {\r\n\t\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #222222;\r\n\t\t\t\tline-height: 40rpx;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t}\r\n\r\n\t\t\t.left {\r\n\t\t\t\t// width: 202rpx;\r\n\t\t\t\tpadding: 0 30rpx;\r\n\t\t\t\theight: 60rpx;\r\n\t\t\t\tborder-radius: 36rpx;\r\n\t\t\t\tborder: 1rpx solid #F83224;\r\n\t\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tcolor: #F83224;\r\n\t\t\t\tline-height: 60rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t\tbox-sizing: border-box;\r\n\t\t\t}\r\n\r\n\t\t\t.right {\r\n\t\t\t\t// width: 202rpx;\r\n\t\t\t\theight: 60rpx;\r\n\t\t\t\tpadding: 0 30rpx;\r\n\t\t\t\tborder-radius: 36rpx;\r\n\t\t\t\tborder: 1rpx solid #979797;\r\n\t\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tcolor: #979797;\r\n\t\t\t\tline-height: 60rpx;\r\n\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//城市\r\n\t\t.add {\r\n\t\t\twidth: 702rpx;\r\n\t\t\theight: 144rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tborder-radius: 16rpx;\r\n\t\t\tpadding: 50rpx 8rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\r\n\t\t\t.address {\r\n\t\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tcolor: #222222;\r\n\t\t\t\tline-height: 44rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t\tfont-style: normal;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./counter.vue?vue&type=style&index=0&id=20a96b3e&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./counter.vue?vue&type=style&index=0&id=20a96b3e&lang=scss&scoped=true&\""],"sourceRoot":""}
|