按钮调整

This commit is contained in:
1154079537 2024-06-14 17:19:26 +08:00
parent 33a416d407
commit 068c8c258d
1 changed files with 14 additions and 4 deletions

View File

@ -1,10 +1,20 @@
<style lang="scss"> <style lang="scss" scoped>
.share-btn { .share-btn {
display: flex; display: flex;
align-items: center; align-items: center;
position: fixed; position: fixed;
width: 120rpx; width: 60rpx;
z-index: 20; z-index: 20;
::v-deep.u-button {
border: 0;
border-color: transparent;
.u-icon__icon {
font-size: 60rpx !important;
color: #030303;
}
}
} }
</style> </style>
<template> <template>
@ -23,8 +33,8 @@
</template> </template>
</up-navbar> </up-navbar>
<view class="share-btn" :style="{height:btns.height + 'px',top:btns.top + 'px',left:(btns.left - 70) + 'px'}"> <view class="share-btn" :style="{height:btns.height + 'px',top:btns.top + 'px',left:(btns.left - 40) + 'px'}">
<up-button type="success" icon="share" openType="share" plain text="分享" size="mini" /> <up-button icon="share-square" openType="share" plain size="large" loadingSize="100" />
</view> </view>
<view class="navbar"> <view class="navbar">