fix: 样式更新

master
xjs 2025-12-03 11:17:18 +08:00
parent f15cb1adba
commit 5b060f43b7
13 changed files with 41 additions and 28 deletions

View File

@ -13,7 +13,7 @@ definePage({
const userStore = useUserStore();
const tokenStore = useTokenStore()
const phoneNumber = '18724728603'
const phoneNumber = '4000616985'
const makePhoneCall = () => {
uni

View File

@ -14,7 +14,6 @@ const { loading, data, send } = useRequest(foo, {
initialData,
immediate: true,
})
console.log(data)
function reset() {
data.value = initialData
}

View File

@ -21,7 +21,7 @@ definePage({
})
// #endif
const phoneNumber = '18724728603'
const phoneNumber = '4000616985'
const makePhoneCall = () => {
uni.makePhoneCall({

View File

@ -148,7 +148,7 @@ onShow(() => {
<view class="flex items-center justify-between mx-[32rpx] py-[28rpx]">
<text class="text-[30rpx] text-[#404142] font-400">中考所在区</text>
<view class="flex items-center" @click="handleOpenPopup('area')">
<view class="flex items-center" @click="handleOpenPopup('examinationArea')">
<text>{{ userInfo.userExtend.area }}</text>
<view class="w-[18rpx] h-[36rpx] flex items-center ml-[20rpx]">
<image src="https://lwzk.ycymedu.com/img/qt/tb_jiantou.png" mode="scaleToFill"
@ -173,20 +173,20 @@ onShow(() => {
</view>
<MxRadio v-model:value="userInfo.sex" v-model:label="formData.genderLabel" v-if="activeType == 'gender'"
:options="genderClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-2 items-center gap-[16rpx]"
custom-root-class="pt-[22rpx] pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
custom-root-cols-class="grid grid-cols-2 items-center gap-[16rpx]" custom-root-class=" pb-[20rpx]"
custom-item-class="py-[12rpx] text-center " active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!"
@change="visible = false" />
<MxRadio v-model:value="userInfo.userExtend.gradeId" v-model:label="userInfo.userExtend.gradeName"
v-if="activeType == 'grade'" :options="gradeClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pt-[22rpx] pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]" custom-root-class="] pb-[20rpx]"
custom-item-class="py-[12rpx] text-center " active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!"
@change="visible = false" />
<MxRadio v-model:value="userInfo.userExtend.area" v-if="activeType == 'area'" :options="areaList"
<MxRadio v-model:value="userInfo.userExtend.area" v-if="activeType == 'examinationArea'" :options="areaList"
label-key="label" value-key="value" custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pt-[22rpx] pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false" />
</view>
</sar-popup>

View File

@ -116,7 +116,7 @@ const makePhoneCall = (val: string) => {
<image src="https://lwzk.ycymedu.com/img/qt/wd_zhiwen.png" mode="scaleToFill"
class="w-[28rpx] h-[34rpx]" />
</view>
<view class="text-[28rpx]">扫码添加客服企业微信</view>
<view class="text-[28rpx]">长按识别二维码关注公众号</view>
</view>
</view>
</view>

View File

@ -235,19 +235,19 @@ onLoad(() => {
:options="genderClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-2 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false" />
<MxRadio v-model:value="userInfo.userExtend.gradeId" v-model:label="userInfo.userExtend.gradeName"
v-if="activeType == 'grade'" :options="gradeClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false" />
<MxRadio v-model:value="userInfo.talentExtend.specialtyDirection" v-if="activeType == 'artDirection'"
:options="artList" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false" />
</view>
</sar-popup>

View File

@ -6,6 +6,7 @@ import MxInput from "@/pages-sub/components/input/index.vue"
import { useUserStore } from '@/store';
import { storeToRefs } from 'pinia';
import { saveSpecialtyInfo } from '@/service';
import { tabbarStore } from '@/tabbar/store';
// #ifdef MP-WEIXIN
definePage({
@ -46,6 +47,7 @@ const handleSubmit = () => {
}
}).then(resp => {
if (resp.code === 200) {
tabbarStore.setCurIdx(0)
uni.reLaunch({ url: `/pages-sub/ai-service/index?talentTypeId=2` })
}
})
@ -204,8 +206,7 @@ onLoad(() => {
:options="yearClassification" label-key="label" value-key="label"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false"/>
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false"/>
</view>
</sar-popup>
</view>

View File

@ -251,19 +251,19 @@ onShow(() => {
:options="genderClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-2 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false" />
<MxRadio v-model:value="userInfo.userExtend.gradeId" v-model:label="userInfo.userExtend.gradeName"
v-if="activeType == 'grade'" :options="gradeClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class=" pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false" />
<MxRadio v-model:value="userInfo.userExtend.area" v-if="activeType == 'examinationArea'"
:options="areaList" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false" />
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false" />
</view>
</sar-popup>

View File

@ -7,6 +7,7 @@ import { useUserStore } from '@/store'
import { storeToRefs } from 'pinia'
import { getTalentAreaList, saveSpecialtyInfo } from '@/service'
import { checkEmptyValues } from '@/utils'
import { tabbarStore } from '@/tabbar/store'
// #ifdef MP-WEIXIN
definePage({
@ -80,6 +81,7 @@ const navigateToAi = () => {
}
}).then(resp => {
if (resp.code === 200) {
tabbarStore.setCurIdx(0)
uni.reLaunch({ url: `/pages-sub/ai-service/index?talentTypeId=1` })
}
})
@ -252,13 +254,13 @@ onLoad(() => {
:options="projectClassification" label-key="label" value-key="value"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]" :label-string="true"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false"/>
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false"/>
<MxRadio v-model:value="userInfo.talentExtend.ageLimit" v-if="activeType == 'year'"
:options="yearClassification" label-key="label" value-key="label"
custom-root-cols-class="grid grid-cols-3 items-center gap-[16rpx]"
custom-root-class="pb-[20rpx]" custom-item-class="py-[12rpx] text-center "
active-item-class="bg-[#e7f2ff] text-[#1580FF] border-none" @change="visible = false"/>
active-item-class="bg-white text-[#1580FF] border-1 border-solid border-[#1580FF]!" @change="visible = false"/>
</view>
</sar-popup>

View File

@ -79,8 +79,6 @@ const handleChangeSchool = () => {
label: `${item.value}(${item.value === '冲' ? resp.result.chongCount : item.value === '稳' ? resp.result.wenCount : resp.result.baoCount})`
}
})
console.log(cwbs.value);
totalCount.value = Number(resp.result.chongCount) + Number(resp.result.wenCount) + Number(resp.result.baoCount)
})
}

View File

@ -39,6 +39,11 @@ const wishlistStore = useWishlistStore()
const {extendWishlist} = storeToRefs(wishlistStore)
const disableSubmit = computed(() => {
const contents = JSON.parse(extendWishlist.value.contents || '{}')
const schools = contents.schools || []
return schools.length === 0
})
</script>
<template>
@ -70,7 +75,7 @@ const {extendWishlist} = storeToRefs(wishlistStore)
<view class="border-t border-t-solid border-t-[#ededed] px-[40rpx] py-[16rpx]">
<view class="pb-safe" @click="navigateToList">
<button :disabled="extendWishlist.contents.length === 0" form-type="submit" class="rounded-[16rpx] bg-[#1580FF] text-[#f7f7f7] submit-btn">确定</button>
<button :disabled="disableSubmit" form-type="submit" class="rounded-[16rpx] bg-[#1580FF] text-[#f7f7f7] submit-btn">确定</button>
</view>
</view>

View File

@ -4,6 +4,7 @@ import MxDialog from "@/pages-sub/components/dialog/index.vue"
import { useUserStore, useWishlistStore } from '@/store'
import { storeToRefs } from 'pinia'
import { getMyScore } from '@/service'
import { tabbarStore } from '@/tabbar/store'
// #ifdef MP-WEIXIN
definePage({
@ -54,6 +55,7 @@ const navigateToBatchPage = (index: number) => {
}
const navigateToFirst = () => {
tabbarStore.setCurIdx(0)
uni.reLaunch({ url: '/pages-sub/wishlist/create/first' })
}

View File

@ -44,6 +44,12 @@ const handleSwitch = (event) => {
wishlistStore.setSchool(JSON.stringify({adjust:event.detail.value,schools:content.schools}))
}
const disableSubmit = computed(() => {
const contents = JSON.parse(extendWishlist.value.contents || '{}')
const schools = contents.schools || []
return schools.length === 0
})
</script>
<template>
@ -79,7 +85,7 @@ const handleSwitch = (event) => {
<text>服从调剂:</text>
<switch @change="handleSwitch" color="#2F78FC" style="transform:scale(0.8)" />
</view>
<button :disabled="extendWishlist.contents.length === 0" form-type="submit" class="rounded-[16rpx] bg-[#1580FF] text-[#f7f7f7] submit-btn flex-1"
<button :disabled="disableSubmit" form-type="submit" class="rounded-[16rpx] bg-[#1580FF] text-[#f7f7f7] submit-btn flex-1"
@click="navigateToList">确定</button>
</view>
</view>