style: pin points center action to bottom
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed, ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { onShow } from '@dcloudio/uni-app'
|
import { onShow } from '@dcloudio/uni-app'
|
||||||
import { accountLog } from '@/api/user'
|
import { accountLog } from '@/api/user'
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
@@ -172,11 +172,16 @@ $line: #e8ebef;
|
|||||||
|
|
||||||
&__scroll {
|
&__scroll {
|
||||||
height: calc(100vh - 96rpx);
|
height: calc(100vh - 96rpx);
|
||||||
|
padding-bottom: 124rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__bottom-button {
|
&__bottom-button {
|
||||||
margin: 24rpx 38rpx 0;
|
position: fixed;
|
||||||
|
left: 38rpx;
|
||||||
|
right: 38rpx;
|
||||||
|
bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||||||
|
z-index: 20;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user