隐藏首页未开发项目
This commit is contained in:
@@ -167,6 +167,7 @@ $http.dataFactory = async function(res) {
|
|||||||
title: '登录失效,请重新登录',
|
title: '登录失效,请重新登录',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
});
|
});
|
||||||
|
console.log('到这里了')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/user/login"
|
url: "/pages/user/login"
|
||||||
|
|||||||
@@ -11,28 +11,28 @@
|
|||||||
<image src="../../static/icon/hehan.png" mode="aspectFit" class="icon_hua_1"></image>
|
<image src="../../static/icon/hehan.png" mode="aspectFit" class="icon_hua_1"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="fiveIcon flexbox" >
|
<view class="fiveIcon flexbox" style="justify-content: space-around;">
|
||||||
<div class="item item1" @click="onPageJump('../acupoint/acupoint')">
|
<div class="item item1" @click="onPageJump('../acupoint/acupoint')">
|
||||||
<image src="../../static/icon/five1.png" mode="aspectFit" ></image>
|
<image src="../../static/icon/five1.png" mode="aspectFit" ></image>
|
||||||
<text>经穴检索</text>
|
<text>经穴检索</text>
|
||||||
</div>
|
</div>
|
||||||
<div class="item item1">
|
<!-- <div class="item item1">
|
||||||
<image src="../../static/icon/five2.png" mode="aspectFit"></image>
|
<image src="../../static/icon/five2.png" mode="aspectFit"></image>
|
||||||
<text>方药检索</text>
|
<text>方药检索</text>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="item item1">
|
<!-- <div class="item item1">
|
||||||
<image src="../../static/icon/five4.png" mode="aspectFit"></image>
|
<image src="../../static/icon/five4.png" mode="aspectFit"></image>
|
||||||
<text>五运六气</text>
|
<text>五运六气</text>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="item item1" @click="onPageJump('../peanut/searchFor')">
|
<div class="item item1" @click="onPageJump('../peanut/searchFor')">
|
||||||
<image src="../../static/icon/five3.png" mode="aspectFit"></image>
|
<image src="../../static/icon/five3.png" mode="aspectFit"></image>
|
||||||
<text>书名检索</text>
|
<text>书名检索</text>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item item1">
|
<!-- <div class="item item1">
|
||||||
<image src="../../static/icon/five5.png" mode="aspectFit"></image>
|
<image src="../../static/icon/five5.png" mode="aspectFit"></image>
|
||||||
<text>吴门医述</text>
|
<text>吴门医述</text>
|
||||||
</div>
|
</div> -->
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="search_box flexbox" @click="onPageJump('../peanut/searchFor')">
|
<!-- <view class="search_box flexbox" @click="onPageJump('../peanut/searchFor')">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
|
|||||||
@@ -122,7 +122,7 @@
|
|||||||
import $http from '@/config/requestConfig.js';
|
import $http from '@/config/requestConfig.js';
|
||||||
// import appShare, { closeShare } from '@/uni_modules/zhouWei-APPshare/js_sdk/appShare';
|
// import appShare, { closeShare } from '@/uni_modules/zhouWei-APPshare/js_sdk/appShare';
|
||||||
import {
|
import {
|
||||||
mapState
|
mapState,mapMutations
|
||||||
} from 'vuex';
|
} from 'vuex';
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@@ -160,6 +160,7 @@
|
|||||||
},
|
},
|
||||||
//方法
|
//方法
|
||||||
methods: {
|
methods: {
|
||||||
|
...mapMutations(['setUserInfo']),
|
||||||
// 获得操作系统
|
// 获得操作系统
|
||||||
getOS(){
|
getOS(){
|
||||||
let oprateOs = ''
|
let oprateOs = ''
|
||||||
@@ -278,6 +279,7 @@
|
|||||||
// 退出登录
|
// 退出登录
|
||||||
signOut() {
|
signOut() {
|
||||||
this.signShow = false
|
this.signShow = false
|
||||||
|
this.setUserInfo({'token': null})
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '../user/login'
|
url: '../user/login'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user