修改样式2020.0804

This commit is contained in:
Niujiawei
2020-08-04 22:34:03 +08:00
parent df29f86630
commit ef4a4010ff
6 changed files with 16 additions and 11 deletions

View File

@@ -3,8 +3,8 @@
<image class="head" :src="info.member_avatar"></image>
<text class="name">{{ info.member_nickname }}</text>
<text class="zhuangtai">状态: {{ info.live_status == 1 ? '正在直播' : '未开播' }}</text>
<view class="guanzhu" @tap="changeType(info.member_id)" v-if="info.is_attention == 1">关注</view>
<view class="guanzhu action" @tap="changeType(info.member_id)" v-else >未关注</view>
<view class="guanzhu action" @tap="changeType(info.member_id)" v-if="info.is_attention == 1">关注</view>
<view class="guanzhu" @tap="changeType(info.member_id)" v-else >未关注</view>
</view>
</template>
<script>
@@ -80,6 +80,7 @@ export default {
}
.action{
background: #f3f3f3;
color: #FF780F;
}
}
</style>