Browse Source

english userinfo

hwq 4 years ago
parent
commit
9823bd1cbc

+ 9 - 0
lang/en.js

@@ -32,6 +32,15 @@ module.exports = {
 		ljgd: "More"
 	},
 	foo: {
+		tx: 'avatar',
+		nc: 'nickname',
+		yhzh:'bank account',
+		scyh:'Belongs to the bank',
+		zh:'account',
+		zfbskm:'Alipay payment code',
+		wxskm:'Weixin payment code',
+		tj:'submit',
+		tcdl:'log out',
 		hwsc: 'Oversea markets',
 		cplb: 'Product list',
 		faal: 'Project examples',

+ 10 - 0
lang/zh_cn.js

@@ -1,5 +1,6 @@
 module.exports =  {
     hea:{
+		
 		vipzs: '黑钻VIP义工专属',
 		dsy: '度收益',
 		wyyz: '我要援助',
@@ -32,6 +33,15 @@ module.exports =  {
        ljgd:"了解更多"
     },
     foo:{
+		tx: '头像',
+		nc: '昵称',
+		yhzh:'银行账号',
+		scyh:'所属银行',
+		zh:'账户',
+		zfbskm:'支付宝收款码',
+		wxskm:'微信收款码',
+		tj:'提交',
+		tcdl:'退出登录',
         hwsc:'海外市场',
       cplb:'产品列表',
        faal:'方案案例',

+ 9 - 9
pages/set/userinfo.vue

@@ -1,19 +1,19 @@
 <template>
 	<view class="content">
 		<view class="row1">
-			<text class="tit">头像</text>
+			<text class="tit">{{$t('foo.tx')}}</text>
 			<view class="background-img" @click.stop="imgsub"><image class="background-img" :src="userInfo.avatar" mode="aspectFill"></image></view>
 		</view>
 		<view class="row">
-			<text class="tit">昵称</text>
+			<text class="tit">{{$t('foo.nc')}}</text>
 			<input class="input" type="text" v-model="userInfo.nickname" placeholder-class="placeholder" />
 		</view>
 		<view class="row">
-			<text class="tit" style="width: 240upx;">银行账号</text>
+			<text class="tit" style="width: 240upx;">{{$t('foo.yhzh')}}</text>
 			<input class="input" type="text"  v-model="userInfo.bank_card_no" placeholder-class="placeholder" />
 		</view>
 		<view class="row">
-			<text class="tit" style="width: 240upx;">所属银行</text>
+			<text class="tit" style="width: 240upx;">{{$t('foo.scyh')}}</text>
 			<input class="input" type="text"  v-model="userInfo.bank_of_deposit" placeholder-class="placeholder" />
 		</view>
 		<view class="row">
@@ -21,19 +21,19 @@
 			<input class="input" type="text"  disabled="true" v-model="userInfo.id" placeholder-class="placeholder" />
 		</view>
 		<view class="row">
-			<text class="tit">账户</text>
+			<text class="tit">{{$t('foo.zh')}}</text>
 			<input class="input" type="text"  disabled="true" v-model="userInfo.username" placeholder-class="placeholder" />
 		</view>
 		<view class="row1">
-			<text class="tit">支付宝收款码</text>
+			<text class="tit">{{$t('foo.zfbskm')}}</text>
 			<view class="background-img1" @click.stop="imgsubali"><image class="background-img1" :src="userInfo.ali" mode="aspectFill"></image></view>
 		</view>
 		<view class="row1">
-			<text class="tit">微信收款码</text>
+			<text class="tit">{{$t('foo.wxskm')}}</text>
 			<view class="background-img1" @click.stop="imgsubwechat"><image class="background-img1" :src="userInfo.wechat" mode="aspectFill"></image></view>
 		</view>
-		<view class="add-btn" @click="confirm">提交</view>
-		<view class="out" @click="toLogout">退出登录</view>
+		<view class="add-btn" @click="confirm">{{$t('foo.tj')}}</view>
+		<view class="out" @click="toLogout">{{$t('foo.tcdl')}}</view>
 	</view>
 </template>
 

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


File diff suppressed because it is too large
+ 561 - 48
unpackage/dist/dev/app-plus/app-view.js


Some files were not shown because too many files changed in this diff