update:英文版代码备份

This commit is contained in:
2026-11-05 14:49:42 +08:00
parent 419cefd00e
commit 53ac4473f9
142 changed files with 1777 additions and 1604 deletions
+10 -8
View File
@@ -1,4 +1,6 @@
<script setup>
import { t } from "@/locales";
import { ref, reactive, watch, onMounted } from "vue";
import { getAppConfig, donateAPI } from "@/apis";
import useStore from "@/store";
@@ -47,7 +49,7 @@ const onPay = async (index) => {
signType: "RSA",
async success(res) {
uni.showToast({
title: "感谢您的支持!",
title: t('thank_you_for_your_support'),
icon: "none",
});
props.onClose();
@@ -55,7 +57,7 @@ const onPay = async (index) => {
fail(res) {
console.log("pay error", res);
uni.showToast({
title: "取消支付",
title: t('payment_canceled'),
icon: "none",
});
props.onClose();
@@ -94,7 +96,7 @@ onMounted(async () => {
<template>
<view class="container">
<image src="https://static.shelingxingqiu.com/shootmini/static/donate.png" mode="widthFix" />
<text>感谢您对我们公益项目的支持!</text>
<text>{{ t('thank_you_for_supporting_our_community_project') }}</text>
<view class="amounts">
<button
v-for="(item, index) in amounts"
@@ -115,23 +117,23 @@ onMounted(async () => {
>
<image v-if="checked" src="https://static.shelingxingqiu.com/shootmini/static/checked.png" mode="widthFix" />
<view v-else></view>
<text>我想给建议(选填)</text>
<text>{{ t('i_have_a_suggestion_optional') }}</text>
</view>
<view v-if="checked">
<view>
<text>您的姓名</text>
<text>{{ t('your_name') }}</text>
<input v-model="formData.name" />
</view>
<view>
<text>手机/微信号</text>
<text>{{ t('phone_wechat_id') }}</text>
<input v-model="formData.account" />
</view>
<view>
<text>所在机构</text>
<text>{{ t('organization') }}</text>
<input v-model="formData.organization" />
</view>
<view>
<text>建议</text>
<text>{{ t('suggestion') }}</text>
<textarea v-model="formData.suggestion" />
</view>
</view>