Compare commits
5 Commits
b8195da0e3
...
4979e671d3
| Author | SHA1 | Date |
|---|---|---|
|
|
4979e671d3 | |
|
|
d7e31ac7e5 | |
|
|
9abc6b7614 | |
|
|
60448e2979 | |
|
|
555f249b89 |
|
|
@ -1,3 +1,3 @@
|
|||
ENV = 'development'
|
||||
|
||||
VUE_APP_BASE_API = 'http://lcny.sk797.cn'
|
||||
VUE_APP_BASE_API = 'https://lcny.sk797.cn'
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
ENV = 'production'
|
||||
|
||||
VUE_APP_BASE_API = 'http://lcny.sk797.cn'
|
||||
VUE_APP_BASE_API = 'https://lcny.sk797.cn'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title></title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="http://lcny.sk797.cn/h5/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="http://lcny.sk797.cn/h5/static/js/chunk-vendors.959091ef.js"></script><script src="http://lcny.sk797.cn/h5/static/js/index.1a63b20b.js"></script></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="https://lcny.sk797.cn/h5/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="https://lcny.sk797.cn/h5/static/js/chunk-vendors.959091ef.js"></script><script src="https://lcny.sk797.cn/h5/static/js/index.eadd280b.js"></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,5 @@
|
|||
import store from './store/index.js'
|
||||
import jwt from '@/api/jwt.js'
|
||||
export default {
|
||||
onLaunch(e) {
|
||||
const { appbar, token } = e.query
|
||||
|
|
@ -7,8 +8,22 @@ export default {
|
|||
}
|
||||
if (appbar == 'hidden') {
|
||||
store.commit('showAppbar', false)
|
||||
this.hideNavBar()
|
||||
} else {
|
||||
store.commit('showAppbar', true)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
hideNavBar() {
|
||||
/*#ifdef H5*/
|
||||
this.$nextTick(() => {
|
||||
let head = document.getElementsByTagName('uni-page-head')
|
||||
if (head[0]) {
|
||||
head[0].style.display = 'none'
|
||||
}
|
||||
// console.log(head);
|
||||
})
|
||||
/*#endif*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -75,6 +75,6 @@
|
|||
},
|
||||
"h5" : {
|
||||
"template" : "",
|
||||
"publicPath" : "http://lcny.sk797.cn/h5/"
|
||||
"publicPath" : "https://lcny.sk797.cn/h5/"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
h5NavHeightP: 44,
|
||||
// showAppbar:true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -13,7 +12,6 @@ export default {
|
|||
onLoad({ appbar }) {
|
||||
if (appbar == 'hidden') {
|
||||
this.h5NavHeightP = 0
|
||||
// this.showAppbar = false
|
||||
this.hideNavBar()
|
||||
}
|
||||
},
|
||||
|
|
@ -23,7 +21,7 @@ export default {
|
|||
this.$nextTick(() => {
|
||||
let head = document.getElementsByTagName('uni-page-head')
|
||||
if (head[0]) {
|
||||
head[0].remove()
|
||||
head[0].style.display='none'
|
||||
}
|
||||
// console.log(head);
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="bg-page">
|
||||
<u-sticky z-index="99">
|
||||
<u-sticky z-index="99" :h5NavHeight="h5NavHeightP">
|
||||
<view class="secreen-section" style="background-color: #fff;">
|
||||
<u-dropdown class="dropdown-box" :class="[!dropDownShow?'downClose':'']" ref="uDropdown"
|
||||
@close="dropdownClose" @open="dropdownOpen">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="bg-page">
|
||||
<u-sticky z-index="99">
|
||||
<u-sticky z-index="99" :h5NavHeight="h5NavHeightP">
|
||||
<view class="secreen-section" style="background-color: #fff;">
|
||||
<u-dropdown class="dropdown-box" :class="[!dropDownShow?'downClose':'']" ref="uDropdown"
|
||||
@close="dropdownClose" @open="dropdownOpen">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
//用户信息
|
||||
export const userInfo = (state)=> state.userInfo
|
||||
//token
|
||||
export const token = (state)=> state.user_access_token
|
||||
export const token = (state)=> state.user_access_token
|
||||
|
||||
export const showAppbar = (state)=> state.showAppbar
|
||||
Loading…
Reference in New Issue