colorui cu-custom顶部导航在uniapp中导出h5错位问题怎么解决?
网友回复
将colorui下的component目录下的cu-custom.vue改成下面的就好了。
<template> <view class="cu-custom" :style="'height:' + CustomBar + 'px'"> <view :class="'cu-bar fixed ' + (bgImage!=''?'none-bg text-white bg-img':'') + ' ' + bgColor" :style="'height:' + CustomBar + 'px;top:0;padding-top:' + StatusBar + 'px;' + (bgImage?'background-image:url(' + bgImage+')':'')"> <view class="action" @tap="BackPage" v-if="isBack"> <text class="cuIcon-back"></text> <slot name="backText"></slot> </view> <view class="action" @tap="search" v-if="isSearch"> <text class="cuIcon-search"></text> <slot name="backText"></slot> </view> <view class="action border-custom" v-if="isCustom" :style="'width:' + Custom.width + 'px;height:' + Custom.height + 'px;margin-left:calc(750rpx - ' + Custom.right + 'px)'"> <text class="cuIcon-back" @tap="BackPage"></text> <te...
点击查看剩余70%