update:优化图片地址
This commit is contained in:
@@ -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