Browse Source

更新

master
luyisha 3 years ago
parent
commit
31b2267c2c
  1. 9
      components/jin-edit/jin-edit.vue
  2. 4
      components/page/pageComponents/goodsStyle.vue
  3. 17
      components/page/pageComponents/tabMenu.vue
  4. 24
      components/template/PhoneMask.vue
  5. 6
      components/template/diypages.vue
  6. 4
      components/template/nonemores.vue
  7. 13
      components/template/partTimeJob.vue
  8. 16
      components/template/pic_text/pic_text.vue
  9. 57
      components/template/pic_text/pic_text_list.vue
  10. 60
      components/template/postListTwo.vue
  11. 4
      components/template/tabBar.vue
  12. 118
      components/template/tabs/tabs-copy.vue
  13. 20
      components/template/workList.vue
  14. 10
      components/w-picker/date-picker.vue
  15. 7
      components/w-picker/w-picker.vue
  16. 2
      manifest.json
  17. 8
      pages.json
  18. 80
      pages/mainPages/Settled/Settled.vue
  19. 2
      pages/mainPages/index/diypage.vue
  20. 118
      pages/mainPages/index/index.vue
  21. 4
      pages/mainPages/login/minLogin.vue
  22. 54
      pages/mainPages/sendInformation/sendInformation.vue
  23. 2
      pages/mainPages/userCenter/userCenter.vue
  24. 2
      pages/mainPages/userset/userset.vue
  25. 6
      pages/subPages/goods/index.css
  26. 5
      pages/subPages/homepage/chat/chat.vue
  27. 8
      pages/subPages/homepage/homepage/homepage.vue
  28. 6
      pages/subPages/homepage/private/private.vue
  29. 6
      pages/subPages/mineCollection/mineCollection.vue
  30. 2
      pages/subPages/orderList/orderDetails/orderDetails.vue
  31. 2
      pages/subPages/orderList/orderList.vue
  32. 3
      pages/subPages/paySuccess/paySuccess.vue
  33. 25
      pages/subPages/postRelease/postRelease.vue
  34. 3
      pages/subPages/receivingAddress/addReceivingAddress/addReceivingAddress.vue
  35. 31
      pages/subPages/search/search.vue
  36. 7
      pages/subPages/submitOrder/submitOrder.vue
  37. 82
      pages/subPages2/hirePlatform/curriculumVitae/curriculumVitae.vue
  38. 11
      pages/subPages2/hirePlatform/postRecruitment/postRecruitment.vue
  39. 8
      pages/subPages2/hirePlatform/recruitmentDetails/recruitmentDetails.vue
  40. 10
      pages/subPages2/hirePlatform/recruitmentEnter/recruitmentEnter.vue
  41. 71
      pages/subPages2/hirePlatform/resume/resume.vue
  42. 70
      pages/subPages2/subscription/subscription.vue
  43. 32
      pages/subPages2/userInfo/userInfo.vue
  44. 37
      pagesA/businessCooperation/index.vue
  45. 35
      pagesA/campusActivities/activitiesExtend.vue
  46. 25
      pagesA/campusActivities/campusActivities.vue
  47. 2
      pagesA/campusActivities/index.vue
  48. 16
      pagesA/campusActivities/myActivities.vue
  49. 505
      pagesA/communityClassification/communityClassification.vue
  50. 27
      pagesA/identityList/bloggerCertification.vue
  51. 20
      pagesA/identityList/identityList.vue
  52. 27
      pagesA/identityList/teacherCertification.vue
  53. 5
      pagesA/instantMessenger/instantMessenger.vue
  54. 50
      pagesA/pictureTextDetails/pictureTextDetails.vue
  55. 10
      pagesA/studentIdentification/studentIdentification.vue

9
components/jin-edit/jin-edit.vue

@ -23,7 +23,7 @@
<jinIcon class="single" type="&#xe6eb;" font-size="44rpx" title="分割线" @click="insertDivider"></jinIcon> <jinIcon class="single" type="&#xe6eb;" font-size="44rpx" title="分割线" @click="insertDivider"></jinIcon>
<jinIcon class="single" type="&#xe6e8;" font-size="44rpx" title="撤销" @click="undo"></jinIcon> <jinIcon class="single" type="&#xe6e8;" font-size="44rpx" title="撤销" @click="undo"></jinIcon>
<jinIcon class="single" type="&#xe705;" font-size="44rpx" title="重做" @click="redo"></jinIcon> <jinIcon class="single" type="&#xe705;" font-size="44rpx" title="重做" @click="redo"></jinIcon>
<jinIcon class="single" type="&#xeb8a;" font-size="44rpx" title="设置" @click="release(true)"></jinIcon> <jinIcon class="single" type="&#xeb8a;" font-size="44rpx" title="设置" @click="release(true)" :color="set_color"></jinIcon>
</view> </view>
<!-- 文字相关操作 --> <!-- 文字相关操作 -->
<view class="font-more" :style="{ height: showMoreTool ? '100rpx' : 0 }"> <view class="font-more" :style="{ height: showMoreTool ? '100rpx' : 0 }">
@ -109,7 +109,8 @@ export default {
showCenter: false, showCenter: false,
showRight: false, showRight: false,
showSettingLayer: false, showSettingLayer: false,
activeColor: '#F56C6C' activeColor: '#F56C6C',
set_color: '#509DFD',
}; };
}, },
components: { components: {
@ -308,12 +309,14 @@ export default {
this.showSettingLayer = !this.showSettingLayer; this.showSettingLayer = !this.showSettingLayer;
}, },
async editFocus() { async editFocus() {
this.set_color = "#509DFD";
this.$emit('editFocus', this.set_color);
}, },
editBlur() { editBlur() {
}, },
release(isPublic) { release(isPublic) {
this.set_color = "#666666";
this.showSettingLayer = false; this.showSettingLayer = false;
this.editorCtx.getContents({ this.editorCtx.getContents({
success: res => { success: res => {

4
components/page/pageComponents/goodsStyle.vue

@ -17,7 +17,7 @@
:style="{ padding: issearch === '1' ? '10rpx 30rpx' : !isdiyPage ? '20rpx' : isdiyPageStyle.padding * 2 + 'rpx' }" :style="{ padding: issearch === '1' ? '10rpx 30rpx' : !isdiyPage ? '20rpx' : isdiyPageStyle.padding * 2 + 'rpx' }"
> >
<view class="goodsBox-left m-right20 p-r" :style="{ 'background-image': 'url(' + goodsItem.logo + ')' }"> <view class="goodsBox-left m-right20 p-r" :style="{ 'background-image': 'url(' + goodsItem.logo + ')' }">
<block v-if="!isdiyPage"><view class="marker_set col-f f-24" style="background-color: #FF4444;">抢购</view></block> <block v-if="!isdiyPage"><view class="marker_set col-f f-24" style="background-color: #82d0f7;">抢购</view></block>
<block v-else> <block v-else>
<block v-if="isdiyPageParams.marker_set === '1'"> <block v-if="isdiyPageParams.marker_set === '1'">
<view class="marker_set col-f f-24" :style="{ backgroundColor: isdiyPageStyle.marker_bg, color: isdiyPageStyle.marker_color }">抢购</view> <view class="marker_set col-f f-24" :style="{ backgroundColor: isdiyPageStyle.marker_bg, color: isdiyPageStyle.marker_color }">抢购</view>
@ -55,7 +55,7 @@
> >
{{ goodsItem.is_follow === 0 || goodsItem.is_show === 0 ? '提醒我' : '已关注' }} {{ goodsItem.is_follow === 0 || goodsItem.is_show === 0 ? '提醒我' : '已关注' }}
</view> </view>
<view class="coupon-btn col-f f-24 t-c" :style="{ backgroundColor: goodsItem.stk === 0 ? '#CCCCCC' : '#FF4444' }" v-if="goodsItem.status === '2'"> <view class="coupon-btn col-f f-24 t-c" :style="{ backgroundColor: goodsItem.stk === 0 ? '#CCCCCC' : '#82d0f7' }" v-if="goodsItem.status === '2'">
{{ goodsItem.stk === 0 ? '已售罄' : '马上抢' }} {{ goodsItem.stk === 0 ? '已售罄' : '马上抢' }}
</view> </view>
<view class="coupon-btn col-f f-24 t-c" style="background-color: #CCCCCC;" v-if="goodsItem.status === '3'">已结束</view> <view class="coupon-btn col-f f-24 t-c" style="background-color: #CCCCCC;" v-if="goodsItem.status === '3'">已结束</view>

17
components/page/pageComponents/tabMenu.vue

@ -163,6 +163,10 @@
default: function() { default: function() {
return {} return {}
} }
},
isLogin:{
type: Boolean,
default: true
} }
}, },
methods: { methods: {
@ -203,6 +207,19 @@
} }
// #endif // #endif
let tk = uni.getStorageSync('weliam_user_token');//
if(!tk){
uni.showToast({
title: '请先登录',
icon: 'none'
})
setTimeout(()=>{
uni.navigateTo({
url: '/pages/mainPages/login/minLogin'
})
}, 1000)
return;
}
App.navigationTo({ App.navigationTo({
url url
}) })

24
components/template/PhoneMask.vue

@ -4,33 +4,33 @@
<view v-if="overlay1" class="pop__mask" @touchmove="touchmove" :class="{'pop__mask--hide':!showOverlay1}" @click="handleMaskClick1"></view> <view v-if="overlay1" class="pop__mask" @touchmove="touchmove" :class="{'pop__mask--hide':!showOverlay1}" @click="handleMaskClick1"></view>
<view class="pop__container" :style="{zIndex: zIndex}" @touchmove="touchmove"> <view class="pop__container" :style="{zIndex: zIndex}" @touchmove="touchmove">
<view class="show"> <view class="show">
<image :src="imgfixUrls + 'merchant/addPhone.png'" /> <image class="image1" :src="imgfixUrls + 'merchant/addPhone.png'" />
<view class="showPackage"> <view class="showPackage">
<view class="showTitle"><span>绑定手机号</span></view> <view class="showTitle"><span>绑定手机号</span></view>
<view class="userNameInput"> <view class="userNameInput">
<view class="phones" style="font-size: 20upx;"> <view class="phones" style="font-size: 20upx;">
手机号: 手机号:
</view> </view>
<input v-if="show1" :class="show1?'faluhd':'ruleInputs'" :disabled="!show1" style="padding-left: 100upx;" v-model="phone" @blur="blurIos"/> <input class="n_input" v-if="show1" :class="show1?'faluhd':'ruleInputs'" :disabled="!show1" style="padding-left: 100upx;" v-model="phone" @blur="blurIos"/>
</view> </view>
<view class="userSmsInput" v-if="verifyCode == 1"> <view class="userSmsInput" v-if="verifyCode == 1">
<view class="phones" style="font-size: 20upx;"> <view class="phones" style="font-size: 20upx;">
图形验证码: 图形验证码:
</view> </view>
<input v-if="show1" :class="show1?'faluhd':'ruleInputs'" type="number" :disabled="!show1" maxlength="4" v-model="txMode" style="padding-left:150upx;width: 150upx;" @blur="blurIos"/> <input class="s_input" v-if="show1" :class="show1?'faluhd':'ruleInputs'" type="number" :disabled="!show1" maxlength="4" v-model="txMode" style="padding-left:150upx;width: 150upx;" @blur="blurIos"/>
<image class="getSms" :src="getImgUrl" @click="GVC" /> <image class="getSms" :src="getImgUrl" @click="GVC" />
</view> </view>
<view class="userSmsInput" v-if="smsver == 0"> <view class="userSmsInput" v-if="smsver == 0">
<view class="phones" style="font-size: 20upx;"> <view class="phones" style="font-size: 20upx;">
验证码: 验证码:
</view> </view>
<input v-if="show1" :class="show1?'faluhd':'ruleInputs'" :disabled="!show1" type="number" maxlength="4" v-model="smsCode" style="padding-left:100upx;" @blur="blurIos"/> <input class="s_input" v-if="show1" :class="show1?'faluhd':'ruleInputs'" :disabled="!show1" type="number" maxlength="4" v-model="smsCode" style="padding-left:100upx;" @blur="blurIos"/>
<view class="getSms" @click.stop="PIN" v-if="timeCount == 0"><span>获取验证码</span></view> <view class="getSms" @click.stop="PIN" v-if="timeCount == 0"><span class="span1">获取验证码</span></view>
<view class="getSms" v-else> <view class="getSms" v-else>
<span>{{ timeEnd }}</span> <span class="span1">{{ timeEnd }}</span>
</view> </view>
</view> </view>
<view class="showSubmitButton" @click="changeMobile"><span>绑定手机号</span></view> <view class="showSubmitButton" @click="changeMobile"><span class="span2">绑定手机号</span></view>
</view> </view>
</view> </view>
</view> </view>
@ -387,7 +387,7 @@
border-radius: 20upx; border-radius: 20upx;
overflow: hidden; overflow: hidden;
>image { >.image1 {
width: 600upx; width: 600upx;
height: 112upx; height: 112upx;
} }
@ -418,7 +418,7 @@
background: rgba(248, 248, 248, 1); background: rgba(248, 248, 248, 1);
border-radius: 10upx; border-radius: 10upx;
>input { >.n_input {
height: 90upx; height: 90upx;
margin-left: 30upx; margin-left: 30upx;
font-size: 28upx; font-size: 28upx;
@ -435,7 +435,7 @@
margin-top: 20upx; margin-top: 20upx;
position: relative; position: relative;
>input { >.s_input {
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;
height: 90upx; height: 90upx;
@ -456,7 +456,7 @@
border-radius: 6upx; border-radius: 6upx;
text-align: center; text-align: center;
>span { >.span1 {
line-height: 58upx; line-height: 58upx;
font-size: 24upx; font-size: 24upx;
@ -472,7 +472,7 @@
border-radius: 37upx; border-radius: 37upx;
text-align: center; text-align: center;
>span { >.span2 {
line-height: 74upx; line-height: 74upx;
font-size: 28upx; font-size: 28upx;

6
components/template/diypages.vue

@ -582,7 +582,7 @@
<!-- menu 按钮组 - 新加注释 - 首页的按钮组使用这个 --> <!-- menu 按钮组 - 新加注释 - 首页的按钮组使用这个 -->
<view class="btngroup" :style="{marginBottom:item.style.marginbottom*2+'rpx',backgroundColor:item.btngroupData.backgroundColor,padding:'0'+' '+item.style.leftRight*2+'rpx'}" <view class="btngroup" :style="{marginBottom:item.style.marginbottom*2+'rpx',backgroundColor:item.btngroupData.backgroundColor,padding:'0'+' '+item.style.leftRight*2+'rpx'}"
v-if="item.id == 'menu'"> v-if="item.id == 'menu'">
<tab-menu :menuId="item.id" :btngroupData="item.btngroupData"></tab-menu> <tab-menu :menuId="item.id" :btngroupData="item.btngroupData" :isLogin="isLogin"></tab-menu>
</view> </view>
<!-- menu 按钮组 --> <!-- menu 按钮组 -->
@ -1637,6 +1637,10 @@
default: function() { default: function() {
return '' return ''
} }
},
isLogin:{
type: Boolean,
default: true
} }
}, },
computed: { computed: {

4
components/template/nonemores.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="container-image"> <view class="container-image">
<view class="iamges-box"> <view class="iamges-box">
<image :src="!!propsImagesSrc?propsImagesSrc:imageSrc" mode="widthFix"></image> <image class="image" :src="!!propsImagesSrc?propsImagesSrc:imageSrc" mode="widthFix"></image>
<block v-if="propsdiyTitleType==='Data'"> <block v-if="propsdiyTitleType==='Data'">
<view class="title f-24 col-9">{{!!propsdiyTitle?propsdiyTitle:languageStatus!=1?'暂无数据,快去逛逛吧~':'쇼핑하러 가기'}}</view> <view class="title f-24 col-9">{{!!propsdiyTitle?propsdiyTitle:languageStatus!=1?'暂无数据,快去逛逛吧~':'쇼핑하러 가기'}}</view>
</block> </block>
@ -89,7 +89,7 @@
align-items: center align-items: center
} }
.iamges-box image { .iamges-box .image {
width: 580upx; width: 580upx;
height: 270upx; height: 270upx;
display: block; display: block;

13
components/template/partTimeJob.vue

@ -31,12 +31,12 @@
</view> </view>
<view style="flex: 0.99;padding-left: 10upx;display: flex;flex-direction: column;justify-content: space-between;margin-bottom: 25rpx;"> <view style="flex: 0.99;padding-left: 10upx;display: flex;flex-direction: column;justify-content: space-between;margin-bottom: 25rpx;">
<view class="dis-flex" style="justify-content: space-between;overflow: hidden;"> <view class="dis-flex" style="justify-content: space-between;overflow: hidden;">
<view class="dis-il-block company-name" style="color: #000;font-size: 30upx;"> <view class="dis-il-block company-name" style="color: #000;font-size: 30upx;width: 70%;">
{{item.title}}
</view> <span>{{item.title}}</span>
<view class="dis-il-block wprk-top" v-if="item.is_top != 0"> <span class="dis-il-block wprk-top" v-if="item.is_top != 0"></span>
</view> </view>
<!-- <view class="dis-il-block wprk-top" v-if="item.is_top != 0"></view> -->
<view style="font-size: 30upx;font-family: DINPro; <view style="font-size: 30upx;font-family: DINPro;
font-weight: 600;color: #FF4444;flex:1;text-align: right;">{{item.salary}}</view> font-weight: 600;color: #FF4444;flex:1;text-align: right;">{{item.salary}}</view>
<view class="dis-il-block company-authentication" v-if="item.release.is_authentication != 0"> <view class="dis-il-block company-authentication" v-if="item.release.is_authentication != 0">
@ -123,8 +123,9 @@
font-size: 22upx; font-size: 22upx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
padding: 2upx 5upx;
margin-left: 20upx; margin-left: 20upx;
width: 18px;height: 18px;
line-height: 18px;text-align: center;
color: #FFFFFF; color: #FFFFFF;
} }
.workList{ .workList{

16
components/template/pic_text/pic_text.vue

@ -15,7 +15,7 @@
<view class="btn2" v-if="itemInfos.is_interest && !itemInfos.is_it_mine" @click.stop="interestCancel">取消关注</view> <view class="btn2" v-if="itemInfos.is_interest && !itemInfos.is_it_mine" @click.stop="interestCancel">取消关注</view>
</view> </view>
<view style="margin: 5px 0;font-size: 14px;color: #333;"> <view style="margin: 5px 0;font-size: 14px;color: #333;">
<view style="color: #ffd900;line-height: 20px;"> <view style="color: #82d0f7;line-height: 20px;">
<text v-if="itemInfos.onetype">#{{itemInfos.onetype}}#</text> <text v-if="itemInfos.onetype">#{{itemInfos.onetype}}#</text>
<text v-if="itemInfos.one_name">{{' '+'#'+itemInfos.one_name}}#</text> <text v-if="itemInfos.one_name">{{' '+'#'+itemInfos.one_name}}#</text>
<text v-if="itemInfos.share_title">{{' '+'#'+itemInfos.share_title}}#</text> <text v-if="itemInfos.share_title">{{' '+'#'+itemInfos.share_title}}#</text>
@ -55,7 +55,8 @@
<video object-fit="contain" :id="'myvideo'+index" :src="itemInfos.video_link" @click.stop="" <video object-fit="contain" :id="'myvideo'+index" :src="itemInfos.video_link" @click.stop=""
class="videoPlay" :poster='itemInfos.video_img_link' @loadedmetadata="changeSize" class="videoPlay" :poster='itemInfos.video_img_link' @loadedmetadata="changeSize"
:style="{width:videoWidth, height: videoHeight}" @play="stopOther()"></video> :style="{width:videoWidth, height: videoHeight}" @play="stopOther()" :enable-play-gesture="true"
@fullscreenchange="fullscreenchange"></video>
<!-- 一版视频和封面一致的 --> <!-- 一版视频和封面一致的 -->
<!-- <view class="videoPlay" style="position: absolute;left: calc(46vw - 315rpx);top: 0;" <!-- <view class="videoPlay" style="position: absolute;left: calc(46vw - 315rpx);top: 0;"
@ -128,6 +129,7 @@ export default {
query: '', query: '',
singleImgW: '2', singleImgW: '2',
singleImgH: '1', singleImgH: '1',
isFullScreen: false
} }
}, },
components:{ components:{
@ -139,6 +141,7 @@ export default {
require: true require: true
}, },
isDetail: { isDetail: {
// falsetruetrue
type: Boolean, type: Boolean,
default: false default: false
}, },
@ -170,9 +173,13 @@ export default {
if(this.index!==this.currentPlay){ if(this.index!==this.currentPlay){
// //
this.videoContext.stop(); this.videoContext&&this.videoContext.stop();
}else{ }else{
// //
if(this.isFullScreen){
return;
// ()
}
this.query.select('.video-wrapper').boundingClientRect(data=>{ this.query.select('.video-wrapper').boundingClientRect(data=>{
if(data){ if(data){
// console.log(data.top,'',data); // console.log(data.top,'',data);
@ -384,6 +391,9 @@ export default {
updateImgH(){ updateImgH(){
return { height: `calc(${this.singleImgH} / ${this.singleImgW} * 50vw)` }; return { height: `calc(${this.singleImgH} / ${this.singleImgW} * 50vw)` };
}, },
fullscreenchange(e){
this.isFullScreen = e.detail.fullScreen;
},
}, },
onReady(){ onReady(){
// createVideoContext uni video // createVideoContext uni video

57
components/template/pic_text/pic_text_list.vue

@ -2,7 +2,7 @@
<view class=""> <view class="">
<block v-for="(item, index) in communityList" :key="index"> <block v-for="(item, index) in communityList" :key="index">
<view @click="toDetails(item.id)" style="border-bottom: 1px solid #efefef;"> <view @click="toDetails(item.id)" style="border-bottom: 1px solid #efefef;">
<pic-text :info="item" :index="index" :stopVideo="stopVideo" :currentPlay="currentPlay" @changePlay="changePlay()"></pic-text> <pic-text :isDetail="isClass" :info="item" :index="index" :stopVideo="stopVideo" :currentPlay="currentPlay" @changePlay="changePlay()"></pic-text>
</view> </view>
</block> </block>
</view> </view>
@ -14,29 +14,28 @@
export default { export default {
data(){ data(){
return { return {
communityList: [],
stopVideo: 0, stopVideo: 0,
scrollTimer: null, scrollTimer: null,
currentPlay: -2,//,-2 currentPlay: -2,//,-2
} }
}, },
props:{ props:{
tab1Page: {
type: Number
},
scrollLock: { scrollLock: {
type: Boolean type: Boolean
},
communityList: {
type: Array
},
isClass: {
// falsetrue
type: Boolean,
default: false
} }
}, },
components:{ components:{
picText picText
}, },
watch: { watch: {
tab1Page: {
handler(newVal, oldVal){
this.getList(newVal, true)
}
},
scrollLock: { scrollLock: {
handler(newVal, oldVal){ handler(newVal, oldVal){
this.handlerScroll(); this.handlerScroll();
@ -44,7 +43,7 @@
} }
}, },
created() { created() {
this.getList(this.tab1Page);
}, },
methods: { methods: {
// //
@ -53,42 +52,6 @@
url:"/pagesA/pictureTextDetails/pictureTextDetails?id=" + id url:"/pagesA/pictureTextDetails/pictureTextDetails?id=" + id
}) })
}, },
//
getList(page = 1, isPage = false){
let _this = this;
let data = {
id: 0,//0
two_id: undefined,
page,
page_index: 10,
homeflag: 1,
keyword: '',
};
App._post_form('&p=pocket&do=infoList', data, res => {
let list = [];
if (!isPage) {
if (res.data.list.length > 0) {
list = res.data.list;
_this.setData({
communityList: list
})
} else {
// _this.noMore1 = true;
_this.$emit('changenoMore1', true);
}
}else{//
if (res.data.list.length > 0){
list = [..._this.communityList, ...res.data.list];
_this.setData({
communityList: list
})
}else{
// _this.noMore1 = true;
_this.$emit('changenoMore1', true);
}
}
});
},
handlerScroll(){ handlerScroll(){
if(this.scrollLock){ if(this.scrollLock){
clearTimeout(this.scrollTimer); clearTimeout(this.scrollTimer);

60
components/template/postListTwo.vue

@ -1,10 +1,11 @@
<template> <template>
<view class="postListTwo" @click="goPostDetails"> <view class="postListTwo" @click="goPostDetails">
<image v-if="itemInfos.img[0]" :src="itemInfos.img[0]" mode="aspectFill" @click.stop="imgPre(itemInfos.shareimg)"></image> <image class="img-video-area" v-if="itemInfos.img[0]" :src="itemInfos.img[0]" mode="aspectFill" @click.stop="imgPre(itemInfos.shareimg)"></image>
<!-- <image v-else :src="itemInfos.video_img_link" mode="aspectFill"></image> --> <!-- <image v-else :src="itemInfos.video_img_link" mode="aspectFill"></image> -->
<video class="pagevideo" :id="'pagevideo'+indexNumber" v-else object-fit="cover" <video class="img-video-area pagevideo" :id="'pagevideo'+indexNumber" v-else object-fit="cover"
:src="itemInfos.video_link" @click.stop="" :poster="itemInfos.video_img_link" :src="itemInfos.video_link" @click.stop="" :poster="itemInfos.video_img_link"
@play="stopOther()"></video> @play="stopOther()" :enable-play-gesture="true"
@fullscreenchange="fullscreenchange"></video>
<view class="cont"> <view class="cont">
{{itemInfos.content}} {{itemInfos.content}}
</view> </view>
@ -95,6 +96,7 @@
isShowMenu: false, isShowMenu: false,
videoContext: null, videoContext: null,
query: '', query: '',
isFullScreen: false
}; };
}, },
watch: { watch: {
@ -114,26 +116,32 @@
if(!!this.itemInfos.video_link){ if(!!this.itemInfos.video_link){
// this.videoContext.stop(); // this.videoContext.stop();
if(this.indexNumber!==this.currentPlay){ setTimeout(()=>{
// if(this.indexNumber!==this.currentPlay){
this.videoContext.stop(); //
}else{ this.videoContext.stop();
// }else{
this.query.select('.pagevideo').boundingClientRect(data=>{ //
if(data){ if(this.isFullScreen){
// console.log(data.top,''); return;
if(data.top<80||data.top==80){ // ()
// console.log('');
this.videoContext.stop();
}
let winH = uni.getSystemInfoSync().windowHeight;
if(data.bottom + 85 == winH || data.bottom + 85 > winH){
// console.log('');
this.videoContext.stop();
}
} }
}).exec(); this.query.select('.pagevideo').boundingClientRect(data=>{
} if(data){
// console.log(data.top,'');
if(data.top<80||data.top==80){
// console.log('');
this.videoContext.stop();
}
let winH = uni.getSystemInfoSync().windowHeight;
if(data.bottom + 85 == winH || data.bottom + 85 > winH){
// console.log('');
this.videoContext.stop();
}
}
}).exec();
}
}, 200)
} }
} }
} }
@ -232,6 +240,10 @@
stopOther(){ stopOther(){
this.$emit('changePlay', this.indexNumber); this.$emit('changePlay', this.indexNumber);
}, },
fullscreenchange(e){
// console.log(e, '---');
this.isFullScreen = e.detail.fullScreen;
},
} }
}; };
@ -247,13 +259,13 @@
min-height: 265px; min-height: 265px;
-webkit-transform: translate3d(0, 0, 0);//,ios -webkit-transform: translate3d(0, 0, 0);//,ios
// video{ // video{//使
// border-top-left-radius: 8px; // border-top-left-radius: 8px;
// border-top-right-radius: 8px; // border-top-right-radius: 8px;
// overflow: hidden; // overflow: hidden;
// } // }
} }
image, video{ .img-video-area{
width: 100%; width: 100%;
height: 200px; height: 200px;
} }

4
components/template/tabBar.vue

@ -11,14 +11,14 @@
</view> </view>
<view v-else> <view v-else>
<view class="iconfont tabbar-item-icon" :class="item.iconclass" :style="current===index?'color:'+TabBarsData.style.iconcoloron:'color:'+TabBarsData.style.iconcolor"></view> <view class="iconfont tabbar-item-icon" :class="item.iconclass" :style="current===index?'color:'+TabBarsData.style.iconcoloron:'color:'+TabBarsData.style.iconcolor"></view>
<view class="f-24" :style="current===index?'color:'+'#509DFD':'color:'+TabBarsData.style.textcolor">{{item.text}}</view> <view class="f-24" :style="current===index?'color:'+'#82d0f7':'color:'+TabBarsData.style.textcolor">{{item.text}}</view>
</view> </view>
</view> </view>
<view class="navstyle-3-item" v-if="TabBarsData.params.navstyle==='2'" :class="(isTip && index=='2')?'msg_tip':''"> <view class="navstyle-3-item" v-if="TabBarsData.params.navstyle==='2'" :class="(isTip && index=='2')?'msg_tip':''">
<view class="navstyle-image" :style="{'background-image':current===index?'url('+item.select_img+')':'url('+item.default_img+')'}"></view> <view class="navstyle-image" :style="{'background-image':current===index?'url('+item.select_img+')':'url('+item.default_img+')'}"></view>
<!-- <view class="f-24 t-c" :style="current===index?'color:'+TabBarsData.style.textcoloron:'color:'+TabBarsData.style.textcolor">{{item.text}}</view> --> <!-- <view class="f-24 t-c" :style="current===index?'color:'+TabBarsData.style.textcoloron:'color:'+TabBarsData.style.textcolor">{{item.text}}</view> -->
<view class="f-24 t-c" :style="current===index?'color:'+'#509DFD':'color:'+TabBarsData.style.textcolor">{{item.text}}</view> <view class="f-24 t-c" :style="current===index?'color:'+'#82d0f7':'color:'+TabBarsData.style.textcolor">{{item.text}}</view>
</view> </view>
</view> </view>
</view> </view>

118
components/template/tabs/tabs-copy.vue

@ -22,7 +22,7 @@
</swiper-item> </swiper-item>
</swiper> </swiper>
<scroll-view class="tabs-video" :scroll-x="true"> <scroll-view class="tabs-video" :scroll-x="true">
<view v-for="(item3,index3) in videoList" :key="index3" class="tabs-video-item"> <view v-for="(item3,index3) in videoList" :key="item3.id" class="tabs-video-item">
<view style=""> <view style="">
<video @click="handleV(item3)" :src="item3.video_link" object-fit="cover" <video @click="handleV(item3)" :src="item3.video_link" object-fit="cover"
:show-center-play-btn="false" :controls="false" :direction="0" :poster="item3.video_cover"></video> :show-center-play-btn="false" :controls="false" :direction="0" :poster="item3.video_cover"></video>
@ -41,14 +41,32 @@
<video id="myvideo" :src="videolint" <video id="myvideo" :src="videolint"
:style="updateWH" class="myvideo" :show-play-btn="false" object-fit="cover" :style="updateWH" class="myvideo" :show-play-btn="false" object-fit="cover"
@click.stop="videoControl" :show-fullscreen-btn="false" :autoplay="true" :direction="0" @click.stop="videoControl" :show-fullscreen-btn="false" :autoplay="true" :direction="0"
@loadedmetadata="changeSize" @ended="play=false"></video> @loadedmetadata="loadedmetadata" @ended="play=false" :controls="false" @timeupdate="timeUpdate"></video>
<view class="videoNavBar"> <view class="videoNavBar">
<text class="iconfont icon-roundleftfill" style="font-size: 48upx;" @click="hideVideo"></text> <text class="iconfont icon-roundleftfill" style="font-size: 48upx;" @click="hideVideo"></text>
</view> </view>
<view class="playBtnArea" @click.stop="videoControl" v-if="!play"> <view class="playBtnArea" @click.stop="videoControl" v-if="!play">
<img :src="imageRootNew+'play.png'" alt=""> <img :src="imageRootNew+'play.png'" alt="">
</view> </view>
<view class="videoTxt"> <view class="videoTxt">
<!-- 自定义进度栏 -->
<view class="slider-view" @click.stop>
<slider
v-model="currentTime"
min="0"
:step="0.1"
:max="duration"
activeColor="#82d0f7"
block-size="18"
@changing="sliderChanging"
@change="sliderChange"
></slider>
<view style="display: flex;justify-content: space-between;padding: 0px 15px;font-size: 12px;">
<view class="">{{currentTime | durationHandler}}</view>
<view class="">{{duration | durationHandler}}</view>
</view>
</view>
<view class="text-area"> <view class="text-area">
<!-- <image src="../../../static/chooseCade/BG.png" mode="" <!-- <image src="../../../static/chooseCade/BG.png" mode=""
style="width: 80upx;height: 80upx;background: #FFF;border-radius: 50%;overflow: hidden;"></image> --> style="width: 80upx;height: 80upx;background: #FFF;border-radius: 50%;overflow: hidden;"></image> -->
@ -152,17 +170,36 @@
commentShow: false, commentShow: false,
currentVideoW: '', currentVideoW: '',
currentVideoH: '', currentVideoH: '',
play: true,
editComment: '', editComment: '',
pid: '',// id pid: '',// id
oneid: '',// id oneid: '',// id
placeholderText: '输入评论', placeholderText: '输入评论',
comment_onePage: 1, comment_onePage: 1,
play: true,//
//
currentTime: 0,
//
duration: 0.1,
//
isDrag: false,
//
dragStarTime: '',
dragEndTime: '',
} }
}, },
components: { components: {
PopManager PopManager
}, },
filters: {
durationHandler(second){
let h = Math.floor(second/3600);
let m = Math.floor((second%3600)/60);
m = m<10?'0'+m:m
let s = (Math.floor(second)%3600)%60;
s = s<10?'0'+s:s
return h ? (h<10?'0'+h:h)+':'+m+':'+s : m+':'+s;
}
},
props: { props: {
pageType: { pageType: {
type: Number | String, type: Number | String,
@ -495,12 +532,65 @@
// this.placeholderText = ''; // this.placeholderText = '';
}, },
changeSize(e){ //
timeUpdate (e) {
//
if (!this.isDrag) {
//
const { currentTime } = e.detail
this.currentTime = currentTime
//
if (Math.trunc(this.currentTime) === Math.trunc(this.duration)) {
// this.$emit('playcomplete', e)
}
//
// this.$emit('timeupdate', e)
}
},
//
sliderChange (e) {
console.log(e)
//
this.isDrag = false
//
if (this.duration > 0.1) {
//
this.videoContext.seek(e.detail.value)
//
this.videoContext.play()
this.play = true;
}
},
//
sliderChanging (value) {
//
this.isDrag = true;
this.videoContext.pause();
this.play = false;
//
this.reloadVideoTime()
},
//
reloadVideoTime () {
//
// this.dragStarTime = this.$pub.TIME_CONVERT(this.currentTime)
this.dragStarTime = this.currentTime
//
// this.dragEndTime = this.$pub.TIME_CONVERT(this.duration)
this.dragEndTime = this.duration
},
//
loadedmetadata (e) {
// console.log(e.detail.width, e.detail.height, ''); // console.log(e.detail.width, e.detail.height, '');
this.currentVideoW = e.detail.width; this.currentVideoW = e.detail.width;
this.currentVideoH = e.detail.height; this.currentVideoH = e.detail.height;
},
const { duration } = e.detail
//
this.duration = duration
//
// this.$emit('loadcomplete')
},
} }
} }
</script> </script>
@ -509,7 +599,7 @@
.search-box{ .search-box{
width: 100%; width: 100%;
height: 34px; height: 34px;
border: 1px solid #509DFD; border: 1px solid #82d0f7;
border-radius: 30px; border-radius: 30px;
background-color: #fff; background-color: #fff;
display: flex; display: flex;
@ -522,7 +612,7 @@
.search-btn{ .search-btn{
width: 120upx; width: 120upx;
height: 30px; height: 30px;
background-color: #509DFD; background-color: #82d0f7;
border-radius: 15px; border-radius: 15px;
color: #fff; color: #fff;
font-size: 12px; font-size: 12px;
@ -560,7 +650,7 @@
bottom: 0px; bottom: 0px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
background-color: #509DFD; background-color: #82d0f7;
border-radius: 2px; border-radius: 2px;
} }
&.active2{ &.active2{
@ -653,25 +743,29 @@
height: 100%; height: 100%;
} }
} }
.myvideo{ .myvideo{
position: absolute; position: absolute;
} }
.videoTxt{ .videoTxt{
width: 100vw; width: 100vw;
position: absolute; position: absolute;
left: 0upx; left: 0px;
bottom: 0; bottom: 0;
z-index: 1; z-index: 1;
font-size: 28upx; font-size: 28upx;
padding: 20upx 0upx 80upx; padding: 80upx 0upx 80upx;
box-sizing: border-box; box-sizing: border-box;
color: #ddd; color: #ddd;
// background-color: rgba(255,255,255,0.1); // background-color: rgba(255,255,255,0.1);
white-space: break-spaces; white-space: break-spaces;
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.4));
.slider-view{
}
.text-area{ .text-area{
padding: 70px 30upx 70upx; padding: 10px 30upx 10upx;
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.4));
} }
.comment-wrapper{ .comment-wrapper{
height: 25px; height: 25px;

20
components/template/workList.vue

@ -4,10 +4,9 @@
<view class="work-title" :style="{border: tabStyle?'none':'1upx solid #EEEEEE;'}"> <view class="work-title" :style="{border: tabStyle?'none':'1upx solid #EEEEEE;'}">
<view class="dis-il-block work-name"> <view class="dis-il-block work-name">
{{item.title}} {{item.title}}
<span class="dis-il-block wprk-top" v-if="item.is_top != 0"></span>
</view> </view>
<view class="dis-il-block wprk-top" v-if="item.is_top != 0"> <!-- <view class="dis-il-block wprk-top" v-if="item.is_top != 0"></view> -->
</view>
<view class="wprk-pay"> <view class="wprk-pay">
{{item.salary}} {{item.salary}}
</view> </view>
@ -50,6 +49,8 @@
</view> </view>
<view class="release-data"> <view class="release-data">
<image :src="item.video_img_link" mode="aspectFill" class="title-video"></image> <image :src="item.video_img_link" mode="aspectFill" class="title-video"></image>
<!-- 求职列表可见 -->
<view class="submit_status" v-if="item.submit_status_text">{{item.submit_status_text}}</view>
</view> </view>
</view> </view>
<!-- <view class="company-light"> <!-- <view class="company-light">
@ -130,8 +131,9 @@
font-size: 22upx; font-size: 22upx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
padding: 2upx 5upx;
margin-left: 20upx; margin-left: 20upx;
width: 18px;height: 18px;
line-height: 18px;text-align: center;
color: #FFFFFF; color: #FFFFFF;
} }
.wprk-pay{ .wprk-pay{
@ -220,6 +222,16 @@
height: 190upx; height: 190upx;
margin-bottom: 25upx; margin-bottom: 25upx;
text-align: right; text-align: right;
position: relative;
.submit_status{
position: absolute;
top: 0px;right: 0px;
color: #fff;font-size: 10px;
background: rgba(255,255,255,0.3);
padding: 4px 8px;
border-bottom-left-radius: 10rpx;
}
} }
.title-video{ .title-video{
width: 100%; width: 100%;

10
components/w-picker/date-picker.vue

@ -115,6 +115,10 @@
type:Boolean, type:Boolean,
default:false default:false
}, },
disabledBefore:{//
type:Boolean,
default:false
},
disabledAfter:{// disabledAfter:{//
type:Boolean, type:Boolean,
default:false default:false
@ -182,6 +186,7 @@
let curMinute=curDate.curMinute; let curMinute=curDate.curMinute;
let curSecond=curDate.curSecond; let curSecond=curDate.curSecond;
let months=[],days=[],hours=[],minutes=[],seconds=[]; let months=[],days=[],hours=[],minutes=[],seconds=[];
//
let disabledAfter=this.disabledAfter; let disabledAfter=this.disabledAfter;
let monthsLen=disabledAfter?(year*1<curYear?12:curMonth):12; let monthsLen=disabledAfter?(year*1<curYear?12:curMonth):12;
let totalDays=new Date(year,month,0).getDate();//; let totalDays=new Date(year,month,0).getDate();//;
@ -189,6 +194,11 @@
let hoursLen=disabledAfter?((year*1<curYear||month*1<curMonth||day*1<curDay)?24:curHour+1):24; let hoursLen=disabledAfter?((year*1<curYear||month*1<curMonth||day*1<curDay)?24:curHour+1):24;
let minutesLen=disabledAfter?((year*1<curYear||month*1<curMonth||day*1<curDay||hour*1<curHour)?60:curMinute+1):60; let minutesLen=disabledAfter?((year*1<curYear||month*1<curMonth||day*1<curDay||hour*1<curHour)?60:curMinute+1):60;
let secondsLen=disabledAfter?((year*1<curYear||month*1<curMonth||day*1<curDay||hour*1<curHour||minute*1<curMinute)?60:curSecond+1):60; let secondsLen=disabledAfter?((year*1<curYear||month*1<curMonth||day*1<curDay||hour*1<curHour||minute*1<curMinute)?60:curSecond+1):60;
//
let disabledBefore = this.disabledBefore;
for(let month=1;month<=monthsLen;month++){ for(let month=1;month<=monthsLen;month++){
months.push(this.formatNum(month)); months.push(this.formatNum(month));
}; };

7
components/w-picker/w-picker.vue

@ -16,7 +16,8 @@
:fields="fields" :fields="fields"
:item-height="itemHeight" :item-height="itemHeight"
:current="current" :current="current"
:disabled-after="disabledAfter" :disabledBefore="disabledBefore"
:disabledAfter="disabledAfter"
@change="handlerChange" @change="handlerChange"
@touchstart="touchStart" @touchstart="touchStart"
@touchend="touchEnd"> @touchend="touchEnd">
@ -162,6 +163,10 @@
type:String, type:String,
default:"date" default:"date"
}, },
disabledBefore:{//
type:Boolean,
default:false
},
disabledAfter:{// disabledAfter:{//
type:Boolean, type:Boolean,
default:false default:false

2
manifest.json

@ -136,7 +136,7 @@
"desc" : "你的位置信息将用于小程序位置接口的效果展示" "desc" : "你的位置信息将用于小程序位置接口的效果展示"
} }
}, },
"requiredPrivateInfos" : [ "getLocation", "chooseLocation" ], "requiredPrivateInfos" : [ "getLocation", "chooseLocation", "chooseAddress" ],
"plugins" : { "plugins" : {
"WechatSI" : { "WechatSI" : {
"version" : "0.3.5", "version" : "0.3.5",

8
pages.json

@ -110,6 +110,14 @@
} }
} }
,{
"path" : "pagesA/communityClassification/communityClassification",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "话题分类"
}
}
], ],
"subPackages": [ "subPackages": [
{ {

80
pages/mainPages/Settled/Settled.vue

@ -4,7 +4,7 @@
<loadlogo v-if="!isWxaudit" /> <loadlogo v-if="!isWxaudit" />
<block v-else> <block v-else>
<far-bottom></far-bottom> <far-bottom></far-bottom>
<scroll-view v-if="userInfo.havestore == 1 && page == 1" :scroll-x="false" scroll-y :style="{ height: phoneHeight }" <scroll-view v-if="userInfo.havestore == 1 && page == 1 && 0" :scroll-x="false" scroll-y :style="{ height: phoneHeight }"
class="scoll_view"> class="scoll_view">
<view class="icon_view"><text class="iconfont icon-check"></text></view> <view class="icon_view"><text class="iconfont icon-check"></text></view>
<view class="tips_view"><text class="tips_text">恭喜您,入驻成功</text></view> <view class="tips_view"><text class="tips_text">恭喜您,入驻成功</text></view>
@ -14,10 +14,10 @@
<view class="bittons colorWhite" @click="userInfo.havestore = 0"><text>企业入驻</text></view> <view class="bittons colorWhite" @click="userInfo.havestore = 0"><text>企业入驻</text></view>
</view> </view>
<view class="page-footer"> <view class="page-footer">
<TabBars :tabBarAct="0" /> <!-- <TabBars :tabBarAct="0" /> -->
</view> </view>
</scroll-view> </scroll-view>
<view class="demo" v-else> <view class="demo">
<view class="pagesOne" v-if="page == 1"> <view class="pagesOne" v-if="page == 1">
<view class="backImages" :style="{ 'background-image': 'url(' + (userInfo.top_img) + ')' }"> <view class="backImages" :style="{ 'background-image': 'url(' + (userInfo.top_img) + ')' }">
<view class="main"> <view class="main">
@ -27,6 +27,7 @@
<view class="mainPackage"> <view class="mainPackage">
<!-- 用户信息区域 --> <!-- 用户信息区域 -->
<view class="userInfo"> <view class="userInfo">
<view class="userInfoPackage" style="color: #f00;font-size: 12px;padding-bottom: 4rpx;line-height: 40rpx;" v-if="userInfo.reject">驳回原因{{userInfo.reject}}</view>
<view class="userInfoPackage"> <view class="userInfoPackage">
<view class="firstTitle"> <view class="firstTitle">
<view class="firstTitleName"> <view class="firstTitleName">
@ -186,12 +187,12 @@
<view class="twiceTitle1"> <view class="twiceTitle1">
<view> <view>
<!-- 图片预览循环模板 --> <!-- 图片预览循环模板 -->
<view class="imgPreview" v-if="userInfo.business_license !== ''"> <view class="imgPreview" v-if="userInfo.business_license !== null">
<image :src="imageRootNew2 + userInfo.business_license" /> <image :src="imageRootNew2 + userInfo.business_license" />
<image :src="imgfixUrls + 'merchant/close.png'" class="close" @click="closePreview(7)" /> <image :src="imgfixUrls + 'merchant/close.png'" class="close" @click="closePreview(7)" />
</view> </view>
<!-- 图片预览循环模板 --> <!-- 图片预览循环模板 -->
<view class="userImgUpdata" @click="uploadFiles(7, 1)" v-if="userInfo.business_license == ''"> <view class="userImgUpdata" @click="uploadFiles(7, 1)" v-if="userInfo.business_license == null">
<image :src="imgfixUrls + 'merchant/addImg.svg'" /> <image :src="imgfixUrls + 'merchant/addImg.svg'" />
</view> </view>
</view> </view>
@ -201,7 +202,8 @@
<!-- 营业执照 --> <!-- 营业执照 -->
<!-- 企业信息区域 --> <!-- 企业信息区域 -->
<view class="userInfo" style="margin-top: 30upx;" v-if="userInfo.is_recruit == 1"> <!-- <view class="userInfo" style="margin-top: 30upx;" v-if="userInfo.is_recruit == 1"> -->
<view class="userInfo" style="margin-top: 30upx;">
<view class="userInfoPackage"> <view class="userInfoPackage">
<view class="firstTitle"> <view class="firstTitle">
<view class="firstTitleName"> <view class="firstTitleName">
@ -529,7 +531,7 @@
</PopManager> </PopManager>
<view class="page-footer"> <view class="page-footer">
<TabBars :tabBarAct="0" /> <!-- <TabBars :tabBarAct="0" /> -->
</view> </view>
<follow :followShow="followShow" :followType="followType" :followTitleShow="followTitleShow" @clickmask="openQrShow" <follow :followShow="followShow" :followType="followType" :followTitleShow="followTitleShow" @clickmask="openQrShow"
@closeFollowPop="closeFollowPop" @closeFollowTitle="closeFollowTitle"></follow> @closeFollowPop="closeFollowPop" @closeFollowTitle="closeFollowTitle"></follow>
@ -668,7 +670,7 @@
examine: [], examine: [],
thumbimages: [], thumbimages: [],
cateidArray: [], cateidArray: [],
business_license: '',// business_license: null,//
recruit_brighten: '',// recruit_brighten: '',//
recruit_adv: [],// recruit_adv: [],//
recruit_long_img: [], recruit_long_img: [],
@ -1067,7 +1069,7 @@
} }
} }
if (type == 7) { if (type == 7) {
_this.userInfo.business_license=''; _this.userInfo.business_license=null;
} }
}, },
closeLogo() { closeLogo() {
@ -1282,9 +1284,12 @@
data, data,
res => { res => {
if (res.data.status == '0') { if (res.data.status == '0') {
App.navigationTo({ uni.redirectTo({
url: 'pages/subPages/merchant/merchantChangeShop/merchantChangeShop' url: '/pagesA/identityList/identityList'
}); })
// App.navigationTo({
// url: 'pages/subPages/merchant/merchantChangeShop/merchantChangeShop'
// });
} else { } else {
App.navigationTo({ App.navigationTo({
url: 'pages/mainPages/payment/payment?orderid=' + res.data.orderid url: 'pages/mainPages/payment/payment?orderid=' + res.data.orderid
@ -1308,7 +1313,7 @@
getUserInfo(idis = 111) { getUserInfo(idis = 111) {
let _this = this; let _this = this;
let data = { let data = {
id: '' id: this.e.storeid
}; };
_this.citylist = []; _this.citylist = [];
let listLeft = []; let listLeft = [];
@ -1326,8 +1331,19 @@
// }) // })
// } // }
_this.userInfo = { ..._this.userInfo, _this.userInfo = { ..._this.userInfo,
...res.data ...res.data.store, ...res.data
}; };
// if (_this.switchIndex == 1) {
// this.userInfo.recruit_nature_id = this.userInfo.nature[this.natureIndex].id;
// this.userInfo.recruit_scale_id = this.userInfo.scale[this.scaleIndex].id;
// this.userInfo.recruit_industry_id = this.userInfo.industry[this.industryIndex].id;
// }
// _this.userInfo.address;
// _this.provinceidName = _this.userInfo.provinceid;
// _this.areaidName = _this.userInfo.areaid;
// _this.distidName = _this.userInfo.distid;
if(!_this.userInfo.top_img){ if(!_this.userInfo.top_img){
_this.userInfo.top_img = _this.backImages; _this.userInfo.top_img = _this.backImages;
} }
@ -1361,22 +1377,22 @@
}) })
for (let i = 0; i < res.data.citylist.length; i++) { for (let i = 0; i < res.data.citylist.length; i++) {
cityListLeft.push(res.data.citylist[i]); cityListLeft.push(res.data.citylist[i]);
if (res.data.citylist[i].id == res.data.provinceid) { if (res.data.citylist[i].id == res.data.store.provinceid) {
// _this.provinceidName = res.data.citylist[i].name; _this.provinceidName = res.data.citylist[i].name;
_this.userInfo.provinceid = res.data.citylist[i].id; _this.userInfo.provinceid = res.data.citylist[i].id;
oneNumber = i; oneNumber = i;
_this.cityIndex.push(oneNumber); _this.cityIndex.push(oneNumber);
for (let a = 0; a < res.data.citylist[i].area.length; a++) { for (let a = 0; a < res.data.citylist[i].area.length; a++) {
cityListCenter.push(res.data.citylist[i].area[a]); cityListCenter.push(res.data.citylist[i].area[a]);
if (res.data.citylist[i].area[a].id == res.data.areaid) { if (res.data.citylist[i].area[a].id == res.data.store.areaid) {
// _this.areaidName = res.data.citylist[i].area[a].name; _this.areaidName = res.data.citylist[i].area[a].name;
_this.userInfo.areaid = res.data.citylist[i].area[a].id; _this.userInfo.areaid = res.data.citylist[i].area[a].id;
twoNumber = a; twoNumber = a;
_this.cityIndex.push(twoNumber); _this.cityIndex.push(twoNumber);
for (let c = 0; c < res.data.citylist[i].area[a].dist.length; c++) { for (let c = 0; c < res.data.citylist[i].area[a].dist.length; c++) {
cityListRight.push(res.data.citylist[i].area[a].dist[c]); cityListRight.push(res.data.citylist[i].area[a].dist[c]);
if (res.data.citylist[i].area[a].dist[c].id == res.data.distid) { if (res.data.citylist[i].area[a].dist[c].id == res.data.store.distid) {
// _this.distidName = res.data.citylist[i].area[a].dist[c].name; _this.distidName = res.data.citylist[i].area[a].dist[c].name;
_this.distid = res.data.citylist[i].area[a].dist[c].id; _this.distid = res.data.citylist[i].area[a].dist[c].id;
threeNumber = c; threeNumber = c;
_this.cityIndex.push(threeNumber); _this.cityIndex.push(threeNumber);
@ -1490,7 +1506,7 @@
return; return;
} }
if (_this.userInfo.business_license == '') { if (_this.userInfo.business_license == null) {
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: '请上传营业执照', title: '请上传营业执照',
@ -1536,10 +1552,22 @@
App._post_form('&p=store&do=createStore', data, res => { App._post_form('&p=store&do=createStore', data, res => {
uni.setStorageSync('userId', res.data); uni.setStorageSync('userId', res.data);
_this.userInfo.storeid = res.data.storeid; _this.userInfo.storeid = res.data.storeid;
_this.page = 2; if(res.data.jump_pay===1){
_this.getChargeList(); _this.page = 2;
_this.btnOff = false; _this.getChargeList();
_this.userInfo.store_housekeep_cate = []; _this.btnOff = false;
_this.userInfo.store_housekeep_cate = [];
}else{
uni.showToast({
title: '提交成功'
})
setTimeout(()=>{
uni.navigateBack({
delta: 1
})
}, 1000)
}
}, err=>{ }, err=>{
_this.btnOff = false; _this.btnOff = false;
_this.userInfo.store_housekeep_cate = []; _this.userInfo.store_housekeep_cate = [];
@ -1610,7 +1638,7 @@
} }
// :industryIndextwoLevelList // :industryIndextwoLevelList
if (_this.userInfo.business_license == '') { if (_this.userInfo.business_license == null) {
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: '请上传营业执照', title: '请上传营业执照',

2
pages/mainPages/index/diypage.vue

@ -176,7 +176,7 @@ export default {
title = '学历提升'; title = '学历提升';
break; break;
case '4': case '4':
title = '岗前培训'; title = 'MCN培训';
break; break;
} }
setTimeout(()=>{ setTimeout(()=>{

118
pages/mainPages/index/index.vue

@ -49,13 +49,30 @@
</block> </block>
</view> </view>
</view> </view>
<!-- <view class="">
测试
<video class="img-video-area pagevideo" :id="'pagevideo1'" object-fit="cover" @click.stop=""
src="https://qingyuan.xingtongworld.com/attachment/public_file/weliam_smartcity/1/2023-07-11/27111689069660.mp4" @click.stop=""
:enable-play-gesture="true" :show-play-btn="true" play-btn-position="center"></video>
测试
<video class="img-video-area pagevideo" :id="'pagevideo2'" object-fit="cover" @click.stop=""
src="https://qingyuan.xingtongworld.com/attachment/public_file/weliam_smartcity/1/2023-07-11/43191689069629.mp4" @click.stop=""
:enable-play-gesture="true" :show-play-btn="true" play-btn-position="center"></video>
测试
<video class="img-video-area pagevideo" :id="'pagevideo3'" object-fit="cover" @click.stop=""
src="https://qingyuan.xingtongworld.com/attachment/public_file/weliam_smartcity/1/2023-07-11/99171689068105.mp4" @click.stop=""
:enable-play-gesture="true" :show-play-btn="true" play-btn-position="center"></video>
</view> -->
<view style="margin-top: 10px;"><!-- 临时行间样式上面模块放出后无需margin-top --> <view style="margin-top: 10px;"><!-- 临时行间样式上面模块放出后无需margin-top -->
<view class="dis-flex" style="padding: 0px 10rpx;"> <view class="dis-flex" style="padding: 0px 10rpx;">
<view class="tab-item" :class="tabIndex==1?'active':''" @click="tabIndex=1">学生社区</view> <view class="tab-item" :class="tabIndex==1?'active':''" @click="tabIndex=1">学生社区</view>
<view class="tab-item" :class="tabIndex==2?'active':''" @click="tabIndex=2">资讯</view> <view class="tab-item" :class="tabIndex==2?'active':''" @click="tabIndex=2">资讯</view>
<view style="flex:1;">
<view class="menu_btn" @click="showRightMenu">选择话题</view>
</view>
</view> </view>
<view class="list-con" v-show="tabIndex==1"> <view class="list-con" v-show="tabIndex==1">
<pic-text-list :tab1Page="tab1Page" @changenoMore1="changenoMore1" :scrollLock="scrollLock" @changeScrollLock="changeScrollLock"></pic-text-list> <pic-text-list :communityList="communityList" @changenoMore1="changenoMore1" :scrollLock="scrollLock" @changeScrollLock="changeScrollLock"></pic-text-list>
<!-- <block v-for="(item, index) in communityList" :key="index"> <!-- <block v-for="(item, index) in communityList" :key="index">
<view @click="toDetails(item.id)" style="border-bottom: 1px solid #efefef;"> <view @click="toDetails(item.id)" style="border-bottom: 1px solid #efefef;">
<pic-text :info="item" :index="index" :stopVideo="stopVideo" :currentPlay="currentPlay" @changePlay="changePlay()"></pic-text> <pic-text :info="item" :index="index" :stopVideo="stopVideo" :currentPlay="currentPlay" @changePlay="changePlay()"></pic-text>
@ -124,6 +141,20 @@
<cover-image v-if="shareShow" :src="imageRoot + 'share.png'" class="coverImg"></cover-image> <cover-image v-if="shareShow" :src="imageRoot + 'share.png'" class="coverImg"></cover-image>
</cover-view> </cover-view>
</PopManager> </PopManager>
<PopManager :show="showRight" :type="'top'" @clickmask="showRight = false" class="right_menu">
<cover-view v-if="showRight" class="menu_box">
<cover-view class="menu_close" @click="hideRightMenu">
<cover-image :src="imageRootNew+'mb-plus.png'" class="closeImg"></cover-image>
</cover-view>
<!-- <cover-view class="" style="height: calc(100vh - 210px);overflow-y: scroll;"> 不遮挡底部导航的话 -->
<cover-view class="" style="height: calc(100vh - 130px);overflow-y: scroll;">
<cover-view v-for="(item,index) in menuLists" :key="index" :class="{active:currentMenu==index}"
@click="changeMenu(index, item.id)" class="menu_item">
{{item.title}}
</cover-view>
</cover-view>
</cover-view>
</PopManager>
</view> </view>
</template> </template>
<script> <script>
@ -197,6 +228,9 @@ export default {
scrollLock: false, scrollLock: false,
// scrollTimer: null, // scrollTimer: null,
// currentPlay: -2,//,-2 // currentPlay: -2,//,-2
showRight: false,//
menuLists: [],
currentMenu: null,
}; };
}, },
components: { components: {
@ -216,7 +250,7 @@ export default {
}, },
onLoad(e) { onLoad(e) {
console.log('onLoad') console.log('onLoad')
this.stopVideo = 0; // this.stopVideo = 0;
let _this = this; let _this = this;
let url = 'pages/mainPages/index/index'; let url = 'pages/mainPages/index/index';
let Twodaystime = uni.getStorageSync('Twodaystime'); let Twodaystime = uni.getStorageSync('Twodaystime');
@ -248,12 +282,14 @@ export default {
}) })
},1000) },1000)
//#endif //#endif
// this.getList(this.tab1Page);/// this.getList(this.tab1Page);///
this.getinfoHot(); this.getinfoHot();
this.getHeadlineInfo(this.tab2Page); this.getHeadlineInfo(this.tab2Page);
this.getHeadlineInfoHot() this.getHeadlineInfoHot();
this.getMenu();
}, },
onShow() { onShow() {
this.showRight = false;
return; return;
this.pagenum = this.pagenum + 1; this.pagenum = this.pagenum + 1;
setTimeout(()=>{ setTimeout(()=>{
@ -899,6 +935,27 @@ export default {
}, },
changeScrollLock(e){ changeScrollLock(e){
this.scrollLock = e; this.scrollLock = e;
},
showRightMenu(){
this.showRight = true;
},
hideRightMenu(){
this.showRight = false;
},
changeMenu(i, id){
// this.currentMenu = i;
uni.navigateTo({
url: '/pagesA/communityClassification/communityClassification?index='+i+'&id='+id
})
},
getMenu(){
let data = {
is_two: 1,
is_set: 0
};
App._post_form('&p=pocket&do=classList', data, res => {
this.menuLists = res.data.list;
});
} }
}, },
destroyed() { destroyed() {
@ -942,7 +999,7 @@ export default {
if(this.tabIndex==1){ if(this.tabIndex==1){
if(!this.noMore1){ if(!this.noMore1){
this.tab1Page++; this.tab1Page++;
// this.getList(this.tab1Page, true); this.getList(this.tab1Page, true);
}else{ }else{
uni.showToast({ uni.showToast({
title: '没有更多了', title: '没有更多了',
@ -1160,12 +1217,61 @@ export default {
width: 20px; width: 20px;
height: 12rpx; height: 12rpx;
border-radius: 6rpx; border-radius: 6rpx;
background-color: #f00; background-color: #82d0f7;
position: absolute; position: absolute;
bottom: -2rpx; bottom: -2rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
} }
.menu_btn{
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
border-radius: 100px;
background-color: rgba(81, 156, 251, 1);
color: rgba(255, 255, 255, 1);
font-size: 14px;
text-align: center;
margin: 0px 15px 0px auto;
}
.right_menu{
/deep/ .pop__mask{
z-index: 9999;
/*z-index999使menu_box(cover-viewview)()
对真机不影响
*/
}
.menu_box{
padding-top: 90px;
width: 50vw;height: 100vh;
position: fixed;top: 0px;
left: 50%;z-index: 9999;
background-color: #fff;
}
.menu_close{
margin: 0rpx 0rpx 0rpx 30rpx;
.closeImg{
width: 40rpx;
height: 40rpx;
transform: rotate(45deg);
}
}
.menu_item{
width: 300rpx;
height: 88rpx;
line-height: 88rpx;
border-radius: 5px;
color: #444;
background-color: rgba(227, 245, 245, 1);
text-align: center;
font-size: 14px;
margin: 40rpx auto;
&.active{
color: #fff;
background-color: rgba(103, 209, 252, 1);
}
}
}
</style> </style>

4
pages/mainPages/login/minLogin.vue

@ -108,9 +108,11 @@ export default {
*/ */
authorLogin(e) { authorLogin(e) {
let _this = this, let _this = this,
clientType = _this.$store.state.clientType; clientType = _this.$store.state.clientType;//1 2H5 3
_this.disabled = true; _this.disabled = true;
clientType = 3;//""3;
// uni.showToast({ // uni.showToast({
// title: 'clientType'+clientType // title: 'clientType'+clientType
// }); // });

54
pages/mainPages/sendInformation/sendInformation.vue

@ -47,12 +47,15 @@
<!-- 循环模板 --> <!-- 循环模板 -->
<!-- 如果需要换回滑动切换的菜单itme标签应循环arr,打开arr的数组切割 --> <!-- 如果需要换回滑动切换的菜单itme标签应循环arr,打开arr的数组切割 -->
<!-- <swiper-item > --> <!-- <swiper-item > -->
<view class="classificationLists" v-for="(items, indexs) in arrshop" @click="goPostRelease(items)"> <view v-for="(arrshopItem,arrshopIndex) in arrshop" :key="arrshopIndex" class="classification_box">
<view class="classificationLists" v-for="(items, indexs) in arrshopItem" @click="goPostRelease(items)">
<view><image :src="items.img" /></view> <view><image :src="items.img" /></view>
<view> <view>
<span :style="{ color: items.color }">{{ items.title }}</span> <span :style="{ color: items.color }">{{ items.title }}</span>
</view> </view>
</view> </view>
</view>
<!-- </swiper-item> --> <!-- </swiper-item> -->
<!-- 循环模板 --> <!-- 循环模板 -->
<!-- </swiper> --> <!-- </swiper> -->
@ -239,7 +242,22 @@ export default {
// for (let i = 0; i < _this.classificationListsPage.length; i++) { // for (let i = 0; i < _this.classificationListsPage.length; i++) {
// _this.arr.push(res.data.list.splice(0, 8)); // _this.arr.push(res.data.list.splice(0, 8));
// } // }
this.arrshop = res.data.list; // this.arrshop = res.data.list;
this.arrshop=[];
let arr = res.data.list, arr1=[];
for(let i = 0;i<arr.length;i++){
if(i%3==0){
arr1 = [];
}
arr1.push(arr[i]);
if(i%3==2){
this.arrshop.push([...arr1]);
}
};
if(arr.length%3!==0){
this.arrshop.push([...arr1]);
}
console.log(this.arrshop);
}); });
}, },
// //
@ -331,26 +349,40 @@ export default {
border-radius: 10upx; border-radius: 10upx;
z-index: 99; z-index: 99;
} }
.classification_box{
width: 670upx;
height: 300upx;
border-radius: 10px;
background-color: rgba(255, 255, 255, 1);
text-align: center;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.11);
padding: 0px 10px;
display: flex;
justify-content: space-around;
align-items: center;
box-sizing: border-box;
margin: 0px auto 40rpx;
}
.classificationLists { .classificationLists {
margin-top: 40upx;
display: inline-block; display: inline-block;
width: 25%;
> view:nth-child(1) { > view:nth-child(1) {
margin: auto; margin: auto;
width: 52upx; width: 160upx;
height: 46upx; height: 160upx;
border-radius: 50%;
border: 1px solid #519CFB;
> image { > image {
width: 52upx; width: 140upx;
height: 52upx; height: 140upx;
border-radius: 50%;
margin: 10rpx;
} }
} }
> view:nth-child(2) { > view:nth-child(2) {
margin: 20upx 0 0 0; margin: 20upx 0 0 0;
text-align: center; text-align: center;
> span { > span {
font-size: 24upx; font-size: 28upx;
color: rgba(0, 0, 0, 1); color: rgba(0, 0, 0, 1);
} }
} }

2
pages/mainPages/userCenter/userCenter.vue

@ -227,7 +227,7 @@
<!-- 认证入口 --> <!-- 认证入口 -->
<view class="mineHomepage" v-if="memberInfo.identity=='游客'"> <view class="mineHomepage" v-if="memberInfo.identity=='游客'">
<navigator class="content_box2" :url="'/pagesA/identityList/identityList'"> <navigator class="content_box2" :url="'/pagesA/identityList/identityList'+`?sid=${memberInfo.storeid}`">
<!-- <navigator class="content_box2" :url="'/pages/subPages/attestationCenter/index'"> --> <!-- <navigator class="content_box2" :url="'/pages/subPages/attestationCenter/index'"> -->
<image :src="imageRootNew+'icon_certificate.png'" mode=""></image> <image :src="imageRootNew+'icon_certificate.png'" mode=""></image>
<view style="font-size: 14px!important;">我要认证</view> <view style="font-size: 14px!important;">我要认证</view>

2
pages/mainPages/userset/userset.vue

@ -37,7 +37,7 @@
<view class="content-box b-f padding-box-all bor-radius-10upx f-28 t-c" @click="clearToken">{{languageStatus!=1?'退出登录':'로그아웃'}}</view> <view class="content-box b-f padding-box-all bor-radius-10upx f-28 t-c" @click="clearToken">{{languageStatus!=1?'退出登录':'로그아웃'}}</view>
</view> </view>
<view style="color: gray;width: 300rpx;text-align: center;position: fixed; <view style="color: gray;width: 300rpx;text-align: center;position: fixed;
bottom: 30rpx;left: 50%;margin-left: -150rpx;font-size: 23rpx;">当前版本号:1.0.17</view> bottom: 30rpx;left: 50%;margin-left: -150rpx;font-size: 23rpx;">当前版本号:1.0.20</view>
<!-- <bindPhone :phoneShow="phoneShow" @clickmask="closePop" @mobileBulr="mobileBulr"></bindPhone> --> <!-- <bindPhone :phoneShow="phoneShow" @clickmask="closePop" @mobileBulr="mobileBulr"></bindPhone> -->
<PhoneMask :show1="show1" @clickmask1="closePop1"></PhoneMask> <PhoneMask :show1="show1" @clickmask1="closePop1"></PhoneMask>
<PopManager :show="show2" @clickmask="closeshow"> <PopManager :show="show2" @clickmask="closeshow">

6
pages/subPages/goods/index.css

@ -355,7 +355,8 @@
position: relative; position: relative;
margin-bottom: 1%; margin-bottom: 1%;
z-index: 1; z-index: 1;
background: linear-gradient(0deg, rgba(245, 182, 32, 1) 0%, rgba(246, 210, 70, 1) 100%); background-color: #82d0f7;
/* background: linear-gradient(0deg, rgba(245, 182, 32, 1) 0%, rgba(246, 210, 70, 1) 100%); */
} }
.goods-already-box .goods-already .goods-invite button { .goods-already-box .goods-already .goods-invite button {
@ -718,7 +719,8 @@
} }
.star-go-buy { .star-go-buy {
background-color: #FF4444; background-color: #82d0f7;
/* background-color: #FF4444; */
} }
.end-go-buy { .end-go-buy {

5
pages/subPages/homepage/chat/chat.vue

@ -222,6 +222,11 @@ export default {
_this.vxshow = true; _this.vxshow = true;
//#endif //#endif
} }
if(fail.data.data.is_jump==1){
uni.navigateTo({
url: '/pages/subPages/Equity/Equity'
})
}
} }
); );
} }

8
pages/subPages/homepage/homepage/homepage.vue

@ -227,7 +227,7 @@
<script> <script>
import App from '@/common/js/app.js' import App from '@/common/js/app.js'
import postList from '@/components/template/postList.vue' // import postList from '@/components/template/postList.vue'
import postListTwo from '@/components/template/postListTwo.vue' import postListTwo from '@/components/template/postListTwo.vue'
import PartLoading from "@/components/template/PartLoading.vue" import PartLoading from "@/components/template/PartLoading.vue"
// import Loadlogo from '@/components/template/loadlogo' // import Loadlogo from '@/components/template/loadlogo'
@ -285,7 +285,7 @@
}, },
components: { components: {
postList, // postList,
postListTwo, postListTwo,
PartLoading, PartLoading,
// Loadlogo, // Loadlogo,
@ -782,6 +782,8 @@
changePlay(e){ changePlay(e){
this.stopVideo++;//= this.stopVideo++;//=
this.currentPlay = e; this.currentPlay = e;
// console.log(e, '');
// console.log(this.stopVideo);
}, },
changeScrollLock(){ changeScrollLock(){
if(this.scrollLock){ if(this.scrollLock){
@ -790,7 +792,7 @@
this.scrollTimer = setTimeout(()=>{ this.scrollTimer = setTimeout(()=>{
this.stopVideo++; this.stopVideo++;
this.scrollLock = false; this.scrollLock = false;
console.log(this.stopVideo); // console.log(this.stopVideo);
}, 500) }, 500)
}, },

6
pages/subPages/homepage/private/private.vue

@ -2,7 +2,8 @@
<!-- 我的私信 --> <!-- 我的私信 -->
<view class="private"> <view class="private">
<loadlogo v-if="!loadlogo" /> <loadlogo v-if="!loadlogo" />
<view class="content" v-if="loadlogo" :style="{ height: phoneHight }"> <!-- <view class="content" v-if="loadlogo" :style="{ height: phoneHight }"> -->
<view class="content" v-if="loadlogo" :style="{ minHeight: phoneHight }">
<far-bottom></far-bottom> <far-bottom></far-bottom>
<view class="private-list"> <view class="private-list">
<noneMores v-if="total == 0"></noneMores> <noneMores v-if="total == 0"></noneMores>
@ -171,10 +172,11 @@ export default {
} }
.private { .private {
background: #f8f8f8; background: #f8f8f8;
padding-bottom: 400upx; // padding-bottom: 400upx;
} }
.private-list { .private-list {
margin: 0 30upx; margin: 0 30upx;
padding-bottom: 200upx;
.private-item { .private-item {
padding: 30upx 0; padding: 30upx 0;

6
pages/subPages/mineCollection/mineCollection.vue

@ -89,6 +89,8 @@
<!-- 列表区域 --> <!-- 列表区域 -->
<postManage :postList="postList" :scollHeight="scollHeight" @loadTips="loadTips" :postLoadText="postLoadText" :source="source" v-if="type == 2"></postManage> <postManage :postList="postList" :scollHeight="scollHeight" @loadTips="loadTips" :postLoadText="postLoadText" :source="source" v-if="type == 2"></postManage>
<none-mores v-if="postList.length==0" style="line-height: 80upx;"></none-mores>
<!-- <load-more :isMore="postList.length==0" style="line-height: 80upx;"></load-more> -->
<!-- 列表区域 --> <!-- 列表区域 -->
<!-- 收藏校园活动 --> <!-- 收藏校园活动 -->
@ -124,6 +126,7 @@ import wxApi from '@/common/js/wxApi.js';
// #endif // #endif
import postManage from '@/components/template/postManage'; import postManage from '@/components/template/postManage';
import loadMore from '@/components/template/loadmore.vue' import loadMore from '@/components/template/loadmore.vue'
import noneMores from '@/components/template/nonemores.vue'
import businessCard from "@/components/page/pageComponents/businessCard.vue" import businessCard from "@/components/page/pageComponents/businessCard.vue"
export default { export default {
@ -131,7 +134,8 @@ export default {
postManage, postManage,
TabBars, TabBars,
businessCard, businessCard,
loadMore loadMore,
noneMores
}, },
data() { data() {
return { return {

2
pages/subPages/orderList/orderDetails/orderDetails.vue

@ -122,7 +122,7 @@
<view class="purchaseDetailsTitle" v-if="orderDetailList.status == 1 && orderDetailList.usestatus == 1"> <view class="purchaseDetailsTitle" v-if="orderDetailList.status == 1 && orderDetailList.usestatus == 1">
<view class="purchaseTitlePackage"> <view class="purchaseTitlePackage">
<span>{{ orderDetailList.codeNum }}张可用 | {{ orderDetailList.estimatetime }}到期</span> <span>{{ orderDetailList.codeNum }}张可用 | {{ orderDetailList.estimatetime }}到期</span>
<view v-if="orderDetailList.verkeystatus == 1 && orderDetailList.codeNum != '0'" @click="goHx"><span>密码核销</span></view> <!-- <view v-if="orderDetailList.verkeystatus == 1 && orderDetailList.codeNum != '0'" @click="goHx"><span>密码核销</span></view> -->
</view> </view>
</view> </view>
<view class="purchaseDetailsBody" v-if="orderDetailList.usestatus == 3 && orderDetailList.checkcodes.length !== 0"> <view class="purchaseDetailsBody" v-if="orderDetailList.usestatus == 3 && orderDetailList.checkcodes.length !== 0">

2
pages/subPages/orderList/orderList.vue

@ -154,7 +154,7 @@
<view class="topFull"></view> <view class="topFull"></view>
<!-- 头部填充 --> <!-- 头部填充 -->
<!-- 底部栏菜单 --> <!-- 底部栏菜单 -->
<view class="page-footer"> <view class="page-footer" v-if="0">
<TabBars :tabBarAct="0" /> <TabBars :tabBarAct="0" />
</view> </view>
</view> </view>

3
pages/subPages/paySuccess/paySuccess.vue

@ -13,7 +13,8 @@
<view class="payTitleButton"> <view class="payTitleButton">
<view @click="goIndex('pages/mainPages/index/index')" v-if="payInfo.plugin != 'housekeep'"><span>返回首页</span></view> <view @click="goIndex('pages/mainPages/index/index')" v-if="payInfo.plugin != 'housekeep'"><span>返回首页</span></view>
<view @click="goIndex('pages/subPages2/homemaking/homeUser/homeUser')" v-if="plugin == 'housekeep'"><span>返回个人中心</span></view> <view @click="goIndex('pages/subPages2/homemaking/homeUser/homeUser')" v-if="plugin == 'housekeep'"><span>返回个人中心</span></view>
<view @click="goykt" v-if="payInfo.plugin=='halfcard'||payInfo.plugin=='member'||payInfo.plugin=='payonline'||payInfo.plugin=='charge'||payInfo.plugin=='pocket'||payInfo.plugin=='wlfightgroup'||payInfo.plugin=='distribution'||payInfo.plugin=='wlcoupon'||payInfo.plugin=='attestation'||payInfo.plugin=='taxipay'||payInfo.plugin=='citycard'"><span>返回{{payInfo.fightstatus == 1?'组团': plguinList[pluginIndex]}}</span></view> <view @click="goIndex('pagesA/identityList/identityList')" v-if="pluginIndex == 3"><span>返回认证列表</span></view>
<view @click="goykt" v-if="pluginIndex != 3&&(payInfo.plugin=='halfcard'||payInfo.plugin=='member'||payInfo.plugin=='payonline'||payInfo.plugin=='charge'||payInfo.plugin=='pocket'||payInfo.plugin=='wlfightgroup'||payInfo.plugin=='distribution'||payInfo.plugin=='wlcoupon'||payInfo.plugin=='attestation'||payInfo.plugin=='taxipay'||payInfo.plugin=='citycard')"><span>返回{{payInfo.fightstatus == 1?'组团': plguinList[pluginIndex]}}</span></view>
<view v-else-if="payInfo.plugin=='recruit'" @click="gowork"> <view v-else-if="payInfo.plugin=='recruit'" @click="gowork">
<span>返回列表</span> <span>返回列表</span>
</view> </view>

25
pages/subPages/postRelease/postRelease.vue

@ -620,8 +620,31 @@
tmplIds: [_this.setInfo.set.tempId], tmplIds: [_this.setInfo.set.tempId],
success(res) { success(res) {
console.log(res) console.log(res)
if(res[_this.setInfo.set.tempId]=='reject'){
//
// return;
}
if(res[_this.setInfo.set.tempId] == 'accept'){ if(res[_this.setInfo.set.tempId] == 'accept'){
_this.post(data) let data = {
info:{
form_id:_this.setInfo.set.tempId,
temp_type:'service'
}
};
App._post_form(
`&do=saveFromId`,
data,
res => {
uni.showToast({
title:`订阅成功`
})
},
false,
() => {
_this.post(data);
}
);
} }
_this.HideDisabled = false; _this.HideDisabled = false;

3
pages/subPages/receivingAddress/addReceivingAddress/addReceivingAddress.vue

@ -433,6 +433,9 @@
}); });
_this.citytext = _this.userAddress.provinceidName + _this.userAddress.areaidName + _this.userAddress.distidName; _this.citytext = _this.userAddress.provinceidName + _this.userAddress.areaidName + _this.userAddress.distidName;
console.log(cityItem,_this.userAddress); console.log(cityItem,_this.userAddress);
},
fail(err){
console.log(err, '错误返回');
} }
}) })
// #endif // #endif

31
pages/subPages/search/search.vue

@ -11,7 +11,7 @@
<view class="search-h-t1-l"> <view class="search-h-t1-l">
<view class="search-h-t1-l-lab" :style="{backgroundColor: searchA.serbgn}"> <view class="search-h-t1-l-lab" :style="{backgroundColor: searchA.serbgn}">
<view class="i icon iconfont icon-search"></view> <view class="i icon iconfont icon-search"></view>
<input type="text" focus='ture' class="search-txt" v-model="keywords" @confirm="search()" placeholder="商品/头条/店铺"> <input type="text" focus='ture' class="search-txt" v-model="keywords" @confirm="search()" placeholder="商品/头条/帖子">
</view> </view>
</view> </view>
<view class="search-h-t1-r f-34" @click="search()"> <view class="search-h-t1-r f-34" @click="search()">
@ -21,7 +21,7 @@
<view class="search-h-t2" v-if="!ishotSearch"> <view class="search-h-t2" v-if="!ishotSearch">
<view class="i" :class="{active: listAct == 0}" @click="listActDo(0,'1')">商品</view> <view class="i" :class="{active: listAct == 0}" @click="listActDo(0,'1')">商品</view>
<view class="i" :class="{active: listAct == 1}" @click="listActDo(1,'3')" v-if="is_headline===1">头条</view> <view class="i" :class="{active: listAct == 1}" @click="listActDo(1,'3')" v-if="is_headline===1">头条</view>
<view class="i" :class="{active: listAct == 2}" @click="listActDo(2,'2')">店铺</view> <!-- <view class="i" :class="{active: listAct == 2}" @click="listActDo(2,'2')">店铺</view> -->
<view class="i" :class="{active: listAct == 3}" @click="searchPost(3,'4')" v-if="is_pocket == 1">帖子</view> <view class="i" :class="{active: listAct == 3}" @click="searchPost(3,'4')" v-if="is_pocket == 1">帖子</view>
</view> </view>
</view> </view>
@ -46,9 +46,12 @@
<storelist :search="true" :storeList="searchList" /> <storelist :search="true" :storeList="searchList" />
</view> </view>
<view class="search-post padding-box" v-if="searchType ==='4'"> <view class="search-post padding-box" v-if="searchType ==='4'">
<view class="post-item" v-for="(item,index) in citywideList" :key="index"> <!-- 掌上信息 -->
<!-- <view class="post-item" v-for="(item,index) in citywideList" :key="index">
<post-list :itemInfo="item" :indexNumber="index" :indexShow='indexShow' @getover="getover" @operationShow="operationShow" ></post-list> <post-list :itemInfo="item" :indexNumber="index" :indexShow='indexShow' @getover="getover" @operationShow="operationShow" ></post-list>
</view> </view> -->
<!-- 首页社区 -->
<pic-text-list :communityList="citywideList" @changenoMore1="changenoMore1" :scrollLock="scrollLock" @changeScrollLock="changeScrollLock"></pic-text-list>
</view> </view>
</view> </view>
@ -71,6 +74,7 @@
import loadMore from '@/components/template/loadmore.vue' import loadMore from '@/components/template/loadmore.vue'
import noneMores from '@/components/template/nonemores.vue' import noneMores from '@/components/template/nonemores.vue'
import postList from '@/components/template/postList' import postList from '@/components/template/postList'
import picTextList from "@/components/template/pic_text/pic_text_list.vue"
// #ifdef H5 // #ifdef H5
import wxApi from "@/common/js/wxApi.js" import wxApi from "@/common/js/wxApi.js"
// #endif // #endif
@ -96,6 +100,7 @@
citywideList:[], citywideList:[],
postTotal:1, postTotal:1,
indexShow: -1, indexShow: -1,
scrollLock: false,
} }
}, },
computed: { computed: {
@ -109,7 +114,8 @@
goodsStyle, goodsStyle,
loadMore, loadMore,
noneMores, noneMores,
postList postList,
picTextList
}, },
mounted() { mounted() {
this.hotSearch() this.hotSearch()
@ -234,6 +240,7 @@
_this.postTotal = res.data.total; _this.postTotal = res.data.total;
} }
_this.loadingMore = true; _this.loadingMore = true;
// console.log(_this.citywideList, '----citywideList----');
}, false, () => { }, false, () => {
uni.hideLoading() uni.hideLoading()
}); });
@ -300,7 +307,19 @@
}, false, () => { }, false, () => {
uni.hideLoading() uni.hideLoading()
}); });
} },
changenoMore1(e){
this.loadingMore = e;
},
changeScrollLock(e){
this.scrollLock = e;
},
},
onPageScroll(e){
//
this.scrollLock = true;
// this.handlerScroll();
}, },
onPullDownRefresh() { onPullDownRefresh() {

7
pages/subPages/submitOrder/submitOrder.vue

@ -1354,9 +1354,12 @@ export default {
// //
goAddress(type) { goAddress(type) {
App.navigationTo({ uni.redirectTo({
url: 'pages/subPages/receivingAddress/receivingAddress?type=' + type url: '/pages/subPages/receivingAddress/receivingAddress?type=' + type
}); });
// App.navigationTo({
// url: 'pages/subPages/receivingAddress/receivingAddress?type=' + type
// });//
}, },
changIntegral(type) { changIntegral(type) {
let _this = this; let _this = this;

82
pages/subPages2/hirePlatform/curriculumVitae/curriculumVitae.vue

@ -89,14 +89,14 @@
<view v-if="loadlogo"> <view v-if="loadlogo">
<screening :check="check" :num="num" @close="close" @checkeda="checkeda" @confirm="confirm" v-bind:moreData.sync="moreData"></screening> <screening :check="check" :num="num" @close="close" @checkeda="checkeda" @confirm="confirm" v-bind:moreData.sync="moreData"></screening>
</view> </view>
<TabBars :tabBarAct="0" pageType="15"></TabBars> <!-- <TabBars :tabBarAct="0" pageType="15"></TabBars> -->
<PopManager :show="isShow" type="center" @clickmask="closes"> <PopManager :show="isShow" type="center" @clickmask="closes">
<view class="b-f invitePop"> <view class="b-f invitePop">
<view class="invitePop-title f-w"> <view class="invitePop-title f-w">
邀请面试 邀请面试
<text class="iconfont icon-close" style="float: right;vertical-align: top;font-size: 30upx;" @click="closes"></text> <text class="iconfont icon-close" style="float: right;vertical-align: top;font-size: 30upx;" @click="closes"></text>
</view> </view>
<view class="f-26 dis-flex" style="padding: 30upx 0;" @click="visiblec = true"> <view class="f-26 dis-flex" style="padding: 30upx 0;" @click="openDatePi">
<view class="flex-box"> <view class="flex-box">
面试时间 面试时间
</view> </view>
@ -127,16 +127,39 @@
</view> </view>
</view> </view>
</PopManager> </PopManager>
<w-picker <!-- <w-picker
:visible.sync="visiblec" :visible.sync="visiblec"
mode="date" mode="date"
startYear="1970" :startYear="today"
endYear="2100" endYear="2100"
:value="time" :value="time"
fields="minute" fields="minute"
@confirm="onConfirmdete($event, 'region')" @confirm="onConfirmdete($event, 'region')"
:disabledBefore="true"
:disabledAfter="false"
ref="date" ref="date"
></w-picker> ></w-picker> -->
<!-- 邀请面试时间 -->
<view v-if="visiblec" style="width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0vh;
left: 0vw;
z-index: 999;"
@click="closeDatePi"
class="datePickerMask"
>
<view style="width: 80vw;height: 8vh;top: 36vh;left: 10vw;position: fixed;
background-color: #fff;border-radius: 10px;
box-sizing: border-box;padding: 10px;z-index: 999;"
@click.stop=""
>
<uni-datetime-picker :show="visiblec" type="datetime" v-model="time" @maskClick="closeDatePi"
@change="changeDate" placeholder="请选择面试时间" :start="today" :hide-second="true" :clear-icon="false" />
</view>
</view>
<!-- 邀请面试时间 -->
<w-picker <w-picker
:visible.sync="visible" :visible.sync="visible"
mode="selector" mode="selector"
@ -187,6 +210,7 @@
job_type:null, job_type:null,
time:'', time:'',
visiblec:false, visiblec:false,
today: '2023-08-09',
visible:false, visible:false,
site:'', site:'',
selectorItem:'', selectorItem:'',
@ -246,11 +270,19 @@
// onload // onload
}, },
onShow() { onShow() {
let date = new Date();
// this.today = date.getFullYear()+'-'+
// ((date.getMonth()+1)>10?(date.getMonth()+1):'0'+(date.getMonth()+1))+'-'+
// (date.getDate()>10?date.getDate():'0'+date.getDate());
this.today = date.getTime();
// console.log(this.today, '');
if(!this.pagenum){ if(!this.pagenum){
this.pagenum = true; this.pagenum = true;
return return
} }
this.confirm(false,true,1) this.confirm(false,true,1);
}, },
onReachBottom() { onReachBottom() {
if(this.total < this.page) return if(this.total < this.page) return
@ -289,6 +321,22 @@
this.selectorItem = e.result; this.selectorItem = e.result;
this.selectorItemId = e.value; this.selectorItemId = e.value;
}, },
/**
打开日期时间选择器
*/
openDatePi(){
this.visiblec = true;
this.isShow = false;
},
closeDatePi(){
this.visiblec = false;
this.isShow = true;
},
changeDate(e){
console.log(e);
this.time = e;
this.closeDatePi();
},
onConfirmdete(e) { onConfirmdete(e) {
console.log(e); console.log(e);
this.time = e.result; this.time = e.result;
@ -333,8 +381,19 @@
}); });
this.confirm(false,true,1); this.confirm(false,true,1);
this.loadlogo = true; this.loadlogo = true;
// setTimeout(()=>{
// uni.navigateTo({
// url:'/pages/subPages/homepage/chat/chat'
// })
// }, 1200)
},
fail => {
if(fail.data.data.is_jump==1){
uni.navigateTo({
url: '/pages/subPages/Equity/Equity'
})
}
}, },
false,
() => { () => {
} }
@ -360,7 +419,8 @@
recruitment_type:this.recruitment_type, recruitment_type:this.recruitment_type,
release_mid:this.recruitment_type==1?this.userInfoId:'', release_mid:this.recruitment_type==1?this.userInfoId:'',
release_sid:this.recruitment_type==2?this.release_sid:'', release_sid:this.recruitment_type==2?this.release_sid:'',
} page_all: 1
}
App._post_form( App._post_form(
`&p=recruit&do=homeList`, `&p=recruit&do=homeList`,
data, data,
@ -754,4 +814,10 @@
transform: translate(-50%); transform: translate(-50%);
} }
} }
.datePickerMask{
/deep/ .icon-calendar:before{
content: none;
}
}
</style> </style>

11
pages/subPages2/hirePlatform/postRecruitment/postRecruitment.vue

@ -471,7 +471,7 @@
</view> </view>
<view class="dis-flex f-24 formtitle"> <view class="dis-flex f-24 formtitle">
<view class="t-r" style="flex: 0.3;"> <view class="t-r" style="flex: 0.3;">
<view class="dis-il-block" style="font-size: 20upx;color: #FFFFFF;float: left;">*</view> <view class="dis-il-block" style="font-size: 20upx;color: #FF4444;float: left;">*</view>
职位描述 职位描述
</view> </view>
<view style="flex: 0.8;padding-left: 40upx;"> <view style="flex: 0.8;padding-left: 40upx;">
@ -1361,7 +1361,14 @@
} }
}, },
false, err=>{
// console.log(err);
if(err.data.data.is_jump==1){
uni.navigateTo({
url: '/pages/subPages/Equity/Equity'
})
}
},
() => { () => {
setTimeout(()=>{ setTimeout(()=>{
uni.hideLoading() uni.hideLoading()

8
pages/subPages2/hirePlatform/recruitmentDetails/recruitmentDetails.vue

@ -70,20 +70,16 @@
<view class="psition-tag"> <view class="psition-tag">
<view class="dis-il-block tag-item" v-for="(item, index) in recruitmentDetails.welfare_list" :key="index">{{ item }}</view> <view class="dis-il-block tag-item" v-for="(item, index) in recruitmentDetails.welfare_list" :key="index">{{ item }}</view>
</view> </view>
<view class="psition-tag"> <!-- <view class="psition-tag">
<view class="dis-il-block tag-item">{{ recruitmentDetails.release.nature }}</view> <view class="dis-il-block tag-item">{{ recruitmentDetails.release.nature }}</view>
<view class="dis-il-block tag-item">{{ recruitmentDetails.release.scale }}</view> <view class="dis-il-block tag-item">{{ recruitmentDetails.release.scale }}</view>
<view class="dis-il-block tag-item">{{ recruitmentDetails.release.industry }}</view> <view class="dis-il-block tag-item">{{ recruitmentDetails.release.industry }}</view>
</view> </view> -->
<view class="qualification" v-if="0"> <view class="qualification" v-if="0">
<view class="qualification-entry"> <view class="qualification-entry">
{{recruitmentDetails.release.nature}} · {{recruitmentDetails.release.scale}} · {{recruitmentDetails.release.industry}} {{recruitmentDetails.release.nature}} · {{recruitmentDetails.release.scale}} · {{recruitmentDetails.release.industry}}
</view> </view>
</view> </view>
<view class="" v-if="111===0">
<view class="ksfjaslfjsa">热更新频繁报错写东西进去再更新一下 </view>
<view class="ksfjaslfjsa">dgjthdgdrwelktu</view>
</view>
<view class="qualification" v-if="recruitmentDetails.job_description"> <view class="qualification" v-if="recruitmentDetails.job_description">
<view class="qualification-title">任职资格:</view> <view class="qualification-title">任职资格:</view>
<view class="qualification-entry"> <view class="qualification-entry">

10
pages/subPages2/hirePlatform/recruitmentEnter/recruitmentEnter.vue

@ -82,8 +82,9 @@
驳回原因{{item.reason}} 驳回原因{{item.reason}}
</view> </view>
</view> </view>
<load-more :isMore="isMore" :bgc="'#ffffff'"></load-more>
</view> </view>
<load-more :isMore="isMore" :bgc="'#ffffff'"></load-more>
<view v-if="loadlogo"> <view v-if="loadlogo">
<screening :check="check" :num="num" @close="close" @checkeda="checkeda" @confirm="confirm" v-bind:moreData.sync="moreData"></screening> <screening :check="check" :num="num" @close="close" @checkeda="checkeda" @confirm="confirm" v-bind:moreData.sync="moreData"></screening>
</view> </view>
@ -294,7 +295,12 @@ export default {
if (flag) { if (flag) {
this.inviteList = this.inviteList.concat(res.data.list); this.inviteList = this.inviteList.concat(res.data.list);
} else { } else {
this.inviteList = res.data.list; if(page>1){
this.inviteList = this.inviteList.concat(res.data.list);
}else{
this.inviteList = res.data.list;
}
} }
this.inviteList.map(item => { this.inviteList.map(item => {
item.open = false; item.open = false;

71
pages/subPages2/hirePlatform/resume/resume.vue

@ -144,7 +144,7 @@
邀请面试 邀请面试
<text class="iconfont icon-close" style="float: right;vertical-align: top;font-size: 30upx;" @click="close"></text> <text class="iconfont icon-close" style="float: right;vertical-align: top;font-size: 30upx;" @click="close"></text>
</view> </view>
<view class="f-26 dis-flex" style="padding: 30upx 0;" @click="visiblec = true"> <view class="f-26 dis-flex" style="padding: 30upx 0;" @click="openDatePi">
<view class="flex-box"> <view class="flex-box">
面试时间 面试时间
</view> </view>
@ -175,7 +175,7 @@
</view> </view>
</view> </view>
</PopManager> </PopManager>
<w-picker <!-- <w-picker
:visible.sync="visiblec" :visible.sync="visiblec"
mode="date" mode="date"
startYear="1970" startYear="1970"
@ -184,7 +184,28 @@
fields="minute" fields="minute"
@confirm="onConfirmdete($event, 'region')" @confirm="onConfirmdete($event, 'region')"
ref="date" ref="date"
></w-picker> ></w-picker> -->
<!-- 邀请面试时间 -->
<view v-if="visiblec" style="width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0vh;
left: 0vw;
z-index: 999;"
@click="closeDatePi"
class="datePickerMask"
>
<view style="width: 80vw;height: 8vh;top: 36vh;left: 10vw;position: fixed;
background-color: #fff;border-radius: 10px;
box-sizing: border-box;padding: 10px;z-index: 999;"
@click.stop=""
>
<uni-datetime-picker :show="visiblec" type="datetime" v-model="time" @maskClick="closeDatePi"
@change="changeDate" placeholder="请选择面试时间" :start="today" :hide-second="true" :clear-icon="false" />
</view>
</view>
<!-- 邀请面试时间 -->
<w-picker <w-picker
:visible.sync="visible" :visible.sync="visible"
mode="selector" mode="selector"
@ -210,6 +231,7 @@
loadlogo:false, loadlogo:false,
isShow:false, isShow:false,
visiblec:false, visiblec:false,
today: '2023-08-09',
visible:false, visible:false,
time:'', time:'',
site:'', site:'',
@ -231,12 +253,16 @@
}, },
onLoad(e) { onLoad(e) {
this.recruitment_type = e.flag; this.recruitment_type = e.flag;
this.pageId = e.id; this.pageId = e.id;//id
this.workId = e.pageId; this.workId = e.pageId;// id
this.release_sid = e.sid; this.release_sid = e.sid;//id
this.userInfoId = uni.getStorageSync('userinfo'); this.userInfoId = uni.getStorageSync('userinfo');
this.getResumeData(e.id); this.getResumeData(e.id);
}, },
onShow(){
let date = new Date();
this.today = date.getTime();
},
methods:{ methods:{
goChat(){ //instantMessengerwebsocketchat goChat(){ //instantMessengerwebsocketchat
@ -287,8 +313,20 @@
uni.showToast({ uni.showToast({
title:res.message title:res.message
}) })
// setTimeout(()=>{
// uni.navigateTo({
// url:'/pages/subPages/homepage/chat/chat'
// })
// }, 1200)
},
fail => {
if(fail.data.data.is_jump==1){
uni.navigateTo({
url: '/pages/subPages/Equity/Equity'
})
}
}, },
false,
() => { () => {
this.loadlogo = true; this.loadlogo = true;
} }
@ -313,7 +351,8 @@
recruitment_type:this.recruitment_type, recruitment_type:this.recruitment_type,
release_mid:this.recruitment_type==1?this.userInfoId:'', release_mid:this.recruitment_type==1?this.userInfoId:'',
release_sid:this.recruitment_type==2?this.release_sid:'', release_sid:this.recruitment_type==2?this.release_sid:'',
} page_all: 1
}
App._post_form( App._post_form(
`&p=recruit&do=homeList`, `&p=recruit&do=homeList`,
data, data,
@ -357,6 +396,22 @@
this.selectorItem = e.result; this.selectorItem = e.result;
this.selectorItemId = e.value; this.selectorItemId = e.value;
}, },
/**
打开日期时间选择器
*/
openDatePi(){
this.visiblec = true;
this.isShow = false;
},
closeDatePi(){
this.visiblec = false;
this.isShow = true;
},
changeDate(e){
console.log(e);
this.time = e;
this.closeDatePi();
},
onConfirmdete(e) { onConfirmdete(e) {
console.log(e); console.log(e);
this.time = e.result; this.time = e.result;

70
pages/subPages2/subscription/subscription.vue

@ -72,10 +72,11 @@
</view> </view>
<!-- #endif --> <!-- #endif -->
<!-- #ifndef H5 --> <!-- #ifndef H5 -->
<view style="flex: 0.3;"> <view style="flex: 0.2;">
<view class="subscription-item-btn t-c" @click="subscriptionClik(item)"> <!-- <view class="subscription-item-btn t-c" @click="subscriptionClik(item)">
订阅 <text v-if="item.num != 0">+{{item.num}}</text> 订阅 <text v-if="item.num != 0">+{{item.num}}</text>
</view> </view> -->
<switch :checked="item.button" @change="switch1Change($event,item)" color="#82d0f7" />
</view> </view>
<!-- #endif --> <!-- #endif -->
</view> </view>
@ -93,7 +94,11 @@
export default{ export default{
data(){ data(){
return{ return{
sbuscriptionList:[], sbuscriptionList:{
list: [],
app_id: '',
temp_id: '',
},
oaoao:'' oaoao:''
} }
}, },
@ -112,25 +117,58 @@
const { openid, action } = options; const { openid, action } = options;
}, },
subscriptionClik(item){ switch1Change: function (e, item) {
let _this = this; let _this = this;
// console.log('switch1 change ', e.detail.value);
// console.log(item);
let data = {
info:{
form_id:item.id,
temp_type:item.temp_type,
// scene:Number(item.scene)>9999?1:Number(item.scene) + 1
}
};
data.info = JSON.stringify(data.info);
// do=openFromId
if(!e.detail.value){
App._post_form(
`&do=openFromId`,
data,
res => {
// console.log(res);
uni.showToast({
title:`取消订阅成功`
})
// console.log(res);
// _this.getSbuscriptionList();
// this.sbuscriptionList = res.data;
},
false,
() => {}
);
return;
}
// do=saveFromId
// },
// subscriptionClik(item){
// #ifndef H5 // #ifndef H5
uni.requestSubscribeMessage({ uni.requestSubscribeMessage({
tmplIds: [item.id], tmplIds: [item.id],
success(res) { success(res) {
console.log(res); console.log(res);
if(res[item.id]=='reject'){
//
// console.log(item.button, '');
_this.sbuscriptionList.list = [];//switch
_this.getSbuscriptionList();
return;
}
for(let key in res){ for(let key in res){
if(key != 'errMsg'){ if(key != 'errMsg'){
if(res[key] == 'accept'){ if(res[key] == 'accept'){
let data = {
info:{
form_id:item.id,
temp_type:item.temp_type,
scene:Number(item.scene)>9999?1:Number(item.scene) + 1
}
};
data.info = JSON.stringify(data.info);
App._post_form( App._post_form(
`&do=saveFromId`, `&do=saveFromId`,
data, data,
@ -139,7 +177,7 @@
uni.showToast({ uni.showToast({
title:`订阅成功` title:`订阅成功`
}) })
console.log(res); // console.log(res);
_this.getSbuscriptionList(); _this.getSbuscriptionList();
// this.sbuscriptionList = res.data; // this.sbuscriptionList = res.data;
}, },
@ -209,7 +247,9 @@
this.$forceUpdate(); this.$forceUpdate();
// console.log(res); // console.log(res);
this.sbuscriptionList = res.data; this.sbuscriptionList.app_id = res.data.app_id;
this.sbuscriptionList.temp_id = res.data.temp_id;
this.sbuscriptionList.list = res.data.list;
}, },
false, false,
() => {} () => {}

32
pages/subPages2/userInfo/userInfo.vue

@ -39,12 +39,12 @@
<span class="line96 font30 colorW">{{languageStatus!=1?'保存':'저장'}}</span> <span class="line96 font30 colorW">{{languageStatus!=1?'保存':'저장'}}</span>
</view> </view>
</view> </view>
<!-- <view class="inputView backColorW" v-else> <view class="inputView backColorW" v-else>
<view class="submitBotton marT80 textC" @click="setUserInfo"> <view class="submitBotton marT80 textC" @click="setUserInfo">
<span class="line96 font30 colorW">保存</span> <span class="line96 font30 colorW">保存</span>
</view> </view>
</view> --> </view>
</scroll-view> </scroll-view>
<far-bottom></far-bottom> <far-bottom></far-bottom>
</view> </view>
@ -108,18 +108,26 @@ export default {
}); });
return; return;
} }
if((_this.userInfo.card_number.length < 13 || _this.userInfo.card_number.length > 25) && _this.examineing == 0) { if(_this.userInfo.bankstatus == 1 || _this.userInfo.alipaystatus == 1){
uni.showToast({ if((_this.userInfo.card_number.length < 13 || _this.userInfo.card_number.length > 25) && _this.examineing == 0) {
icon:"none", uni.showToast({
title: '请输入正确银行卡号', icon:"none",
duration: 2000 title: '请输入正确银行卡号',
}); duration: 2000
return; });
return;
}
} }
App._post_form('&p=member&do=setUserInfo',data,res=>{ App._post_form('&p=member&do=setUserInfo',data,res=>{
uni.navigateBack({ uni.showToast({
delta: 1 title: '修改成功'
}); })
setTimeout(()=>{
uni.navigateBack({
delta: 1
});
}, 1000)
}) })
} }
} }

37
pagesA/businessCooperation/index.vue

@ -6,6 +6,9 @@
<view class="informationView marginAuto"> <view class="informationView marginAuto">
<!-- 基本信息 --> <!-- 基本信息 -->
<view class="p30"> <view class="p30">
<view class="title" v-if="business.reject && business.status==2" style="color: #f00;font-size: 12px;padding-bottom: 20rpx;">
<view class="">驳回原因{{business.reject}}</view>
</view>
<view> <view>
<view class="line inlineBlock verticalM"></view> <view class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">资料填写</text> <text class="colorBlack font28 verticalM marginL10">资料填写</text>
@ -68,9 +71,9 @@ export default {
name: '', name: '',
position: '', position: '',
mobile: '', mobile: '',
code: '', code: ''
storeid: ''
}, },
storeid: '',
id: null, id: null,
codeBtnText: '获取验证码', codeBtnText: '获取验证码',
getSmsCode: '', getSmsCode: '',
@ -80,7 +83,7 @@ export default {
}, },
onLoad(e) { onLoad(e) {
this.business.storeid = e.sid; this.storeid = e.sid;
let _this = this; let _this = this;
uni.getSystemInfo({ uni.getSystemInfo({
success(res) { success(res) {
@ -98,18 +101,16 @@ export default {
methods: { methods: {
init(mid) { init(mid) {
let _this = this; let _this = this;
_this.getInfo(mid); _this.verifyInfo(mid);
}, },
// //
getInfo(mid) { verifyInfo(mid) {
let _this = this; let _this = this;
let data = { let data = {
mid: mid mid: mid
}; };
App._post_form('&p=Certified&do=initApplyCertified', data, res => { App._post_form('&p=Certified&do=initApplyCertified', data, res => {
// _this.setData({ _this.getInfo(mid);
// business: res.data
// })
}, (err)=>{ }, (err)=>{
console.log(err.data.message); console.log(err.data.message);
uni.navigateBack({ uni.navigateBack({
@ -117,6 +118,23 @@ export default {
}) })
}); });
}, },
//
getInfo(mid) {
let _this = this;
let data = this.business;
data.mid = mid;
data.type = "get";
App._post_form('&p=certified&do=applyMerchantCertified', data, res => {
if(res.errno==0){
// errno==0storeidbusiness
_this.setData({
business: res.data
})
}
}, (err)=>{
});
},
setInfo() { setInfo() {
let _this = this; let _this = this;
let data = { let data = {
@ -124,7 +142,8 @@ export default {
position: _this.business.position, position: _this.business.position,
mobile: _this.business.mobile, mobile: _this.business.mobile,
code: _this.business.code, code: _this.business.code,
storeid: _this.business.storeid storeid: _this.storeid,
type: "set"
}; };
if(data.name==''){ if(data.name==''){
uni.showToast({ uni.showToast({

35
pagesA/campusActivities/activitiesExtend.vue

@ -1,5 +1,8 @@
<template> <template>
<view class="activityPage"> <view class="activityPage">
<view class="title" v-if="activityInfo.reject && activityInfo.status==2" style="color: #f00;font-size: 12px;padding: 20rpx;">
<view class="">驳回原因{{activityInfo.reject}}</view>
</view>
<view class="title"> <view class="title">
<view class="label">活动标题必填项</view> <view class="label">活动标题必填项</view>
<input type="text" v-model="activityInfo.title" placeholder="请输入活动标题" class="title-inp"> <input type="text" v-model="activityInfo.title" placeholder="请输入活动标题" class="title-inp">
@ -13,7 +16,11 @@
</view> </view>
<view class="content"> <view class="content">
<view class="label">活动内容必填项</view> <view class="label">活动内容必填项</view>
<jinEdit placeholder="请输入内容" @editOk="editOk" uploadFileUrl="/#" :html="activityInfo.describe"></jinEdit> <jinEdit placeholder="请输入内容" @editOk="editOk" uploadFileUrl="/#" :html="activityInfo.describe" @editFocus="editFocus"></jinEdit>
<view style="margin-top: 10px;font-size: 11px;color: #999;padding-bottom: 10px;">
<text style="color: #f00;margin: 5px;">*</text>
请点击完成编辑
</view>
</view> </view>
<view class="promotional"> <view class="promotional">
<view class="label">活动宣传图必填项</view> <view class="label">活动宣传图必填项</view>
@ -47,6 +54,7 @@
}, },
category_list: [], category_list: [],
cc_index: -1, cc_index: -1,
setcolor: '',
} }
}, },
components: { components: {
@ -75,6 +83,10 @@
} }
} }
}, (err)=>{
uni.navigateBack({
delta: 1
})
}); });
}, },
categoryChange(e){ categoryChange(e){
@ -82,9 +94,13 @@
this.cc_index = e.detail.value; this.cc_index = e.detail.value;
this.activityInfo.cc_id = this.category_list[this.cc_index].id; this.activityInfo.cc_id = this.category_list[this.cc_index].id;
}, },
editFocus(){
this.setcolor = "#509DFD";
},
editOk(res) { editOk(res) {
console.log('-------',res.html); console.log('-------',res.html);
this.activityInfo.describe = res.html; this.activityInfo.describe = res.html;
this.setcolor = "#666";
uni.showToast({ uni.showToast({
title: '保存成功' title: '保存成功'
}) })
@ -106,7 +122,7 @@
}); });
return ; return ;
} }
if(this.activityInfo.describe.replace(/(^\s*)|(\s*$)/g, "")==""){ if(this.setcolor=='#509DFD'){
uni.showToast({ uni.showToast({
icon:'none', icon:'none',
title: '未保存内容', title: '未保存内容',
@ -114,6 +130,21 @@
}); });
return ; return ;
} }
function getText(str){return str.replace(/<[^<>]+>/g, "").replace(/&nbsp;/gi, "");}
function isNull(str){if ( str == "" ) return true;var regu = "^[ ]+$";var re = new RegExp(regu);return re.test(str);}
var text=getText(this.activityInfo.describe);
console.log(this.activityInfo.describe, 'this.activityInfo.describe');
console.log(isNull(text),'isNull(text)');
console.log(this.activityInfo.describe.indexOf('<img '),'indexOf');
console.log(this.activityInfo.describe.replace(/(^\s*)|(\s*$)/g, "")=="", 111);
if(isNull(text) && this.activityInfo.describe.indexOf('<img ')==-1 || this.activityInfo.describe.replace(/(^\s*)|(\s*$)/g, "")==""){
uni.showToast({
icon:'none',
title: '内容不能为空',
duration: 2000
});
return ;
}
if(this.activityInfo.promotional_img==""){ if(this.activityInfo.promotional_img==""){
uni.showToast({ uni.showToast({
icon:'none', icon:'none',

25
pagesA/campusActivities/campusActivities.vue

@ -6,7 +6,7 @@
{{activitiesInfo.title}} {{activitiesInfo.title}}
<text class="title-right">{{label}}</text> <text class="title-right">{{label}}</text>
</view> </view>
<view v-html="activitiesInfo.describe" style="margin-bottom: 15px;"></view> <view v-html="activitiesInfo.describe" style="margin-bottom: 15px;" class="describeWrap"></view>
<view class="text" style="display: flex;align-items: center;"> <view class="text" style="display: flex;align-items: center;">
<image style="width: 52upx;height: 52upx;vertical-align: middle;margin-right: 4px;" :src="activitiesInfo.avatar"></image> <image style="width: 52upx;height: 52upx;vertical-align: middle;margin-right: 4px;" :src="activitiesInfo.avatar"></image>
{{activitiesInfo.nickname}} {{activitiesInfo.nickname}}
@ -162,6 +162,17 @@
_this.setData({ _this.setData({
activitiesInfo: res.data.data activitiesInfo: res.data.data
}) })
var strings = this.activitiesInfo.describe;
//
const regex = new RegExp('<img ','gi');
//
// gglobal iignore case m
var richtext = strings.replace(regex, `<img style="width: calc(100vw - 24px);"`);
//
this.activitiesInfo.describe = richtext;
// data
}); });
}, },
getEvaluationList(indexA,oneid){ getEvaluationList(indexA,oneid){
@ -374,14 +385,14 @@
margin: 10px 0px; margin: 10px 0px;
} }
rich-text{ .describeWrap{
/deep/img{ rich-text{
width: calc(100vw - 20px);// .content-picture, .nfw-cms-img{
} width: calc(100vw - 24px);
.content-picture, .nfw-cms-img{ }
width: calc(100vw - 20px);
} }
} }
} }
.comment-wrapper{ .comment-wrapper{
padding: 0px 24upx; padding: 0px 24upx;

2
pagesA/campusActivities/index.vue

@ -57,7 +57,7 @@
}; };
}, },
onShow() { onShow() {
// this.getList(); this.getList();
}, },
methods: { methods: {
getList(type){ getList(type){

16
pagesA/campusActivities/myActivities.vue

@ -1,7 +1,7 @@
<template> <template>
<view style="min-height: 100vh;background-color: #f8f8f8;box-sizing: border-box;padding-bottom: 50px;"> <view style="min-height: 100vh;background-color: #f8f8f8;box-sizing: border-box;padding-bottom: 50px;">
<view class="content_wrapper"> <view class="content_wrapper">
<view v-for="(item,index) in dataList" :key="index" class="list-item" @click="toDetail(item.id)"> <view v-for="(item,index) in dataList" :key="index" class="list-item" @click="toDetail(item)">
<image :src="item.promotional_img" mode="aspectFill"></image> <image :src="item.promotional_img" mode="aspectFill"></image>
<view class="text-box"> <view class="text-box">
<view class="text1">{{item.title}}</view> <view class="text1">{{item.title}}</view>
@ -9,11 +9,15 @@
发布人{{item.nickname}} 发布人{{item.nickname}}
<!-- <image style="width: 60upx;height: 60upx" :src="activitiesInfo.avatar"></image> --> <!-- <image style="width: 60upx;height: 60upx" :src="activitiesInfo.avatar"></image> -->
</view> </view>
<view class="text">发布时间{{item.publish_time}}</view> <view class="text">状态{{item.status_str}}</view>
<view class="text" v-if="item.publish_time">发布时间{{item.publish_time}}</view>
</view> </view>
<view @click.stop=""> <view @click.stop="">
<navigator :url="'./activitiesExtend?id='+item.id" class="editbtn">编辑</navigator> <navigator :url="'./activitiesExtend?id='+item.id" class="editbtn">编辑</navigator>
</view> </view>
<view class="" style="width: 100%;margin-top: 10px;font-size: 12px;color: #f00;" v-if="item.reject">
驳回原因{{item.reject}}
</view>
</view> </view>
<view class="" v-if="dataList.length==0"> <view class="" v-if="dataList.length==0">
<loadmore :isMore="true" v-if="dataList.length=='0'" /> <loadmore :isMore="true" v-if="dataList.length=='0'" />
@ -65,9 +69,12 @@
} }
}); });
}, },
toDetail(id){ toDetail(item){
if(item.status_str!=='已发布'){
return;
}
uni.navigateTo({ uni.navigateTo({
url:'/pagesA/campusActivities/campusActivities?id='+id url:'/pagesA/campusActivities/campusActivities?id='+item.id
}) })
} }
}, },
@ -89,6 +96,7 @@
display: flex; display: flex;
padding: 15px 0px; padding: 15px 0px;
border-bottom: 1px solid #efefef; border-bottom: 1px solid #efefef;
flex-wrap: wrap;
} }
image{ image{
width: 80px; width: 80px;

505
pagesA/communityClassification/communityClassification.vue

@ -0,0 +1,505 @@
<template>
<!-- 首页 -->
<view class="container" style="padding-top: 90px;background-color: #FFFFFF;">
<view class="" style="width: 100vw;">
<view class="status_bar"></view>
<navigationBar custom="true">
<view :style="{width: '100vw',height: '50px', color: 'white'}" style="background-image: linear-gradient(to right, #58BEE0, #84CCCA);position: fixed;z-index: 999;top:40px;">
<view :style="{padding: '10px', paddingLeft: '20px'}" style="display: flex;align-items: center;">
<view class="backHome" @click="backHome"></view>
<view style="font-size: 16px;font-weight: bold;line-height: 30px;margin-left: 10px;">话题分类</view>
</view>
</view>
</navigationBar>
</view>
<view class="menu_title">
<view class="dis-flex">
<image class="menu_img" :src="menuLists[currentMenu].img" mode=""></image>
<view class="tab-item">#{{ menuLists[currentMenu].title }}#</view>
<view style="flex:1;">
<view class="menu_btn" @click="showRightMenu">选择话题</view>
</view>
</view>
</view>
<!-- <loadlogo v-if="!loadlogo" /> -->
<view class="page-index" :style="'background-color: ' + datas.page.background" :class="!!bottomMenu ? 'bottomPadding' : ''">
<view class="">
<view style="">
<view class="list-con" v-show="tabIndex==1">
<pic-text-list :isClass="true" :communityList="communityList" @changenoMore1="changenoMore1" :scrollLock="scrollLock" @changeScrollLock="changeScrollLock"></pic-text-list>
<!-- <block v-for="(item, index) in communityList" :key="index">
<view @click="toDetails(item.id)" style="border-bottom: 1px solid #efefef;">
<pic-text :info="item" :index="index" :stopVideo="stopVideo" :currentPlay="currentPlay" @changePlay="changePlay()"></pic-text>
</view>
</block> -->
<load-more :isMore="communityList.length==0"></load-more>
<!-- <none-mores v-if="communityList.length==0"></none-mores> -->
</view>
</view>
</view>
<!-- <view class="full"></view> -->
</view>
<PopManager :show="showRight" :type="'top'" @clickmask="showRight = false" class="right_menu">
<cover-view v-if="showRight" class="menu_box">
<cover-view class="menu_close" @click="hideRightMenu">
<cover-image :src="imageRootNew+'mb-plus.png'" class="closeImg"></cover-image>
</cover-view>
<cover-view class="" style="height: calc(100vh - 130px);overflow-y: scroll;">
<cover-view v-for="(item,index) in menuLists" :key="index" :class="{active:currentMenu==index}"
@click="changeMenu(index)" class="menu_item">
{{item.title}}
</cover-view>
</cover-view>
</cover-view>
</PopManager>
</view>
</template>
<script>
let innerAudioContext = uni.createInnerAudioContext();
import App from '@/common/js/app.js';
import Loadlogo from '@/components/template/loadlogo.vue';
import wxApi from '@/common/js/wxApi.js';
import PopManager from '@/components/template/PopManager.vue';
// import picText from "@/components/template/pic_text/pic_text.vue"
import picTextList from "@/components/template/pic_text/pic_text_list.vue"
import loadMore from '@/components/template/loadmore.vue'
import noneMores from '@/components/template/nonemores.vue'
export default {
data() {
return {
loadlogo: false,
loadAgain: false,
datas: {
basic: [],
adv: '',
page: {}
},
pageInfo: {},
bottomMenu: null,
bgAudioMannager:'',
muiick:'',
seeting:null,
pagenum:0,
isred:0,
height:40,
isRedId:null,
isRedShare:null,
shareShow:false,
hintShow:false,
tabIndex: 1,
communityList: [],
tab1Page: 1,
page_index: 10,
noMore1: false,
// stopVideo: 0,
scrollLock: false,
// scrollTimer: null,
// currentPlay: -2,//,-2
showRight: false,//
menuLists: [],
currentMenu: 0,
currentMenuId: null
};
},
components: {
Loadlogo,
PopManager,
// picText,
picTextList,
loadMore,
noneMores
},
onReady(){
// console.log('onReadyonLoad')
},
onLoad(e) {
// console.log('onLoad')
let _this = this;
uni.getSystemInfo({
success:function(data){
// this
_this.height=data.statusBarHeight;
}
})
this.currentMenu = e.index;
this.currentMenuId = e.id;
this.getMenu();
},
onShow() {
this.getList();
},
onHide() {
let _this = this,
play_Audio = false,
pageAudio = _this.pageInfo.music;
if (!play_Audio) {
innerAudioContext.pause();
innerAudioContext.onPause(() => {
console.log('暂停播放');
});
}
// _this.isTabbars = false;
_this.play_Audio = play_Audio;
},
created() {},
mounted() {
this.$nextTick(function() {
this.getcurCityTime();
});
},
watch:{
},
methods: {
backHome(){
uni.navigateBack({
delta:1
})
},
getcurCityTime() {
let _this = this,
agencyData = uni.getStorageSync('agencyData'),
timestamp = new Date().getTime(),
cityTime = uni.getStorageSync('cityTimestamp'),
nowTime = !!cityTime ? timestamp - cityTime : '';
if (!!nowTime) {
let nowTime_m = parseInt((nowTime / 1000 / 60) % 60);
if (nowTime_m > 120) {
// #ifdef H5
wxApi.wxRegister(() => {
jWeixin.getLocation({
type: 'gcj02',
success: function(res) {
App.getAreaId(
res,
'',
'',
options => {
console.log('拿到了');
if (agencyData.areaid !== options.data.areaid) {
uni.showModal({
title: `定位到您在${options.data.areaname}`,
content: `是否切换至该城市进行探索`,
confirmText: '切换',
success: function(calback) {
if (calback.confirm) {
uni.setStorageSync('agencyData', options.data);
_this.$nextTick(function() {
_this.$refs.diypages.currentaidCity = options.data.areaname;
uni.setStorageSync('curLoction', res);
});
}
}
});
}
},
true
);
}
});
});
// #endif
// #ifdef MP-WEIXIN
App.getLocation().then(res => {
App.getAreaId(
res,
'',
'',
options => {
if (agencyData.areaid !== options.data.areaid) {
uni.showModal({
title: `定位到您在${options.data.areaname}`,
content: `是否切换至该城市进行探索`,
confirmText: '切换',
success: function(calback) {
if (calback.confirm) {
uni.setStorageSync('agencyData', options.data);
_this.$nextTick(function() {
_this.$refs.diypages.currentaidCity = options.data.areaname;
uni.setStorageSync('curLoction', res);
});
}
}
});
}
},
true
);
});
// #endif
}
}
},
toArticle(id){
App.navigationTo({
url:`pages/mainPages/headline/headlineDetail?headline_id=${id}`
})
},
//
getList(page = 1, isPage = false){
let _this = this;
let data = {
id: 0,//0
two_id: this.currentMenuId,
page,
page_index: _this.page_index,
homeflag: 1,
keyword: '',
};
App._post_form('&p=pocket&do=infoList', data, res => {
let list = [];
if (!isPage) {
if (res.data.list.length > 0) {
list = res.data.list;
_this.setData({
communityList: list
})
} else {
_this.noMore1 = true;
uni.showToast({
title: '暂无数据',
icon: 'none'
})
}
}else{//
if (res.data.list.length > 0){
list = [..._this.communityList, ...res.data.list];
_this.setData({
communityList: list
})
}else{
_this.noMore1 = true;
}
}
});
},
changenoMore1(e){
this.noMore1 = e;
},
changeScrollLock(e){
this.scrollLock = e;
},
showRightMenu(){
this.showRight = true;
},
hideRightMenu(){
this.showRight = false;
},
changeMenu(i){
this.currentMenu = i;
this.currentMenuId = this.menuLists[this.currentMenu].id;
this.showRight = false;
this.communityList = [];
this.getList();
},
getMenu(){
let data = {
is_two: 1,
is_set: 0
};
App._post_form('&p=pocket&do=classList', data, res => {
this.menuLists = res.data.list;
});
}
},
destroyed() {
},
onPullDownRefresh() {
//
uni.stopPullDownRefresh();
},
onPageScroll(e){
//
this.scrollLock = true;
},
onReachBottom(e) {
// uni.$emit('isBottomMore');
// uni.$emit('tabisBottomMore');
// console.log(this.tabIndex, this.noMore1, this.noMore2)
if(this.tabIndex==1){
if(!this.noMore1){
this.tab1Page++;
this.getList(this.tab1Page, true);
}else{
uni.showToast({
title: '没有更多了',
icon: 'none'
})
}
}
},
onShareAppMessage(res){
let _this = this;
if (res.from === 'button') {//
let listId = res.target.id;
let title = res.target.dataset.title;
App._post_form('&p=pocket&do=shareNum', { id: listId }, res => {
for(let index=0;index<_this.communityList.length;index++){
if(_this.communityList[index].id == listId){
_this.communityList[index].share++;
}
}
setTimeout(()=>{
uni.showToast({
icon: 'none',
title: '分享成功',
duration: 2000
});
}, 2000)
});
return {
title: '粤职才',
path: '/pagesA/pictureTextDetails/pictureTextDetails?id='+listId
}
}else{
return {
title: '话题分类',
path: '/pagesA/communityClassification/communityClassification'
}
}
}
};
</script>
<style scoped lang="scss">
.container {
background-color: #ffd93f;
-webkit-overflow-scrolling: touch;
}
.page-index {
width: 100vw;
overflow: hidden;
background-color: #fff;
position: relative;
}
.bottomPadding {
padding-bottom: 100upx;
}
.full {
width: 750upx;
height: 110upx;
background: #f8f8f8;
}
//
.status_bar {
height: var(--status-bar-height);
width: 100%;
background-color: #fff;
position: fixed;
padding-bottom: 15px;
z-index: 99;
top: 0px;
background-image: linear-gradient(to right, #58BEE0, #84CCCA);
}
.backHome{
width: 14rpx;
height: 14rpx;
border: 2px solid #fff;
border-right-color: transparent;
border-top-color: transparent;
transform: scaleX(1.2) rotate(45deg);
}
.dis-flex{
display: flex;
align-items: center;
}
.list-con{
padding: 0px 10px;
.list-item{
display: flex;
justify-content: space-between;
border-bottom: 1px solid #efefef;
padding: 10px 4px;
}
.list-title{
display:-webkit-box;//
-webkit-box-orient:vertical;//
-webkit-line-clamp:2;//
overflow:hidden;
font-size: 14px;
color: #333;
margin-bottom: 7px;
}
.list-img{
width: 80px;
height: 60px;
border-radius: 8px;
margin-left: 20px;
background-color: #d1d1d1;
}
}
.menu_title{
margin-bottom: 20px;
background-image: linear-gradient(to right, #58BEE0, #84CCCA);
&>view{
position: relative;
top: 12px;
z-index: 1;
.tab-item{
color: #fff;
font-size: 14px;
padding: 10rpx 30rpx;
}
.menu_img{
width: 140rpx;height: 140rpx;border-radius: 10px;
margin-left: 15px;
}
.menu_btn{
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
border-radius: 100px;
background-color: rgba(255, 255, 255, 1);
color: rgba(81, 156, 251, 1);
font-size: 14px;
text-align: center;
margin: 0px 15px 0px auto;
}
}
}
.right_menu{
.menu_box{
padding-top: 90px;
width: 50vw;height: 100vh;
position: fixed;top: 0px;
left: 50%;z-index: 9999;
background-color: #fff;
}
.menu_close{
margin: 0rpx 0rpx 0rpx 30rpx;
.closeImg{
width: 40rpx;
height: 40rpx;
transform: rotate(45deg);
}
}
.menu_item{
width: 300rpx;
height: 88rpx;
line-height: 88rpx;
border-radius: 5px;
color: #444;
background-color: rgba(227, 245, 245, 1);
text-align: center;
font-size: 14px;
margin: 40rpx auto;
&.active{
color: #fff;
background-color: rgba(103, 209, 252, 1);
}
}
}
/deep/ .loadMore-box{
background-color: #fff !important;
padding-top: 20rpx;
}
</style>

27
pagesA/identityList/bloggerCertification.vue

@ -6,6 +6,9 @@
<view class="informationView marginAuto"> <view class="informationView marginAuto">
<!-- 基本信息 --> <!-- 基本信息 -->
<view class="p30"> <view class="p30">
<view class="title" v-if="bloggerInfo.reject && bloggerInfo.status==2" style="color: #f00;font-size: 12px;padding-bottom: 20rpx;">
<view class="">驳回原因{{bloggerInfo.reject}}</view>
</view>
<view> <view>
<view class="line inlineBlock verticalM"></view> <view class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">博主信息</text> <text class="colorBlack font28 verticalM marginL10">博主信息</text>
@ -109,29 +112,45 @@ export default {
methods: { methods: {
init(mid) { init(mid) {
let _this = this; let _this = this;
_this.getInfo(mid); _this.verifyInfo(mid);
}, },
// //
getInfo(mid) { verifyInfo(mid) {
let _this = this; let _this = this;
let data = { let data = {
mid: mid mid: mid
}; };
App._post_form('&p=Certified&do=initApplyCertified', data, res => { App._post_form('&p=Certified&do=initApplyCertified', data, res => {
_this.getInfo(mid);
}, (err)=>{ }, (err)=>{
console.log(err.data.message); // console.log(err.data.message);
uni.navigateBack({ uni.navigateBack({
delta: 1 delta: 1
}) })
}); });
}, },
//
getInfo(mid) {
let _this = this;
let data = this.bloggerInfo;
data.mid = mid;
data.type = "get";
App._post_form('&p=certified&do=applyBloggerCertified',data, res => {
if(res.errno==0){
_this.setData({
bloggerInfo: res.data
})
}
});
},
setInfo() { setInfo() {
let _this = this; let _this = this;
let data = { let data = {
name: _this.bloggerInfo.name, name: _this.bloggerInfo.name,
mobile: _this.bloggerInfo.mobile, mobile: _this.bloggerInfo.mobile,
code: _this.bloggerInfo.code, code: _this.bloggerInfo.code,
screenshot: _this.bloggerInfo.screenshot screenshot: _this.bloggerInfo.screenshot,
type: 'set'
}; };
if(data.name.replace(/(^\s*)|(\s*$)/g, "")==''){ if(data.name.replace(/(^\s*)|(\s*$)/g, "")==''){
// //

20
pagesA/identityList/identityList.vue

@ -25,6 +25,7 @@
data() { data() {
return { return {
page: 1, page: 1,
storeid: '',
dataList: [ dataList: [
{title1:"我是学生",title2:"I am a student",img:"Learning-cuate.png", url:'/pagesA/studentIdentification/studentIdentification'}, {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 a teacher",img:"Learning-pana.png", url:'/pagesA/identityList/teacherCertification'},
@ -36,6 +37,12 @@
components: { components: {
loadmore loadmore
}, },
onLoad(e) {
if(e.sid){
//
this.storeid = e.sid;
}
},
onShow() { onShow() {
// this.getList(); // this.getList();
}, },
@ -62,9 +69,16 @@
}); });
}, },
toDetail(url){ toDetail(url){
uni.navigateTo({ if('/pages/mainPages/Settled/Settled'==url){
url:url uni.navigateTo({
}) url:url+'?storeid='+this.storeid
})
}else{
uni.navigateTo({
url:url
})
}
} }
}, },
onReachBottom(){ onReachBottom(){

27
pagesA/identityList/teacherCertification.vue

@ -6,6 +6,9 @@
<view class="informationView marginAuto"> <view class="informationView marginAuto">
<!-- 基本信息 --> <!-- 基本信息 -->
<view class="p30"> <view class="p30">
<view class="title" v-if="teacherInfo.reject && teacherInfo.status==2" style="color: #f00;font-size: 12px;padding-bottom: 20rpx;">
<view class="">驳回原因{{teacherInfo.reject}}</view>
</view>
<view> <view>
<view class="line inlineBlock verticalM"></view> <view class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">教师信息</text> <text class="colorBlack font28 verticalM marginL10">教师信息</text>
@ -118,22 +121,37 @@ export default {
methods: { methods: {
init(mid) { init(mid) {
let _this = this; let _this = this;
_this.getInfo(mid); _this.verifyInfo(mid);
}, },
// //
getInfo(mid) { verifyInfo(mid) {
let _this = this; let _this = this;
let data = { let data = {
mid: mid mid: mid
}; };
App._post_form('&p=Certified&do=initApplyCertified', data, res => { App._post_form('&p=Certified&do=initApplyCertified', data, res => {
_this.getInfo(mid);
}, (err)=>{ }, (err)=>{
console.log(err.data.message); // console.log(err.data.message);
uni.navigateBack({ uni.navigateBack({
delta: 1 delta: 1
}) })
}); });
}, },
//
getInfo(mid) {
let _this = this;
let data = this.teacherInfo;
data.mid = mid;
data.type = "get";
App._post_form('&p=certified&do=applyTeacherCertified',data, res => {
if(res.errno==0){
_this.setData({
teacherInfo: res.data
})
}
});
},
setInfo() { setInfo() {
let _this = this; let _this = this;
let data = { let data = {
@ -142,7 +160,8 @@ export default {
faculty: _this.teacherInfo.faculty, faculty: _this.teacherInfo.faculty,
mobile: _this.teacherInfo.mobile, mobile: _this.teacherInfo.mobile,
code: _this.teacherInfo.code, code: _this.teacherInfo.code,
documents: _this.teacherInfo.document_img documents: _this.teacherInfo.document_img,
type: 'set'
}; };
if(data.name.replace(/(^\s*)|(\s*$)/g, "")==''){ if(data.name.replace(/(^\s*)|(\s*$)/g, "")==''){
// //

5
pagesA/instantMessenger/instantMessenger.vue

@ -841,6 +841,11 @@ export default {
_this.vxshow = true; _this.vxshow = true;
//#endif //#endif
} }
if(fail.data.data.is_jump==1){
uni.navigateTo({
url: '/pages/subPages/Equity/Equity'
})
}
} }
); );
if (im_type != 4) { if (im_type != 4) {

50
pagesA/pictureTextDetails/pictureTextDetails.vue

@ -533,36 +533,34 @@ export default {
}, },
onShareAppMessage(res){ onShareAppMessage(res){
let _this = this; let _this = this;
let listId;
if (res.from === 'button') {// if (res.from === 'button') {//
let listId = res.target.id; listId = res.target.id;
let title = res.target.dataset.title; // let title = res.target.dataset.title;
App._post_form('&p=pocket&do=shareNum', { id: listId }, res => { }else{//
if(listId == _this.id){ listId = this.id;
_this.detailinfo.share++; }
}else{ App._post_form('&p=pocket&do=shareNum', { id: listId }, res => {
for(let index=0;index<_this.communityList.length;index++){ if(listId == _this.id){
if(_this.communityList[index].id == listId){ _this.detailinfo.share++;
_this.communityList[index].share++; }else{
} for(let index=0;index<_this.communityList.length;index++){
if(_this.communityList[index].id == listId){
_this.communityList[index].share++;
} }
} }
setTimeout(()=>{
uni.showToast({
icon: 'none',
title: '分享成功',
duration: 2000
});
}, 2000)
});
return {
title: '粤职才',
path: '/pagesA/pictureTextDetails/pictureTextDetails?id='+listId
}
}else{
return {
title: '粤职才',
path: '/pages/mainPages/index/index'
} }
setTimeout(()=>{
uni.showToast({
icon: 'none',
title: '分享成功',
duration: 2000
});
}, 2000)
});
return {
title: '粤职才',
path: '/pagesA/pictureTextDetails/pictureTextDetails?id='+listId
} }
}, },
onPageScroll(){ onPageScroll(){

10
pagesA/studentIdentification/studentIdentification.vue

@ -6,6 +6,9 @@
<!-- 基本信息 --> <!-- 基本信息 -->
<view class="informationView marginAuto"> <view class="informationView marginAuto">
<view class="p30"> <view class="p30">
<view class="title" v-if="studInfo.reject && studInfo.status==2" style="color: #f00;font-size: 12px;padding: padding-bottom;">
<view class="">驳回原因{{studInfo.reject}}</view>
</view>
<view> <view>
<view class="line inlineBlock verticalM"></view> <view class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">学生信息</text> <text class="colorBlack font28 verticalM marginL10">学生信息</text>
@ -176,13 +179,13 @@ export default {
App._post_form('&p=Certified&do=initApplyCertified', data, res => { App._post_form('&p=Certified&do=initApplyCertified', data, res => {
_this.getInfo(mid); _this.getInfo(mid);
}, (err)=>{ }, (err)=>{
console.log(err.data.message); // console.log(err.data.message);
uni.navigateBack({ uni.navigateBack({
delta: 1 delta: 1
}) })
}); });
}, },
// //
getInfo(mid) { getInfo(mid) {
let _this = this; let _this = this;
let data = { let data = {
@ -203,6 +206,7 @@ export default {
}) })
}); });
}, },
//
setInfo() { setInfo() {
let _this = this; let _this = this;
let data = { let data = {
@ -462,7 +466,7 @@ export default {
} }
.informationView { .informationView {
width: 690upx; width: 690upx;
height: 790upx; // height: 790upx;
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
border-radius: 10upx; border-radius: 10upx;
margin-top: 10px!important; margin-top: 10px!important;

Loading…
Cancel
Save