星油云站更新
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
<text class="cuIcon-back"></text>
|
||||
<slot name="backText"></slot>
|
||||
</view>
|
||||
<view class=" text-sm text-white btn btn-paddings bg-light-w margin-left btn-changes" @tap="changeChannel" v-if="isChange">
|
||||
<slot name="changeChannel"></slot>
|
||||
</view>
|
||||
<view class="content" :style="[{top:StatusBar + 'px'}]">
|
||||
<slot name="content"></slot>
|
||||
</view>
|
||||
@@ -49,17 +52,32 @@
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
isChange:{
|
||||
type: [Boolean, String],
|
||||
default: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
BackPage() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
},
|
||||
changeChannel(){
|
||||
this.$emit('showLists',123)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
.btn-changes{
|
||||
border-radius: 24upx;
|
||||
}
|
||||
.bg-light-w{
|
||||
background-color: #ffffff6b;
|
||||
}
|
||||
.btn-paddings{
|
||||
padding: 10upx 20upx;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user