update:优化图片地址
This commit is contained in:
@@ -34,7 +34,7 @@ const emit = defineEmits(["select-store"]);
|
||||
</text>
|
||||
<view v-if="subtitle" class="coin-header__store" @click="switchable && emit('select-store')">
|
||||
<text class="coin-header__subtitle">{{ subtitle }}</text>
|
||||
<image v-if="switchable" class="coin-header__switch" src="/static/coin/store-switch.png" mode="aspectFit" />
|
||||
<image v-if="switchable" class="coin-header__switch" src="https://static.shelingxingqiu.com/shootmini/static/coin/store-switch.png" mode="aspectFit" />
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -51,7 +51,7 @@ const productImage = computed(() => {
|
||||
height: 312rpx;
|
||||
overflow: hidden;
|
||||
border-radius: 12rpx;
|
||||
background-image: url("/static/coin/product-card-bg.png");
|
||||
background-image: url("https://static.shelingxingqiu.com/shootmini/static/coin/product-card-bg.png");
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ const handleOpen = () => {
|
||||
<view class="vip-footer">
|
||||
<text class="vip-footer__price">特惠价格:9.9元/90天</text>
|
||||
<view class="vip-footer__status" @click="handleOpen">
|
||||
<image class="vip-footer__badge" src="/static/coin/store-vip-badge.png" mode="aspectFit" />
|
||||
<image class="vip-footer__badge" src="https://static.shelingxingqiu.com/shootmini/static/coin/store-vip-badge.png" mode="aspectFit" />
|
||||
<text>{{ active ? "您已开通VIP" : "开通方式:请前往线下门店联系工作人员开通" }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -33,18 +33,18 @@ export const storeVipBenefits = [
|
||||
key: "trial",
|
||||
title: "免费体验权益",
|
||||
description: "使用该权益可免费体验智能弓箭30分钟1次,加入官方社群还可以额外获赠1次。",
|
||||
icon: "/static/coin/store-vip-benefit-trial.png",
|
||||
icon: "https://static.shelingxingqiu.com/shootmini/static/coin/store-vip-benefit-trial.png",
|
||||
},
|
||||
{
|
||||
key: "discount",
|
||||
title: "特惠购买权益",
|
||||
description: "使用该权益可以19.9元的特惠价格购买30分钟体验服务1次。",
|
||||
icon: "/static/coin/store-vip-benefit-discount.png",
|
||||
icon: "https://static.shelingxingqiu.com/shootmini/static/coin/store-vip-benefit-discount.png",
|
||||
},
|
||||
{
|
||||
key: "drink",
|
||||
title: "到店赠饮权益",
|
||||
description: "使用该权益每次到店后可获得免费赠送的指定饮品一支。",
|
||||
icon: "/static/coin/store-vip-benefit-drink.png",
|
||||
icon: "https://static.shelingxingqiu.com/shootmini/static/coin/store-vip-benefit-drink.png",
|
||||
},
|
||||
];
|
||||
|
||||
@@ -50,7 +50,7 @@ export const normalizeStoreMembership = (store) => {
|
||||
const active = store.isVip === true;
|
||||
return {
|
||||
active,
|
||||
cardImage: `/static/coin/store-vip-card-${active ? "active" : "inactive"}.png`,
|
||||
cardImage: `https://static.shelingxingqiu.com/shootmini/static/coin/store-vip-card-${active ? "active" : "inactive"}.png`,
|
||||
expiresAt: active ? String(store.vipExpireAt || "").slice(0, 10).replace(/-/g, "/") || "--" : "",
|
||||
// 未开通或已过期统一为 0;有效会员逐项读取后端剩余次数。
|
||||
remaining: {
|
||||
|
||||
Reference in New Issue
Block a user