Quellcode durchsuchen

授权按钮调整

kk.shi vor 3 Jahren
Ursprung
Commit
8655034936

+ 3 - 3
pages/welfareMall/personal/personal.wxml

@@ -5,7 +5,7 @@
     <view class="head-personal flex-row">
       <image class="head-personal-logo" src="/images/welfareMall/head-portrait.png" />
       <view class="head-personal-login" wx:if="{{isLogin}}">{{phone.toHide(mobileTop)}}</view>
-      <button  class="personal-isLogin" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" style="margin-left: -50rpx;">登录/注册</button>
+      <button  class="personal-isLogin" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">登录/注册</button>
     </view>
     <view class="head-card flex-row">
       <view class="head-card-coupon">我的优惠券</view>
@@ -47,13 +47,13 @@
       </view>
       <view class="content-lower"></view>
       <!-- 邀请好友 -->
-      <view class="invite-friends content-style flex-row">
+      <!-- <view class="invite-friends content-style flex-row">
         <view class="content-img-text flex-row">
           <image class="content-img" src="/images/welfareMall/invite-friends.png" />
           <view class="content-text">邀请好友</view>
         </view>
         <image class="content-jump" src="/images/welfareMall/jump.png" />
-      </view>
+      </view> -->
       <view class="content-lower"></view>
       <!-- 历史订单 -->
       <view class="historical-order content-style flex-row" catchtap="toHistorical">

+ 15 - 1
pages/welfareMall/personal/personal.wxss

@@ -2,7 +2,7 @@
 .personal{
   width: 750rpx;
   height: auto;
-  padding-bottom: 119rpx; 
+  padding-bottom: 80rpx; 
 }
 
 /* 垂直方向布局,水平居中 **/
@@ -41,6 +41,20 @@
   height: 136rpx;
 }
 
+button {
+  padding: 0 !important;
+  padding-left: 0 !important;
+}
+
+button:not([size=mini]) {
+  width: 170rpx !important;
+  font-size: 38rpx;
+  font-weight: 500;
+  color: #303030;
+  margin-left: 33rpx !important;
+  margin-right: 0rpx !important;
+}
+
 .head-personal-login{
   margin-left: 33rpx;
   font-size: 38rpx;