xiaohaizhao 2 лет назад
Родитель
Сommit
da00809e8d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      colorui/components/cu-custom.vue

+ 1 - 0
colorui/components/cu-custom.vue

@@ -1,6 +1,7 @@
 <template>
 <template>
 	<view>
 	<view>
 		<view class="cu-custom" :style="[{ height: CustomBar + 'px' }]">
 		<view class="cu-custom" :style="[{ height: CustomBar + 'px' }]">
+			<slot name="head"></slot>
 			<view class="cu-bar fixed" :style="style" :class="[bgImage != '' ? 'none-bg text-white bg-img' : '', bgColor]">
 			<view class="cu-bar fixed" :style="style" :class="[bgImage != '' ? 'none-bg text-white bg-img' : '', bgColor]">
 				<view class="action" @tap="BackPage" v-if="isBack">
 				<view class="action" @tap="BackPage" v-if="isBack">
 					<text class="cuIcon-back"></text>
 					<text class="cuIcon-back"></text>