Browse Source

重启电脑前提交,编辑了我的权益、我的简历、图片路径

master
luyisha 3 years ago
parent
commit
27c836b57e
  1. 4
      .hbuilderx/launch.json
  2. 2
      components/w-picker/w-picker.vue
  3. 2
      pages/mainPages/index/diypage.vue
  4. 5
      pages/mainPages/index/index.vue
  5. 2
      pages/mainPages/sendInformation/sendInformation.vue
  6. 6
      pages/mainPages/userCenter/userCenter.vue
  7. 45
      pages/subPages/Equity/Equity.vue
  8. 123
      pages/subPages/Equity/Topping/Topping.vue
  9. 96
      pages/subPages/Equity/chat/chat.vue
  10. 70
      pages/subPages/Equity/person/person.vue
  11. 97
      pages/subPages/Equity/recruit/recruit.vue
  12. 2
      pages/subPages/myPost/myPost.vue
  13. 241
      pages/subPages2/hirePlatform/addResume/addResume.vue
  14. 10
      pagesA/identityList/identityList.vue
  15. BIN
      static/Equity.png
  16. BIN
      static/Influencer-rafiki.png
  17. BIN
      static/Learning-cuate.png
  18. BIN
      static/Learning-pana.png
  19. BIN
      static/Topping.png
  20. BIN
      static/clk.png
  21. BIN
      static/home_123.png
  22. BIN
      static/hot_list_logo.png
  23. BIN
      static/icon_certificate.png
  24. BIN
      static/icon_position.png
  25. BIN
      static/jingz.png
  26. BIN
      static/logo.png
  27. BIN
      static/mb-plus.png
  28. BIN
      static/partner-rafiki.png
  29. BIN
      static/recruit.png
  30. BIN
      static/right.png
  31. BIN
      static/rule.png
  32. BIN
      static/shaix.png

4
.hbuilderx/launch.json

@ -6,6 +6,10 @@
{
"launchtype" : "local"
},
"h5" :
{
"launchtype" : "local"
},
"mp-weixin" :
{
"launchtype" : "local"

2
components/w-picker/w-picker.vue

@ -176,7 +176,7 @@
return []
}
},
defaultProps:{//selector,linkagle
defaultProps:{//selector,linkagle///pages/subPages2/hirePlatform/resume/resume.vue使
type:Object,
default(){
return{

2
pages/mainPages/index/diypage.vue

@ -8,7 +8,7 @@
<view :style="{width: '100vw',height: '50px'}" style="background-color: #FFFFFF;position: fixed;z-index: 999;top:40px;">
<view :style="{padding: '10px', paddingLeft: '20px'}" style="display: flex;">
<!-- <image :style="{verticalAlign: 'middle', width: 94 + 'px',height: 30 + 'px'}" src="../../../static/logo.png" mode=""></image> -->
<image :style="{verticalAlign: 'middle', width: 30 + 'px',height: 30 + 'px'}" src="../../../static/logo.png" mode=""></image>
<image :style="{verticalAlign: 'middle', width: 30 + 'px',height: 30 + 'px'}" :src="imageRootNew+'logo.png'" mode=""></image>
<view style="font-size: 18px;font-weight: bold;line-height: 30px;margin-left: 4px;">粤职才</view>
</view>
</view>

5
pages/mainPages/index/index.vue

@ -8,7 +8,7 @@
<view :style="{width: '100vw',height: '50px'}" style="background-color: #FFFFFF;position: fixed;z-index: 999;top:40px;">
<view :style="{padding: '10px', paddingLeft: '20px'}" style="display: flex;">
<!-- <image :style="{verticalAlign: 'middle', width: 94 + 'px',height: 30 + 'px'}" src="../../../static/logo.png" mode=""></image> -->
<image :style="{verticalAlign: 'middle', width: 30 + 'px',height: 30 + 'px'}" src="../../../static/logo.png" mode=""></image>
<image :style="{verticalAlign: 'middle', width: 30 + 'px',height: 30 + 'px'}" :src="imageRootNew+'logo.png'" mode=""></image>
<view style="font-size: 18px;font-weight: bold;line-height: 30px;margin-left: 4px;">粤职才</view>
</view>
</view>
@ -64,7 +64,7 @@
</view>
<view class="hot-wrapper" v-show="tabIndex==2">
<navigator hover-class="none" class="dis-flex hot-title" url="/pagesA/informationHot/informationHot">
<image style="width: 96px;height: 35px;" src="../../../static/hot_list_logo.png" mode=""></image>
<image style="width: 96px;height: 35px;" :src="imageRootNew+'hot_list_logo.png'" mode=""></image>
</navigator>
<view class="hot-list">
<view class="hot-item" v-for="(item, index) in HeadlineDataRank" :key="index" @click="toArticle(item.id)">
@ -254,6 +254,7 @@ export default {
this.getHeadlineInfoHot()
},
onShow() {
return;
this.pagenum = this.pagenum + 1;
setTimeout(()=>{
App.wxApiCallback('pages/mainPages/index/index');

2
pages/mainPages/sendInformation/sendInformation.vue

@ -8,7 +8,7 @@
<view :style="{width: '100vw',height: '50px'}" style="background-color: #FFFFFF;position: fixed;z-index: 999;top:40px;">
<view :style="{padding: '10px', paddingLeft: '20px'}" style="display: flex;">
<!-- <image :style="{verticalAlign: 'middle', width: 94 + 'px',height: 30 + 'px'}" src="../../../static/logo.png" mode=""></image> -->
<image :style="{verticalAlign: 'middle', width: 30 + 'px',height: 30 + 'px'}" src="../../../static/logo.png" mode=""></image>
<image :style="{verticalAlign: 'middle', width: 30 + 'px',height: 30 + 'px'}" :src="imageRootNew+'logo.png'" mode=""></image>
<view style="font-size: 18px;font-weight: bold;line-height: 30px;margin-left: 4px;">粤职才</view>
</view>
</view>

6
pages/mainPages/userCenter/userCenter.vue

@ -183,7 +183,7 @@
<navigator class="content_box1" :url="'/pagesA/rule_center/rule_center'"
v-if="memberInfo.identity==='企业' || memberInfo.identity==='商家'">
<view style="font-size: 14px!important;">规则中心</view>
<image src="../../../static/rule.png" mode=""></image>
<image :src="imageRootNew+'rule.png'" mode=""></image>
</navigator>
<!-- 普通用户 -->
<navigator class="content_box1" :url="'/pages/subPages2/hirePlatform/addResume/addResume'"
@ -194,7 +194,7 @@
<!-- 主页入口 -->
<navigator class="content_box1" :url="'/pages/subPages/homepage/homepage/homepage?mid='+memberInfo.mid+'&checkType=1'">
<view style="font-size: 14px!important;">我的主页</view>
<image src="../../../static/home_123.png" mode="" v-if="memberInfo.identity!=='企业' && memberInfo.identity!=='商家'"></image>
<image :src="imageRootNew+'home_123.png'" mode="" v-if="memberInfo.identity!=='企业' && memberInfo.identity!=='商家'"></image>
<image :src="imageRootNew+'stLine-home-l@2x.png'" mode="" v-else></image>
</navigator>
</view>
@ -229,7 +229,7 @@
<view class="mineHomepage" v-if="memberInfo.identity=='游客'|| 1">
<navigator class="content_box2" :url="'/pagesA/identityList/identityList'">
<!-- <navigator class="content_box2" :url="'/pages/subPages/attestationCenter/index'"> -->
<image src="../../../static/icon_certificate.png" mode=""></image>
<image :src="imageRootNew+'icon_certificate.png'" mode=""></image>
<view style="font-size: 14px!important;">我要认证</view>
</navigator>
</view>

45
pages/subPages/Equity/Equity.vue

@ -2,7 +2,7 @@
<view class="main">
<view class="topCard flex jcsb">
<view class="leftBox">
<image src="../../../static/Equity.png" ></image>
<image :src="imageRootNew+'Equity.png'" ></image>
</view>
<view class="rightBox">
<view style="text-align: right;font-weight: bold;margin-bottom: 20upx;">我的权益</view>
@ -30,20 +30,34 @@
<view v-for="(item, index) in list3" :key="index">
{{ item }}
</view>
<view class="">组合套餐高性价更划算如有问题可直接咨询</view>
</view>
<view style="color: #67AAFD;font-size: 30upx;">在线客服</view>
<!-- <view style="color: #67AAFD;font-size: 30upx;">在线客服</view> -->
<button
open-type="contact"
hover-class="none"
style="color: #67AAFD;font-size: 28upx;background-color: transparent;display: inline;padding: 0px;margin: 0px;">
在线客服
</button>
</view>
<view style="width: 91%;margin: 0 auto;margin-top: 5%;margin-bottom: 3%;font-size: 36upx;">权益使用量</view>
<view class="cardList flex jcsb" v-for="(item ,index) in list" @click="go(item)" :key="index">
<view class="ml5">{{ item.name }}</view>
<view class="linkColor mr5" v-if="item.name=='广告曝光卡'">
广告曝光卡 <image class="rightArrow" src="../../../static/right.png"></image>
</view>
<!-- <view class="linkColor mr5" v-if="item.name=='广告曝光卡'">
联系平台 <image class="rightArrow" :src="imageRootNew+'right.png'"></image>
</view> -->
<button v-if="item.name=='广告曝光卡'"
class="linkColor mr5"
open-type="contact"
hover-class="none"
style="background-color: transparent;font-size: 28upx;padding: 0px;">
联系平台 <image class="rightArrow" :src="imageRootNew+'right.png'"></image>
</button>
<view class="mr5" v-else><text class="linkColor ">
{{ item.use_amount + item.unit }}</text>/{{ item.total_amount + item.unit }}
<image class="rightArrow" src="../../../static/right.png"></image>
<image class="rightArrow" :src="imageRootNew+'right.png'"></image>
</view>
</view>
@ -67,19 +81,20 @@
App._post_form('&p=rights&do=getRightsList', data, res => {
this.list2 = res.data.table_list
this.list = res.data.member_rights_list
this.list3 = res.data.content_list
this.list3 = res.data.content_list;
this.rights_bag_data = res.data.rights_bag_data;
this.list.map(item => {
if(item.name == '置顶权益'){
item.link = 'pages/subPages/Equity/Topping/Topping'
item.link = 'pages/subPages/Equity/Topping/Topping?rights_id='+item.rights_id;
}
if(item.name == '畅聊卡'){
item.link = 'pages/subPages/Equity/chat/chat'
item.link = 'pages/subPages/Equity/chat/chat?rights_id='+item.rights_id
}
if(item.name == '招聘次数'){
item.link = 'pages/subPages/Equity/recruit/recruit'
item.link = 'pages/subPages/Equity/recruit/recruit?rights_id='+item.rights_id
}
if(item.name == '精准人才卡'){
item.link = 'pages/subPages/Equity/person/person'
item.link = 'pages/subPages/Equity/person/person?rights_id='+item.rights_id
}
})
})
@ -94,9 +109,9 @@
let user = uni.getStorageSync('userinfo')
let data = {
rights_id: 1,
type: 1,
price: '19.99',
rights_id: this.rights_bag_data.id,
type: 2,
price: this.rights_bag_data.price,
num: 1,
contacts: user.nickname,
contact_phone: user.truemobile
@ -232,7 +247,7 @@
height: 30upx;
align-items: center;
margin-left: 15upx;
margin-bottom: -3upx;
margin-bottom: -4upx;
}
.table{
background-color: #FAFAFA;

123
pages/subPages/Equity/Topping/Topping.vue

@ -9,7 +9,7 @@
</view>
</view>
<view class="rightBox">
<image src="../../../../static/Topping.png"></image>
<image :src="imageRootNew+'Topping.png'"></image>
</view>
</view>
@ -20,7 +20,7 @@
选择职位
</view>
<view class="selectItem" v-for="(item ,index) in list" :class="item.id == selectType ? 'sType' : 'dType'"
<view class="selectItem" v-for="(item ,index) in jobList" :class="item.id == selectType ? 'sType' : 'dType'"
:key="index" @click="clickItem(item.id)">
{{ item.content }}
</view>
@ -39,23 +39,23 @@
<view class="buyBox">
<view class="flex jcsb mb40">
<view class="title">购买天数</view>
<view style="color: #BBBBBB;font-size: 30upx;">剩余: 0</view>
<view style="color: #BBBBBB;font-size: 30upx;">剩余: {{dayNum}}{{diyUnit}}</view>
</view>
<view style="margin-bottom: 40upx;align-items: center;" class="flex">
<view style="margin-right: 20upx;font-size: 28upx;">自定义天数:</view>
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" placeholder-style="color: #CACACA" placeholder="请输入使用天数" />
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" @input="changeOrderPrice" v-model="diySelect" placeholder-style="color: #CACACA" placeholder="请输入购买天数" />
</view>
<view class="selectDay flex jcsb">
<view class="dayItem" :class="item.id == selectType1 ? 'sType' : 'dType'" v-for="(item, index) in list2" :key="index" @click="clickItem1(item.id)">
{{ item.txt }}
<view class="dayItem" :class="item == selectOption ? 'sType' : 'dType'" v-for="(item) in selectOptLs" :key="item" @click="clickOption(item)">
{{item}}
</view>
</view>
</view>
<view class="submitBtn">
立即支付 ¥100.00/10
立即支付 ¥{{selectOptPrice}}/{{selectOptTxt}}
</view>
<view style="height: 50upx;"></view>
@ -63,10 +63,11 @@
</template>
<script>
import App from '@/common/js/app.js';
export default {
data() {
return {
list: [
jobList: [
{
id: 1,
content: '富力汤温泉-前台接待员'
@ -76,35 +77,97 @@
content: '富力汤温泉-后勤接待人员'
}
],
list2: [
{
id: 1,
txt: '10天'
},
{
id: 2,
txt: '30天'
},
{
id: 3,
txt: '50天'
},
{
id: 4,
txt: '100天'
}
],
selectType: 1,
selectType1: 1,
dayNum: ''
selectOption: 1,
selectOptTxt: '一天',
selectOptPrice: '100.00',
selectOptLs: {},
diySelect: '',
diyUnit: '',
diyPrice: '',
dayNum: 0,
rights_id: null,
};
},
onLoad(e){
this.rights_id = e.rights_id;
this.getData();
this.getJobList();
},
methods: {
clickItem(val){
this.selectType = val
},
clickItem1(val){
this.selectType1 = val
clickOption(val){
if(typeof val == 'string'){
this.selectOptTxt = val;
this.selectOption = val;
for(let key in this.selectOptLs){
if(this.selectOptLs[key]==val){
this.selectOptPrice = key * this.diyPrice;
}
}
return;
}
},
getJobList(){
let data = {
industry_pid: '',
industry_id: '',
position_id: '',
sort: '',
recruitment_type: 2,
release_sid: 11,
release_mid: '',
is_total: 1,
page: 1,
page_index: 10,
is_private: 1
}
App._post_form(
`&p=recruit&do=homeList`,
data,
res => {
console.log(res);
},
() => {},() => {}
);
},
getData(){
App._post_form(
`&p=rights&do=getRightsTypeInfo`, { rights_id: this.rights_id },
res => {
// console.log(res);
this.dayNum = res.data.remaining_amount;
this.diyUnit = res.data.amount_unit;
this.diyPrice = res.data.price;
this.selectOptLs = res.data.num_data;
for(let key in this.selectOptLs){
this.selectOptPrice = key * res.data.price;
this.selectOption = this.selectOptLs[key];
this.selectOptTxt = this.selectOptLs[key];
return;
}
},
() => {},() => {}
);
},
changeOrderPrice(e){
console.log(e.detail.value, this.diySelect, Math.floor(this.diyPrice));
if(e.detail.value){
this.selectOptPrice = e.detail.value * Math.floor(this.diyPrice);
this.selectOptTxt = e.detail.value + '天';
this.selectOption = '';
console.log(this.selectOptPrice);
}else{
for(let key in this.selectOptLs){
this.selectOptPrice = key * this.diyPrice;
this.selectOption = this.selectOptLs[key];
this.selectOptTxt = this.selectOptLs[key];
return;
}
}
}
}
}

96
pages/subPages/Equity/chat/chat.vue

@ -9,7 +9,7 @@
</view>
</view>
<view class="rightBox">
<image src="../../../../static/clk.png"></image>
<image :src="imageRootNew+'clk.png'"></image>
</view>
</view>
@ -17,60 +17,94 @@
<view class="buyBox">
<view class="flex jcsb mb40">
<view class="title">购买月数</view>
<view style="color: #BBBBBB;font-size: 30upx;">剩余: 0</view>
<view style="color: #BBBBBB;font-size: 30upx;">剩余:{{dayNum}}{{diyUnit}}</view>
</view>
<view style="margin-bottom: 40upx;align-items: center;" class="flex">
<view style="margin-right: 20upx;font-size: 28upx;">自定义月数:</view>
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" placeholder-style="color: #CACACA" placeholder="请输入购买月数" />
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" @input="changeOrderPrice" v-model="diySelect" placeholder-style="color: #CACACA" :placeholder="'请输入购买月数'" />
</view>
<view class="selectDay flex jcsb">
<view class="dayItem" :class="item.id == selectType1 ? 'sType' : 'dType'" v-for="(item, index) in list2" :key="index" @click="clickItem1(item.id)">
{{ item.txt }}
<view class="dayItem" :class="item == selectOption ? 'sType' : 'dType'" v-for="(item) in selectOptLs" :key="item" @click="clickOption(item)">
{{item}}
</view>
</view>
</view>
<view class="submitBtn">
立即支付 ¥100.00/10
立即支付 ¥{{selectOptPrice}}/{{selectOptTxt}}
</view>
</view>
</template>
<script>
import App from '@/common/js/app.js';
export default {
data() {
return {
list2: [
{
id: 1,
txt: '一个月'
},
{
id: 2,
txt: '三个月'
},
{
id: 3,
txt: '六个月'
},
{
id: 4,
txt: '一年'
}
],
selectType: 1,
selectType1: 1,
dayNum: ''
selectOption: 1,
selectOptTxt: '一个月',
selectOptPrice: '100.00',
selectOptLs: {},
diySelect: '',
diyUnit: '',
diyPrice: '',
dayNum: 0,
rights_id: null,
};
},
onLoad(e){
this.rights_id = e.rights_id;
this.getData();
},
methods: {
clickItem(val){
this.selectType = val
clickOption(val){
if(typeof val == 'string'){
this.selectOptTxt = val;
this.selectOption = val;
for(let key in this.selectOptLs){
if(this.selectOptLs[key]==val){
this.selectOptPrice = key * this.diyPrice;
}
}
return;
}
},
getData(){
App._post_form(
`&p=rights&do=getRightsTypeInfo`, { rights_id: this.rights_id },
res => {
console.log(res);
this.dayNum = res.data.remaining_amount;
this.diyUnit = res.data.amount_unit;
this.diyPrice = res.data.price;
this.selectOptLs = res.data.num_data;
for(let key in this.selectOptLs){
this.selectOptPrice = key * res.data.price;
this.selectOption = this.selectOptLs[key];
this.selectOptTxt = this.selectOptLs[key];
return;
}
},
() => {},() => {}
);
},
clickItem1(val){
this.selectType1 = val
changeOrderPrice(e){
console.log(e.detail.value, this.diySelect, Math.floor(this.diyPrice));
if(e.detail.value){
this.selectOptPrice = e.detail.value * 30 * Math.floor(this.diyPrice);
this.selectOptTxt = e.detail.value + '个月';
this.selectOption = '';
console.log(this.selectOptPrice);
}else{
for(let key in this.selectOptLs){
this.selectOptPrice = key * this.diyPrice;
this.selectOption = this.selectOptLs[key];
this.selectOptTxt = this.selectOptLs[key];
return;
}
}
}
}
}

70
pages/subPages/Equity/person/person.vue

@ -9,7 +9,7 @@
</view>
</view>
<view class="rightBox">
<image src="../../../../static/jingz.png"></image>
<image :src="imageRootNew+'jingz.png'"></image>
</view>
</view>
@ -21,15 +21,15 @@
</view>
<view class="flex jcsb mb40" v-for="(item ,index) in perData.filter_data.recruit" :key="index">
<view class="selectItem" :class="item.recruit_id == selectType ? 'sType' : 'dType'"
<view class="selectItem" :class="item.recruit_id == selectType0 ? 'sType' : 'dType'"
@click="clickItem(item, 1)">
{{ item.recruit_title }}
</view>
<input class="inputSel" v-model="item.num" :disabled="item.recruit_id != selectType" :style="item.recruit_id == selectType ? 'border: 1px solid #85BAFC' : 'border: 1px solid #ffffff'" type="number" placeholder-style="color: #CACACA" placeholder="请输入使用份数" />
<input class="inputSel" v-model="item.num" :disabled="item.recruit_id != selectType0" :style="item.recruit_id == selectType0 ? 'border: 1px solid #85BAFC' : 'border: 1px solid #ffffff'" type="number" placeholder-style="color: #CACACA" placeholder="请输入使用份数" />
</view>
<image style="width: 50%;height: 45upx;margin: 0 auto;display: block;" src="../../../../static/shaix.png"></image>
<image style="width: 50%;height: 45upx;margin: 0 auto;display: block;" :src="imageRootNew+'shaix.png'"></image>
<view class="gaijBox mb40">
@ -75,7 +75,7 @@
<view style="margin-bottom: 40upx;align-items: center;" class="flex">
<view style="margin-right: 20upx;font-size: 28upx;">自定义份数:</view>
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" placeholder-style="color: #CACACA" placeholder="请输入使用份数" />
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" placeholder-style="color: #CACACA" placeholder="请输入购买份数" />
</view>
<view class="selectDay flex jcsb">
@ -86,7 +86,7 @@
</view>
<view class="submitBtn">
立即支付 ¥100.00/10
立即支付 ¥{{selectOptPrice}}/{{selectOptTxt}}
</view>
<view style="height: 50upx;"></view>
@ -116,29 +116,26 @@
txt: '100份'
}
],
selectType: 1,
selectType0: 1,
selectOptPrice: '',
selectOptTxt: '',
selectType1: 1,
selectType2: 0,
selectType3: 0,
dayNum: '',
dayNum: 0,
perData: '',
show: true
show: true,
diyUnit: '',
diyPrice: '',
rights_id: null,
};
},
onLoad(e){
this.rights_id = e.rights_id;
this.getData();
},
mounted() {
let data = {
rights_id: 5
};
App._post_form('&p=rights&do=getRightsTypeInfo', data, res => {
res.data.filter_data.recruit.map(item =>{
item.num = ''
})
this.perData = res.data
// this.perData.filter_data.recruit = []
this.show = this.perData.filter_data.recruit.length>0 ? true : false
console.log(this.perData)
})
},
methods: {
clickItem(val, type){
@ -146,10 +143,12 @@
this.perData.filter_data.recruit.map(item => {
item.num = ''
})
this.selectType = val.recruit_id
this.selectType0 = val.recruit_id
}
if(type == 2){
this.selectType1 = val
this.selectOptTxt = val + '份'
this.selectOptPrice = val * this.diyPrice;
}
if(type == 3){
this.selectType2 = val
@ -157,6 +156,31 @@
if(type == 4){
this.selectType3 = val
}
},
getData(){
let data = {
rights_id: 5
};
App._post_form('&p=rights&do=getRightsTypeInfo', data, res => {
res.data.filter_data.recruit.map(item =>{
item.num = ''
})
this.dayNum = res.data.remaining_amount;
this.diyUnit = res.data.amount_unit;
this.diyPrice = res.data.price;
this.perData = res.data
// this.perData.filter_data.recruit = []
this.show = this.perData.filter_data.recruit.length>0 ? true : false
console.log(this.perData)
for(let key in this.perData.num_data){
this.selectOptPrice = key * res.data.price;
this.selectType1 = this.perData.num_data[key];
this.selectType1 = this.perData.num_data[key];
return;
}
})
}
}
}

97
pages/subPages/Equity/recruit/recruit.vue

@ -9,7 +9,7 @@
</view>
</view>
<view class="rightBox">
<image src="../../../../static/recruit.png"></image>
<image :src="imageRootNew+'recruit.png'"></image>
</view>
</view>
@ -17,61 +17,96 @@
<view class="buyBox">
<view class="flex jcsb mb40">
<view class="title">购买次数</view>
<view style="color: #BBBBBB;font-size: 30upx;">剩余: 0</view>
<view style="color: #BBBBBB;font-size: 30upx;">剩余: {{dayNum}}{{diyUnit}}</view>
</view>
<view style="margin-bottom: 40upx;align-items: center;" class="flex">
<view style="margin-right: 20upx;font-size: 28upx;">自定义次数:</view>
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" placeholder-style="color: #CACACA" placeholder="请输入购买次数" />
<input style="text-align: left;padding-left: 18upx;width: 72%;" class="inputNum" type="number" @input="changeOrderPrice" v-model="diySelect" placeholder-style="color: #CACACA" placeholder="请输入购买次数" />
</view>
<view class="selectDay flex jcsb">
<view class="dayItem" :class="item.id == selectType1 ? 'sType' : 'dType'" v-for="(item, index) in list2" :key="index" @click="clickItem1(item.id)">
{{ item.txt }}
<view class="dayItem" :class="item == selectOption ? 'sType' : 'dType'" v-for="(item) in selectOptLs" :key="item" @click="clickOption(item)">
{{item}}
</view>
</view>
</view>
<view class="submitBtn">
立即支付 ¥100.00/10
立即支付 ¥{{selectOptPrice}}/{{selectOptTxt}}
</view>
</view>
</template>
<script>
import App from '@/common/js/app.js';
export default {
data() {
return {
list2: [
{
id: 1,
txt: '10次'
},
{
id: 2,
txt: '30次'
},
{
id: 3,
txt: '50次'
},
{
id: 4,
txt: '100次'
}
],
selectType: 1,
selectType1: 1,
dayNum: ''
selectOption: 1,
selectOptTxt: '10次',
selectOptPrice: '100.00',
selectOptLs: {},
diySelect: '',
diyUnit: '',
diyPrice: '',
dayNum: 0,
rights_id: null,
};
},
onLoad(e){
this.rights_id = e.rights_id;
this.getData();
},
methods: {
clickItem(val){
this.selectType = val
clickOption(val){
if(typeof val == 'string'){
this.selectOptTxt = val;
this.selectOption = val;
for(let key in this.selectOptLs){
if(this.selectOptLs[key]==val){
this.selectOptPrice = key * this.diyPrice;
}
}
return;
}
},
getData(){
App._post_form(
`&p=rights&do=getRightsTypeInfo`, { rights_id: this.rights_id },
res => {
console.log(res);
this.dayNum = res.data.remaining_amount;
this.diyUnit = res.data.amount_unit;
this.diyPrice = res.data.price;
this.selectOptLs = res.data.num_data;
for(let key in this.selectOptLs){
this.selectOptPrice = key * res.data.price;
this.selectOption = this.selectOptLs[key];
this.selectOptTxt = this.selectOptLs[key];
return;
}
},
() => {},() => {}
);
},
clickItem1(val){
this.selectType1 = val
changeOrderPrice(e){
console.log(e.detail.value, this.diySelect, Math.floor(this.diyPrice));
if(e.detail.value){
this.selectOptPrice = e.detail.value * Math.floor(this.diyPrice);
this.selectOptTxt = e.detail.value + '次';
this.selectOption = '';
console.log(this.selectOptPrice);
}else{
for(let key in this.selectOptLs){
this.selectOptPrice = key * this.diyPrice;
this.selectOption = this.selectOptLs[key];
this.selectOptTxt = this.selectOptLs[key];
return;
}
}
}
}
}
</script>

2
pages/subPages/myPost/myPost.vue

@ -6,7 +6,7 @@
<navigationBar custom="true">
<view :style="{width: '100vw',height: '50px'}" style="background-color: #FFFFFF;position: fixed;z-index: 999;top:40px;">
<view :style="{padding: '10px', paddingLeft: '20px'}">
<image :style="{verticalAlign: 'middle', width: 94 + 'px',height: 30 + 'px'}" src="../../../static/logo.png" mode=""></image>
<image :style="{verticalAlign: 'middle', width: 94 + 'px',height: 30 + 'px'}" :src="imageRootNew+'logo.png'" mode=""></image>
</view>
</view>
</navigationBar>

241
pages/subPages2/hirePlatform/addResume/addResume.vue

@ -279,11 +279,23 @@
<view class="dis-flex f-24 formtitle">
<view class="t-r" style="flex: 0.3;">
<view class="dis-il-block" style="font-size: 20upx;color: #FFFFFF;float: left;">*</view>
工作经历
在校职务
</view>
<view style="flex: 0.8;padding-left: 40upx;" @click="schoolWorkShow = true">
<view class="uni-input">
点击编辑在校职务经验
<view class="dis-il-block iconfont icon-right" style="float: right;font-size: 24upx;color: #6f6f6f;"></view>
</view>
</view>
</view>
<view class="dis-flex f-24 formtitle">
<view class="t-r" style="flex: 0.3;">
<view class="dis-il-block" style="font-size: 20upx;color: #FFFFFF;float: left;">*</view>
实习经验
</view>
<view style="flex: 0.8;padding-left: 40upx;" @click="afterWorkShow = true">
<view class="uni-input">
点击编辑项目经验
点击编辑实习经验
<view class="dis-il-block iconfont icon-right" style="float: right;font-size: 24upx;color: #6f6f6f;"></view>
</view>
</view>
@ -373,10 +385,93 @@
</view>
</view> -->
</PopManager>
<PopManager :show="schoolWorkShow" :type="'center'" :overlay="'false'" :showOverlay="'false'">
<view class="after-work">
<view class="after-work-title dis-flex">
<view class="flex-box f-32 f-w">在校职务经验</view>
<view class="flex-box iconfont icon-close t-r" @click="schoolWorkShow = false"></view>
</view>
<view class="f-28" style="padding: 30upx 0;height: 50vh;overflow: auto;">
<view class="after-item" v-for="(item, index) in school_officeList">
<view class="dis-flex after-item-item">
<view style="flex: 0.3;" class="f-w">学校名称</view>
<view style="flex: 0.8;padding-left: 20upx;">{{ item.school_name }}</view>
</view>
<view class="dis-flex after-item-item">
<view style="flex: 0.3;" class="f-w">职务名称</view>
<view style="flex: 0.8;padding-left: 20upx;">{{ item.position }}</view>
</view>
<view class="dis-flex after-item-item">
<view style="flex: 0.3;" class="f-w">任职时间</view>
<view style="flex: 0.8;padding-left: 20upx;">{{ item.starttime }}-{{ item.endtime }}</view>
</view>
<!-- <view class="dis-flex after-item-item">
<view style="flex: 0.3;" class="f-w">职务内容</view>
<view style="flex: 0.8;padding-left: 20upx;">{{ item.content }}</view>
</view> -->
<view class="dis-flex after-item-item">
<view style="flex: 0.5;" class="f-w"></view>
<view style="flex: 0.5;text-align: right;">
<view class="dis-il-block c-ff4444" @click="deleteSchoolWork(index)">删除</view>
<view class="dis-il-block" style="color: #008CFF;padding-left: 50upx;" @click="redactSchoolWork(item, index)">编辑</view>
</view>
</view>
</view>
</view>
<view class="work-btn" @click="addSchoolWorkShow = true">添加经验</view>
<PopManager :show="addSchoolWorkShow" :type="'center'" :overlay="'false'" :showOverlay="'false'" @clickmask="closeaddschool">
<view class="add-work" v-show="addSchoolWorkShow"><!-- 此处添加v-show增强视图效果 -->
<view class="dis-flex" style="padding-bottom: 30upx;">
<view class="flex-box f-32">添加在校职务经验</view>
<view class="flex-box iconfont icon-close t-r" @click="closeaddschool"></view>
</view>
<view>
<view class="dis-flex" style="padding-bottom: 40upx;border-bottom: 1upx solid #EEEEEE;padding-top: 40upx;">
<view class="f-26" style="flex: 0.3;line-height: 45upx;">学校名称</view>
<view style="flex: 0.7;">
<input type="text" style="font-size: 26upx;" placeholder="请填写学校名称" v-model="school_office.school_name" />
</view>
</view>
<view class="dis-flex" style="padding-bottom: 40upx;border-bottom: 1upx solid #EEEEEE;padding-top: 40upx;">
<view class="f-26" style="flex: 0.3;">职务名称</view>
<view style="flex: 0.7;">
<input type="text" style="font-size: 26upx;" placeholder="请填写职务名称" v-model="school_office.position" />
</view>
</view>
<view class="dis-flex" style="padding-bottom: 40upx;padding-top: 10upx;border-bottom: 1upx solid #EEEEEE;padding-top: 40upx;">
<view class="f-26" style="flex: 0.3;">开始时间</view>
<view :class="school_office.starttime ? 'f-26' : 'f-26 col-6'" style="flex: 0.7;line-height: 30upx;" @click="startTime = true">
{{ school_office.starttime || '请选择任职开始时间' }}
</view>
</view>
<view class="dis-flex" style="padding-bottom: 40upx;padding-top: 10upx;border-bottom: 1upx solid #EEEEEE;padding-top: 40upx;">
<view class="f-26" style="flex: 0.3;">结束时间</view>
<view :class="school_office.endtime ? 'f-26' : 'f-26 col-6'" style="flex: 0.7;line-height: 30upx;" @click="endTime = true">
{{ school_office.endtime || '请选择任职结束时间' }}
</view>
</view>
<!-- <view class="dis-flex" style="padding-bottom: 20upx;padding-top: 40upx;">
<view class="f-26" style="flex: 0.3;">职务内容</view>
<view style="flex: 0.7;">
<textarea
type="text"
style="font-size: 26upx;width: 100%;height: 400upx;"
maxlength="9999"
placeholder="请填写职务内容"
v-model="school_office.content"
/>
</view>
</view> -->
<view class="dis-il-block t-c redbtn" style="bottom: -20%;" @click.stop="addschool_office">保存</view>
</view>
</view>
</PopManager>
</view>
</PopManager>
<PopManager :show="afterWorkShow" :type="'center'" :overlay="'false'" :showOverlay="'false'">
<view class="after-work">
<view class="after-work-title dis-flex">
<view class="flex-box f-32 f-w">项目经历</view>
<view class="flex-box f-32 f-w">实习经验</view>
<view class="flex-box iconfont icon-close t-r" @click="afterWorkShow = false"></view>
</view>
<view class="f-28" style="padding: 30upx 0;height: 50vh;overflow: auto;">
@ -406,11 +501,11 @@
</view>
</view>
</view>
<view class="work-btn" @click="addWorkShow = true">添加经</view>
<view class="work-btn" @click="addWorkShow = true">添加经</view>
<PopManager :show="addWorkShow" :type="'center'" :overlay="'false'" :showOverlay="'false'" @clickmask="closeadd">
<view class="add-work" v-show="addWorkShow"><!-- 此处添加v-show增强视图效果 -->
<view class="dis-flex" style="padding-bottom: 30upx;">
<view class="flex-box f-32">添加项目经历</view>
<view class="flex-box f-32">添加实习经验</view>
<view class="flex-box iconfont icon-close t-r" @click="closeadd"></view>
</view>
<view>
@ -468,6 +563,10 @@
<view style="flex: 0.3;" class="f-w">学校名称</view>
<view style="flex: 0.8;padding-left: 20upx;">{{ item.school }}</view>
</view>
<view class="dis-flex after-item-item">
<view style="flex: 0.3;" class="f-w">学校类型</view>
<view style="flex: 0.8;padding-left: 20upx;">{{ item.graduated_school }}</view>
</view>
<view class="dis-flex after-item-item">
<view style="flex: 0.3;" class="f-w">就读时间</view>
<view style="flex: 0.8;padding-left: 20upx;">{{ item.start_time }}-{{ item.end_time }}</view>
@ -499,6 +598,12 @@
<input type="text" style="font-size: 26upx;" placeholder="请填写学校名称" v-model="educational_experience.school" />
</view>
</view>
<view class="dis-flex" style="padding-bottom: 40upx;padding-top: 10upx;border-bottom: 1upx solid #EEEEEE;padding-top: 40upx;">
<view class="f-26" style="flex: 0.3;">学校类型</view>
<view :class="educational_experience.graduated_school ? 'f-26' : 'f-26 col-6'" style="flex: 0.7;line-height: 30upx;" @click="graduated_show = true">
{{ educational_experience.graduated_school || '请选择学校类型' }}
</view>
</view>
<view class="dis-flex" style="padding-bottom: 40upx;border-bottom: 1upx solid #EEEEEE;padding-top: 40upx;">
<view class="f-26" style="flex: 0.3;">所属专业</view>
<view style="flex: 0.7;">
@ -567,6 +672,15 @@
:disabled-after="false"
ref="dateb"
></w-picker>
<w-picker
:visible.sync="graduated_show"
mode="selector"
:value="educational_experience.graduated_school"
default-type="label"
:options="graduatedTypeOptions"
@confirm="onConfirmGra($event, 'gra')"
ref="gra"
></w-picker>
</view>
</template>
@ -593,6 +707,8 @@ export default{
addteachShow:false,
afterWorkShow:false,
educationShow:false,
schoolWorkShow: false,
addSchoolWorkShow: false,
address:'',
lblis:{},
klis:false,
@ -635,6 +751,13 @@ export default{
experienceList:[],
experienceIndex:0,
businessList:[],
school_office:{
school_name:'',
position:'',
starttime:'',
endtime:''
},
school_officeList:[],
work_experience:{
title:'',
corporate_name:'',
@ -642,11 +765,13 @@ export default{
end_time:'',
content:''
},
graduated_show: false,
educational_experience:{
school:'',
graduated_school: '',
major:'',
start_time:'',
end_time:'',
end_time:''
},
work_experienceList:[],
educational_experienceList:[],
@ -654,6 +779,19 @@ export default{
upimg:false
}
},
computed:{
graduatedTypeOptions(){
let arr = [];
for(let key in this.userInfo.graduated_school){
arr.push({
value:key,
label:this.userInfo.graduated_school[key]
})
}
// console.log(arr, '');
return arr;
},
},
components:{
wPicker,
PopManager,
@ -748,6 +886,11 @@ export default{
_this.educationIndex = index;
}
})
_this.educationList.map((item,index)=>{
if(item.id == _this.userInfo.education_label_id){
_this.educationIndex = index;
}
})
_this.experienceList.map((item,index)=>{
if(item.id == _this.userInfo.experience_label_id){
_this.experienceIndex = index;
@ -764,6 +907,7 @@ export default{
}
})
_this.genderIndex = Number(_this.userInfo.gender) - 2;
_this.school_officeList = _this.userInfo.school_office;
_this.educational_experienceList = _this.userInfo.educational_experience;
_this.work_experienceList = _this.userInfo.work_experience;
_this.userInfo.provinceid = _this.userInfo.expect_work_province;
@ -794,6 +938,13 @@ export default{
}
);
},
redactSchoolWork(item,index){
// this.work_experience = item;
let objString = JSON.stringify(item);
this.school_office = JSON.parse(objString);
this.redactIndex = index;
this.addSchoolWorkShow = true;
},
redact(item,index){
// this.work_experience = item;
let objString = JSON.stringify(item);
@ -839,6 +990,22 @@ export default{
true
);
},
deleteSchoolWork(index){
App.showError(
`确定要删除该在校职务经验?`,
data => {
if (data.confirm) {
this.school_officeList.map((item,indexs)=>{
if(index == indexs){
this.school_officeList.splice(index,1)
}
})
return
}
},
true
);
},
addTeach_experience(){
for(let key in this.educational_experience){
if(!this.educational_experience[key]){
@ -860,17 +1027,11 @@ export default{
this.addteachShow = false;
this.educational_experience ={
school:'',
graduated_school: '',
major:'',
start_time:'',
end_time:'',
};
this.work_experience ={
title:'',
corporate_name:'',
start_time:'',
end_time:'',
content:''
};
},
addwork_experience(){
for(let key in this.work_experience){
@ -896,12 +1057,30 @@ export default{
end_time:'',
content:''
};
this.educational_experience ={
school:'',
major:'',
start_time:'',
end_time:'',
};
},
addschool_office(){
for(let key in this.school_office){
if(!this.school_office[key]){
uni.showToast({
icon:'none',
title:'请完善在校职务经验'
});
return
}
}
if(this.redactIndex != null){
this.school_officeList.splice(this.redactIndex,1,this.school_office);
this.redactIndex = null;
}else{
this.school_officeList.push(this.school_office);
}
this.addSchoolWorkShow = false;
this.school_office = {
school_name:'',
position:'',
starttime:'',
endtime:'',
}
},
onConfirmage(e){
this.userInfo.birth_time = e.result;
@ -909,17 +1088,35 @@ export default{
onConfirmendTime(e){
this.educational_experience.end_time = e.result;
this.work_experience.end_time = e.result;
this.school_office.endtime = e.result;
},
onConfirmstartTime(e){
console.log(e, '111111111111111111')
// console.log(e, '111111111111111111')
this.educational_experience.start_time = e.result;
this.work_experience.start_time = e.result;
this.school_office.starttime = e.result;
},
onConfirmGra(e){
// console.log(e, '111111111111111111');
this.educational_experience.graduated_school = e.result;
},
closeaddschool(){
this.addSchoolWorkShow = false;
setTimeout(()=>{
this.school_office ={
school_name:'',
position:'',
starttime:'',
endtime:''
};
},500)
},
closeaddteach(){
this.addteachShow = false;
setTimeout(()=>{
this.educational_experience ={
school:'',
graduated_school: '',
major:'',
start_time:'',
end_time:'',
@ -977,6 +1174,7 @@ export default{
console.log(data,'------------')
data.school_office = JSON.parse(JSON.stringify(_this.school_officeList));
data.work_experience = JSON.parse(JSON.stringify(_this.work_experienceList));
data.educational_experience = JSON.parse(JSON.stringify(_this.educational_experienceList));
data.expect_work_province = _this.userInfo.provinceid || data.expect_work_province;
@ -1005,9 +1203,10 @@ export default{
delete data.industry_id;
delete data.industry_pid;
delete data.show_expect_position;
delete data.graduated_school;
console.log(data);
for(let key in data){
if(!data[key] && data[key] !== 0){
if(!data[key] && data[key] !== 0){
uni.showToast({
icon:'none',
title:'请完善资料'

10
pagesA/identityList/identityList.vue

@ -12,7 +12,7 @@
<view style="font-size: 14px;line-height: 22px;font-weight: bold;">{{item.title1}}</view>
<view class="text">{{item.title2}}</view>
</view>
<image :src="item.img" mode="aspectFill"></image>
<image :src="imageRootNew+item.img" mode="aspectFill"></image>
</view>
</view>
</view>
@ -26,10 +26,10 @@
return {
page: 1,
dataList: [
{title1:"我是学生",title2:"I am a student",img:"../../static/Learning-cuate.png", url:'/pagesA/studentIdentification/studentIdentification'},
{title1:"我是教师",title2:"I am a teacher",img:"../../static/Learning-pana.png", url:'/pagesA/identityList/teacherCertification'},
{title1:"我是企业",title2:"I am an enterprise",img:"../../static/partner-rafiki.png", url:'/pages/mainPages/Settled/Settled'},
{title1:"我是博主",title2:"I am a blogger",img:"../../static/Influencer-rafiki.png", url:'/pagesA/identityList/bloggerCertification'}
{title1:"我是学生",title2:"I am a student",img:"Learning-cuate.png", url:'/pagesA/studentIdentification/studentIdentification'},
{title1:"我是教师",title2:"I am a teacher",img:"Learning-pana.png", url:'/pagesA/identityList/teacherCertification'},
{title1:"我是企业",title2:"I am an enterprise",img:"partner-rafiki.png", url:'/pages/mainPages/Settled/Settled'},
{title1:"我是博主",title2:"I am a blogger",img:"Influencer-rafiki.png", url:'/pagesA/identityList/bloggerCertification'}
]
}
},

BIN
static/Equity.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

BIN
static/Influencer-rafiki.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

BIN
static/Learning-cuate.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
static/Learning-pana.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
static/Topping.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

BIN
static/clk.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

BIN
static/home_123.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 609 B

BIN
static/hot_list_logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
static/icon_certificate.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 916 B

BIN
static/icon_position.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
static/jingz.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

BIN
static/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

BIN
static/mb-plus.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

BIN
static/partner-rafiki.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
static/recruit.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
static/right.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 B

BIN
static/rule.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 B

BIN
static/shaix.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Loading…
Cancel
Save