<template>
  <u-navbar title=" " :autoBack="true" bgColor="#ffffff" placeholder safeAreaInsetTop :titleStyle="{ color: '#fff' }">
    <template #right>
      <view style="width: 126rpx">
        <up-button color="#05B8D2" shape="circle" text="保存" throttleTime="1500" size="small" @click="confirmSelectDataHandler"></up-button>
      </view>
    </template>
  </u-navbar>
  <view class="minetag">
    <view class="title">我的标签</view>
    <view class="content">丰富的个形特点 ,客户看到会主动咨询哦</view>
    <view class="flexJ" style="margin-bottom: 32rpx">
      <view class="title1">选择标签</view>
      <view class="content1">标签可多选,最多选择5个</view>
    </view>
    <view class="flexW">
      <view v-for="(_, index) in 5" class="grayTag flexC" :class="{ blueTag: index > 1 }">标签111</view>
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref, getCurrentInstance, ComponentPublicInstance } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
const { proxy } = getCurrentInstance() as { proxy: ComponentPublicInstance }

interface EventType {
  flag: string
}

const Event = ref<EventType>()

onLoad((e: EventType) => {
  Event.value = e
})

const confirmSelectDataHandler = () => {}
</script>

<style lang="scss" scoped>
.minetag {
  box-sizing: border-box;
  padding: 50rpx 32rpx 0;
  .grayTag {
    width: fit-content;
    box-sizing: border-box;
    padding: 22rpx 24rpx;
    margin-right: 22rpx;
    border-radius: 8rpx;
    font-size: 28rpx;
    font-weight: 700;
    color: #323233;
    background: #f7f7f7;
    border: 2rpx solid #f7f7f7;
    margin-bottom: 28rpx;
  }
  .blueTag {
    border: 2rpx solid #05b8d2;
    background: #ebfdff;
    color: #05b8d2;
  }
  .title {
    color: #323233;
    font-size: 52rpx;
    font-weight: 700;
    margin-bottom: 14rpx;
  }
  .title1 {
    color: #323233;
    font-size: 40rpx;
    font-weight: 700;
  }
  .content {
    color: #666666;
    font-size: 28rpx;
    font-weight: 700;
    margin-bottom: 114rpx;
  }
  .content1 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 700;
  }
}
</style>