fix:替换各类文本

This commit is contained in:
tsui110 2026-01-02 20:40:22 +08:00
parent 625dc1842a
commit ce1522abf2
6 changed files with 13 additions and 8 deletions

View File

@ -3,7 +3,7 @@
<view v-if="visible" class="popup-mask" @tap="handleClose"> <view v-if="visible" class="popup-mask" @tap="handleClose">
<view class="popup-content" @tap.stop> <view class="popup-content" @tap.stop>
<view class="popup-header"> <view class="popup-header">
<text class="title"> 超值次数卡</text> <text class="title">使用次数<text class="title-sub">(次数需使用完剩余次数不可退)</text></text>
<view class="close-btn" @tap="handleClose">×</view> <view class="close-btn" @tap="handleClose">×</view>
</view> </view>
@ -239,7 +239,12 @@ function handleClose() {
font-weight: bold; font-weight: bold;
color: #1F2937; color: #1F2937;
} }
.title-sub {
font-size: 34rpx;
font-weight: normal;
}
.close-btn { .close-btn {
font-size: 48rpx; font-size: 48rpx;
color: #9CA3AF; color: #9CA3AF;

View File

@ -57,7 +57,7 @@ import { computed } from 'vue'
const props = defineProps({ const props = defineProps({
visible: { type: Boolean, default: false }, visible: { type: Boolean, default: false },
title: { type: String, default: '正在开奖中' }, title: { type: String, default: '努力拆盒中' },
progress: { type: Number, default: 0 }, progress: { type: Number, default: 0 },
total: { type: Number, default: 1 } total: { type: Number, default: 1 }
}) })

View File

@ -106,9 +106,9 @@
<view class="badge-content"> <view class="badge-content">
<text class="badge-icon">🎮</text> <text class="badge-icon">🎮</text>
<text class="badge-text" v-if="gamePassRemaining > 0">{{ gamePassRemaining }}</text> <text class="badge-text" v-if="gamePassRemaining > 0">{{ gamePassRemaining }}</text>
<text class="badge-text" v-else>充值</text> <text class="badge-text" v-else>购买</text>
</view> </view>
<view class="badge-label">超值卡</view> <view class="badge-label">使用次数</view>
</view> </view>
</template> </template>
</ActivityPageLayout> </ActivityPageLayout>

View File

@ -165,7 +165,7 @@ import { ref, computed } from 'vue'
import { onShow, onReachBottom, onShareAppMessage, onPullDownRefresh } from '@dcloudio/uni-app' import { onShow, onReachBottom, onShareAppMessage, onPullDownRefresh } from '@dcloudio/uni-app'
import { getInventory, getProductDetail, redeemInventory, requestShipping, cancelShipping, listAddresses, getShipments, createAddressShare } from '@/api/appUser' import { getInventory, getProductDetail, redeemInventory, requestShipping, cancelShipping, listAddresses, getShipments, createAddressShare } from '@/api/appUser'
import { vibrateShort } from '@/utils/vibrate.js' import { vibrateShort } from '@/utils/vibrate.js'
import { checkPhoneBound } from '@/utils/checkPhone.js' import { checkPhoneBound, checkPhoneBoundSync } from '@/utils/checkPhone.js'
const currentTab = ref(0) const currentTab = ref(0)
const aggregatedList = ref([]) const aggregatedList = ref([])

View File

@ -132,7 +132,7 @@
<script> <script>
import { authRequest, request } from '../../utils/request.js' import { authRequest, request } from '../../utils/request.js'
import SplashScreen from '@/components/SplashScreen.vue' import SplashScreen from '@/components/SplashScreen.vue'
import { checkPhoneBound } from '../../utils/checkPhone.js' import { checkPhoneBound, checkPhoneBoundSync } from '../../utils/checkPhone.js'
export default { export default {
components: { components: {

View File

@ -157,7 +157,7 @@
import { onShow, onReachBottom } from '@dcloudio/uni-app' import { onShow, onReachBottom } from '@dcloudio/uni-app'
import { ref, watch, onUnmounted } from 'vue' import { ref, watch, onUnmounted } from 'vue'
import { getStoreItems, redeemProductByPoints, redeemCouponByPoints, redeemItemCardByPoints } from '../../api/appUser' import { getStoreItems, redeemProductByPoints, redeemCouponByPoints, redeemItemCardByPoints } from '../../api/appUser'
import { checkPhoneBound } from '../../utils/checkPhone.js' import { checkPhoneBound, checkPhoneBoundSync } from '../../utils/checkPhone.js'
const loading = ref(false) const loading = ref(false)
const keyword = ref('') const keyword = ref('')