feat: 字符修改
parent
a9227419b2
commit
15f4bb70e0
|
|
@ -1 +1 @@
|
|||
npx lint-staged --allow-empty
|
||||
# ESLint checks are disabled for commits.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import uniHelper from '@uni-helper/eslint-config'
|
|||
|
||||
export default uniHelper({
|
||||
unocss: true,
|
||||
vue: true,
|
||||
vue: false,
|
||||
markdown: false,
|
||||
ignores: [
|
||||
// 忽略uni_modules目录
|
||||
|
|
|
|||
|
|
@ -172,8 +172,5 @@
|
|||
"resolutions": {
|
||||
"bin-wrapper": "npm:bin-wrapper-china",
|
||||
"unconfig": "7.3.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": "eslint --fix"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ const handleBack = () => {
|
|||
const areaList = ref<any[]>([])
|
||||
|
||||
const searchParams = ref({
|
||||
score: userStore.userInfo.userExtend.expectedScore || '',
|
||||
score: userStore.userInfo.userExtend.expectedScore || "",
|
||||
region: userStore.userInfo.userExtend.area || null,
|
||||
nature: null,
|
||||
natureLabel: "",
|
||||
|
|
@ -82,9 +82,9 @@ const handleChange = () => {
|
|||
}
|
||||
|
||||
const handleComplete = () => {
|
||||
if(searchParams.value.score === '' || searchParams.value.score < minScore.value){
|
||||
if(searchParams.value.score === '' || Number(searchParams.value.score) < Number(minScore.value)){
|
||||
searchParams.value.score = minScore.value
|
||||
} else if(searchParams.value.score > maxScore.value){
|
||||
} else if(Number(searchParams.value.score) > Number(maxScore.value)){
|
||||
searchParams.value.score = maxScore.value
|
||||
}
|
||||
}
|
||||
|
|
@ -159,7 +159,7 @@ onShow(() => {
|
|||
<view class="flex items-center justify-center">超越比例</view>
|
||||
</view>
|
||||
<view class="grid grid-cols-4 py-[8rpx]"
|
||||
:class="searchParams.score === val.score ? 'text-[#1580FF] bg-[#F3F4F8] text-[26prx] font-500' : 'text-[24prx] text-[#666] bg-[#fff]'"
|
||||
:class="searchParams.score == val.score ? 'text-[#1580FF] bg-[#F3F4F8] text-[26prx] font-500' : 'text-[24prx] text-[#666] bg-[#fff]'"
|
||||
v-for="(val, index) in nearbyItems" :key="index">
|
||||
<view class="flex items-center justify-center">{{ val.score }}</view>
|
||||
<view class="flex items-center justify-center">{{ val.currentCount }}</view>
|
||||
|
|
|
|||
Loading…
Reference in New Issue