李志伟 3 anos atrás
pai
commit
8cbb668bfa

+ 1
- 1
src/components/foodCards/foodCards.jsx Ver arquivo

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

+ 4
- 1
src/components/foodCards/style.less Ver arquivo

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

+ 1
- 0
src/pages/details/components/Extend/extend.less Ver arquivo

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

+ 2
- 1
src/pages/details/mjDetails/sceneryDetails.jsx Ver arquivo

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

+ 11
- 2
src/pages/details/mjDetails/sceneryDetails.less Ver arquivo

65
       .distance{
65
       .distance{
66
         padding-left: 38px;
66
         padding-left: 38px;
67
         font-size: 24px;         
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
   background: #FFF;
82
   background: #FFF;
75
   border-radius: 12px 12px 0px 0px;
83
   border-radius: 12px 12px 0px 0px;
76
   padding: 30px 20px 43px 20px;
84
   padding: 30px 20px 43px 20px;
85
+  text-align: justify;
77
   font-size: 24px;   
86
   font-size: 24px;   
78
   font-weight: bold;
87
   font-weight: bold;
79
   color: #202020;
88
   color: #202020;
83
     height: 1px;
92
     height: 1px;
84
     background: #000;
93
     background: #000;
85
     opacity: 0.1;
94
     opacity: 0.1;
86
-    margin:57px 20px 42px 20px;
95
+    margin:57px 0 42px 0;
87
   }
96
   }
88
   .sc{
97
   .sc{
89
     font-size: 20px;     
98
     font-size: 20px;     

+ 3
- 3
src/pages/index/tabs/less/Recommend.less Ver arquivo

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