Browse Source

关注列表问题修改

xinfeng 6 years ago
parent
commit
37fa31925a
2 changed files with 13 additions and 7 deletions
  1. 9 4
      assets/css/user/follow.scss
  2. 4 3
      pages/user/follow/_uid.vue

File diff suppressed because it is too large
+ 9 - 4
assets/css/user/follow.scss


+ 4 - 3
pages/user/follow/_uid.vue

@@ -81,10 +81,10 @@
         >
           <van-swipe-cell
             class="cell"
-            :disabled="selected !== SelectedType.myFans && isSelf"
+            :disabled="selected === SelectedType.myFans && isSelf"
             v-for="(item, index) in dataList" :key="'dataList' + index"
           >
-            <div class="cellContent">
+            <div class="cellContent"  @click="jumpToJishuinHomePageHandler(item)">
               <div class="left">
                 <img :src="item.user_info && item.user_info.icon_url" alt="">
               </div>
@@ -184,6 +184,7 @@
       this.getList()
     },
     mounted() {
+      console.log(this)
       // this.getList()
       if (this.mobile) {
         document.body.style = "overflow:hidden;"
@@ -267,7 +268,7 @@
        }).then(res=>{
          if (Number(res.data.status) === 1) {
            this.dataList.splice(index, 1)
-           this.$message.success("操作成功!")
+           this.$message.success("取消关注成功!")
          }
        })
       },