固定顶部导航栏
//这里将下面的三行分成三列显示,但是由于flex会和fixed冲突,所以需要将flex放在fixed里面包裹,并且需要用top:0;left: 0;right: 0;等来将它撑开
<view style="position: fixed;top: 0;left: 0;right: 0;background-color: #FFFFFF;z-index: 99999;" :style="{'margin-top':CustomBar + 'px'}">
<view style="display: flex;justify-content: space-between;height: 50px;align-items: center;">
<view>
<text class="cuIcon-back text-blue" style="font-size: 16px;" @click="back">返回</text>
</view>
<view>
<text style="font-size: 18px;">信息录入</text>
</view>
<view>
<button form-type="submit" style="color: #0066CC;font-weight: bold;font-size: 16px;background-color: #FFFFFF;">提交</button>
</view>
</view>
<uni-segmented-control :current="current" :values="items" @clickItem="onClickItem" style-type="button"></uni-segmented-control>
</view>