xujing před 5 roky
rodič
revize
7405b6b15e

+ 35
- 15
src/pages/person/customerAnalysis/index.scss Zobrazit soubor

@@ -189,18 +189,7 @@
189 189
   }
190 190
   }
191 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 193
     .pane{
205 194
       padding-bottom: 240px;
206 195
     }
@@ -220,6 +209,38 @@
220 209
     .at-tabs__underline{
221 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 244
     .tab-pane1{
224 245
       position: relative;
225 246
       .status{
@@ -233,16 +254,15 @@
233 254
         margin-top: 30px;
234 255
         display: flex;
235 256
         padding: 0 28px;
236
-        align-items: center;
237 257
         color: #666;
238 258
         font-size: 30px;
239 259
         .con{
240 260
           margin-left: 20px;
261
+          max-width: 510px;
241 262
         }
242 263
       }
243
-      
244
-
245 264
     }
265
+ 
246 266
     .tab-pane2{
247 267
       padding: 10px 0;
248 268
       .record-item{

+ 9
- 4
src/pages/person/customerAnalysis/myCustomer.js Zobrazit soubor

@@ -473,7 +473,10 @@ export default class myCustomer extends Taro.Component {
473 473
               <View className="base-item">项目类型:<View className="con">{customerDetail.demandType || '暂无'}</View></View>
474 474
               <View className="base-item">价格区间:<View className="con">{customerDetail.priceRange || '暂无'}</View></View>
475 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 480
             </View>
478 481
           </AtTabsPane>
479 482
           <AtTabsPane current={this.state.current} index={1}>
@@ -544,11 +547,11 @@ export default class myCustomer extends Taro.Component {
544 547
             </View>
545 548
           </AtTabsPane>
546 549
           <AtTabsPane current={this.state.current} index={3}>
547
-            <View style="padding:10px 20px 20px 20px">
550
+            <View>
548 551
               <ListView
549 552
                 className="wrap"
550 553
                 needInit
551
-                style="height:calc(100vh - 560rpx)"
554
+                style="height:calc(100vh - 510rpx);padding:10px 20px 20px 20px"
552 555
                 isEmpty={isEmpty3}
553 556
                 emptyText="暂无跟进记录~"
554 557
                 hasMore={hasMore3}
@@ -579,7 +582,9 @@ export default class myCustomer extends Taro.Component {
579 582
                   }
580 583
                 </View>
581 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 588
             </View>
584 589
           </AtTabsPane>
585 590
         </AtTabs>