update:优化金币

This commit is contained in:
2026-08-20 16:10:17 +08:00
parent 42cfb5c3d8
commit 45957d04b1
14 changed files with 247 additions and 39 deletions
+4 -1
View File
@@ -9,7 +9,10 @@ defineProps({
<template>
<view class="empty-state">
<image src="/static/coin/empty-coin-record.png" mode="aspectFit" />
<image
src="https://static.shelingxingqiu.com/shootmini/static/coin/empty-coin-record.png"
mode="aspectFit"
/>
<text>{{ text }}</text>
</view>
</template>
@@ -4,7 +4,10 @@ const emit = defineEmits(["authorize"]);
<template>
<view class="location-state">
<image src="/static/coin/location-permission.png" mode="aspectFit" />
<image
src="https://static.shelingxingqiu.com/shootmini/static/coin/location-permission.png"
mode="aspectFit"
/>
<text>授权获取你的定位以便推荐附近门店</text>
<button hover-class="none" @click="emit('authorize')">立即授权</button>
</view>
@@ -9,7 +9,10 @@ defineProps({
<template>
<view class="exchange-notice" :class="`exchange-notice--${variant}`">
<image src="/static/coin/icon-notice.png" mode="aspectFit" />
<image
src="https://static.shelingxingqiu.com/shootmini/static/coin/icon-notice.png"
mode="aspectFit"
/>
<text>暂不支持线上兑换请前往线下门店进行兑换</text>
</view>
</template>
@@ -1,7 +1,8 @@
<script setup>
import { computed, ref } from "vue";
const DEFAULT_PRODUCT_IMAGE = "/static/coin/product-hero-item.png";
const DEFAULT_PRODUCT_IMAGE =
"https://static.shelingxingqiu.com/shootmini/static/coin/product-hero-item.png";
const props = defineProps({
images: {
type: Array,
@@ -29,7 +30,7 @@ const onChange = (event) => {
<view class="hero-swiper__item">
<image
class="hero-swiper__background"
src="/static/coin/product-hero-bg.png"
src="https://static.shelingxingqiu.com/shootmini/static/coin/product-hero-bg.png"
mode="scaleToFill"
/>
<image class="hero-swiper__product" :src="image" mode="aspectFit" />
@@ -1,7 +1,8 @@
<script setup>
import { computed } from "vue";
const DEFAULT_PRODUCT_IMAGE = "/static/coin/product-card-item.png";
const DEFAULT_PRODUCT_IMAGE =
"https://static.shelingxingqiu.com/shootmini/static/coin/product-hero-bg.png";
const props = defineProps({
product: {
+8 -2
View File
@@ -1,14 +1,20 @@
<script setup>
defineProps({
const props = defineProps({
store: {
type: Object,
required: true,
},
});
const emit = defineEmits(["select"]);
const selectStore = () => {
emit("select", props.store);
};
</script>
<template>
<view class="store-card">
<view class="store-card" hover-class="none" @click="selectStore">
<image class="store-card__photo" :src="store.image" mode="aspectFill" />
<text class="store-card__name">{{ store.name }}</text>
<view class="store-card__info">