From 467926d62dfdf7944afa98317bb92f0e9e060602 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 09 七月 2025 18:05:29 +0800
Subject: [PATCH] 图片显示
---
manager/src/main.js | 1 +
manager/src/views/seller/shop/shopOperation.vue | 9 +++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/manager/src/main.js b/manager/src/main.js
index 0481784..97bfb9b 100644
--- a/manager/src/main.js
+++ b/manager/src/main.js
@@ -49,6 +49,7 @@
window.open(src, "_blank");
};
+Vue.prototype.endpoint = "https://lmk-1356772813.cos.ap-chengdu.myqcloud.com"
Vue.prototype.wapLinkTo = function (goodsId, skuId) {
// app绔簩缁寸爜
if (skuId) {
diff --git a/manager/src/views/seller/shop/shopOperation.vue b/manager/src/views/seller/shop/shopOperation.vue
index aa69836..1693e7b 100644
--- a/manager/src/views/seller/shop/shopOperation.vue
+++ b/manager/src/views/seller/shop/shopOperation.vue
@@ -73,7 +73,7 @@
shape="square"
icon="ios-person"
size="default"
- :src="shopForm.storeLogo"
+ :src="endpoint + '/' + shopForm.storeLogo"
/>
<div>
<Button @click="handleCLickImg('storeLogo')" type="primary"
@@ -208,7 +208,7 @@
shape="square"
icon="ios-person"
size="default"
- :src="shopForm.licencePhoto"
+ :src="endpoint + '/' + shopForm.licencePhoto"
/>
<div>
<Button @click="handleCLickImg('licencePhoto')" type="primary"
@@ -231,7 +231,7 @@
size="100"
icon="md-add"
@click.native="handleCLickImg('legalPhoto', 0)"
- :src="shopForm.legalPhoto[0]"
+ :src="endpoint + '/' + shopForm.legalPhoto[0]"
/>
<Avatar
class="ml_10 legal-photo"
@@ -239,7 +239,7 @@
size="100"
icon="md-add"
@click.native="handleCLickImg('legalPhoto', 1)"
- :src="shopForm.legalPhoto[1]"
+ :src="endpoint + '/' + shopForm.legalPhoto[1]"
/>
<span>鐐瑰嚮鍥剧墖涓婁紶韬唤璇佹鍙嶉潰锛岃姹傝韩浠借瘉娓呮櫚锛屽洓瑙掓棤缂烘紡</span>
</FormItem>
@@ -427,6 +427,7 @@
data() {
return {
+ endpoint: this.endpoint,
shopId: this.$route.query.shopId, // 搴楅摵id
isRead: false, // 鏄惁鍙锛屽彧鏈夊湪搴楅摵閫氳繃瀹℃牳鎵嶅彲淇敼
selectedFormBtnName: "", // 鐐瑰嚮鍥剧墖缁戝畾form
--
Gitblit v1.8.0