feat: 一键分享按钮展示调整
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
<view class="cardTitle p-x-20 cardBg" :style="[{ height: statusBarHeight + 44 + 'px' }, { backgroundColor: props.bg }]">
|
||||
<view :style="{ height: statusBarHeight + 'px' }"></view>
|
||||
<view class="flex-center ju-between h_88">
|
||||
<view class="cardLeft" v-if="props.showLeftButton">
|
||||
<view @tap="onClickLeft">
|
||||
<view class="cardLeft" v-if="props.showLeftButton || $slots.left">
|
||||
<view v-if="props.showLeftButton" @tap="onClickLeft">
|
||||
<uni-icons type="left" :color="textColor" />
|
||||
</view>
|
||||
<slot name="left" />
|
||||
</view>
|
||||
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{
|
||||
props.title
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
<view class="cardTitle p-x-20" :style="{ background: backgroundColor }">
|
||||
<view :style="{height: statusBarHeight + 'px'}"></view>
|
||||
<view class="flex-center ju-between h_88">
|
||||
<view class="cardLeft" v-if="props.showLeftButton">
|
||||
<view @tap="onClickLeft">
|
||||
<view class="cardLeft" v-if="props.showLeftButton || $slots.left">
|
||||
<view v-if="props.showLeftButton" @tap="onClickLeft">
|
||||
<uni-icons type="left" :color="textColor" />
|
||||
</view>
|
||||
<slot name="left" />
|
||||
</view>
|
||||
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{ props.title }}</view>
|
||||
<view class="cardRight" :style="{ color: textColor }">
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
<view class="cardTitle p-x-20">
|
||||
<view :style="{height: statusBarHeight + 'px'}"></view>
|
||||
<view class="flex-center ju-between h_88">
|
||||
<view class="cardLeft" v-if="props.showLeftButton">
|
||||
<view @tap="onClickLeft">
|
||||
<view class="cardLeft" v-if="props.showLeftButton || $slots.left">
|
||||
<view v-if="props.showLeftButton" @tap="onClickLeft">
|
||||
<uni-icons type="left" :color="textColor" />
|
||||
</view>
|
||||
<slot name="left" />
|
||||
</view>
|
||||
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{ props.title }}</view>
|
||||
<view class="cardRight" :style="{ color: textColor }">
|
||||
|
||||
Reference in New Issue
Block a user