页面优化

This commit is contained in:
zxy
2024-02-19 11:42:03 +08:00
3 changed files with 9 additions and 9 deletions

View File

@@ -387,7 +387,7 @@ export default {
}
.page-view {
padding: 16rpx;
padding: 8rpx;
}
.class-item {
@@ -398,7 +398,7 @@ export default {
}
.class-item:last-child {
// min-height: 100vh;
min-height: 100vh;
}
.item-title {

View File

@@ -19,7 +19,7 @@
<view class="title_text">
我的职业技能
</view>
<image v-if="mySkills.length < 5" src="../../../static/img/add.gray.svg" mode="" @click="goAdd"></image>
<image v-if="mySkills.length < 2" src="../../../static/img/add.gray.svg" mode="" @click="goAdd"></image>
</view>
<view class="listBody">
@@ -37,11 +37,11 @@
<view class="jobcontent" @click="goSetCity">
<view class="jobinfo">
<view
v-bind:class="['jobAddress', { 'input-error': (!myResume.city.id || !myResume.city.workplace) && isShowBorder }]">
v-bind:class="['jobAddress', { 'input-error':!myResume.city.id && !myResume.city.workplace && isShowBorder }]">
您想工作的地点
</view>
<view v-bind:class="['jobText']">
{{ myResume.city == {} ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择'
{{ myResume.city !== "{}" ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择'
}}
</view>
</view>
@@ -53,7 +53,7 @@
您的学历
</view>
<view v-bind:class="['jobText']">
{{ myResume.education == {} ? myResume.education.label : '请选择' }}
{{ myResume.education !== "{}" ? myResume.education.label : '请选择' }}
</view>
</view>
<image src="../../../static/img/right.svg" mode=""></image>
@@ -306,7 +306,7 @@ export default {
// 电话号码格式正确
console.log(phone, "电话号码格式正确");
setResume({
id: this.id, education: education.label, workplace: city.parentLabel + '-' + city.label, telephone: phone, wage
id: this.id, education: education.label, workplace:city.workplace?city.workplace: city.parentLabel + '-' + city.label, telephone: phone, wage
}).then(res => {
this.isShowButton = false;
this.getResume()

View File

@@ -3,8 +3,8 @@ module.exports = {
port: 1887,
proxy: {
'/api': {
target: 'http://192.168.0.104:8000', // 本地服务接口地址
// target: "http://39.98.184.58:8000", // 阿里云后台地址
// target: 'http://192.168.0.104:8000', // 本地服务接口地址
target: "http://39.98.184.58:8000", // 阿里云后台地址
// target: "http://192.168.0.100:8000", // 本地网关
ws: true,
pathRewrite: {