yanghao 1 mēnesi atpakaļ
vecāks
revīzija
6614e4d9c1
1 mainītis faili ar 25 papildinājumiem un 0 dzēšanām
  1. 25 0
      pages/entry/index.vue

+ 25 - 0
pages/entry/index.vue

@@ -35,6 +35,8 @@
               </view>
             </uni-badge>
           </view>
+
+          <view class="hero-title"> 工作台 </view>
         </view>
       </view>
     </view>
@@ -395,6 +397,29 @@ onShow(() => {
   padding: calc(var(--status-bar-height) + 24rpx) 28rpx 0;
 }
 
+.hero-title {
+  position: absolute;
+  left: 0%;
+  bottom: -110%;
+  // background: #f7f9fc;
+  background: linear-gradient(
+    to right,
+    #f7f9fc 0%,
+    #f7f9fc 50%,
+    rgba(253, 253, 254, 0.3) 85%,
+    rgba(253, 253, 254, 0.2) 90%,
+    rgba(253, 253, 254, 0) 100%
+  );
+  border-radius: 16rpx 0rpx 0rpx 0rpx;
+  padding-top: 20rpx;
+  padding-bottom: 50rpx;
+  padding-left: 28rpx;
+  width: 50%;
+  height: 80rpx;
+  font-size: 40rpx;
+  font-weight: 700;
+}
+
 .status-row {
   display: flex;
   align-items: center;