Kaynağa Gözat

to: add login out button

wangyuan 2 yıl önce
ebeveyn
işleme
53bbc58756
2 değiştirilmiş dosya ile 10 ekleme ve 0 silme
  1. 1 0
      pages/set/set.wxml
  2. 9 0
      pages/set/set.wxss

+ 1 - 0
pages/set/set.wxml

@@ -16,5 +16,6 @@
     <view class="label">联系我们</view>
     <van-icon style="margin-right: 30rpx;" name="arrow" color="#999"/>
   </view>
+  <view class="out-button itt-btn">退出登录</view>
   <van-dialog id="van-dialog" />
 </view>

+ 9 - 0
pages/set/set.wxss

@@ -3,6 +3,7 @@
   width: 100%;
   height: 100%;
   background-color: #f7f7f7;
+  position: relative;
 }
 .set-item {
   width: 100%;
@@ -30,6 +31,14 @@
 .col-b {
   border-bottom: 1rpx solid #e4e4e4;
 }
+.out-button {
+  width: 690rpx;
+  height: 80rpx;
+  border-radius: 10rpx;
+  position: fixed;
+  bottom: 80rpx;
+  left: 4%;
+}
 view .van-button__text {
   color: var(--maincolor);
 }