Bladeren bron

fix:个人中心样式修改

jianghaili 14 uur geleden
bovenliggende
commit
5c5aeef6cf
2 gewijzigde bestanden met toevoegingen van 11 en 50 verwijderingen
  1. 1 1
      pages/index/index.vue
  2. 10 49
      pages/my/index.vue

+ 1 - 1
pages/index/index.vue

@@ -344,7 +344,7 @@
 				<!-- :style="{ paddingTop: (12 + statusBarHeight) + 'px !important' }" -->
 				<u-sticky @fixed="isfixed" @unfixed="isunfixed" h5-nav-height="0" bg-color="#F2F2F7" :enable="enable">
 					<view class="qySx flex justify-center" :class="isfixeds==true?'isfixed':'isfixeds'">
-						<image class="qySx-bg" src="/static/images/index/index-bg1.png" mode="widthFix"></image>
+						<image class="qySx-bg" src="/static/images/index/index-bg.png" mode="widthFix"></image>
 						<view class="qySx-box">
 							<!-- 第一行:tabs -->
 							<view class="qySx-box-row flex justify-between align-center">

+ 10 - 49
pages/my/index.vue

@@ -24,6 +24,7 @@
         <view class="user-top">
           <view
             class="info-box-btn flex justify-end align-center"
+            style="padding-right: 32rpx;"
             v-if="token && XCXIsSelect != '否'"
           >
             <image
@@ -426,35 +427,9 @@
     <block v-else>
       <view class="user-box">
         <view class="user-top">
-          <view
-            v-if="XCXIsSelect != '否'"
-            class="info-box-btn flex justify-end align-center"
-          >
-            <image
-              src="/static/images/jobApplicant/qiehuan.svg"
-              mode="scaleToFill"
-              style="margin-top: 40rpx"
-              @click="bindQe(userType)"
-            />
-            <!-- <image
-              src="../../static/images/my/icon/selectUser.png"
-              style="width: 40rpx; height: 100%; margin-right: 40rpx"
-              @click="bindQe(userType)"
-              mode=""
-            >
-            </image>
-            <image
-              src="../../static/images/my/icon/set.png"
-              style="width: 44rpx; height: 100%"
-              mode=""
-            >
-            </image> -->
-          </view>
-        </view>
-        <view class="user-content">
           <view class="info flex justify-center">
             <view class="info-box">
-              <!-- <view
+              <view
                 v-if="XCXIsSelect != '否'"
                 class="info-box-btn flex justify-end align-center"
               >
@@ -464,20 +439,7 @@
                   style="margin-top: 40rpx"
                   @click="bindQe(userType)"
                 />
-                <image
-                  src="../../static/images/my/icon/selectUser.png"
-                  style="width: 40rpx; height: 100%; margin-right: 40rpx"
-                  @click="bindQe(userType)"
-                  mode=""
-                >
-                </image>
-                <image
-                  src="../../static/images/my/icon/set.png"
-                  style="width: 44rpx; height: 100%"
-                  mode=""
-                >
-                </image>
-              </view> -->
+              </view>
               <view class="info-box-header flex align-center">
                 <view class="info-box-header-l">
                   <image
@@ -543,7 +505,8 @@
               </view>
             </view>
           </view>
-
+        </view>
+        <view class="user-content">
           <!-- 升级VIP -->
           <view class="vip-upgrade-banner" @click="goVipUpgrade">
             <view class="vip-banner-content">
@@ -1479,7 +1442,6 @@ export default {
         wx.requestSubscribeMessage({
           tmplIds: this.arr,
           success(re) {
-            // console.log(JSON.stringify(re), 111111111111)
             var datas = JSON.stringify(re);
             if (datas.indexOf("accept") != -1) {
               // console.log(re)
@@ -1504,7 +1466,6 @@ export default {
           wx.requestSubscribeMessage({
             tmplIds: this.arr,
             success(re) {
-              // console.log(JSON.stringify(re), 111111111111)
               var datas = JSON.stringify(re);
               if (datas.indexOf("accept") != -1) {
                 // console.log(re)
@@ -1739,7 +1700,7 @@ export default {
 page {
   background-color: #f5f7fa;
 }
-.user-box{
+.user-box {
   position: absolute;
   top: 0;
   bottom: 0;
@@ -1748,12 +1709,12 @@ page {
   overflow: hidden;
   display: flex;
   flex-direction: column;
-  
-  .user-top{
+
+  .user-top {
     width: 100%;
     flex-shrink: 0;
   }
-  .user-content{
+  .user-content {
     overflow: hidden;
     overflow-y: auto;
     width: 100%;
@@ -1982,7 +1943,7 @@ page {
 }
 .info-box-btn {
   width: 100%;
-  padding: 44rpx 32rpx 40rpx 0;
+  padding: 44rpx 0 40rpx 0;
   box-sizing: border-box;
   image {
     width: 32rpx;