xujing 5 年前
父节点
当前提交
7405b6b15e
共有 2 个文件被更改,包括 44 次插入19 次删除
  1. 35
    15
      src/pages/person/customerAnalysis/index.scss
  2. 9
    4
      src/pages/person/customerAnalysis/myCustomer.js

+ 35
- 15
src/pages/person/customerAnalysis/index.scss 查看文件

189
   }
189
   }
190
   }
190
   }
191
   .my-tab{
191
   .my-tab{
192
-    .btn{
193
-      width:360px;
194
-      text-align: center;
195
-      height:70px;
196
-      line-height: 70px;
197
-      margin: 200px auto 40px auto;
198
-      background:$primary-color;
199
-      color: #fff;
200
-      border-radius:8px;
201
-      font-size: 32px;
202
-
203
-    }
192
+    
204
     .pane{
193
     .pane{
205
       padding-bottom: 240px;
194
       padding-bottom: 240px;
206
     }
195
     }
220
     .at-tabs__underline{
209
     .at-tabs__underline{
221
       height: 0px!important;
210
       height: 0px!important;
222
     }
211
     }
212
+    .btn-box{
213
+      width: 100%;
214
+      height:160px;
215
+      background:rgba(255,255,255,1);
216
+      box-shadow:0px -2px 6px 0px rgba(0,0,0,0.12);
217
+      display: flex;
218
+      position: fixed;
219
+      bottom: 50px;
220
+      padding: 0 20px;
221
+    }
222
+    .btn{
223
+      width: 320px;
224
+      text-align: center;
225
+      height: 96px;
226
+      line-height: 96px;
227
+      background:$primary-color;
228
+      color: #fff;
229
+      border-radius:12px;
230
+      font-size: 36px;
231
+      margin: 30px auto;
232
+    }
233
+    .info-btn{
234
+      width:320px;
235
+      height:96px;
236
+      line-height: 96px;
237
+      border-radius:12px;
238
+      border:2px solid $primary-color;
239
+      text-align: center;  
240
+      color: $primary-color;
241
+      font-size: 36px;
242
+      margin: 30px auto;
243
+    }
223
     .tab-pane1{
244
     .tab-pane1{
224
       position: relative;
245
       position: relative;
225
       .status{
246
       .status{
233
         margin-top: 30px;
254
         margin-top: 30px;
234
         display: flex;
255
         display: flex;
235
         padding: 0 28px;
256
         padding: 0 28px;
236
-        align-items: center;
237
         color: #666;
257
         color: #666;
238
         font-size: 30px;
258
         font-size: 30px;
239
         .con{
259
         .con{
240
           margin-left: 20px;
260
           margin-left: 20px;
261
+          max-width: 510px;
241
         }
262
         }
242
       }
263
       }
243
-      
244
-
245
     }
264
     }
265
+ 
246
     .tab-pane2{
266
     .tab-pane2{
247
       padding: 10px 0;
267
       padding: 10px 0;
248
       .record-item{
268
       .record-item{

+ 9
- 4
src/pages/person/customerAnalysis/myCustomer.js 查看文件

473
               <View className="base-item">项目类型:<View className="con">{customerDetail.demandType || '暂无'}</View></View>
473
               <View className="base-item">项目类型:<View className="con">{customerDetail.demandType || '暂无'}</View></View>
474
               <View className="base-item">价格区间:<View className="con">{customerDetail.priceRange || '暂无'}</View></View>
474
               <View className="base-item">价格区间:<View className="con">{customerDetail.priceRange || '暂无'}</View></View>
475
               <View className="base-item">客户描述:<View className="con">{customerDetail.describe || '暂无'}</View></View>
475
               <View className="base-item">客户描述:<View className="con">{customerDetail.describe || '暂无'}</View></View>
476
-              <View className="btn" onClick={this.perfectInformation}>完善信息</View>
476
+              <View className="btn-box">
477
+                <View className="btn" onClick={this.addFollow}>添加跟进</View>
478
+                <View className="info-btn" onClick={this.perfectInformation}>完善信息</View>
479
+              </View>
477
             </View>
480
             </View>
478
           </AtTabsPane>
481
           </AtTabsPane>
479
           <AtTabsPane current={this.state.current} index={1}>
482
           <AtTabsPane current={this.state.current} index={1}>
544
             </View>
547
             </View>
545
           </AtTabsPane>
548
           </AtTabsPane>
546
           <AtTabsPane current={this.state.current} index={3}>
549
           <AtTabsPane current={this.state.current} index={3}>
547
-            <View style="padding:10px 20px 20px 20px">
550
+            <View>
548
               <ListView
551
               <ListView
549
                 className="wrap"
552
                 className="wrap"
550
                 needInit
553
                 needInit
551
-                style="height:calc(100vh - 560rpx)"
554
+                style="height:calc(100vh - 510rpx);padding:10px 20px 20px 20px"
552
                 isEmpty={isEmpty3}
555
                 isEmpty={isEmpty3}
553
                 emptyText="暂无跟进记录~"
556
                 emptyText="暂无跟进记录~"
554
                 hasMore={hasMore3}
557
                 hasMore={hasMore3}
579
                   }
582
                   }
580
                 </View>
583
                 </View>
581
               </ListView>
584
               </ListView>
582
-              <View className="btn" style="margin:40rpx auto;" onClick={this.addFollow}>添加跟进</View>
585
+              <View className="btn-box">
586
+                <View className="btn" onClick={this.addFollow}>添加跟进</View>
587
+              </View>
583
             </View>
588
             </View>
584
           </AtTabsPane>
589
           </AtTabsPane>
585
         </AtTabs>
590
         </AtTabs>