祖安之光
12 小时以前 321f0454befaf8449cbb6ea1859242bf68401b8c
src/views/menuPage.vue
@@ -51,7 +51,7 @@
        </div>
      </div>
    </div>
    <user-dialog ref="reviewRef" ></user-dialog>
    <user-dialog ref="reviewRef"></user-dialog>
  </div>
</template>
@@ -82,7 +82,7 @@
  if(getToken()){
    userInfo.value = JSON.parse(Cookies.get('userInfo'))
    userName.value = userInfo.value.username
    userTypeName.value = userInfo.value.userType == 0 ? '系统管理员' : userInfo.value.userType == 1 ? '企业管理员' :userInfo.value.userType == 2 ? '部门级':userInfo.value.userType == 3 ? '车间级' :userInfo.value.userType == 6 ? '企业用户' :userInfo.value.userType == 4 ? '其他' : '学员'
    userTypeName.value = userInfo.value.userType == 0 ? '系统管理员' : (userInfo.value.userType == 1 ||  userInfo.value.userType == 2 || userInfo.value.userType == 3) ? '企业用户' :userInfo.value.userType == 6 ? '企业管理员' :userInfo.value.userType == 4 ? '其他' : '学员'
  }
  const userStore = useUserStore()
@@ -135,8 +135,8 @@
  const mousePX = state.mouseX / (state.width || 1)
  const mousePY = state.mouseY / (state.height || 1)
  const rX = mousePX * 18 // 减小旋转角度,使效果更柔和
  const rY = mousePY * -18
  const rX = mousePX * 20 // 减小旋转角度,使效果更柔和
  const rY = mousePY * -20
  const tX = mousePX * -20
  const tY = mousePY * -20
@@ -152,7 +152,7 @@
const systems = ref([
  {
    id: 1,
    name: 'ISO 9000 质量管理体系',
    name: '国军标9001C质量管理体系',
    description: '确保产品和服务质量符合国际标准',
    icon: menu1
  },
@@ -384,7 +384,7 @@
}
.system-card:hover .system-icon img {
  transform: scale(1.3);
  transform: scale(1.4);
}
.system-card h3 {
@@ -407,4 +407,4 @@
.system-card:hover p {
  transform: translateZ(20px);
}
</style>
</style>