Browse Source

更新

master
luyisha 2 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. 18
      components/template/pic_text/pic_text.vue
  9. 57
      components/template/pic_text/pic_text_list.vue
  10. 62
      components/template/postListTwo.vue
  11. 4
      components/template/tabBar.vue
  12. 118
      components/template/tabs/tabs-copy.vue
  13. 38
      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. 120
      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. 10
      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. 72
      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. 22
      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="&#xe6e8;" font-size="44rpx" title="撤销" @click="undo"></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 class="font-more" :style="{ height: showMoreTool ? '100rpx' : 0 }">
@ -109,7 +109,8 @@ export default {
showCenter: false,
showRight: false,
showSettingLayer: false,
activeColor: '#F56C6C'
activeColor: '#F56C6C',
set_color: '#509DFD',
};
},
components: {
@ -308,12 +309,14 @@ export default {
this.showSettingLayer = !this.showSettingLayer;
},
async editFocus() {
this.set_color = "#509DFD";
this.$emit('editFocus', this.set_color);
},
editBlur() {
},
release(isPublic) {
this.set_color = "#666666";
this.showSettingLayer = false;
this.editorCtx.getContents({
success: res => {

4
components/page/pageComponents/goodsStyle.vue

@ -17,7 +17,7 @@
: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 + ')' }">
<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-if="isdiyPageParams.marker_set === '1'">
<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 ? '提醒我' : '已关注' }}
</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 ? '已售罄' : '马上抢' }}
</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() {
return {}
}
},
isLogin:{
type: Boolean,
default: true
}
},
methods: {
@ -203,6 +207,19 @@
}
// #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({
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 class="pop__container" :style="{zIndex: zIndex}" @touchmove="touchmove">
<view class="show">
<image :src="imgfixUrls + 'merchant/addPhone.png'" />
<image class="image1" :src="imgfixUrls + 'merchant/addPhone.png'" />
<view class="showPackage">
<view class="showTitle"><span>绑定手机号</span></view>
<view class="userNameInput">
<view class="phones" style="font-size: 20upx;">
手机号:
</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 class="userSmsInput" v-if="verifyCode == 1">
<view class="phones" style="font-size: 20upx;">
图形验证码:
</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" />
</view>
<view class="userSmsInput" v-if="smsver == 0">
<view class="phones" style="font-size: 20upx;">
验证码:
</view>
<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>
<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 class="span1">获取验证码</span></view>
<view class="getSms" v-else>
<span>{{ timeEnd }}</span>
<span class="span1">{{ timeEnd }}</span>
</view>
</view>
<view class="showSubmitButton" @click="changeMobile"><span>绑定手机号</span></view>
<view class="showSubmitButton" @click="changeMobile"><span class="span2">绑定手机号</span></view>
</view>
</view>
</view>
@ -387,7 +387,7 @@
border-radius: 20upx;
overflow: hidden;
>image {
>.image1 {
width: 600upx;
height: 112upx;
}
@ -418,7 +418,7 @@
background: rgba(248, 248, 248, 1);
border-radius: 10upx;
>input {
>.n_input {
height: 90upx;
margin-left: 30upx;
font-size: 28upx;
@ -435,7 +435,7 @@
margin-top: 20upx;
position: relative;
>input {
>.s_input {
vertical-align: middle;
display: inline-block;
height: 90upx;
@ -456,7 +456,7 @@
border-radius: 6upx;
text-align: center;
>span {
>.span1 {
line-height: 58upx;
font-size: 24upx;
@ -472,7 +472,7 @@
border-radius: 37upx;
text-align: center;
>span {
>.span2 {
line-height: 74upx;
font-size: 28upx;

6
components/template/diypages.vue

@ -582,7 +582,7 @@
<!-- menu 按钮组 - 新加注释 - 首页的按钮组使用这个 -->
<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'">
<tab-menu :menuId="item.id" :btngroupData="item.btngroupData"></tab-menu>
<tab-menu :menuId="item.id" :btngroupData="item.btngroupData" :isLogin="isLogin"></tab-menu>
</view>
<!-- menu 按钮组 -->
@ -1637,6 +1637,10 @@
default: function() {
return ''
}
},
isLogin:{
type: Boolean,
default: true
}
},
computed: {

4
components/template/nonemores.vue

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

13
components/template/partTimeJob.vue

@ -31,12 +31,12 @@
</view>
<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-il-block company-name" style="color: #000;font-size: 30upx;">
{{item.title}}
</view>
<view class="dis-il-block wprk-top" v-if="item.is_top != 0">
<view class="dis-il-block company-name" style="color: #000;font-size: 30upx;width: 70%;">
<span>{{item.title}}</span>
<span class="dis-il-block wprk-top" v-if="item.is_top != 0"></span>
</view>
<!-- <view class="dis-il-block wprk-top" v-if="item.is_top != 0"></view> -->
<view style="font-size: 30upx;font-family: DINPro;
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">
@ -123,8 +123,9 @@
font-size: 22upx;
font-family: PingFang SC;
font-weight: 500;
padding: 2upx 5upx;
margin-left: 20upx;
width: 18px;height: 18px;
line-height: 18px;text-align: center;
color: #FFFFFF;
}
.workList{

18
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>
<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.one_name">{{' '+'#'+itemInfos.one_name}}#</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=""
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;"
@ -127,7 +128,8 @@ export default {
videoContext: '',
query: '',
singleImgW: '2',
singleImgH: '1',
singleImgH: '1',
isFullScreen: false
}
},
components:{
@ -139,6 +141,7 @@ export default {
require: true
},
isDetail: {
// falsetruetrue
type: Boolean,
default: false
},
@ -170,9 +173,13 @@ export default {
if(this.index!==this.currentPlay){
//
this.videoContext.stop();
this.videoContext&&this.videoContext.stop();
}else{
//
if(this.isFullScreen){
return;
// ()
}
this.query.select('.video-wrapper').boundingClientRect(data=>{
if(data){
// console.log(data.top,'',data);
@ -383,6 +390,9 @@ export default {
},
updateImgH(){
return { height: `calc(${this.singleImgH} / ${this.singleImgW} * 50vw)` };
},
fullscreenchange(e){
this.isFullScreen = e.detail.fullScreen;
},
},
onReady(){

57
components/template/pic_text/pic_text_list.vue

@ -2,7 +2,7 @@
<view class="">
<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>
<pic-text :isDetail="isClass" :info="item" :index="index" :stopVideo="stopVideo" :currentPlay="currentPlay" @changePlay="changePlay()"></pic-text>
</view>
</block>
</view>
@ -14,29 +14,28 @@
export default {
data(){
return {
communityList: [],
stopVideo: 0,
scrollTimer: null,
currentPlay: -2,//,-2
}
},
props:{
tab1Page: {
type: Number
},
scrollLock: {
type: Boolean
},
communityList: {
type: Array
},
isClass: {
// falsetrue
type: Boolean,
default: false
}
},
components:{
picText
},
watch: {
tab1Page: {
handler(newVal, oldVal){
this.getList(newVal, true)
}
},
scrollLock: {
handler(newVal, oldVal){
this.handlerScroll();
@ -44,7 +43,7 @@
}
},
created() {
this.getList(this.tab1Page);
},
methods: {
//
@ -53,42 +52,6 @@
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(){
if(this.scrollLock){
clearTimeout(this.scrollTimer);

62
components/template/postListTwo.vue

@ -1,10 +1,11 @@
<template>
<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> -->
<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"
@play="stopOther()"></video>
@play="stopOther()" :enable-play-gesture="true"
@fullscreenchange="fullscreenchange"></video>
<view class="cont">
{{itemInfos.content}}
</view>
@ -94,7 +95,8 @@
poster:'',
isShowMenu: false,
videoContext: null,
query: '',
query: '',
isFullScreen: false
};
},
watch: {
@ -114,26 +116,32 @@
if(!!this.itemInfos.video_link){
// this.videoContext.stop();
if(this.indexNumber!==this.currentPlay){
//
this.videoContext.stop();
}else{
//
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();
}
setTimeout(()=>{
if(this.indexNumber!==this.currentPlay){
//
this.videoContext.stop();
}else{
//
if(this.isFullScreen){
return;
// ()
}
}).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(){
this.$emit('changePlay', this.indexNumber);
},
fullscreenchange(e){
// console.log(e, '---');
this.isFullScreen = e.detail.fullScreen;
},
}
};
@ -247,13 +259,13 @@
min-height: 265px;
-webkit-transform: translate3d(0, 0, 0);//,ios
// video{
// video{//使
// border-top-left-radius: 8px;
// border-top-right-radius: 8px;
// overflow: hidden;
// }
}
image, video{
.img-video-area{
width: 100%;
height: 200px;
}

4
components/template/tabBar.vue

@ -11,14 +11,14 @@
</view>
<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="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 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="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>

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

@ -22,7 +22,7 @@
</swiper-item>
</swiper>
<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="">
<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>
@ -41,14 +41,32 @@
<video id="myvideo" :src="videolint"
:style="updateWH" class="myvideo" :show-play-btn="false" object-fit="cover"
@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">
<text class="iconfont icon-roundleftfill" style="font-size: 48upx;" @click="hideVideo"></text>
</view>
<view class="playBtnArea" @click.stop="videoControl" v-if="!play">
<img :src="imageRootNew+'play.png'" alt="">
</view>
<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">
<!-- <image src="../../../static/chooseCade/BG.png" mode=""
style="width: 80upx;height: 80upx;background: #FFF;border-radius: 50%;overflow: hidden;"></image> -->
@ -152,17 +170,36 @@
commentShow: false,
currentVideoW: '',
currentVideoH: '',
play: true,
editComment: '',
pid: '',// id
oneid: '',// id
placeholderText: '输入评论',
comment_onePage: 1,
play: true,//
//
currentTime: 0,
//
duration: 0.1,
//
isDrag: false,
//
dragStarTime: '',
dragEndTime: '',
}
},
components: {
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: {
pageType: {
type: Number | String,
@ -495,12 +532,65 @@
// 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, '');
this.currentVideoW = e.detail.width;
this.currentVideoH = e.detail.height;
const { duration } = e.detail
//
this.duration = duration
//
// this.$emit('loadcomplete')
},
}
}
</script>
@ -509,7 +599,7 @@
.search-box{
width: 100%;
height: 34px;
border: 1px solid #509DFD;
border: 1px solid #82d0f7;
border-radius: 30px;
background-color: #fff;
display: flex;
@ -522,7 +612,7 @@
.search-btn{
width: 120upx;
height: 30px;
background-color: #509DFD;
background-color: #82d0f7;
border-radius: 15px;
color: #fff;
font-size: 12px;
@ -560,7 +650,7 @@
bottom: 0px;
left: 50%;
transform: translateX(-50%);
background-color: #509DFD;
background-color: #82d0f7;
border-radius: 2px;
}
&.active2{
@ -653,25 +743,29 @@
height: 100%;
}
}
.myvideo{
position: absolute;
}
.videoTxt{
width: 100vw;
position: absolute;
left: 0upx;
left: 0px;
bottom: 0;
z-index: 1;
font-size: 28upx;
padding: 20upx 0upx 80upx;
padding: 80upx 0upx 80upx;
box-sizing: border-box;
color: #ddd;
// background-color: rgba(255,255,255,0.1);
white-space: break-spaces;
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.4));
.slider-view{
}
.text-area{
padding: 70px 30upx 70upx;
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.4));
padding: 10px 30upx 10upx;
}
.comment-wrapper{
height: 25px;

38
components/template/workList.vue

@ -3,11 +3,10 @@
<view :class="tabStyle?'workList workList-two':'workList'" style="" v-if="logoding" v-for="(item,index) in inviteList" @click="goNvigeing(item)">
<view class="work-title" :style="{border: tabStyle?'none':'1upx solid #EEEEEE;'}">
<view class="dis-il-block work-name">
{{item.title}}
</view>
<view class="dis-il-block wprk-top" v-if="item.is_top != 0">
{{item.title}}
<span class="dis-il-block wprk-top" v-if="item.is_top != 0"></span>
</view>
<!-- <view class="dis-il-block wprk-top" v-if="item.is_top != 0"></view> -->
<view class="wprk-pay">
{{item.salary}}
</view>
@ -49,7 +48,9 @@
</view>
</view>
<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 class="company-light">
@ -125,13 +126,14 @@
color: #333333;
}
.wprk-top{
background: #F1C426;
border-radius: 4upx;
font-size: 22upx;
font-family: PingFang SC;
font-weight: 500;
padding: 2upx 5upx;
margin-left: 20upx;
background: #F1C426;
border-radius: 4upx;
font-size: 22upx;
font-family: PingFang SC;
font-weight: 500;
margin-left: 20upx;
width: 18px;height: 18px;
line-height: 18px;text-align: center;
color: #FFFFFF;
}
.wprk-pay{
@ -219,7 +221,17 @@
width: 338rpx;
height: 190upx;
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{
width: 100%;

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

@ -115,6 +115,10 @@
type:Boolean,
default:false
},
disabledBefore:{//
type:Boolean,
default:false
},
disabledAfter:{//
type:Boolean,
default:false
@ -182,6 +186,7 @@
let curMinute=curDate.curMinute;
let curSecond=curDate.curSecond;
let months=[],days=[],hours=[],minutes=[],seconds=[];
//
let disabledAfter=this.disabledAfter;
let monthsLen=disabledAfter?(year*1<curYear?12:curMonth):12;
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 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 disabledBefore = this.disabledBefore;
for(let month=1;month<=monthsLen;month++){
months.push(this.formatNum(month));
};

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

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

2
manifest.json

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

8
pages.json

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

80
pages/mainPages/Settled/Settled.vue

@ -4,7 +4,7 @@
<loadlogo v-if="!isWxaudit" />
<block v-else>
<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">
<view class="icon_view"><text class="iconfont icon-check"></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>
<view class="page-footer">
<TabBars :tabBarAct="0" />
<!-- <TabBars :tabBarAct="0" /> -->
</view>
</scroll-view>
<view class="demo" v-else>
<view class="demo">
<view class="pagesOne" v-if="page == 1">
<view class="backImages" :style="{ 'background-image': 'url(' + (userInfo.top_img) + ')' }">
<view class="main">
@ -27,6 +27,7 @@
<view class="mainPackage">
<!-- 用户信息区域 -->
<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="firstTitle">
<view class="firstTitleName">
@ -186,12 +187,12 @@
<view class="twiceTitle1">
<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="imgfixUrls + 'merchant/close.png'" class="close" @click="closePreview(7)" />
</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'" />
</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="firstTitle">
<view class="firstTitleName">
@ -529,7 +531,7 @@
</PopManager>
<view class="page-footer">
<TabBars :tabBarAct="0" />
<!-- <TabBars :tabBarAct="0" /> -->
</view>
<follow :followShow="followShow" :followType="followType" :followTitleShow="followTitleShow" @clickmask="openQrShow"
@closeFollowPop="closeFollowPop" @closeFollowTitle="closeFollowTitle"></follow>
@ -668,7 +670,7 @@
examine: [],
thumbimages: [],
cateidArray: [],
business_license: '',//
business_license: null,//
recruit_brighten: '',//
recruit_adv: [],//
recruit_long_img: [],
@ -1067,7 +1069,7 @@
}
}
if (type == 7) {
_this.userInfo.business_license='';
_this.userInfo.business_license=null;
}
},
closeLogo() {
@ -1282,9 +1284,12 @@
data,
res => {
if (res.data.status == '0') {
App.navigationTo({
url: 'pages/subPages/merchant/merchantChangeShop/merchantChangeShop'
});
uni.redirectTo({
url: '/pagesA/identityList/identityList'
})
// App.navigationTo({
// url: 'pages/subPages/merchant/merchantChangeShop/merchantChangeShop'
// });
} else {
App.navigationTo({
url: 'pages/mainPages/payment/payment?orderid=' + res.data.orderid
@ -1308,7 +1313,7 @@
getUserInfo(idis = 111) {
let _this = this;
let data = {
id: ''
id: this.e.storeid
};
_this.citylist = [];
let listLeft = [];
@ -1326,8 +1331,19 @@
// })
// }
_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){
_this.userInfo.top_img = _this.backImages;
}
@ -1361,22 +1377,22 @@
})
for (let i = 0; i < res.data.citylist.length; i++) {
cityListLeft.push(res.data.citylist[i]);
if (res.data.citylist[i].id == res.data.provinceid) {
// _this.provinceidName = res.data.citylist[i].name;
if (res.data.citylist[i].id == res.data.store.provinceid) {
_this.provinceidName = res.data.citylist[i].name;
_this.userInfo.provinceid = res.data.citylist[i].id;
oneNumber = i;
_this.cityIndex.push(oneNumber);
for (let a = 0; a < res.data.citylist[i].area.length; a++) {
cityListCenter.push(res.data.citylist[i].area[a]);
if (res.data.citylist[i].area[a].id == res.data.areaid) {
// _this.areaidName = res.data.citylist[i].area[a].name;
if (res.data.citylist[i].area[a].id == res.data.store.areaid) {
_this.areaidName = res.data.citylist[i].area[a].name;
_this.userInfo.areaid = res.data.citylist[i].area[a].id;
twoNumber = a;
_this.cityIndex.push(twoNumber);
for (let c = 0; c < res.data.citylist[i].area[a].dist.length; c++) {
cityListRight.push(res.data.citylist[i].area[a].dist[c]);
if (res.data.citylist[i].area[a].dist[c].id == res.data.distid) {
// _this.distidName = res.data.citylist[i].area[a].dist[c].name;
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.distid = res.data.citylist[i].area[a].dist[c].id;
threeNumber = c;
_this.cityIndex.push(threeNumber);
@ -1490,7 +1506,7 @@
return;
}
if (_this.userInfo.business_license == '') {
if (_this.userInfo.business_license == null) {
uni.showToast({
icon: 'none',
title: '请上传营业执照',
@ -1536,10 +1552,22 @@
App._post_form('&p=store&do=createStore', data, res => {
uni.setStorageSync('userId', res.data);
_this.userInfo.storeid = res.data.storeid;
_this.page = 2;
_this.getChargeList();
_this.btnOff = false;
_this.userInfo.store_housekeep_cate = [];
if(res.data.jump_pay===1){
_this.page = 2;
_this.getChargeList();
_this.btnOff = false;
_this.userInfo.store_housekeep_cate = [];
}else{
uni.showToast({
title: '提交成功'
})
setTimeout(()=>{
uni.navigateBack({
delta: 1
})
}, 1000)
}
}, err=>{
_this.btnOff = false;
_this.userInfo.store_housekeep_cate = [];
@ -1610,7 +1638,7 @@
}
// :industryIndextwoLevelList
if (_this.userInfo.business_license == '') {
if (_this.userInfo.business_license == null) {
uni.showToast({
icon: 'none',
title: '请上传营业执照',

2
pages/mainPages/index/diypage.vue

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

120
pages/mainPages/index/index.vue

@ -49,13 +49,30 @@
</block>
</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 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==2?'active':''" @click="tabIndex=2">资讯</view>
<view style="flex:1;">
<view class="menu_btn" @click="showRightMenu">选择话题</view>
</view>
</view>
<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">
<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>
@ -124,6 +141,20 @@
<cover-image v-if="shareShow" :src="imageRoot + 'share.png'" class="coverImg"></cover-image>
</cover-view>
</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>
</template>
<script>
@ -197,6 +228,9 @@ export default {
scrollLock: false,
// scrollTimer: null,
// currentPlay: -2,//,-2
showRight: false,//
menuLists: [],
currentMenu: null,
};
},
components: {
@ -216,7 +250,7 @@ export default {
},
onLoad(e) {
console.log('onLoad')
this.stopVideo = 0;
// this.stopVideo = 0;
let _this = this;
let url = 'pages/mainPages/index/index';
let Twodaystime = uni.getStorageSync('Twodaystime');
@ -248,12 +282,14 @@ export default {
})
},1000)
//#endif
// this.getList(this.tab1Page);///
this.getList(this.tab1Page);///
this.getinfoHot();
this.getHeadlineInfo(this.tab2Page);
this.getHeadlineInfoHot()
this.getHeadlineInfoHot();
this.getMenu();
},
onShow() {
this.showRight = false;
return;
this.pagenum = this.pagenum + 1;
setTimeout(()=>{
@ -899,6 +935,27 @@ export default {
},
changeScrollLock(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() {
@ -942,7 +999,7 @@ export default {
if(this.tabIndex==1){
if(!this.noMore1){
this.tab1Page++;
// this.getList(this.tab1Page, true);
this.getList(this.tab1Page, true);
}else{
uni.showToast({
title: '没有更多了',
@ -1160,12 +1217,61 @@ export default {
width: 20px;
height: 12rpx;
border-radius: 6rpx;
background-color: #f00;
background-color: #82d0f7;
position: absolute;
bottom: -2rpx;
left: 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>

4
pages/mainPages/login/minLogin.vue

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

54
pages/mainPages/sendInformation/sendInformation.vue

@ -47,12 +47,15 @@
<!-- 循环模板 -->
<!-- 如果需要换回滑动切换的菜单itme标签应循环arr,打开arr的数组切割 -->
<!-- <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>
<span :style="{ color: items.color }">{{ items.title }}</span>
</view>
</view>
</view>
<!-- </swiper-item> -->
<!-- 循环模板 -->
<!-- </swiper> -->
@ -239,7 +242,22 @@ export default {
// for (let i = 0; i < _this.classificationListsPage.length; i++) {
// _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;
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 {
margin-top: 40upx;
display: inline-block;
width: 25%;
> view:nth-child(1) {
margin: auto;
width: 52upx;
height: 46upx;
width: 160upx;
height: 160upx;
border-radius: 50%;
border: 1px solid #519CFB;
> image {
width: 52upx;
height: 52upx;
width: 140upx;
height: 140upx;
border-radius: 50%;
margin: 10rpx;
}
}
> view:nth-child(2) {
margin: 20upx 0 0 0;
text-align: center;
> span {
font-size: 24upx;
font-size: 28upx;
color: rgba(0, 0, 0, 1);
}
}

2
pages/mainPages/userCenter/userCenter.vue

@ -227,7 +227,7 @@
<!-- 认证入口 -->
<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'"> -->
<image :src="imageRootNew+'icon_certificate.png'" mode=""></image>
<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>
<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> -->
<PhoneMask :show1="show1" @clickmask1="closePop1"></PhoneMask>
<PopManager :show="show2" @clickmask="closeshow">

6
pages/subPages/goods/index.css

@ -355,7 +355,8 @@
position: relative;
margin-bottom: 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 {
@ -718,7 +719,8 @@
}
.star-go-buy {
background-color: #FF4444;
background-color: #82d0f7;
/* background-color: #FF4444; */
}
.end-go-buy {

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

@ -222,6 +222,11 @@ export default {
_this.vxshow = true;
//#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>
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 PartLoading from "@/components/template/PartLoading.vue"
// import Loadlogo from '@/components/template/loadlogo'
@ -285,7 +285,7 @@
},
components: {
postList,
// postList,
postListTwo,
PartLoading,
// Loadlogo,
@ -782,6 +782,8 @@
changePlay(e){
this.stopVideo++;//=
this.currentPlay = e;
// console.log(e, '');
// console.log(this.stopVideo);
},
changeScrollLock(){
if(this.scrollLock){
@ -790,7 +792,7 @@
this.scrollTimer = setTimeout(()=>{
this.stopVideo++;
this.scrollLock = false;
console.log(this.stopVideo);
// console.log(this.stopVideo);
}, 500)
},

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

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

10
pages/subPages/mineCollection/mineCollection.vue

@ -88,7 +88,9 @@
<!-- 列表区域 -->
<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> -->
<!-- 列表区域 -->
<!-- 收藏校园活动 -->
@ -123,7 +125,8 @@ import TabBars from '@/components/template/tabBar';
import wxApi from '@/common/js/wxApi.js';
// #endif
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"
export default {
@ -131,7 +134,8 @@ export default {
postManage,
TabBars,
businessCard,
loadMore
loadMore,
noneMores
},
data() {
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="purchaseTitlePackage">
<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 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="page-footer">
<view class="page-footer" v-if="0">
<TabBars :tabBarAct="0" />
</view>
</view>

3
pages/subPages/paySuccess/paySuccess.vue

@ -13,7 +13,8 @@
<view class="payTitleButton">
<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="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">
<span>返回列表</span>
</view>

25
pages/subPages/postRelease/postRelease.vue

@ -620,8 +620,31 @@
tmplIds: [_this.setInfo.set.tempId],
success(res) {
console.log(res)
if(res[_this.setInfo.set.tempId]=='reject'){
//
// return;
}
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;

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

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

31
pages/subPages/search/search.vue

@ -11,7 +11,7 @@
<view class="search-h-t1-l">
<view class="search-h-t1-l-lab" :style="{backgroundColor: searchA.serbgn}">
<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 class="search-h-t1-r f-34" @click="search()">
@ -21,7 +21,7 @@
<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 == 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>
</view>
@ -46,9 +46,12 @@
<storelist :search="true" :storeList="searchList" />
</view>
<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>
</view>
</view> -->
<!-- 首页社区 -->
<pic-text-list :communityList="citywideList" @changenoMore1="changenoMore1" :scrollLock="scrollLock" @changeScrollLock="changeScrollLock"></pic-text-list>
</view>
</view>
@ -71,6 +74,7 @@
import loadMore from '@/components/template/loadmore.vue'
import noneMores from '@/components/template/nonemores.vue'
import postList from '@/components/template/postList'
import picTextList from "@/components/template/pic_text/pic_text_list.vue"
// #ifdef H5
import wxApi from "@/common/js/wxApi.js"
// #endif
@ -96,6 +100,7 @@
citywideList:[],
postTotal:1,
indexShow: -1,
scrollLock: false,
}
},
computed: {
@ -109,7 +114,8 @@
goodsStyle,
loadMore,
noneMores,
postList
postList,
picTextList
},
mounted() {
this.hotSearch()
@ -234,6 +240,7 @@
_this.postTotal = res.data.total;
}
_this.loadingMore = true;
// console.log(_this.citywideList, '----citywideList----');
}, false, () => {
uni.hideLoading()
});
@ -300,7 +307,19 @@
}, false, () => {
uni.hideLoading()
});
}
},
changenoMore1(e){
this.loadingMore = e;
},
changeScrollLock(e){
this.scrollLock = e;
},
},
onPageScroll(e){
//
this.scrollLock = true;
// this.handlerScroll();
},
onPullDownRefresh() {

7
pages/subPages/submitOrder/submitOrder.vue

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

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

@ -89,14 +89,14 @@
<view v-if="loadlogo">
<screening :check="check" :num="num" @close="close" @checkeda="checkeda" @confirm="confirm" v-bind:moreData.sync="moreData"></screening>
</view>
<TabBars :tabBarAct="0" pageType="15"></TabBars>
<!-- <TabBars :tabBarAct="0" pageType="15"></TabBars> -->
<PopManager :show="isShow" type="center" @clickmask="closes">
<view class="b-f invitePop">
<view class="invitePop-title f-w">
邀请面试
<text class="iconfont icon-close" style="float: right;vertical-align: top;font-size: 30upx;" @click="closes"></text>
</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>
@ -127,16 +127,39 @@
</view>
</view>
</PopManager>
<w-picker
<!-- <w-picker
:visible.sync="visiblec"
mode="date"
startYear="1970"
:startYear="today"
endYear="2100"
:value="time"
fields="minute"
@confirm="onConfirmdete($event, 'region')"
:disabledBefore="true"
:disabledAfter="false"
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
:visible.sync="visible"
mode="selector"
@ -187,6 +210,7 @@
job_type:null,
time:'',
visiblec:false,
today: '2023-08-09',
visible:false,
site:'',
selectorItem:'',
@ -246,11 +270,19 @@
// onload
},
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){
this.pagenum = true;
return
}
this.confirm(false,true,1)
this.confirm(false,true,1);
},
onReachBottom() {
if(this.total < this.page) return
@ -289,6 +321,22 @@
this.selectorItem = e.result;
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) {
console.log(e);
this.time = e.result;
@ -333,8 +381,19 @@
});
this.confirm(false,true,1);
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,
release_mid:this.recruitment_type==1?this.userInfoId:'',
release_sid:this.recruitment_type==2?this.release_sid:'',
}
page_all: 1
}
App._post_form(
`&p=recruit&do=homeList`,
data,
@ -754,4 +814,10 @@
transform: translate(-50%);
}
}
.datePickerMask{
/deep/ .icon-calendar:before{
content: none;
}
}
</style>

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

@ -471,7 +471,7 @@
</view>
<view class="dis-flex f-24 formtitle">
<view class="t-r" style="flex: 0.3;">
<view class="dis-il-block" style="font-size: 20upx;color: #FFFFFF;float: left;">*</view>
<view class="dis-il-block" style="font-size: 20upx;color: #FF4444;float: left;">*</view>
职位描述
</view>
<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(()=>{
uni.hideLoading()

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

@ -70,20 +70,16 @@
<view class="psition-tag">
<view class="dis-il-block tag-item" v-for="(item, index) in recruitmentDetails.welfare_list" :key="index">{{ item }}</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.scale }}</view>
<view class="dis-il-block tag-item">{{ recruitmentDetails.release.industry }}</view>
</view>
</view> -->
<view class="qualification" v-if="0">
<view class="qualification-entry">
{{recruitmentDetails.release.nature}} · {{recruitmentDetails.release.scale}} · {{recruitmentDetails.release.industry}}
</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-title">任职资格:</view>
<view class="qualification-entry">

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

@ -82,8 +82,9 @@
驳回原因{{item.reason}}
</view>
</view>
<load-more :isMore="isMore" :bgc="'#ffffff'"></load-more>
</view>
<load-more :isMore="isMore" :bgc="'#ffffff'"></load-more>
<view v-if="loadlogo">
<screening :check="check" :num="num" @close="close" @checkeda="checkeda" @confirm="confirm" v-bind:moreData.sync="moreData"></screening>
</view>
@ -294,7 +295,12 @@ export default {
if (flag) {
this.inviteList = this.inviteList.concat(res.data.list);
} 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 => {
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>
</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>
@ -175,7 +175,7 @@
</view>
</view>
</PopManager>
<w-picker
<!-- <w-picker
:visible.sync="visiblec"
mode="date"
startYear="1970"
@ -184,7 +184,28 @@
fields="minute"
@confirm="onConfirmdete($event, 'region')"
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
:visible.sync="visible"
mode="selector"
@ -210,6 +231,7 @@
loadlogo:false,
isShow:false,
visiblec:false,
today: '2023-08-09',
visible:false,
time:'',
site:'',
@ -231,12 +253,16 @@
},
onLoad(e) {
this.recruitment_type = e.flag;
this.pageId = e.id;
this.workId = e.pageId;
this.release_sid = e.sid;
this.pageId = e.id;//id
this.workId = e.pageId;// id
this.release_sid = e.sid;//id
this.userInfoId = uni.getStorageSync('userinfo');
this.getResumeData(e.id);
},
onShow(){
let date = new Date();
this.today = date.getTime();
},
methods:{
goChat(){ //instantMessengerwebsocketchat
@ -287,8 +313,20 @@
uni.showToast({
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;
}
@ -313,7 +351,8 @@
recruitment_type:this.recruitment_type,
release_mid:this.recruitment_type==1?this.userInfoId:'',
release_sid:this.recruitment_type==2?this.release_sid:'',
}
page_all: 1
}
App._post_form(
`&p=recruit&do=homeList`,
data,
@ -357,6 +396,22 @@
this.selectorItem = e.result;
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) {
console.log(e);
this.time = e.result;

72
pages/subPages2/subscription/subscription.vue

@ -72,10 +72,11 @@
</view>
<!-- #endif -->
<!-- #ifndef H5 -->
<view style="flex: 0.3;">
<view class="subscription-item-btn t-c" @click="subscriptionClik(item)">
<view style="flex: 0.2;">
<!-- <view class="subscription-item-btn t-c" @click="subscriptionClik(item)">
订阅 <text v-if="item.num != 0">+{{item.num}}</text>
</view>
</view> -->
<switch :checked="item.button" @change="switch1Change($event,item)" color="#82d0f7" />
</view>
<!-- #endif -->
</view>
@ -93,7 +94,11 @@
export default{
data(){
return{
sbuscriptionList:[],
sbuscriptionList:{
list: [],
app_id: '',
temp_id: '',
},
oaoao:''
}
},
@ -112,25 +117,58 @@
const { openid, action } = options;
},
subscriptionClik(item){
switch1Change: function (e, item) {
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
uni.requestSubscribeMessage({
tmplIds: [item.id],
success(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){
if(key != 'errMsg'){
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(
`&do=saveFromId`,
data,
@ -139,7 +177,7 @@
uni.showToast({
title:`订阅成功`
})
console.log(res);
// console.log(res);
_this.getSbuscriptionList();
// this.sbuscriptionList = res.data;
},
@ -209,7 +247,9 @@
this.$forceUpdate();
// 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,
() => {}

32
pages/subPages2/userInfo/userInfo.vue

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

37
pagesA/businessCooperation/index.vue

@ -6,6 +6,9 @@
<view class="informationView marginAuto">
<!-- 基本信息 -->
<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 class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">资料填写</text>
@ -68,9 +71,9 @@ export default {
name: '',
position: '',
mobile: '',
code: '',
storeid: ''
code: ''
},
storeid: '',
id: null,
codeBtnText: '获取验证码',
getSmsCode: '',
@ -80,7 +83,7 @@ export default {
},
onLoad(e) {
this.business.storeid = e.sid;
this.storeid = e.sid;
let _this = this;
uni.getSystemInfo({
success(res) {
@ -98,18 +101,16 @@ export default {
methods: {
init(mid) {
let _this = this;
_this.getInfo(mid);
_this.verifyInfo(mid);
},
//
getInfo(mid) {
verifyInfo(mid) {
let _this = this;
let data = {
mid: mid
};
App._post_form('&p=Certified&do=initApplyCertified', data, res => {
// _this.setData({
// business: res.data
// })
_this.getInfo(mid);
}, (err)=>{
console.log(err.data.message);
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() {
let _this = this;
let data = {
@ -124,7 +142,8 @@ export default {
position: _this.business.position,
mobile: _this.business.mobile,
code: _this.business.code,
storeid: _this.business.storeid
storeid: _this.storeid,
type: "set"
};
if(data.name==''){
uni.showToast({

35
pagesA/campusActivities/activitiesExtend.vue

@ -1,5 +1,8 @@
<template>
<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="label">活动标题必填项</view>
<input type="text" v-model="activityInfo.title" placeholder="请输入活动标题" class="title-inp">
@ -13,7 +16,11 @@
</view>
<view class="content">
<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 class="promotional">
<view class="label">活动宣传图必填项</view>
@ -47,6 +54,7 @@
},
category_list: [],
cc_index: -1,
setcolor: '',
}
},
components: {
@ -75,6 +83,10 @@
}
}
}, (err)=>{
uni.navigateBack({
delta: 1
})
});
},
categoryChange(e){
@ -82,9 +94,13 @@
this.cc_index = e.detail.value;
this.activityInfo.cc_id = this.category_list[this.cc_index].id;
},
editFocus(){
this.setcolor = "#509DFD";
},
editOk(res) {
console.log('-------',res.html);
this.activityInfo.describe = res.html;
this.setcolor = "#666";
uni.showToast({
title: '保存成功'
})
@ -106,7 +122,7 @@
});
return ;
}
if(this.activityInfo.describe.replace(/(^\s*)|(\s*$)/g, "")==""){
if(this.setcolor=='#509DFD'){
uni.showToast({
icon:'none',
title: '未保存内容',
@ -114,6 +130,21 @@
});
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==""){
uni.showToast({
icon:'none',

25
pagesA/campusActivities/campusActivities.vue

@ -6,7 +6,7 @@
{{activitiesInfo.title}}
<text class="title-right">{{label}}</text>
</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;">
<image style="width: 52upx;height: 52upx;vertical-align: middle;margin-right: 4px;" :src="activitiesInfo.avatar"></image>
{{activitiesInfo.nickname}}
@ -162,6 +162,17 @@
_this.setData({
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){
@ -374,14 +385,14 @@
margin: 10px 0px;
}
rich-text{
/deep/img{
width: calc(100vw - 20px);//
}
.content-picture, .nfw-cms-img{
width: calc(100vw - 20px);
.describeWrap{
rich-text{
.content-picture, .nfw-cms-img{
width: calc(100vw - 24px);
}
}
}
}
.comment-wrapper{
padding: 0px 24upx;

2
pagesA/campusActivities/index.vue

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

16
pagesA/campusActivities/myActivities.vue

@ -1,7 +1,7 @@
<template>
<view style="min-height: 100vh;background-color: #f8f8f8;box-sizing: border-box;padding-bottom: 50px;">
<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>
<view class="text-box">
<view class="text1">{{item.title}}</view>
@ -9,11 +9,15 @@
发布人{{item.nickname}}
<!-- <image style="width: 60upx;height: 60upx" :src="activitiesInfo.avatar"></image> -->
</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 @click.stop="">
<navigator :url="'./activitiesExtend?id='+item.id" class="editbtn">编辑</navigator>
</view>
<view class="" style="width: 100%;margin-top: 10px;font-size: 12px;color: #f00;" v-if="item.reject">
驳回原因{{item.reject}}
</view>
</view>
<view class="" 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({
url:'/pagesA/campusActivities/campusActivities?id='+id
url:'/pagesA/campusActivities/campusActivities?id='+item.id
})
}
},
@ -89,6 +96,7 @@
display: flex;
padding: 15px 0px;
border-bottom: 1px solid #efefef;
flex-wrap: wrap;
}
image{
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="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 class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">博主信息</text>
@ -109,29 +112,45 @@ export default {
methods: {
init(mid) {
let _this = this;
_this.getInfo(mid);
_this.verifyInfo(mid);
},
//
getInfo(mid) {
verifyInfo(mid) {
let _this = this;
let data = {
mid: mid
};
App._post_form('&p=Certified&do=initApplyCertified', data, res => {
_this.getInfo(mid);
}, (err)=>{
console.log(err.data.message);
// console.log(err.data.message);
uni.navigateBack({
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() {
let _this = this;
let data = {
name: _this.bloggerInfo.name,
mobile: _this.bloggerInfo.mobile,
code: _this.bloggerInfo.code,
screenshot: _this.bloggerInfo.screenshot
screenshot: _this.bloggerInfo.screenshot,
type: 'set'
};
if(data.name.replace(/(^\s*)|(\s*$)/g, "")==''){
//

22
pagesA/identityList/identityList.vue

@ -24,7 +24,8 @@
export default {
data() {
return {
page: 1,
page: 1,
storeid: '',
dataList: [
{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'},
@ -36,6 +37,12 @@
components: {
loadmore
},
onLoad(e) {
if(e.sid){
//
this.storeid = e.sid;
}
},
onShow() {
// this.getList();
},
@ -62,9 +69,16 @@
});
},
toDetail(url){
uni.navigateTo({
url:url
})
if('/pages/mainPages/Settled/Settled'==url){
uni.navigateTo({
url:url+'?storeid='+this.storeid
})
}else{
uni.navigateTo({
url:url
})
}
}
},
onReachBottom(){

27
pagesA/identityList/teacherCertification.vue

@ -6,6 +6,9 @@
<view class="informationView marginAuto">
<!-- 基本信息 -->
<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 class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">教师信息</text>
@ -118,22 +121,37 @@ export default {
methods: {
init(mid) {
let _this = this;
_this.getInfo(mid);
_this.verifyInfo(mid);
},
//
getInfo(mid) {
verifyInfo(mid) {
let _this = this;
let data = {
mid: mid
};
App._post_form('&p=Certified&do=initApplyCertified', data, res => {
_this.getInfo(mid);
}, (err)=>{
console.log(err.data.message);
// console.log(err.data.message);
uni.navigateBack({
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() {
let _this = this;
let data = {
@ -142,7 +160,8 @@ export default {
faculty: _this.teacherInfo.faculty,
mobile: _this.teacherInfo.mobile,
code: _this.teacherInfo.code,
documents: _this.teacherInfo.document_img
documents: _this.teacherInfo.document_img,
type: 'set'
};
if(data.name.replace(/(^\s*)|(\s*$)/g, "")==''){
//

5
pagesA/instantMessenger/instantMessenger.vue

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

50
pagesA/pictureTextDetails/pictureTextDetails.vue

@ -533,36 +533,34 @@ export default {
},
onShareAppMessage(res){
let _this = this;
let listId;
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 => {
if(listId == _this.id){
_this.detailinfo.share++;
}else{
for(let index=0;index<_this.communityList.length;index++){
if(_this.communityList[index].id == listId){
_this.communityList[index].share++;
}
listId = res.target.id;
// let title = res.target.dataset.title;
}else{//
listId = this.id;
}
App._post_form('&p=pocket&do=shareNum', { id: listId }, res => {
if(listId == _this.id){
_this.detailinfo.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(){

10
pagesA/studentIdentification/studentIdentification.vue

@ -6,6 +6,9 @@
<!-- 基本信息 -->
<view class="informationView marginAuto">
<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 class="line inlineBlock verticalM"></view>
<text class="colorBlack font28 verticalM marginL10">学生信息</text>
@ -176,13 +179,13 @@ export default {
App._post_form('&p=Certified&do=initApplyCertified', data, res => {
_this.getInfo(mid);
}, (err)=>{
console.log(err.data.message);
// console.log(err.data.message);
uni.navigateBack({
delta: 1
})
});
},
//
//
getInfo(mid) {
let _this = this;
let data = {
@ -203,6 +206,7 @@ export default {
})
});
},
//
setInfo() {
let _this = this;
let data = {
@ -462,7 +466,7 @@ export default {
}
.informationView {
width: 690upx;
height: 790upx;
// height: 790upx;
background: rgba(255, 255, 255, 1);
border-radius: 10upx;
margin-top: 10px!important;

Loading…
Cancel
Save