李志伟 3 anni fa
parent
commit
8cbb668bfa

+ 1
- 1
src/components/foodCards/foodCards.jsx Vedi File

@@ -65,7 +65,7 @@ export default (props) => {
65 65
           <view className='neirong'>
66 66
             <view className='textword'  onClick={() => { goFood() }} >{(item.description).toString().length > 22 ? (item.description).substring(0, 22) + '...' : (item.description)}</view>
67 67
             <view className='jiage' onClick={() => { goFood() }} >
68
-              <text className='rmb' >¥&nbsp;&nbsp;</text>
68
+              <text className='rmb' >¥</text>
69 69
               <text className='p1'><text className='price' >{(item.actualPrice / 100).toFixed(2)}</text>元&nbsp;&nbsp;</text>
70 70
               <text className='p2'>门市价<text className='oldprice' >{(item.standardPrice / 100).toFixed(2)}</text>元</text>
71 71
             </view>

+ 4
- 1
src/components/foodCards/style.less Vedi File

@@ -26,6 +26,7 @@
26 26
     }
27 27
     .appraise{
28 28
       display: inline-block;
29
+      margin-left: 10px;
29 30
       image{
30 31
         width: 21px;
31 32
         height: 21px;
@@ -67,7 +68,7 @@
67 68
         font-weight: bold;
68 69
         color: #333;
69 70
         .rmb{
70
-          font-size: 20px;             
71
+          font-size: 24px;             
71 72
           margin: 0 8px 0 7px;
72 73
         }
73 74
         .p1{
@@ -76,6 +77,8 @@
76 77
         .p2{
77 78
           font-size: 18px;             
78 79
           text-decoration: line-through;
80
+          opacity: 0.8;
81
+          font-weight: 400;
79 82
           color: #666;
80 83
         }
81 84
       }

+ 1
- 0
src/pages/details/components/Extend/extend.less Vedi File

@@ -3,4 +3,5 @@
3 3
   color: #202020;
4 4
   line-height: 54px;
5 5
   margin-bottom: 40px;
6
+  text-align: justify;
6 7
 }

+ 2
- 1
src/pages/details/mjDetails/sceneryDetails.jsx Vedi File

@@ -8,6 +8,7 @@ import share from '@/assets/icons/housemantj/景点分享.png'
8 8
 import good from '@/assets/icons/housemantj/景点爆赞.png'
9 9
 import baozan from '@/assets/icons/housemantj/爆赞.png'
10 10
 import weibaozan from '@/assets/icons/housemantj/未赞.png'
11
+import zhuandao from "@/assets/icons/housemantj/backTop.png";
11 12
 import withLayout from '@/layouts'
12 13
 import { useState, useEffect, useRef } from 'react'
13 14
 import { getTouristDetail, getExtendContent, getRecommendList } from '@/services/home'
@@ -131,7 +132,7 @@ export default withLayout((props) => {
131 132
               <view className='wz'>{detail.address}</view>
132 133
               <view className='dpPosition' onClick={openMap}>
133 134
                 <image src={dw} className='dwTip' />
134
-                <view className='distance'>{distance}公里</view>
135
+                <view className='distance'>{distance}公里<image src={zhuandao} className="zhuandao" /></view>
135 136
               </view>
136 137
             </view>
137 138
           </view>

+ 11
- 2
src/pages/details/mjDetails/sceneryDetails.less Vedi File

@@ -65,7 +65,15 @@
65 65
       .distance{
66 66
         padding-left: 38px;
67 67
         font-size: 24px;         
68
-        color: #C0C8D3;
68
+        color: #C0C8D3;        
69
+        .zhuandao{
70
+          width: 14px;
71
+          height: 24px;
72
+          transform: rotate(180deg);
73
+          position: relative;
74
+          left: 8px;
75
+          top: 5px;
76
+        }        
69 77
       }
70 78
     }
71 79
   }
@@ -74,6 +82,7 @@
74 82
   background: #FFF;
75 83
   border-radius: 12px 12px 0px 0px;
76 84
   padding: 30px 20px 43px 20px;
85
+  text-align: justify;
77 86
   font-size: 24px;   
78 87
   font-weight: bold;
79 88
   color: #202020;
@@ -83,7 +92,7 @@
83 92
     height: 1px;
84 93
     background: #000;
85 94
     opacity: 0.1;
86
-    margin:57px 20px 42px 20px;
95
+    margin:57px 0 42px 0;
87 96
   }
88 97
   .sc{
89 98
     font-size: 20px;     

+ 3
- 3
src/pages/index/tabs/less/Recommend.less Vedi File

@@ -56,8 +56,8 @@
56 56
         top: 0;
57 57
       }
58 58
       .loveharde{
59
-        width: 22px;
60
-        height: 20px;
59
+        width: 28px;
60
+        height: 26px;
61 61
         position: absolute;
62 62
         right: 20px;
63 63
         top: 10px;
@@ -69,6 +69,7 @@
69 69
         font-size: 24px;
70 70
         font-weight: bold;
71 71
         color: #404040;
72
+        text-align: justify;
72 73
       }
73 74
       
74 75
       .cCleft{
@@ -141,7 +142,6 @@
141 142
   }
142 143
   .tabs-Unselected {
143 144
     width: 25vw;      
144
-    font-weight: bold;
145 145
     color: #C0C8D3; 
146 146
     text-align: center;
147 147
     font-size: 28px;