全局样式
This commit is contained in:
@@ -53,10 +53,11 @@
|
||||
.header
|
||||
_fj()
|
||||
position fixed
|
||||
_wh(100%, 88rpx)
|
||||
_wh(100%, calc(var(--status-bar-height) + 88rpx))
|
||||
background-color $red
|
||||
background linear-gradient(to bottom, $red1, $red2)
|
||||
z-index 200
|
||||
padding 0 20rpx
|
||||
padding var(--status-bar-height) 20rpx 0 20rpx
|
||||
.page_name
|
||||
_font(32rpx, 32rpx, #fff,700,center)
|
||||
</style>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="back-top" @tap="toTop" v-show="showBtn">
|
||||
<uni-icons type="up" size="26" color="#9a9a9a"></uni-icons>
|
||||
<uni-icons type="arrow-up" size="26" color="#9a99ac"></uni-icons>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -37,13 +37,13 @@
|
||||
.back-top
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
right: 20rpx;
|
||||
bottom: 150rpx;
|
||||
// background-color: rgba(150,150,150,.3);
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
// line-height: 80rpx;
|
||||
// border-radius: 50%;
|
||||
// text-align: center;
|
||||
// box-shadow: 0 4rpx 16rpx rgba(28,31,35,.3);
|
||||
right: 10rpx;
|
||||
bottom: 130rpx;
|
||||
background-color: #fff;
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
box-shadow: 0 4rpx 16rpx rgba(28,31,35,.3);
|
||||
</style>
|
||||
Reference in New Issue
Block a user