|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div class="j-container" :class="{'transparent-header': headerInfo.transparentHeader}">
|
|
<div class="j-container" :class="{'transparent-header': headerInfo.transparentHeader}">
|
|
- <div class="j-header jy-app-header" v-if="!weixinBrower" :class="{hideBorder: headerInfo.hideBorder}">
|
|
|
|
|
|
+ <div class="j-header jy-app-header" v-if="!weixinBrowser" :class="{hideBorder: headerInfo.hideBorder}">
|
|
<van-icon class="header-left" :class="{ hide: headerInfo.actionLeftHide }" name="arrow-left" @click="goBack" />
|
|
<van-icon class="header-left" :class="{ hide: headerInfo.actionLeftHide }" name="arrow-left" @click="goBack" />
|
|
<span class="header-title">{{ headerInfo.title }}</span>
|
|
<span class="header-title">{{ headerInfo.title }}</span>
|
|
<span class="header-right" :style="headerInfo.actionRightStyle" @click="actionRight">{{ headerInfo.actionRightText }}</span>
|
|
<span class="header-right" :style="headerInfo.actionRightStyle" @click="actionRight">{{ headerInfo.actionRightText }}</span>
|
|
@@ -51,7 +51,7 @@ export default class Layout extends Vue {
|
|
// console.log('headerConfig', this.conf)
|
|
// console.log('headerConfig', this.conf)
|
|
}
|
|
}
|
|
|
|
|
|
- get weixinBrower () {
|
|
|
|
|
|
+ get weixinBrowser () {
|
|
return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
|
|
return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
|
|
}
|
|
}
|
|
|
|
|