diff --git a/assets/img/goods/add.png b/assets/img/goods/add.png new file mode 100644 index 0000000..2b54677 Binary files /dev/null and b/assets/img/goods/add.png differ diff --git a/assets/img/goods/point.png b/assets/img/goods/point.png new file mode 100644 index 0000000..f6f0908 Binary files /dev/null and b/assets/img/goods/point.png differ diff --git a/assets/img/goods/switch.png b/assets/img/goods/switch.png new file mode 100644 index 0000000..80caeb3 Binary files /dev/null and b/assets/img/goods/switch.png differ diff --git a/components/BsAddress.vue b/components/BsAddress.vue index 8f0db1d..fc59b8c 100644 --- a/components/BsAddress.vue +++ b/components/BsAddress.vue @@ -1,20 +1,358 @@ diff --git a/nuxt.config.js b/nuxt.config.js index 8af2ead..521cc4b 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -43,7 +43,8 @@ export default { '@/plugins/element-ui', '@/plugins/axios', '@plugins/axiosTk.js', - '@plugins/vue-inject.js' + '@plugins/vue-inject.js', + '@/plugins/v-distpicker', ], // Auto import components: https://go.nuxtjs.dev/config-components @@ -53,6 +54,10 @@ export default { buildModules: [ ], + build: { + vendor: ['v-distpicker'] + }, + styleResources: { scss: '@/assets/scss/global.scss' }, diff --git a/package.json b/package.json index 13fe036..2d092e4 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "element-ui": "^2.15.8", "js-util-all": "^1.0.6", "nuxt": "^2.15.8", + "v-distpicker": "^1.2.13", "vue": "^2.6.14", "vue-server-renderer": "^2.6.14", "vue-template-compiler": "^2.6.14" diff --git a/pages/goods/detail/_id.vue b/pages/goods/detail/_id.vue index b46df9d..ef0d9f0 100644 --- a/pages/goods/detail/_id.vue +++ b/pages/goods/detail/_id.vue @@ -119,16 +119,17 @@