李志伟 3 years ago
parent
commit
f1e5b8865d

+ 0
- 34
src/pages/details/foodDetails/foodDetails.less View File

@@ -2,9 +2,6 @@
2 2
   background-color: #fff;
3 3
   border-radius: 12px;
4 4
   margin-bottom: 20px;
5
-
6
-  
7
-
8 5
   .huadong{    
9 6
     position: relative;
10 7
     .swiper {
@@ -136,37 +133,6 @@
136 133
   background-repeat: no-repeat;
137 134
   background-size: auto 50%;
138 135
 }
139
-.showMore {
140
-  width: 100%;
141
-  background: linear-gradient(
142
-    0deg,
143
-    rgba(248, 248, 248, 0.58) 42%,
144
-    rgba(248, 248, 248, 0) 100%
145
-  );
146
-  font-size: 28px;
147
-  font-weight: bold;
148
-  color: #202020;
149
-  text-align: center;
150
-  position: absolute;
151
-  bottom: -140px;
152
-  padding-top: 77px;
153
-  padding-bottom: 20px;
154
-  .moreTip {
155
-    width: 38px;
156
-    height: 19px;
157
-    margin-top: 14px;
158
-  }
159
-}
160
-.storezn {
161
-  font-size: 28px;
162
-  color: #202020;
163
-  line-height: 64px;
164
-  margin-bottom: 44px;
165
-}
166
-.storezn + image {
167
-  width: 100%;
168
-  margin-bottom: 40px;
169
-}
170 136
 .botton {
171 137
   font-size: 28px;
172 138
   color: #c0c8d3;

+ 4
- 2
src/pages/details/mjDetails/sceneryDetails.jsx View File

@@ -3,6 +3,7 @@ import ax from '@/assets/icons/housemantj/onlove.png'
3 3
 import dw from '@/assets/icons/housemantj/loc-o.png'
4 4
 import titlejd from '@/assets/icons/housemantj/goodTourist.png'
5 5
 import titlems from '@/assets/icons/housemantj/goodFood.png'
6
+import showMore from '@/assets/icons/housemantj/setMore.png'
6 7
 import share from '@/assets/icons/housemantj/touristShare.png'
7 8
 import good from '@/assets/icons/housemantj/touristGood.png'
8 9
 import baozan from '@/assets/icons/housemantj/bgood.png'
@@ -38,6 +39,7 @@ export default withLayout((props) => {
38 39
 
39 40
   //本店指南
40 41
   const [extend, setExtend] = useState([])
42
+
41 43
   // 推荐套餐列表
42 44
   const [recommend, setRecommend] = useState([])
43 45
 
@@ -65,7 +67,6 @@ export default withLayout((props) => {
65 67
       })
66 68
       getExtendContent('tourist', id, { pageSize: 500 }).then((res) => {
67 69
         setExtend(res.records || [])
68
-        setAllextNum(res.total)
69 70
         setLoading(false)
70 71
 
71 72
       })
@@ -143,6 +144,7 @@ export default withLayout((props) => {
143 144
               <image src={titlejd} />景点介绍
144 145
             </view>
145 146
             {(extend || []).map((item) => <Extend item={item} />)}
147
+
146 148
           </view>
147 149
           <view style={{ position: 'relative', marginTop: '6em', display: recommend == '' ? 'none' : '' }}>
148 150
             <view className='title'>
@@ -150,7 +152,7 @@ export default withLayout((props) => {
150 152
             </view>
151 153
             {(recommend || []).map((item) => <Cards item={item} det={item} st={parseFloat(item.score.toFixed(1))} />)}
152 154
           </view>
153
-          <view className='bottom'>这是我的底线</view>
155
+          <view className='botton'>这是我的底线</view>
154 156
         </scroll-view>
155 157
       </SpinBox>
156 158
 

+ 1
- 22
src/pages/details/mjDetails/sceneryDetails.less View File

@@ -120,29 +120,8 @@
120 120
     margin-right: 10px;
121 121
   }
122 122
 }
123
-.showMore {
124
-  width: 100%;
125
-  background: linear-gradient(
126
-    0deg,
127
-    rgba(248, 248, 248, 0.58) 42%,
128
-    rgba(248, 248, 248, 0) 100%
129
-  );
130
-  font-size: 28px;
131
-  font-weight: bold;
132
-  color: #202020;
133
-  text-align: center;
134
-  position: absolute;
135
-  bottom: -130px;
136
-  padding-top: 77px;
137
-  padding-bottom: 20px;
138
-  .moreTip {
139
-    width: 38px;
140
-    height: 19px;
141
-    margin-top: 14px;
142
-  }
143
-}
144 123
 
145
-.bottom {
124
+.botton {
146 125
   font-size: 28px;
147 126
   color: #c0c8d3;
148 127
   line-height: 34px;