Zhangbw 1 месяц назад
Родитель
Сommit
dff3549f1c
3 измененных файлов с 24 добавлено и 22 удалено
  1. 3 2
      src/components/PerformanceCard.vue
  2. 9 9
      src/pages/pool/pool.vue
  3. 12 11
      src/pages/strong/strong.vue

+ 3 - 2
src/components/PerformanceCard.vue

@@ -69,9 +69,10 @@ defineProps({
 }
 
 .performance-tip {
-  text-align: center;
-  margin-top: 16rpx;
+  text-align: left;
+  margin-top: 8rpx;
   margin-bottom: 16rpx;
+  padding-left: 24rpx;
 }
 
 .tip-text {

+ 9 - 9
src/pages/pool/pool.vue

@@ -59,7 +59,7 @@
                   <view class="add-btn" @click="addToMyStocks(stock)">
                     <text class="add-btn-text">加入学习观察</text>
                   </view>
-                  <text class="add-btn-tip">仅为学习标记,不构成投资建议</text>
+                  <text class="stock-item-tip">仅为学习标记,不构成投资建议</text>
                 </view>
               </view>
             </view>
@@ -611,6 +611,14 @@ onUnmounted(() => {
   border-radius: 20rpx;
 }
 
+.stock-item-tip {
+  font-size: 20rpx;
+  color: #9ca2b5;
+  text-align: center;
+  line-height: 1.4;
+  white-space: nowrap;
+}
+
 .stock-main {
   display: flex;
   align-items: center;
@@ -685,14 +693,6 @@ onUnmounted(() => {
   letter-spacing: 1rpx;
 }
 
-.add-btn-tip {
-  font-size: 20rpx;
-  color: #9ca2b5;
-  text-align: center;
-  line-height: 1.4;
-  max-width: 140rpx;
-}
-
 .bottom-safe-area {
   height: 80rpx;
   padding-bottom: constant(safe-area-inset-bottom);

+ 12 - 11
src/pages/strong/strong.vue

@@ -57,7 +57,7 @@
                   <view class="add-btn" @click="addToMyStocks(stock)">
                     <text class="add-btn-text">加入学习观察</text>
                   </view>
-                  <text class="add-btn-tip">仅为学习标记,不构成投资建议</text>
+                  <text class="stock-item-tip">仅为学习标记,不构成投资建议</text>
                 </view>
               </view>
             </view>
@@ -391,11 +391,12 @@ onUnmounted(() => {
 }
 
 .update-tip {
-  font-size: 24rpx;
+  font-size: 22rpx;
   color: #9ca2b5;
-  line-height: 1.6;
+  line-height: 1.4;
   text-align: center;
   display: block;
+  white-space: nowrap;
 }
 
 .stock-list {
@@ -413,6 +414,14 @@ onUnmounted(() => {
   border-radius: 20rpx;
 }
 
+.stock-item-tip {
+  font-size: 20rpx;
+  color: #9ca2b5;
+  text-align: center;
+  line-height: 1.4;
+  white-space: nowrap;
+}
+
 .stock-main {
   display: flex;
   align-items: center;
@@ -487,14 +496,6 @@ onUnmounted(() => {
   letter-spacing: 1rpx;
 }
 
-.add-btn-tip {
-  font-size: 20rpx;
-  color: #9ca2b5;
-  text-align: center;
-  line-height: 1.4;
-  max-width: 140rpx;
-}
-
 .bottom-safe-area {
   height: 80rpx;
 }