flat: style修改
This commit is contained in:
23
main.js
23
main.js
@@ -10,6 +10,27 @@ import uView from '@/uni_modules/uview-ui'
|
||||
// Vue.component('mescroll-body', MescrollBody)
|
||||
// Vue.component('mescroll-uni', MescrollUni)
|
||||
|
||||
function navTo(url, needLogin) {
|
||||
if(needLogin) {
|
||||
return
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: url
|
||||
})
|
||||
}
|
||||
|
||||
const msg = (title, duration=1500, mask=false, icon='none')=>{
|
||||
if(typeof title === 'string'){
|
||||
return;
|
||||
}
|
||||
uni.showToast({
|
||||
title,
|
||||
duration,
|
||||
mask,
|
||||
icon
|
||||
});
|
||||
}
|
||||
|
||||
// 注册全局组件
|
||||
import JlButton from "@/components/jl-button/main.vue"
|
||||
import JlForm from "@/components/jl-form/main.vue"
|
||||
@@ -20,6 +41,8 @@ Vue.component('jl-form', JlForm)
|
||||
Vue.component('jl-form-item', JlFormItem)
|
||||
Vue.component('cs-button', CSButton)
|
||||
|
||||
Vue.prototype.$api = { msg }
|
||||
Vue.prototype.navTo = navTo
|
||||
Vue.config.productionTip = false
|
||||
|
||||
Vue.use(util)
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<view class="title_text">
|
||||
我的职业技能
|
||||
</view>
|
||||
<image v-if="mySkills.length < 2" src="../../../static/img/add.gray.svg" mode="" @click="goAdd"></image>
|
||||
<image v-if="mySkills.length < 5" 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.workplace?city.workplace: city.parentLabel + '-' + city.label, telephone: phone, wage
|
||||
id: this.id, education: education.label, workplace: city.parentLabel + '-' + city.label, telephone: phone, wage
|
||||
}).then(res => {
|
||||
this.isShowButton = false;
|
||||
this.getResume()
|
||||
|
||||
@@ -56,12 +56,12 @@
|
||||
<image src="../../static/img/index/skill.png" mode=""></image>
|
||||
</view>
|
||||
<view class="itemText">
|
||||
<view class="font30">技能学习</view>
|
||||
<view class="font22">提升个人技能</view>
|
||||
<view class="font30">最新任务</view>
|
||||
<view class="font22">最新任务推荐</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="serviceItem" @click="">
|
||||
<!-- <view class="serviceItem" @click="">
|
||||
<view class="serviceItemContent">
|
||||
<view class="itemIcon">
|
||||
<image src="../../static/img/index/union.png" mode=""></image>
|
||||
@@ -71,8 +71,8 @@
|
||||
<view class="font22">构建和谐劳动关系</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="serviceItem" @click="goLocation()">
|
||||
</view> -->
|
||||
<!-- <view class="serviceItem" @click="goLocation()">
|
||||
<view class="serviceItemContent">
|
||||
<view class="itemIcon">
|
||||
<image src="../../static/img/index/near.png" mode=""></image>
|
||||
@@ -87,14 +87,57 @@
|
||||
</view>
|
||||
<image src="../../static/img/index/hotBg.png" class="hot_img" mode=""></image>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="serviceItem" @click="">
|
||||
<view class="serviceItemContent">
|
||||
<view class="itemIcon">
|
||||
<image src="../../static/img/index/union.png" mode=""></image>
|
||||
</view>
|
||||
<view class="itemText">
|
||||
<view class="font30">最新岗位</view>
|
||||
<view class="font22">最新人岗推荐</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="serviceItem" @click="">
|
||||
<view class="serviceItemContent">
|
||||
<view class="itemIcon">
|
||||
<image src="../../static/img/index/union.png" mode=""></image>
|
||||
</view>
|
||||
<view class="itemText">
|
||||
<view class="font30">我的申请</view>
|
||||
<view class="font22">我申请的信息</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="serviceItem" @click="">
|
||||
<view class="serviceItemContent">
|
||||
<view class="itemIcon">
|
||||
<image src="../../static/img/index/union.png" mode=""></image>
|
||||
</view>
|
||||
<view class="itemText">
|
||||
<view class="font30">我的收藏</view>
|
||||
<view class="font22">我收藏的信息</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="serviceItem" @click="">
|
||||
<view class="serviceItemContent">
|
||||
<view class="itemIcon">
|
||||
<image src="../../static/img/index/union.png" mode=""></image>
|
||||
</view>
|
||||
<view class="itemText">
|
||||
<view class="font30">我的浏览</view>
|
||||
<view class="font22">我浏览的信息</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="helpSupport">
|
||||
<view class="cardTips">帮助与支持</view>
|
||||
<view class="helpCard">
|
||||
<button type="default" open-type="contact" plain style="width: 266rpx;
|
||||
<!-- <button type="default" open-type="contact" plain style="width: 266rpx;
|
||||
text-align: center;
|
||||
border: none;
|
||||
border-right: 1px solid #F5F6F7;padding-left: 0;">
|
||||
@@ -104,7 +147,19 @@
|
||||
</view>
|
||||
<view class="font24" style="margin-top: 22rpx !important;">在线咨询</view>
|
||||
</view>
|
||||
</button>
|
||||
</button> -->
|
||||
<view class="helpCardItem" style="border-right: 1px solid #F5F6F7;" @click="">
|
||||
<view class="cardItemIcon">
|
||||
<image src="../../static/img/index/consult.png" mode=""></image>
|
||||
</view>
|
||||
<view class="font24">在线咨询</view>
|
||||
</view>
|
||||
<view class="helpCardItem" style="border-right: 1px solid #F5F6F7;" @click="">
|
||||
<view class="cardItemIcon">
|
||||
<image src="../../static/img/index/consult.png" mode=""></image>
|
||||
</view>
|
||||
<view class="font24">就业帮助</view>
|
||||
</view>
|
||||
<view class="helpCardItem" style="border-right: 1px solid #F5F6F7;" @click="">
|
||||
<view class="cardItemIcon">
|
||||
<image src="../../static/img/index/legal.png" mode=""></image>
|
||||
@@ -550,7 +605,7 @@
|
||||
|
||||
.jobService {
|
||||
width: 100%;
|
||||
height: 440rpx;
|
||||
height: 660rpx;
|
||||
background: #FEFFFE;
|
||||
margin-top: 16rpx;
|
||||
padding: 24rpx 0rpx 0rpx 32rpx;
|
||||
@@ -683,6 +738,8 @@
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background: #FEFFFE;
|
||||
margin-top: 16rpx;
|
||||
padding: 24rpx 0 0 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user