style: 样式调整
This commit is contained in:
parent
53ff6d55b2
commit
8425d0d7a2
|
@ -1,7 +1,9 @@
|
|||
<template>
|
||||
<view>
|
||||
<view class="box">
|
||||
<view class="title">{{ currentYear }}年 {{ currentMonth }}月</view>
|
||||
<view class="title"
|
||||
>{{ currentYear }}年 {{ currentMonth }}月</view
|
||||
>
|
||||
<scroll-view scroll-x="true">
|
||||
<block v-for="(item, index) in dayList" :key="index">
|
||||
<view
|
||||
|
@ -91,6 +93,7 @@ scroll-view {
|
|||
background: #ffffff;
|
||||
border-radius: 25rpx;
|
||||
border: 1rpx solid #4689fe;
|
||||
position: relative;
|
||||
|
||||
.day {
|
||||
font-weight: normal;
|
||||
|
@ -109,9 +112,22 @@ scroll-view {
|
|||
color: #ffffff;
|
||||
background: #4473fe;
|
||||
border-radius: 25rpx;
|
||||
border: 1rpx solid #4473fe;
|
||||
// border: 1rpx solid #4473fe;
|
||||
border: none;
|
||||
.day {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 20rpx;
|
||||
height: 10rpx;
|
||||
background: orange;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue