فهرست منبع

Merge branch 'dev' of https://git.citupro.com/zhengnaiwen_citu/menduner into dev

Xiao_123 10 ماه پیش
والد
کامیت
d4e8603f2c

+ 1 - 1
src/components/VerificationCode/index.vue

@@ -116,7 +116,7 @@ const autoTimer = () => {
 autoTimer()
 const loginUserPhone = localStorage.getItem('loginUserPhone') || '13229740091'
 const loginData = reactive({
-  phone: loginUserPhone, // 13229740091 小梅 // 15775026250 瑞森
+  phone: loginUserPhone,
   code: '123456'
 })
 

+ 1 - 1
src/views/recruit/components/message/index.vue

@@ -114,6 +114,7 @@ const { conversationList } = initConnect(async (successful) => {
     Snackbar.error('发送失败')
     return
   }
+  chatRef.value.reset()
   // 发送成功
   const { list } = await getMoreMessages(1, channelItem.value)
   messageItems.value = list.value
@@ -154,7 +155,6 @@ const info = ref({})
 
 const handleUpdate = (val) => {
   send(val.value, channelItem.value)
-  chatRef.value.reset()
 }
 
 const handleSearch = () => {

+ 8 - 19
src/views/recruit/enterprise/statistics/components/overview.vue

@@ -133,23 +133,25 @@ onMounted(() => {
 <style scoped lang="scss">
 .overview {
   display: flex;
-  // flex-wrap: wrap;
-  // width: 100%;
-  overflow-x: auto;
+  width: 100%;
+  flex-wrap: wrap; // 换行
 }
 .overview-item {
   // width: calc((100% - 84px) / 8);
   // min-width: calc((100% - 84px) / 8);
   // max-width: calc((100% - 84px) / 8);
-  width: 180px;
-  min-width: 180px;
+  min-width: 200px;
   margin: 0 12px 12px 0;
   height: 175px;
   border-radius: 12px;
   overflow: hidden;
   transition: all .2s linear;
   background-color: #f7f8fa;
-  &:nth-child(8n) {
+  div {
+    white-space: nowrap; /* 防止子级文本换行 */
+    flex-grow: 1; /* 允许子级根据内容撑开,但保持最小宽度限制 */
+  }
+  &:last-child {
     margin-right: 0;
   }
 }
@@ -158,17 +160,4 @@ onMounted(() => {
   font-weight: 700;
   font-size: 44px;
 }
-::-webkit-scrollbar {
-  width: 10px;
-  height: 6px;
-  // display: none;
-}
-::-webkit-scrollbar-thumb, .temporaryAdd ::-webkit-scrollbar-thumb, .details_edit ::-webkit-scrollbar-thumb {
-  // 滚动条-颜色
-  background: #c3c3c379;
-}
-::-webkit-scrollbar-track, .temporaryAdd ::-webkit-scrollbar-track, .details_edit ::-webkit-scrollbar-track {
-  // 滚动条-底色
-  background: #e5e5e58f;
-}
 </style>

+ 0 - 1
src/views/recruit/personal/home/index.vue

@@ -32,7 +32,6 @@ import { useRouter } from 'vue-router'
 import { nextTick, ref } from 'vue'
 
 const router = useRouter()
-console.log('1', localStorage.getItem('simpleCompleteDialogHaveBeenShow'))
 const simple = localStorage.getItem('simpleCompleteDialogHaveBeenShow')
 const showSimplePage = ref(simple? false : true) // 只提示一次
 nextTick(() => {

+ 1 - 0
src/views/recruit/personal/remuse/components/basicInfo.vue

@@ -154,6 +154,7 @@ const openFileInput = () => {
 // 上传头像
 const handleUploadFile = async (e) => {
   const file = e.target.files[0]
+  if (!file) return
   const formData = new FormData()
   formData.append('file', file)
   const { data } = await uploadFile(formData)