瀏覽代碼

改版我的页面

bayi 1 年之前
父節點
當前提交
e59b60b2ea
共有 3 個文件被更改,包括 21 次插入15 次删除
  1. 8 7
      pages/my/index.less
  2. 8 2
      pages/my/index.wxml
  3. 5 6
      pages/my/index.wxss

+ 8 - 7
pages/my/index.less

@@ -201,12 +201,11 @@
             font-size: 30rpx;
         }
 
-        .subBtn {
-            padding: 10rpx 26rpx;
-            border-radius: 50rpx;
-            color: white;
-            font-size: 25rpx;
-            background-color: #30C866;
+        .black {
+            margin-right: 20rpx;
+            width: 16rpx;
+            height: 30rpx;
+            opacity: 0.8;
         }
     }
 
@@ -287,12 +286,14 @@
 
     .longpressBox {
         position: relative;
+
         .iosVip {
             margin-top: 30rpx;
             height: 230rpx;
             width: 710rpx;
         }
-        .qrCode{
+
+        .qrCode {
             position: absolute;
             top: 59rpx;
             right: 40rpx;

+ 8 - 2
pages/my/index.wxml

@@ -89,13 +89,19 @@
         <view class="tips">
             <image src="/static/activation.png" class="tipsImg" />学习卡激活
         </view>
-        <view class="subBtn">去激活</view>
+        <image class='black' src='/static/black.png'></image>
     </view>
     <view class="activation" bindtap="toGzh">
         <view class="tips">
             <image src="/static/care.png" class="tipsImg" />关注公众号不迷路,更多福利等您!
         </view>
-        <view class="subBtn">去关注</view>
+        <image class='black' src='/static/black.png'></image>
+    </view>
+    <view class="activation" bindtap="toGzh">
+        <view class="tips">
+            <image src="/static/care.png" class="tipsImg" />购买记录
+        </view>
+        <image class='black' src='/static/black.png'></image>
     </view>
     <!-- 弹窗 -->
     <view class="activationModal" wx:if="{{activationModal}}">

+ 5 - 6
pages/my/index.wxss

@@ -170,12 +170,11 @@
   width: 44rpx;
   height: 44rpx;
 }
-.container .activation .subBtn {
-  padding: 10rpx 26rpx;
-  border-radius: 50rpx;
-  color: white;
-  font-size: 25rpx;
-  background-color: #30C866;
+.container .activation .black {
+  margin-right: 20rpx;
+  width: 16rpx;
+  height: 30rpx;
+  opacity: 0.8;
 }
 .container .scrollViewBox {
   height: 330rpx;