瀏覽代碼

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

吃个甘蔗嚼一年 3 年之前
父節點
當前提交
fb318c8c94

src/assets/icons/shopKeeper/小眼睛-闭上.png → src/assets/icons/shopKeeper/eyesOFF.png 查看文件


src/assets/icons/shopKeeper/小眼睛.png → src/assets/icons/shopKeeper/eyesON.png 查看文件


src/assets/icons/shopKeeper/订单收入.png → src/assets/icons/shopKeeper/orderOFF.png 查看文件


src/assets/icons/shopKeeper/订单收入按下.png → src/assets/icons/shopKeeper/orderON.png 查看文件


src/assets/icons/shopKeeper/推广收入.png → src/assets/icons/shopKeeper/spreadOFF.png 查看文件


src/assets/icons/shopKeeper/推广收入按下.png → src/assets/icons/shopKeeper/spreadON.png 查看文件


+ 13
- 7
src/components/foodCards/foodCards.jsx 查看文件

30
   return (
30
   return (
31
     <view className='foodCard'>
31
     <view className='foodCard'>
32
       <view className='fCleft'>
32
       <view className='fCleft'>
33
-        <view className='backMoney'>
34
-          返现¥{(item.cashback / 100).toFixed(2)}
35
-        </view>
36
-        <view className='appraise'>
37
-          <Star star={st} />
38
-          <text className='storezf'>{st}</text>
33
+        <view className='fCleft_header'>
34
+          <view>
35
+            <view className='backMoney'>
36
+              返现¥{(item.cashback / 100).toFixed(2)}
37
+            </view>
38
+          </view>
39
+          <view>
40
+            <view className='appraise'>
41
+              <Star star={st} />
42
+              <text className='storezf'>{st}</text>
43
+            </view>
44
+          </view>
39
         </view>
45
         </view>
40
-        <view>
46
+        <view className='fCleft_body'>
41
           <view className='contentImg' onClick={() => { goFood() }}>
47
           <view className='contentImg' onClick={() => { goFood() }}>
42
             <image src={item.poster} className='img1'></image>
48
             <image src={item.poster} className='img1'></image>
43
             <image src={msTip} className='mstip'></image>
49
             <image src={msTip} className='mstip'></image>

+ 44
- 20
src/components/foodCards/style.less 查看文件

1
 .foodCard{
1
 .foodCard{
2
   background: #FFF;
2
   background: #FFF;
3
-  // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
4
   border-radius: 12px;
3
   border-radius: 12px;
5
   position: relative;
4
   position: relative;
6
   margin: 15px 15px;
5
   margin: 15px 15px;
7
   margin-bottom: 30px;
6
   margin-bottom: 30px;
8
   overflow: hidden;
7
   overflow: hidden;
9
-  filter: drop-shadow(0px 6px 13px rgba(0, 0, 0, 0.12));
8
+  // filter: drop-shadow(0px 6px 13px rgba(0, 0, 0, 0.12));
9
+  // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
10
   background: radial-gradient(circle at 82% top,transparent 20px,#fff 0) top,
10
   background: radial-gradient(circle at 82% top,transparent 20px,#fff 0) top,
11
               radial-gradient(circle at 82% bottom,transparent 20px,#fff 0) bottom;
11
               radial-gradient(circle at 82% bottom,transparent 20px,#fff 0) bottom;
12
   background-repeat: no-repeat;
12
   background-repeat: no-repeat;
13
-  background-size: auto 50%;
13
+  background-size: 100% 50%;
14
+  box-sizing: border-box;
15
+  display: flex;
16
+
14
   .fCleft{
17
   .fCleft{
15
-    float: left;
16
-    width: 82%;
18
+    flex: auto;
19
+
20
+    &_header {
21
+      display: flex;
22
+      margin: 22px 0;
23
+
24
+      & > view {
25
+        flex: 1;
26
+      }
27
+    }
28
+
29
+    &_body {
30
+      display: flex;
31
+      padding: 0 20px 43px 20px;
32
+    }
33
+    
17
     .backMoney{
34
     .backMoney{
35
+      display: inline-block;
36
+
18
       font-size: 24px;
37
       font-size: 24px;
19
       font-weight: bold;
38
       font-weight: bold;
20
-      color: #FFF;
21
-      margin: 22px 40px 20px 0;        
22
-      padding: 12px 17px 9px 6px;
23
-      background:url('../../assets/icons/housemantj/fximg.png') no-repeat;    
24
-      display: inline-block;
39
+      color: #FFF;     
40
+      padding: 12px 30px 9px 1em;
41
+      background:url('../../assets/icons/housemantj/fximg.png') no-repeat;
25
       background-size: 100% 100%;
42
       background-size: 100% 100%;
26
     }
43
     }
27
-    .appraise{
44
+
45
+    .appraise {
28
       display: inline-block;
46
       display: inline-block;
29
-      margin-left: 10px;
47
+
30
       image{
48
       image{
31
         width: 21px;
49
         width: 21px;
32
         height: 21px;
50
         height: 21px;
38
         color: #020200;
56
         color: #020200;
39
       }
57
       }
40
     }
58
     }
59
+
41
     .contentImg{
60
     .contentImg{
42
-      margin: 0 20px 43px 20px;
61
+      flex: none;
43
       position: relative;
62
       position: relative;
44
-      display: inline-block;
63
+      width: 144px;
64
+      
45
       .img1{
65
       .img1{
46
         width: 144px;
66
         width: 144px;
47
         height: 144px;
67
         height: 144px;
55
       }
75
       }
56
     }
76
     }
57
     .neirong{
77
     .neirong{
58
-      display: inline-block;
59
-      width: 57%;
78
+      flex: auto;
79
+      margin-left: 1em;
80
+
60
       .textword{
81
       .textword{
61
         font-size: 24px;           
82
         font-size: 24px;           
62
         color: #333;
83
         color: #333;
111
     }
132
     }
112
   }
133
   }
113
   .fCright{
134
   .fCright{
114
-    float: right;
135
+    flex: none;
115
     width: 18%;
136
     width: 18%;
116
     line-height: 0;
137
     line-height: 0;
117
     image{
138
     image{
139
+      display: block;
118
       width:35px;
140
       width:35px;
119
       height:32px;
141
       height:32px;
120
-      margin-top: 120%;
121
-      margin-left:calc(50% - 15px)
142
+      margin: 0 auto;
143
+      margin-top: 100%;
122
     }
144
     }
123
     view{
145
     view{
124
       font-size: 24px;
146
       font-size: 24px;
130
     }
152
     }
131
   }
153
   }
132
   .columnLine{
154
   .columnLine{
155
+    flex: none;
156
+    width: 1px;
133
     height: 50%;
157
     height: 50%;
134
     border-right: 2px dashed #595959;
158
     border-right: 2px dashed #595959;
135
     opacity: 0.12;
159
     opacity: 0.12;
136
     position: absolute;
160
     position: absolute;
137
     right: 18%;
161
     right: 18%;
138
-    bottom:15%;
162
+    bottom: 25%;
139
   }
163
   }
140
 }
164
 }

+ 2
- 2
src/hotel/components/Income/income.jsx 查看文件

1
 import { useState, useMemo } from 'react'
1
 import { useState, useMemo } from 'react'
2
-import eyes from '@/assets/icons/shopKeeper/小眼睛.png'
3
-import ceyes from '@/assets/icons/shopKeeper/小眼睛-闭上.png'
2
+import eyes from '@/assets/icons/shopKeeper/eyesON.png'
3
+import ceyes from '@/assets/icons/shopKeeper/eyesOFF.png'
4
 import sImg from '@/assets/icons/landlord/money2.png'
4
 import sImg from '@/assets/icons/landlord/money2.png'
5
 import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
5
 import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
6
 import ToggleRole from '@/components/toggleRole/ToggleRole'
6
 import ToggleRole from '@/components/toggleRole/ToggleRole'

+ 2
- 2
src/shop/components/ShopKeeper/shopKeeper.jsx 查看文件

7
 import { getVerifiedOrder } from '@/services/shopBoss'
7
 import { getVerifiedOrder } from '@/services/shopBoss'
8
 import List from '@/components/List';
8
 import List from '@/components/List';
9
 import NoData from '@/components/NoData'
9
 import NoData from '@/components/NoData'
10
-import eyes from '@/assets/icons/shopKeeper/小眼睛.png'
11
-import ceyes from '@/assets/icons/shopKeeper/小眼睛-闭上.png'
10
+import eyes from '@/assets/icons/shopKeeper/eyesON.png'
11
+import ceyes from '@/assets/icons/shopKeeper/eyesOFF.png'
12
 import ToggleRole from '@/components/toggleRole/ToggleRole'
12
 import ToggleRole from '@/components/toggleRole/ToggleRole'
13
 import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
13
 import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
14
 import './shopKeeper.less'
14
 import './shopKeeper.less'

+ 2
- 2
src/shop/components/Sparead/spreadMoney.jsx 查看文件

4
 import Picker from '@/components/Picker'
4
 import Picker from '@/components/Picker'
5
 import {getAccount} from '@/services/shopBoss'
5
 import {getAccount} from '@/services/shopBoss'
6
 import ShopCommission from '@/components/ShopCommission'
6
 import ShopCommission from '@/components/ShopCommission'
7
-import eyes from '@/assets/icons/shopKeeper/小眼睛.png'
8
-import ceyes from '@/assets/icons/shopKeeper/小眼睛-闭上.png'
7
+import eyes from '@/assets/icons/shopKeeper/eyesON.png'
8
+import ceyes from '@/assets/icons/shopKeeper/eyesOFF.png'
9
 import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
9
 import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
10
 import NoData from '@/components/NoData'
10
 import NoData from '@/components/NoData'
11
 import ToggleRole from '@/components/toggleRole/ToggleRole'
11
 import ToggleRole from '@/components/toggleRole/ToggleRole'

+ 4
- 4
src/shop/pages/spread/spreadIndex.jsx 查看文件

4
 import { getShopList, getShopMoney, getAccount, getVerifiedOrder, setGetVerifiedOrder } from '@/services/shopBoss'
4
 import { getShopList, getShopMoney, getAccount, getVerifiedOrder, setGetVerifiedOrder } from '@/services/shopBoss'
5
 
5
 
6
 import TabBar from '@/components/CustTabBar'
6
 import TabBar from '@/components/CustTabBar'
7
-import shopImg from '@/assets/icons/shopKeeper/订单收入.png'
8
-import onShopImg from '@/assets/icons/shopKeeper/订单收入按下.png'
9
-import spareadImg from '@/assets/icons/shopKeeper/推广收入.png'
10
-import onSpareadImg from '@/assets/icons/shopKeeper/推广收入按下.png'
7
+import shopImg from '@/assets/icons/shopKeeper/orderOFF.png'
8
+import onShopImg from '@/assets/icons/shopKeeper/orderON.png'
9
+import spareadImg from '@/assets/icons/shopKeeper/spreadOFF.png'
10
+import onSpareadImg from '@/assets/icons/shopKeeper/spreadON.png'
11
 import withLayout from '@/layouts'
11
 import withLayout from '@/layouts'
12
 import ShopKeeper from '../../components/ShopKeeper/shopKeeper'
12
 import ShopKeeper from '../../components/ShopKeeper/shopKeeper'
13
 import Sparead from '../../components/Sparead/spreadMoney'
13
 import Sparead from '../../components/Sparead/spreadMoney'