UI修改
This commit is contained in:
@@ -30,10 +30,10 @@ const props = defineProps({
|
||||
}
|
||||
.normal {
|
||||
background-image: url("../static/bubble-tip.png");
|
||||
width: 190rpx;
|
||||
width: 157rpx;
|
||||
height: 105rpx;
|
||||
padding-top: 5px;
|
||||
padding-left: 49rpx;
|
||||
padding-top: 10px;
|
||||
padding-left: 30rpx;
|
||||
}
|
||||
.normal2 {
|
||||
background-image: url("../static/bubble-tip4.png");
|
||||
|
||||
@@ -41,6 +41,10 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
showBottom: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
});
|
||||
const isIOS = uni.getDeviceInfo().osName === "ios";
|
||||
const showHint = ref(false);
|
||||
@@ -158,7 +162,7 @@ const goCalibration = async () => {
|
||||
:show-scrollbar="false"
|
||||
:style="{
|
||||
height: `calc(100vh - ${capsuleHeight + (isHome ? 0 : 50)}px - ${
|
||||
$slots.bottom ? (isIOS ? '85px' : '65px') : '0px'
|
||||
$slots.bottom && showBottom ? (isIOS ? '85px' : '65px') : '0px'
|
||||
})`,
|
||||
}"
|
||||
>
|
||||
@@ -166,7 +170,7 @@ const goCalibration = async () => {
|
||||
</scroll-view>
|
||||
<view
|
||||
class="bottom-part"
|
||||
v-if="$slots.bottom"
|
||||
v-if="$slots.bottom && showBottom"
|
||||
:style="{ height: isIOS ? '75px' : '55px', paddingTop: '10px' }"
|
||||
>
|
||||
<slot name="bottom"></slot>
|
||||
|
||||
Reference in New Issue
Block a user