|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="navigation-bar" :style="{height:height}">
|
|
|
|
|
- <view class="navigation-bar-fixed" :style="{height:height,background:(!config.transparent&&!config.linear)?config.bgcolor:'transparent'}">
|
|
|
|
|
|
|
+ <view class="navigation-bar" :style="{'height':height}">
|
|
|
|
|
+ <view class="navigation-bar-fixed" :style="{'height':height,'background':(!config.transparent&&!config.linear)?config.bgcolor:'transparent'}">
|
|
|
<!-- capsule or normal -->
|
|
<!-- capsule or normal -->
|
|
|
- <view v-if="[1,2].indexOf(config.type)!= -1" :class="config.type==1?'navigation-bar-capsule':'navigation-bar-textbox'" :style="{top:marginTop}">
|
|
|
|
|
|
|
+ <view v-if="[1,2].includes(config.type)" :class="config.type==1?'navigation-bar-capsule':'navigation-bar-textbox'" :style="{'top':marginTop}">
|
|
|
<view class="button-action" hover-class="button-action-active" @click="back_">
|
|
<view class="button-action" hover-class="button-action-active" @click="back_">
|
|
|
<view class="iconfont" :style="'color:'+config.fontcolor"></view>
|
|
<view class="iconfont" :style="'color:'+config.fontcolor"></view>
|
|
|
</view>
|
|
</view>
|
|
@@ -17,7 +17,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- custom button -->
|
|
<!-- custom button -->
|
|
|
- <view v-if="[3,4].indexOf(config.type)!= -1" @click="conduct_" :class="config.type == 3?'navigation-bar-custom-capsule':'navigation-bar-custom-textbox'" :style="{top:marginTop}">
|
|
|
|
|
|
|
+ <view v-if="[3,4].includes(config.type)" @click="conduct_" :class="config.type == 3?'navigation-bar-custom-capsule':'navigation-bar-custom-textbox'" :style="{'top':marginTop}">
|
|
|
<view class="iconfont" :style="'color:'+config.fontcolor"></view>
|
|
<view class="iconfont" :style="'color:'+config.fontcolor"></view>
|
|
|
<text class="custom-describe">{{config.menuText}}</text>
|
|
<text class="custom-describe">{{config.menuText}}</text>
|
|
|
</view>
|
|
</view>
|