Selaa lähdekoodia

feat(修改)添加客服功能

xing.li 3 vuotta sitten
vanhempi
commit
34a3efc227

+ 6 - 0
pages/welfareMall/personal/personal.wxml

@@ -46,7 +46,13 @@
         </view>
       </view>
     </view>
+
+
   </custom-page>
+
+  <view>
+  <button open-type="contact" class="call" type="warn" size="mini">联系我们</button>
+</view>
 </page-wrap>
 
 <!-- 使用wxs 手机号码中间四位显示为*号 -->

+ 19 - 0
pages/welfareMall/personal/personal.wxss

@@ -235,3 +235,22 @@ page{
   filter: grayscale(100%);
 }
 
+.call{
+  position: fixed;
+  width: 50px!important;
+  height: 50px!important;
+  border-radius: 25px!important;
+  right: 0px!important;
+  bottom: 30px!important;
+  font-size: 10px!important;
+  background-color: #B01717!important;
+  color: #fff!important;
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: center;
+  align-items: center;
+  padding: 0px!important;
+  line-height: 50px!important;
+  z-index: 9999;
+}
+