feat: 已完成&售后
This commit is contained in:
@@ -103,9 +103,9 @@
|
||||
bgColor="#f1f6ff00"
|
||||
></up-image>
|
||||
微信登录
|
||||
</view>
|
||||
<view class="login_other_item" @click="aa">
|
||||
<!-- <view v-if="!isIOS" class="login_other_item" @click="alipayOneLogin"> -->
|
||||
</view>
|
||||
<!-- <view class="login_other_item" @click="aa"> -->
|
||||
<view v-if="!isIOS" class="login_other_item" @click="alipayOneLogin">
|
||||
<up-image
|
||||
src="/static/login/ZFB.png"
|
||||
width="44"
|
||||
@@ -203,19 +203,19 @@ export default {
|
||||
loading: false,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
aa(){
|
||||
const nativiPlugin = uni.requireNativePlugin('WITTestUniPlugin');
|
||||
console.log("隐藏原生tabbar",nativiPlugin)
|
||||
nativiPlugin.testAsyncFunc({},
|
||||
(ret) => {
|
||||
uni.showToast({
|
||||
title: '调用异步方法 ' + ret,
|
||||
icon: "none"
|
||||
})
|
||||
console.log(ret);
|
||||
});
|
||||
methods: {
|
||||
|
||||
aa(){
|
||||
const nativiPlugin = uni.requireNativePlugin('WITTestUniPlugin');
|
||||
console.log("隐藏原生tabbar",nativiPlugin)
|
||||
nativiPlugin.testAsyncFunc({},
|
||||
(ret) => {
|
||||
uni.showToast({
|
||||
title: '调用异步方法 ' + ret,
|
||||
icon: "none"
|
||||
})
|
||||
console.log(ret);
|
||||
});
|
||||
},
|
||||
jumpHome() {
|
||||
// const sysPlatform = getCurrentSysPlatform();
|
||||
@@ -266,19 +266,19 @@ export default {
|
||||
setStorageFun(USER_DATA, userInfo);
|
||||
// 当前登录得时间戳
|
||||
let currentTimeStamp = new Date().getTime();
|
||||
setStorageFun(USER_LOGIN_TIME, currentTimeStamp);
|
||||
|
||||
const res = uni.getSystemInfoSync();
|
||||
uni.setStorageSync('platform', res.platform);
|
||||
// #ifdef APP-PLUS
|
||||
// 获取应用版本信息
|
||||
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
|
||||
console.log("版本信息",inf.versionCode)
|
||||
uni.setStorageSync('version-1', inf.version); // 大版本号
|
||||
uni.setStorageSync('versionCode', inf.versionCode); // 小版本号
|
||||
});
|
||||
let uuid = plus.device.uuid;
|
||||
// #endif
|
||||
setStorageFun(USER_LOGIN_TIME, currentTimeStamp);
|
||||
|
||||
const res = uni.getSystemInfoSync();
|
||||
uni.setStorageSync('platform', res.platform);
|
||||
// #ifdef APP-PLUS
|
||||
// 获取应用版本信息
|
||||
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
|
||||
console.log("版本信息",inf.versionCode)
|
||||
uni.setStorageSync('version-1', inf.version); // 大版本号
|
||||
uni.setStorageSync('versionCode', inf.versionCode); // 小版本号
|
||||
});
|
||||
let uuid = plus.device.uuid;
|
||||
// #endif
|
||||
|
||||
this.$refs.uToastRef.show({
|
||||
type: "success",
|
||||
|
||||
Reference in New Issue
Block a user