Browse Source

修改样式

zs 1 năm trước cách đây
mục cha
commit
3c42bd0519

+ 1 - 1
pagesMy/apply/index.json

@@ -1,3 +1,3 @@
 {
-    "navigationBarTitleText": "团队审核"
+    "navigationBarTitleText": "审核成员"
 }

+ 5 - 5
pagesMy/apply/index.wxml

@@ -8,17 +8,17 @@
                 <view class="list_1">
                     <image class="images" src="{{item.userInfo.icon&&item.userInfo.icon.length>0?item.userInfo.icon[0].url:logo}}" mode="" />
                     <view class="other">
-                        <view class="name textOver">
-                            <view class="title"> {{item.apply_name||"暂无姓名"}} </view>
+                        <view class="name">
+                            <view class="title textOver"> {{item.apply_name||"暂无姓名"}} </view>
                             <view class="color{{item.status}}"> {{item.status_name||'暂无状态'}} </view>
                         </view>
-                        <view class="other_1">
+                        <view class="other_1 textOver">
                             年龄:{{item.userInfo.age||'暂无年龄'}}
                         </view>
-                        <view class="other_1">
+                        <view class="other_1 textOver">
                             性别:{{item.userInfo.gender_name||'暂无性别'}}
                         </view>
-                        <view class="other_1">
+                        <view class="other_1 textOver">
                             手机号:{{item.userInfo.phone||'暂无手机号'}}
                         </view>
                     </view>

+ 2 - 0
pagesMy/apply/index.wxss

@@ -35,6 +35,7 @@
 }
 
 .main .two .list .list_1 .other {
+    width: 70%;
     flex-grow: 1;
 }
 
@@ -52,6 +53,7 @@
 }
 
 .main .two .list .list_1 .other .name .title {
+    width: 70%;
     font-size: 18px;
     font-weight: bold;
 }

+ 0 - 2
pagesTeam/apply/index.js

@@ -55,8 +55,6 @@ Page({
         let res = await app.$api(`team/${that.data.info._id}`, 'POST', data);
         if (res.errcode == '0') {
             that.setData({ is_apply: true })
-            // 退出把申请都删掉
-            await app.$api(`teamApply/out`, 'GET', { apply_id: that.data.user._id });
             wx.showToast({ title: `退出团队成功`, icon: 'success' });
             that.search()
         } else {