|
|
@ -296,7 +296,10 @@ |
|
|
justify-content: space-between;"> |
|
|
justify-content: space-between;"> |
|
|
<span>企业长图</span> |
|
|
<span>企业长图</span> |
|
|
<button style="display: inline-block;margin:0px;font-size: 14px;color: #ff4444;background-color: transparent;" open-type="contact" hover-class="none" @click="asfd">个性定制</button> |
|
|
<button style="display: inline-block;margin:0px;font-size: 14px;color: #ff4444;background-color: transparent;" open-type="contact" hover-class="none" @click="asfd">个性定制</button> |
|
|
<view v-if="0"> |
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="twiceTitle" v-if="switchIndex == 1" style="margin-top: 0px;"> |
|
|
|
|
|
<view> |
|
|
<!-- 图片预览循环模板 --> |
|
|
<!-- 图片预览循环模板 --> |
|
|
<view class="imgPreview" v-for="(item,index) in userInfo.recruit_long_img" :key="index"> |
|
|
<view class="imgPreview" v-for="(item,index) in userInfo.recruit_long_img" :key="index"> |
|
|
<image :src="item" /> |
|
|
<image :src="item" /> |
|
|
@ -309,27 +312,35 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="twiceTitle" style="position: relative;"> |
|
|
<view class="twiceTitle"> |
|
|
<span style="color:red;width:10rpx;">*</span> |
|
|
<!-- <span style="color:red;width:10rpx;">*</span> --> |
|
|
<span>企业简介</span> |
|
|
<span>企业简介</span> |
|
|
<jinEdit placeholder="请输入内容" @editOk="editOk1" uploadFileUrl="/#" :html="userInfo.introduction" @editFocus="editFocus1"></jinEdit> |
|
|
<view class="userIntroduceInput"> |
|
|
|
|
|
<view class="userIntroduceInputPackage"><textarea placeholder="请输入企业简介" v-model="userInfo.introduction" :maxlength="-1"></textarea></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- <jinEdit placeholder="请输入内容" @editOk="editOk1" uploadFileUrl="/#" :html="userInfo.introduction" @editFocus="editFocus1"></jinEdit> --> |
|
|
<!-- <view style="margin-top: 10px;font-size: 11px;color: #999;padding-bottom: 10px;"> |
|
|
<!-- <view style="margin-top: 10px;font-size: 11px;color: #999;padding-bottom: 10px;"> |
|
|
<text style="color: #f00;margin: 5px;">*</text> |
|
|
<text style="color: #f00;margin: 5px;">*</text> |
|
|
请点击“✓”完成编辑 |
|
|
请点击“✓”完成编辑 |
|
|
</view> --> |
|
|
</view> --> |
|
|
</view> |
|
|
</view> |
|
|
<view class="twiceTitle" style="position: relative;"> |
|
|
<view class="twiceTitle"> |
|
|
<span style="color:red;width:10rpx;">*</span> |
|
|
<!-- <span style="color:red;width:10rpx;">*</span> --> |
|
|
<span>经营业务</span> |
|
|
<span>经营业务</span> |
|
|
<jinEdit placeholder="请输入内容" @editOk="editOk2" uploadFileUrl="/#" :html="userInfo.business" @editFocus="editFocus2"></jinEdit> |
|
|
<view class="userIntroduceInput"> |
|
|
|
|
|
<view class="userIntroduceInputPackage"><textarea placeholder="请输入经营业务" v-model="userInfo.business" :maxlength="-1"></textarea></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- <jinEdit placeholder="请输入内容" @editOk="editOk2" uploadFileUrl="/#" :html="userInfo.business" @editFocus="editFocus2"></jinEdit> --> |
|
|
</view> |
|
|
</view> |
|
|
<view class="twiceTitle" style="position: relative;"> |
|
|
<view class="twiceTitle"> |
|
|
<span>企业优势</span> |
|
|
<span>企业优势</span> |
|
|
<jinEdit placeholder="请输入内容" @editOk="editOk3" uploadFileUrl="/#" :html="userInfo.advantage" @editFocus="editFocus3"></jinEdit> |
|
|
<view class="userIntroduceInput"> |
|
|
|
|
|
<view class="userIntroduceInputPackage"><textarea placeholder="请输入企业优势" v-model="userInfo.advantage" :maxlength="-1"></textarea></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- <jinEdit placeholder="请输入内容" @editOk="editOk3" uploadFileUrl="/#" :html="userInfo.advantage" @editFocus="editFocus3"></jinEdit> --> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- 企业信息区域 --> |
|
|
<!-- 企业信息区域 --> |
|
|
@ -808,6 +819,8 @@ |
|
|
// _this.getloctions(); |
|
|
// _this.getloctions(); |
|
|
// _this.init(); |
|
|
// _this.init(); |
|
|
this.getNewType();// 新企业类型 |
|
|
this.getNewType();// 新企业类型 |
|
|
|
|
|
_this.init(999);//上传图片会经历一次onHide-onShow,所以数据初始不能放onShow |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
onHide() {}, |
|
|
onHide() {}, |
|
|
watch: { |
|
|
watch: { |
|
|
@ -862,7 +875,6 @@ |
|
|
this.onshowIshow = false; |
|
|
this.onshowIshow = false; |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
_this.init(999); |
|
|
|
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
deletcheck(id) { |
|
|
deletcheck(id) { |
|
|
@ -1464,6 +1476,9 @@ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
console.log(idis); |
|
|
console.log(idis); |
|
|
|
|
|
|
|
|
|
|
|
// 页面滚动到顶部(富文本置入内容自动滚动到所在位置无法避免) |
|
|
|
|
|
// setTimeout(()=>{
// uni.pageScrollTo({
// scrollTop: 0,
// success(res) {
// console.log(res,'11111111');
// }
// })
// }, 2000) |
|
|
}, err=>{ |
|
|
}, err=>{ |
|
|
uni.navigateBack({ |
|
|
uni.navigateBack({ |
|
|
delta: 1 |
|
|
delta: 1 |
|
|
@ -1568,25 +1583,25 @@ |
|
|
}); |
|
|
}); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
var text1=this.getText(this.userInfo.introduction); |
|
|
// var text1=this.getText(this.userInfo.introduction); |
|
|
if(this.isNull(text1) && this.userInfo.introduction.indexOf('<img ')==-1 || this.userInfo.introduction.replace(/(^\s*)|(\s*$)/g, "")==""){ |
|
|
// if(this.isNull(text1) && this.userInfo.introduction.indexOf('<img ')==-1 || this.userInfo.introduction.replace(/(^\s*)|(\s*$)/g, "")==""){ |
|
|
uni.showToast({ |
|
|
// uni.showToast({ |
|
|
icon:'none', |
|
|
// icon:'none', |
|
|
title: '企业简介不能为空', |
|
|
// title: '企业简介不能为空', |
|
|
duration: 2000 |
|
|
// duration: 2000 |
|
|
}); |
|
|
// }); |
|
|
return ; |
|
|
// return ; |
|
|
} |
|
|
// } |
|
|
|
|
|
|
|
|
var text2=this.getText(this.userInfo.business); |
|
|
// var text2=this.getText(this.userInfo.business); |
|
|
if(this.isNull(text2) && this.userInfo.business.indexOf('<img ')==-1 || this.userInfo.business.replace(/(^\s*)|(\s*$)/g, "")==""){ |
|
|
// if(this.isNull(text2) && this.userInfo.business.indexOf('<img ')==-1 || this.userInfo.business.replace(/(^\s*)|(\s*$)/g, "")==""){ |
|
|
uni.showToast({ |
|
|
// uni.showToast({ |
|
|
icon:'none', |
|
|
// icon:'none', |
|
|
title: '经营业务不能为空', |
|
|
// title: '经营业务不能为空', |
|
|
duration: 2000 |
|
|
// duration: 2000 |
|
|
}); |
|
|
// }); |
|
|
return ; |
|
|
// return ; |
|
|
} |
|
|
// } |
|
|
|
|
|
|
|
|
if (!_this.storeChecked) { |
|
|
if (!_this.storeChecked) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
@ -2390,6 +2405,7 @@ |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.twiceTitle1 { |
|
|
.twiceTitle1 { |
|
|
|