暂存
This commit is contained in:
@@ -6,8 +6,8 @@ if (process.env.NODE_ENV === 'development') {
|
||||
// socketUrl = "ws://localhost:6001/";
|
||||
// baseUrl = "https://twin-ui.com/demo/";
|
||||
// baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
|
||||
baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑
|
||||
// baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑
|
||||
// baseUrl = "http://59.110.212.44:9200/pb/";
|
||||
// baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑
|
||||
// baseUrl = "http://192.168.110.110:9200/pb/";
|
||||
|
||||
@@ -555,6 +555,13 @@
|
||||
"navigationBarTitleText" : "工单提交页面",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/miniClass/miniClassMan",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "主任教学"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
||||
@@ -353,7 +353,11 @@ export default {
|
||||
url: "/pages/component/commonComponents/address/index?type=mine",
|
||||
type: "pageJump",
|
||||
},
|
||||
|
||||
{
|
||||
name: "主任教学",
|
||||
url: "/pages/miniClass/miniClassMan?type=mine",
|
||||
type: "pageJump",
|
||||
},
|
||||
// {
|
||||
// name: "分享APP",
|
||||
// type: "share",
|
||||
|
||||
97
pages/miniClass/miniClassMan.vue
Normal file
97
pages/miniClass/miniClassMan.vue
Normal file
@@ -0,0 +1,97 @@
|
||||
<template>
|
||||
<view
|
||||
style=" padding: 0 0; font-size: 28rpx;"
|
||||
class="commonPage commonPageBox"
|
||||
>
|
||||
<!-- 公共组件-每个页面必须引入 -->
|
||||
<public-module></public-module>
|
||||
<view class="">
|
||||
主任教学
|
||||
</view>
|
||||
|
||||
<z-navigation></z-navigation>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import $http from "@/config/requestConfig.js";
|
||||
// import appShare, { closeShare } from '@/uni_modules/zhouWei-APPshare/js_sdk/appShare';
|
||||
import { mapState, mapMutations } from "vuex";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
userMes: {},
|
||||
|
||||
isAndorid: true,
|
||||
platform: null, // 设备系统
|
||||
};
|
||||
},
|
||||
//第一次加载
|
||||
onLoad(e) {
|
||||
// 隐藏原生的tabbar
|
||||
// uni.hideTabBar();
|
||||
// #ifdef APP-PLUS
|
||||
this.getOS();
|
||||
this.platform = uni.getSystemInfoSync().platform;
|
||||
// console.log('操纵系统',this.platform)
|
||||
// #endif
|
||||
},
|
||||
computed: {
|
||||
...mapState(["userInfo"]),
|
||||
},
|
||||
//页面显示
|
||||
onShow() {
|
||||
console.log(this.userInfo, "11111111111111");
|
||||
// 隐藏原生的tabbar
|
||||
// uni.hideTabBar();
|
||||
this.getData();
|
||||
},
|
||||
components: {
|
||||
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
...mapMutations(["setUserInfo"]),
|
||||
|
||||
// 获得操作系统
|
||||
// getOS() {
|
||||
// let oprateOs = "";
|
||||
// oprateOs = uni.getSystemInfoSync().platform;
|
||||
// // console.log(oprateOs)
|
||||
// if (oprateOs == "android") {
|
||||
// this.isAndorid = true;
|
||||
// } else {
|
||||
// this.isAndorid = false;
|
||||
// }
|
||||
// },
|
||||
|
||||
switchTab(url) {
|
||||
uni.switchTab({
|
||||
url: url,
|
||||
});
|
||||
},
|
||||
getData() {
|
||||
// 获取个人信息
|
||||
if (this.userInfo.id != undefined) {
|
||||
this.$http.post("common/user/getUserInfo").then((res) => {
|
||||
this.userMes = res.result;
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
onPageJump(url) {
|
||||
console.log(url, "url");
|
||||
uni.navigateTo({
|
||||
url: url,
|
||||
});
|
||||
},
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import "@/style/mixin.scss";
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user