hive-app/pages/member/index.vue
@@ -21,7 +21,7 @@ <text class="sort-tab-item">潜在客户</text> <text class="sort-tab-item">潜在客户</text> </view> <view class="flex justify-between"> <view class="flex justify-between" @click="toDetail"> <view class="flex-1 mr-10"> <view class="member-list flex align-center" v-for="(item, index) in 15"> <text class="first-name" :style="{background: caculateBgcolor(index)}">李</text> @@ -58,6 +58,11 @@ methods:{ caculateBgcolor(index){ return this.colors[index%8]; }, toDetail(){ uni.navigateTo({ url:'./detail' }) } } }