mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 04:08:44 +08:00 
			
		
		
		
	fix: eslint
This commit is contained in:
		@@ -19,17 +19,18 @@ const { title } = defineProps({
 | 
				
			|||||||
.card-title {
 | 
					.card-title {
 | 
				
			||||||
  font-size: 14px;
 | 
					  font-size: 14px;
 | 
				
			||||||
  font-weight: 600;
 | 
					  font-weight: 600;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &::before {
 | 
					  &::before {
 | 
				
			||||||
    content: '';
 | 
					    position: relative;
 | 
				
			||||||
 | 
					    top: 8px;
 | 
				
			||||||
 | 
					    left: -5px;
 | 
				
			||||||
    display: inline-block;
 | 
					    display: inline-block;
 | 
				
			||||||
    width: 3px;
 | 
					    width: 3px;
 | 
				
			||||||
    height: 14px;
 | 
					    height: 14px;
 | 
				
			||||||
    //background-color: #105cfb;
 | 
					    //background-color: #105cfb;
 | 
				
			||||||
    background: var(--el-color-primary);
 | 
					    background: var(--el-color-primary);
 | 
				
			||||||
    position: relative;
 | 
					 | 
				
			||||||
    left: -5px;
 | 
					 | 
				
			||||||
    top: 8px;
 | 
					 | 
				
			||||||
    border-radius: 5px;
 | 
					    border-radius: 5px;
 | 
				
			||||||
 | 
					    content: '';
 | 
				
			||||||
    transform: translateY(-50%);
 | 
					    transform: translateY(-50%);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,6 +22,7 @@ const { label } = defineProps({
 | 
				
			|||||||
.cell-item {
 | 
					.cell-item {
 | 
				
			||||||
  display: inline;
 | 
					  display: inline;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.cell-item::after {
 | 
					.cell-item::after {
 | 
				
			||||||
  content: ':';
 | 
					  content: ':';
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -172,7 +172,7 @@ $prefix-cls: #{$namespace}-menu;
 | 
				
			|||||||
    .#{$elNamespace}-menu-item.is-active {
 | 
					    .#{$elNamespace}-menu-item.is-active {
 | 
				
			||||||
      position: relative;
 | 
					      position: relative;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      &:after {
 | 
					      &::after {
 | 
				
			||||||
        @extend .is-active--after;
 | 
					        @extend .is-active--after;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -195,7 +195,7 @@ $prefix-cls: #{$namespace}-menu;
 | 
				
			|||||||
      position: relative;
 | 
					      position: relative;
 | 
				
			||||||
      background-color: var(--left-menu-collapse-bg-active-color) !important;
 | 
					      background-color: var(--left-menu-collapse-bg-active-color) !important;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      &:after {
 | 
					      &::after {
 | 
				
			||||||
        @extend .is-active--after;
 | 
					        @extend .is-active--after;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -226,7 +226,7 @@ $prefix-cls: #{$namespace}-menu;
 | 
				
			|||||||
      .#{$elNamespace}-menu-item.is-active {
 | 
					      .#{$elNamespace}-menu-item.is-active {
 | 
				
			||||||
        position: relative;
 | 
					        position: relative;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        &:after {
 | 
					        &::after {
 | 
				
			||||||
          display: none !important;
 | 
					          display: none !important;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -282,7 +282,7 @@ $prefix-cls: #{$namespace}-menu-popper;
 | 
				
			|||||||
      background-color: var(--left-menu-bg-active-color) !important;
 | 
					      background-color: var(--left-menu-bg-active-color) !important;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    &:after {
 | 
					    &::after {
 | 
				
			||||||
      @extend .is-active--after;
 | 
					      @extend .is-active--after;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -150,6 +150,7 @@ const resetForm = () => {
 | 
				
			|||||||
    userNickname: undefined,
 | 
					    userNickname: undefined,
 | 
				
			||||||
    userAvatar: undefined,
 | 
					    userAvatar: undefined,
 | 
				
			||||||
    spuId: undefined,
 | 
					    spuId: undefined,
 | 
				
			||||||
 | 
					    spuName: undefined,
 | 
				
			||||||
    skuId: undefined,
 | 
					    skuId: undefined,
 | 
				
			||||||
    descriptionScores: 5,
 | 
					    descriptionScores: 5,
 | 
				
			||||||
    benefitScores: 5,
 | 
					    benefitScores: 5,
 | 
				
			||||||
@@ -182,11 +183,11 @@ const handleSkuChange = (sku: ProductSpuApi.Sku) => {
 | 
				
			|||||||
<style>
 | 
					<style>
 | 
				
			||||||
.select-box {
 | 
					.select-box {
 | 
				
			||||||
  display: flex;
 | 
					  display: flex;
 | 
				
			||||||
  align-items: center;
 | 
					 | 
				
			||||||
  justify-content: center;
 | 
					 | 
				
			||||||
  border: 1px dashed var(--el-border-color-darker);
 | 
					 | 
				
			||||||
  border-radius: 8px;
 | 
					 | 
				
			||||||
  width: 100%;
 | 
					  width: 100%;
 | 
				
			||||||
  height: 100%;
 | 
					  height: 100%;
 | 
				
			||||||
 | 
					  border: 1px dashed var(--el-border-color-darker);
 | 
				
			||||||
 | 
					  border-radius: 8px;
 | 
				
			||||||
 | 
					  align-items: center;
 | 
				
			||||||
 | 
					  justify-content: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -423,22 +423,24 @@ const handleRemoveSpu = (index: number) => {
 | 
				
			|||||||
<style scoped lang="scss">
 | 
					<style scoped lang="scss">
 | 
				
			||||||
.select-box {
 | 
					.select-box {
 | 
				
			||||||
  display: flex;
 | 
					  display: flex;
 | 
				
			||||||
  align-items: center;
 | 
					 | 
				
			||||||
  justify-content: center;
 | 
					 | 
				
			||||||
  border: 1px dashed var(--el-border-color-darker);
 | 
					 | 
				
			||||||
  border-radius: 8px;
 | 
					 | 
				
			||||||
  width: 60px;
 | 
					  width: 60px;
 | 
				
			||||||
  height: 60px;
 | 
					  height: 60px;
 | 
				
			||||||
 | 
					  border: 1px dashed var(--el-border-color-darker);
 | 
				
			||||||
 | 
					  border-radius: 8px;
 | 
				
			||||||
 | 
					  align-items: center;
 | 
				
			||||||
 | 
					  justify-content: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.spu-pic {
 | 
					.spu-pic {
 | 
				
			||||||
  position: relative;
 | 
					  position: relative;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.del-icon {
 | 
					.del-icon {
 | 
				
			||||||
  position: absolute;
 | 
					  position: absolute;
 | 
				
			||||||
 | 
					  top: -10px;
 | 
				
			||||||
 | 
					  right: -10px;
 | 
				
			||||||
  z-index: 1;
 | 
					  z-index: 1;
 | 
				
			||||||
  width: 20px !important;
 | 
					  width: 20px !important;
 | 
				
			||||||
  height: 20px !important;
 | 
					  height: 20px !important;
 | 
				
			||||||
  right: -10px;
 | 
					 | 
				
			||||||
  top: -10px;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -54,6 +54,7 @@ const { user } = defineProps<{ user: UserApi.UserVO }>()
 | 
				
			|||||||
.cell-item {
 | 
					.cell-item {
 | 
				
			||||||
  display: inline;
 | 
					  display: inline;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.cell-item::after {
 | 
					.cell-item::after {
 | 
				
			||||||
  content: ':';
 | 
					  content: ':';
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -63,12 +63,13 @@ import UserAddressList from './UserAddressList.vue'
 | 
				
			|||||||
import UserPointList from './UserPointList.vue'
 | 
					import UserPointList from './UserPointList.vue'
 | 
				
			||||||
import UserSignList from './UserSignList.vue'
 | 
					import UserSignList from './UserSignList.vue'
 | 
				
			||||||
import { CardTitle } from '@/components/Card/index'
 | 
					import { CardTitle } from '@/components/Card/index'
 | 
				
			||||||
 | 
					import { ElMessage } from 'element-plus'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'MemberDetail' })
 | 
					defineOptions({ name: 'MemberDetail' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const activeName = ref('point') // 账户明细 选中的 tabs
 | 
					const activeName = ref('point') // 账户明细 选中的 tabs
 | 
				
			||||||
const loading = ref(true) // 加载中
 | 
					const loading = ref(true) // 加载中
 | 
				
			||||||
let user = ref<UserApi.UserVO>({})
 | 
					const user = ref<UserApi.UserVO>()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** 添加/修改操作 */
 | 
					/** 添加/修改操作 */
 | 
				
			||||||
const formRef = ref()
 | 
					const formRef = ref()
 | 
				
			||||||
@@ -104,10 +105,12 @@ onMounted(() => {
 | 
				
			|||||||
.detail-info-item:first-child {
 | 
					.detail-info-item:first-child {
 | 
				
			||||||
  padding-left: 0 !important;
 | 
					  padding-left: 0 !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* first-child 不生效有没有大佬给看下q.q */
 | 
					/* first-child 不生效有没有大佬给看下q.q */
 | 
				
			||||||
.detail-info-item:nth-child(2) {
 | 
					.detail-info-item:nth-child(2) {
 | 
				
			||||||
  padding-right: 0 !important;
 | 
					  padding-right: 0 !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.card-header {
 | 
					.card-header {
 | 
				
			||||||
  display: flex;
 | 
					  display: flex;
 | 
				
			||||||
  justify-content: space-between;
 | 
					  justify-content: space-between;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -267,7 +267,7 @@ onMounted(async () => {
 | 
				
			|||||||
</script>
 | 
					</script>
 | 
				
			||||||
<style>
 | 
					<style>
 | 
				
			||||||
.order-font {
 | 
					.order-font {
 | 
				
			||||||
  font-size: 12px;
 | 
					 | 
				
			||||||
  padding: 2px 0;
 | 
					  padding: 2px 0;
 | 
				
			||||||
 | 
					  font-size: 12px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user