You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
7.5 KiB
1 lines
7.5 KiB
{"version":3,"sources":["webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/AddressWindow.vue?12a0","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/AddressWindow.vue?58d6","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/AddressWindow.vue?5dc8","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/AddressWindow.vue?1715","uni-app:///components/AddressWindow.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;;;AAG5D;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;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;AAA4zB,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsCh1B,sD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA,EACA,qBADA,EAEA,SACA,cADA,EAEA,eAFA,EAFA,EAMA,uBACA,SACA,eADA,EAEA,UAFA,EAGA,SAHA,EAIA,SAJA,EAKA,WALA,GAOA,CAdA,EAeA,8BAfA,EAgBA,WACA,2CACA,gBACA,iDACA,4BACA,CAFA,EAGA,CANA,EAOA,YAPA,0BAOA,CACA,2BACA,CATA,EAUA,2CACA,yEACA,uBACA,CAbA,EAcA,wCACA,+CACA,2BACA,CAjBA,EAhBA,E","file":"components/AddressWindow.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./AddressWindow.vue?vue&type=template&id=784c8c8e&\"\nvar renderjs\nimport script from \"./AddressWindow.vue?vue&type=script&lang=js&\"\nexport * from \"./AddressWindow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Applications/HBuilderX.app/Contents/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 = \"components/AddressWindow.vue\"\nexport default component.exports","export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./AddressWindow.vue?vue&type=template&id=784c8c8e&\"","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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./AddressWindow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./AddressWindow.vue?vue&type=script&lang=js&\"","<template>\n <view>\n <view class=\"address-window\" :class=\"value === true ? 'on' : ''\">\n <view class=\"title\">\n 选择地址\n <text class=\"iconfont icon-guanbi\" @click=\"closeAddress\"></text>\n </view>\n <view class=\"list\" v-if=\"addressList.length\">\n <view\n class=\"item acea-row row-between-wrapper\"\n :class=\"item.id === checked ? 'font-color-red' : ''\"\n v-for=\"(item, addressIndex) in addressList\"\n @click=\"tapAddress(addressIndex)\"\n :key=\"addressIndex\"\n >\n <text class=\"iconfont icon-ditu\" :class=\"item.id === checked ? 'font-color-red' : ''\"></text>\n <view class=\"addressTxt\">\n <view class=\"name\" :class=\"item.id === checked ? 'font-color-red' : ''\">\n {{ item.realName }}\n <text class=\"phone\">{{ item.phone }}</text>\n </view>\n <view class=\"line1\">\n {{ item.province }}{{ item.city }}{{ item.district\n }}{{ item.detail }}\n </view>\n </view>\n <text class=\"iconfont icon-complete\" :class=\"item.id === checked ? 'font-color-red' : ''\"></text>\n </view>\n </view>\n <view class=\"pictrue\" v-if=\"addressList.length < 1\">\n <image :src=\"`${$VUE_APP_RESOURCES_URL}/images/noAddress.png`\" class=\"image\" />\n </view>\n <view class=\"addressBnt bg-color-red\" @click=\"goAddressPages\">新加地址</view>\n </view>\n <view class=\"mask\" @touchmove.prevent :hidden=\"value === false\" @click=\"closeAddress\"></view>\n </view>\n</template>\n<script>\nimport { getAddressList } from \"@/api/user\";\n\nexport default {\n name: \"AddressWindow\",\n props: {\n value: Boolean,\n checked: Number\n },\n data: function() {\n return {\n addressList: [],\n current: 0,\n cartId: 0,\n pinkId: 0,\n couponId: 0\n };\n },\n mounted: function() {},\n methods: {\n getAddressList: function() {\n let that = this;\n getAddressList().then(res => {\n that.addressList = res.data;\n });\n },\n closeAddress() {\n this.$emit(\"input\", false);\n },\n goAddressPages: function() {\n this.$yrouter.push('/pagesB/pages/user/address/AddressManagement/index')\n this.$emit(\"redirect\");\n },\n tapAddress: function(index) {\n this.$emit(\"checked\", this.addressList[index]);\n this.$emit(\"input\", false);\n }\n }\n};\n</script>\n"],"sourceRoot":""} |