li-guang
2020-12-15 eb49240e16e3c1c2b560e975b9ff8fdd68bc760d
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'
            })
         }
      }
   }