1.实现如下效果:
代码如下:
<view style="width: 100%;height: 100rpx;display: block;line-height: 100rpx;margin-left: 20rpx;font-size: 34rpx;">
{
{type_name}}
</view>
<view class="head-nav" v-if="type != 1">
<view :class="navIndex==1?'activite':''" @click="checkIndex(1)">楼盘</view>
<view :class="navIndex==2?