登录增加系统类型名称

master
gongfuxiang 2024-12-04 18:35:35 +08:00
parent 4e86d8c3e5
commit 56c047c21b
5 changed files with 44 additions and 23 deletions

View File

@ -7,10 +7,10 @@
data: {
//
//
request_url:'http://shopxo.com/',
request_url:'https://new.shopxo.vip/',
// publicpublichttps://d1.shopxo.vip/public/
static_url:'http://shopxo.com/',
static_url:'https://new.shopxo.vip/',
// default
system_type: 'default',

View File

@ -74,6 +74,14 @@
"not_supported_scan_tips": "H5 webpage does not support scanning codes",
"copy_link": "Copy link"
},
"client": {
"weixin": "WeChat",
"alipay": "Alipay",
"baidu": "Baidu",
"qq": "QQ",
"toutiao": "Headlines/Tiktok",
"kuaishou": "Kwai"
},
"pages": {
"goods-category": "Product classification",
"cart": "shopping cart",
@ -270,7 +278,7 @@
"i1deai": "Confirm login",
"t75ee8": "New User Registration",
"9d8gqi": "Retrieve password",
"tvl242": "Use authorization to automatically log in",
"tvl242": "Authorization to automatically log in",
"9q27d8": "Other login methods",
"t59dho": "Temporarily closed registration",
"hvunf8": "Confirm Registration",

View File

@ -74,6 +74,14 @@
"not_supported_scan_tips": "H5网页不支持扫码",
"copy_link": "复制链接"
},
"client": {
"weixin": "微信",
"alipay": "支付宝",
"baidu": "百度",
"qq": "QQ",
"toutiao": "头条/抖音",
"kuaishou": "快手"
},
"pages": {
"goods-category": "商品分类",
"cart": "购物车",
@ -267,7 +275,7 @@
"i1deai": "确认登录",
"t75ee8": "新用户注册",
"9d8gqi": "找回密码",
"tvl242": "使用授权自动登录",
"tvl242": "授权自动登录",
"9q27d8": "其他登录方式",
"t59dho": "暂时关闭了注册",
"hvunf8": "确认注册",

View File

@ -171,7 +171,7 @@
"startLocationUpdate",
"startLocationUpdateBackground"
],
"appid" : "wxda7779770f53e901",
"appid" : "wx60d4d16792b6cf0b",
"setting" : {
"urlCheck" : false,
"es6" : true,
@ -186,7 +186,8 @@
}
},
"__usePrivacyCheck__" : true,
"plugins" : {
"plugins" : {}
},
// 线->->线 https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx50b5593e81dd937a
// "routePlan" : {
// "version" : "1.0.19",
@ -197,8 +198,6 @@
// "version" : "1.3.5",
// "provider" : "wx2b03c6e691cd7370"
// }
}
},
"mp-alipay" : {
"usingComponents" : true,
"appid" : "2021001173639600"
@ -248,7 +247,7 @@
"port" : 8082
},
"router" : {
"mode" : "history",
"mode" : "hash",
"base" : "./"
},
"title" : "ShopXO",

View File

@ -304,13 +304,13 @@
<button class="bg-yellow br-yellow cr-white round" type="default" size="mini" hover-class="none">{{ $t('common.cancel') }}</button>
</navigator>
<!-- #ifdef MP-WEIXIN || MP-TOUTIAO -->
<button class="margin-left-lg bg-green br-green cr-white round" type="default" size="mini" @tap="get_user_info_event">{{ $t('login.login.tvl242') }}</button>
<button class="margin-left-lg bg-green br-green cr-white round" type="default" size="mini" @tap="get_user_info_event">{{ $t('buy.buy.33fugm') }}{{client_text}}{{ $t('login.login.tvl242') }}</button>
<!-- #endif -->
<!-- #ifdef MP-QQ || MP-BAIDU || MP-KUAISHOU -->
<button class="margin-left-lg bg-green br-green cr-white round" type="default" size="mini" open-type="getUserInfo" @getuserinfo="get_user_info_event">{{ $t('login.login.tvl242') }}</button>
<button class="margin-left-lg bg-green br-green cr-white round" type="default" size="mini" open-type="getUserInfo" @getuserinfo="get_user_info_event">{{ $t('buy.buy.33fugm') }}{{client_text}}{{ $t('login.login.tvl242') }}</button>
<!-- #endif -->
<!-- #ifdef MP-ALIPAY -->
<button class="margin-left-lg bg-green br-green cr-white round" type="default" size="mini" open-type="getAuthorize" @getAuthorize="get_user_info_event" scope="userInfo">{{ $t('login.login.tvl242') }}</button>
<button class="margin-left-lg bg-green br-green cr-white round" type="default" size="mini" open-type="getAuthorize" @getAuthorize="get_user_info_event" scope="userInfo">{{ $t('buy.buy.33fugm') }}{{client_text}}{{ $t('login.login.tvl242') }}</button>
<!-- #endif -->
</view>
</view>
@ -440,7 +440,7 @@
form_input_email_value: '',
form_input_accounts_value: '',
form_input_image_verify_value: '',
verify_submit_text: this.$t('login.login.s665h5'),
verify_submit_text: '',
verify_loading: false,
verify_disabled: false,
form_submit_loading: false,
@ -475,9 +475,10 @@
app_login_provider_list: [],
//
error_msg: null,
//
popup_login_status: false,
//
client_text: '',
};
},
@ -580,6 +581,8 @@
success: this.$t('login.login.5p23c6'),
bind_platform: this.$t('login.login.876tdf'),
},
verify_submit_text: this.$t('login.login.s665h5'),
client_text: this.$t('client.'+this.client_value),
});
},
@ -721,6 +724,9 @@
success: (res) => {
this.user_auth_code(res.userInfo);
},
fail: (res) => {
app.globalData.user_login_handle(this, 'user_auth_back_event');
}
});
// #endif
// #ifdef MP-QQ