diff --git a/src/config/index.js b/src/config/index.js index 257a8e1..8857d26 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -1,5 +1,5 @@ -// const baseUrl = 'http://127.0.0.1:8088' // 测试环境地址 -const baseUrl = 'http://81.71.17.188:8088' // 产线地址 +const baseUrl = 'http://127.0.0.1:8088' // 测试环境地址 +// const baseUrl = 'http://81.71.17.188:8088' // 产线地址 // const baseUrl = process.env.VUE_APP_API_URL; // 使用环境变量 export { diff --git a/src/views/front/Home.vue b/src/views/front/Home.vue index ba14471..1c33370 100644 --- a/src/views/front/Home.vue +++ b/src/views/front/Home.vue @@ -1,7 +1,7 @@ @@ -161,9 +184,12 @@ export default { } .hotline-text { - font-size: 18px; /* Increase font size */ - user-select: text; /* Make text selectable */ + font-size: 18px; + /* Increase font size */ + user-select: text; + /* Make text selectable */ } + .page { display: flex; flex-direction: column; @@ -322,8 +348,22 @@ export default { 0% { transform: translateX(100%); } + 100% { transform: translateX(-100%); } } + +.qr-code-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + p { + margin-top: 10px; + font-size: 14px; + color: #666; + } +} \ No newline at end of file diff --git a/src/views/front/components/ProductDetail.vue b/src/views/front/components/ProductDetail.vue index 90964f8..dbe0085 100644 --- a/src/views/front/components/ProductDetail.vue +++ b/src/views/front/components/ProductDetail.vue @@ -7,6 +7,10 @@

{{ product.name }}

{{ product.description }}

+ +
+ 商品图片 +
diff --git a/vue.config.js b/vue.config.js index a46857d..d7cf99d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -5,8 +5,8 @@ module.exports = { port: 9000, proxy: { '/api/': { - // target: 'http://127.0.0.1:8088', // 测试环境 - target: 'http://81.71.17.188:8088', // 产线地址 + target: 'http://127.0.0.1:8088', // 测试环境 + // target: 'http://81.71.17.188:8088', // 产线地址 changeOrigin: true, // 是否跨域 pathRewrite: { '^/api/': ''