Browse Source

更新readme

pull/19/head
zyronon 4 years ago
parent
commit
cc3dee6466
  1. 2
      README.md
  2. 31
      src/pages/people/FollowAndFans.vue

2
README.md

@ -18,7 +18,7 @@
-- 私聊|☑ -- 私聊|☑
我|90% 我|90%
-- 求更新|☑ -- 求更新|☑
-- 关注和粉丝|50% -- 关注和粉丝|☑
-- 编辑资料|☑ -- 编辑资料|☑
-- 添加朋友|☑ -- 添加朋友|☑
-- 我的音乐|☑ -- 我的音乐|☑

31
src/pages/people/FollowAndFans.vue

@ -16,10 +16,10 @@
<Indicator <Indicator
tabStyleWidth="50%" tabStyleWidth="50%"
:tabTexts="['关注','粉丝']" :tabTexts="['关注','粉丝']"
v-model:active-index="currentSlideItemIndex"> v-model:active-index="slideIndex">
</Indicator> </Indicator>
</div> </div>
<SlideRowList v-model:active-index="currentSlideItemIndex" style="height: calc(100vh - 11.1rem)"> <SlideRowList v-model:active-index="slideIndex" style="height: calc(100vh - 11.1rem)">
<SlideItem class="tab1"> <SlideItem class="tab1">
<Search v-model="searchKey" placeholder="搜索用户备注或名字" :is-show-text="false"/> <Search v-model="searchKey" placeholder="搜索用户备注或名字" :is-show-text="false"/>
<div class="is-search" v-if="searchKey"> <div class="is-search" v-if="searchKey">
@ -63,32 +63,10 @@ export default {
}, },
data() { data() {
return { return {
findAddressListDialog: false,
moreOptionDialog: false,
outWebImgAccountDialog: false,
indicatorFixed: false,
isShowText: false,
isSearch: false, isSearch: false,
searchKey: '', searchKey: '',
currentSlideItemIndex: 0, slideIndex: 0,
list: [
{
type: 1,
},
{
type: 2,
},
{
type: 3,
},
{
type: 4,
},
{
type: 5,
},
],
searchFriends: [] searchFriends: []
} }
}, },
@ -108,7 +86,8 @@ export default {
} }
} }
}, },
mounted() { created() {
this.slideIndex = ~~this.$route.query.type
}, },
methods: { methods: {
async search() { async search() {

Loading…
Cancel
Save