对接烟台app的h5页面
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

68 lines
1.2 KiB

<script>
import { fetchToken } from "./utils/request";
import * as userTools from "./utils/user";
import * as myapi from "./utils/myapi";
const updateManager = uni.getUpdateManager();
updateManager.onUpdateReady(function (ret) {
uni.showModal({
title: "更新提示",
content: "新版本已经准备好,是否重启应用?",
confirmText: "确认",
cancelText: "取消",
success: function (res) {
if (res.confirm) {
updateManager.applyUpdate();
}
},
});
});
export default {
data() {
return {};
},
// 授权弹窗回调
onShow(options) {
},
globalData: {
userInfo: null,
userDingid: "",
navigate: {
mobile: "",
nickname: "",
faceImg: "",
},
windowHeight: "",
screenHeight: "",
flag: 0,
searchData: "",
authCode: "",
getSystemInfoPage() {
uni.getSystemInfo({
success: (res) => {
// console.log(res);
this.systemInfo = res;
},
});
},
systemInfo: "",
},
};
</script>
<style>
page {
background-color: #f7f7f7;
border: 1px solid rgba(0, 0, 0, 0);
box-sizing: border-box;
}
.page {
flex: 1;
width: 100%;
overflow: auto;
overflow-x: hidden;
}
</style>