李志伟 3 years ago
parent
commit
f1e5b8865d

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

2
   background-color: #fff;
2
   background-color: #fff;
3
   border-radius: 12px;
3
   border-radius: 12px;
4
   margin-bottom: 20px;
4
   margin-bottom: 20px;
5
-
6
-  
7
-
8
   .huadong{    
5
   .huadong{    
9
     position: relative;
6
     position: relative;
10
     .swiper {
7
     .swiper {
136
   background-repeat: no-repeat;
133
   background-repeat: no-repeat;
137
   background-size: auto 50%;
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
 .botton {
136
 .botton {
171
   font-size: 28px;
137
   font-size: 28px;
172
   color: #c0c8d3;
138
   color: #c0c8d3;

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

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

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

120
     margin-right: 10px;
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
   font-size: 28px;
125
   font-size: 28px;
147
   color: #c0c8d3;
126
   color: #c0c8d3;
148
   line-height: 34px;
127
   line-height: 34px;