Browse Source

Merge branch 'master' of http://code.qutaovip.com/lihai/fish_app

* 'master' of http://code.qutaovip.com/lihai/fish_app:
  自购&&隐藏导购等级
黎海 2 months ago
parent
commit
33c074dbe8

+ 7 - 0
project.private.config.json

@@ -10,6 +10,13 @@
10 10
     "miniprogram": {
11 11
       "list": [
12 12
         {
13
+          "name": "pages/memberSub/cashOut/index",
14
+          "pathName": "pages/memberSub/cashOut/index",
15
+          "query": "",
16
+          "launchMode": "default",
17
+          "scene": null
18
+        },
19
+        {
13 20
           "name": "pages/indexSub/productDetail/index",
14 21
           "pathName": "pages/indexSub/productDetail/index",
15 22
           "query": "id=2312&isHighCommission=false&isSeckill=false&shareUserId=",

+ 1 - 1
src/common/share.js

@@ -1,5 +1,5 @@
1 1
 const shareConfig = {
2
-    title: '默认分享标题',
2
+    title: '鱼市',
3 3
     path: '/pages/index/index',
4 4
     imageUrl: '',
5 5
   };

+ 10 - 1
src/components/index/ProductList/index.jsx

@@ -240,9 +240,18 @@ const ProductList = forwardRef((props, ref) => {
240 240
                 </View>
241 241
                 <View className="profit-line">
242 242
                   <View className="save-money">
243
+                  <Image className="bg" src={saveMoneyBg} mode="aspectFit" />
244
+                    <View className="content">
245
+                        <Text className="label">自购省</Text>
246
+                        <Text className="money">
247
+                          ¥{product.estimated_commission}
248
+                        </Text>
249
+                    </View>
250
+                  </View>
251
+                  {/* <View className="save-money">
243 252
                     <Image className="bg" src={saveMoneyBg} mode="aspectFit" />
244 253
                     <View className="content">立 即 购 买</View>
245
-                  </View>
254
+                  </View> */}
246 255
                   <View className="share-earn">
247 256
                     <Image className="bg" src={shareEarnBg} mode="aspectFit" />
248 257
                     <View className="content">

+ 11 - 10
src/components/index/ProductList/index.less

@@ -133,16 +133,17 @@
133 133
 
134 134
         .save-money {
135 135
           color: #F6C71A;
136
-          display: flex;
137
-          align-items: center;
138
-          justify-content: center;
139
-          .content {
140
-            width: 74px;
141
-            height: 88px;
142
-            font-size: 28px;
143
-            line-height: 41px;
144
-            text-align: center;
145
-          }
136
+          // color: #F6C71A;
137
+          // display: flex;
138
+          // align-items: center;
139
+          // justify-content: center;
140
+          // .content {
141
+          //   width: 74px;
142
+          //   height: 88px;
143
+          //   font-size: 28px;
144
+          //   line-height: 41px;
145
+          //   text-align: center;
146
+          // }
146 147
         }
147 148
 
148 149
         .share-earn {

BIN
src/images/index/save-money.png


+ 2 - 2
src/pages/indexSub/productDetail/index.jsx

@@ -335,8 +335,8 @@ export default class Index extends Component {
335 335
                   onClick={this.handleBuy}
336 336
                   className="bottom-buy-right-share"
337 337
                 >
338
-                  {/* <Image src={selfBuy} mode="aspectFit" /> */}
339
-                  <Text className="bottom-buy-text">立即购买</Text>
338
+                  <Image src={selfBuy} mode="aspectFit" />
339
+                  <Text className="bottom-buy-text">自购省</Text>
340 340
                 </View>
341 341
               </>
342 342
             ) : (

+ 1 - 1
src/pages/memberSub/earningsOrder/index.jsx

@@ -210,7 +210,7 @@ export default class Index extends Component {
210 210
                 </Text>
211 211
                 {orderType == 2 && (
212 212
                   <View className="promotion-info">
213
-                    <View className="tag">推广收入</View>
213
+                    <View className="tag">预估收入</View>
214 214
                     <Text className="amount">¥{item.assess_amount_text}</Text>
215 215
                   </View>
216 216
                 )}

+ 2 - 2
src/pages/memberSub/myPartner/index.jsx

@@ -50,10 +50,10 @@ export default class Index extends Component {
50 50
               </View>
51 51
               <View className="partner-item-top-right">
52 52
                 <View className="name">{item.name}</View>
53
-                <View className="level">
53
+                {/* <View className="level">
54 54
                   <Image src={level} className="level-icon" />
55 55
                   <Text className="level-text">导购员</Text>
56
-                </View>
56
+                </View> */}
57 57
               </View>
58 58
               <View onClick={() => Taro.navigateTo({ url: `/pages/memberSub/partnerDetail/index?id=${item.id}` })} className="detail">详情
59 59
                 <AtIcon value='chevron-right' size='10' color='#A1A1A1'></AtIcon>

+ 2 - 2
src/pages/memberSub/partnerDetail/index.jsx

@@ -80,10 +80,10 @@ export default class Index extends Component {
80 80
             <View className="header">
81 81
               <View className="header-left">
82 82
                 <Text className="name">{partnerDetail.name}</Text>
83
-                <View className="level">
83
+                {/* <View className="level">
84 84
                   <Image className="level-icon" src={level} />
85 85
                   <Text className="level-text">导购员</Text>
86
-                </View>
86
+                </View> */}
87 87
               </View>
88 88
               <View className="header-right">
89 89
                 <Image className="header-right-avatar" src={partnerDetail.icon} />

+ 2 - 2
src/pages/mine/index.jsx

@@ -89,12 +89,12 @@ export default class Index extends Component {
89 89
             <View className="user-info">
90 90
               <View onClick={this.Login} className="name">
91 91
                 {userInfo.name ? userInfo.name : "去登录"}
92
-                {userInfo.user_identity === 1 && (
92
+                {/* {userInfo.user_identity === 1 && (
93 93
                   <View className="level-box">
94 94
                     <Image src={levelOne} className="level-icon" />
95 95
                     <Text className="level-text">Lv 1</Text>
96 96
                   </View>
97
-                )}
97
+                )} */}
98 98
               </View>
99 99
               <View className="account">{userInfo.id ? userInfo.id : ""}</View>
100 100
             </View>