소스 검색

Merge branch 'dev' of http://git.ycjcjy.com/shigongli/miniapp-v2 into dev

吃个甘蔗嚼一年 3 년 전
부모
커밋
b871529541

+ 1
- 1
src/components/foodCards/foodCards.jsx 파일 보기

31
     <view className='foodCard'>
31
     <view className='foodCard'>
32
       <view className='fCleft'>
32
       <view className='fCleft'>
33
         <view className='fCleft_header'>
33
         <view className='fCleft_header'>
34
-          <view>
34
+          <view style={{flex:"none"}}>
35
             <view className='backMoney'>
35
             <view className='backMoney'>
36
               返现¥{(item.cashback / 100).toFixed(2)}
36
               返现¥{(item.cashback / 100).toFixed(2)}
37
             </view>
37
             </view>

+ 1
- 2
src/components/foodCards/style.less 파일 보기

44
 
44
 
45
     .appraise {
45
     .appraise {
46
       display: inline-block;
46
       display: inline-block;
47
-
48
       image{
47
       image{
49
         width: 21px;
48
         width: 21px;
50
         height: 21px;
49
         height: 21px;
90
         color: #333;
89
         color: #333;
91
         .rmb{
90
         .rmb{
92
           font-size: 24px;             
91
           font-size: 24px;             
93
-          margin: 0 8px 0 7px;
92
+          margin-right:8px;
94
         }
93
         }
95
         .p1{
94
         .p1{
96
           font-size: 24px;     
95
           font-size: 24px;     

+ 2
- 2
src/pages/details/foodDetails/foodDetails.jsx 파일 보기

151
         >
151
         >
152
           <view className="storeDetails">
152
           <view className="storeDetails">
153
             <Swiper
153
             <Swiper
154
-              className=".swiper"
154
+              className="swiper"
155
               circular
155
               circular
156
               current={index}
156
               current={index}
157
               onChange={handchange}
157
               onChange={handchange}
158
             >
158
             >
159
               {imglist.map((item) => (
159
               {imglist.map((item) => (
160
                 <SwiperItem>
160
                 <SwiperItem>
161
-                  <image src={item.url} className="storeImage">
161
+                  <image src={item.url} mode='aspectFit' className="storeImage">
162
                     <view className="tpPage">
162
                     <view className="tpPage">
163
                       <text>
163
                       <text>
164
                         {index + 1}/{imglist.length}
164
                         {index + 1}/{imglist.length}

+ 1
- 1
src/pages/details/foodDetails/foodDetails.less 파일 보기

142
   color: #202020;
142
   color: #202020;
143
   text-align: center;
143
   text-align: center;
144
   position: absolute;
144
   position: absolute;
145
-  bottom: -40px;
145
+  bottom: -100px;
146
   padding-top: 77px;
146
   padding-top: 77px;
147
   padding-bottom: 20px;
147
   padding-bottom: 20px;
148
   .moreTip{
148
   .moreTip{

+ 2
- 2
src/pages/details/mjDetails/sceneryDetails.jsx 파일 보기

102
         <scroll-view scrollY style={{ height: '100%' }}>
102
         <scroll-view scrollY style={{ height: '100%' }}>
103
           <view className='storeDetails'>
103
           <view className='storeDetails'>
104
             <Swiper
104
             <Swiper
105
-              className='.swiper'
105
+              className='swiper'
106
               circular
106
               circular
107
               current={index}
107
               current={index}
108
               onChange={handchange}
108
               onChange={handchange}
110
               {
110
               {
111
                 imglist.map((item) =>
111
                 imglist.map((item) =>
112
                   <SwiperItem>
112
                   <SwiperItem>
113
-                    <image src={item.url} className='storeImage' >
113
+                    <image src={item.url}  mode='aspectFit' className='storeImage' >
114
                       <view className='tpPage'>
114
                       <view className='tpPage'>
115
                         <text>{index + 1}/{imglist.length}</text>
115
                         <text>{index + 1}/{imglist.length}</text>
116
                       </view>
116
                       </view>

+ 1
- 2
src/pages/details/mjDetails/sceneryDetails.less 파일 보기

48
     }
48
     }
49
     .wz{
49
     .wz{
50
       font-size: 24px;      
50
       font-size: 24px;      
51
-      line-height: 0;
52
       padding: 30rpx 0 32rpx 0;
51
       padding: 30rpx 0 32rpx 0;
53
       font-weight: bold;
52
       font-weight: bold;
54
       color: #404040;
53
       color: #404040;
127
   color: #202020;
126
   color: #202020;
128
   text-align: center;
127
   text-align: center;
129
   position: absolute;
128
   position: absolute;
130
-  bottom: -40px;
129
+  bottom: -100px;
131
   padding-top: 77px;
130
   padding-top: 77px;
132
   padding-bottom: 20px;
131
   padding-bottom: 20px;
133
   .moreTip{
132
   .moreTip{

+ 0
- 5
src/shop/components/Sparead/spreadMoney.jsx 파일 보기

53
 
53
 
54
   return (
54
   return (
55
     <view>
55
     <view>
56
-      <view>
57
-      </view>
58
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
56
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
59
       <view style={{ padding: '30rpx', height: '100%' }}>
57
       <view style={{ padding: '30rpx', height: '100%' }}>
60
-        <scroll-view scrollY style={{ height: 'calc(100vh - 120px)' }}>
61
           <view className='storexx'>
58
           <view className='storexx'>
62
             <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择商铺" value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
59
             <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择商铺" value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
63
             <view onClick={ShowMoldeOn} className='User-info-cutover'>
60
             <view onClick={ShowMoldeOn} className='User-info-cutover'>
90
             render={({ item, index }) => <ShopCommission key={(index)} item={item} />}
87
             render={({ item, index }) => <ShopCommission key={(index)} item={item} />}
91
           >
88
           >
92
           </List>
89
           </List>
93
-        </scroll-view>
94
       </view>
90
       </view>
95
-
96
     </view>
91
     </view>
97
   )
92
   )
98
 }
93
 }