结构调整

cyl/dev
wangxia 1 year ago
parent fd9381765f
commit e55bed7407

@ -128,11 +128,23 @@
"selectedColor": "#1890ff",
"list": [
{
"iconPath": "./assets/images/ysd.png",
"iconPath": "./assets/images/home.png",
"selectedIconPath": "./assets/images/home1.png",
"pagePath": "pages/firstBill/index",
"text": "首页"
},
{
"iconPath": "./assets/images/xx.png",
"selectedIconPath": "./assets/images/xx1_lao.png",
"pagePath": "pages/myBill/index",
"text": "工单"
},
{
"iconPath": "./assets/images/xx.png",
"selectedIconPath": "./assets/images/xx1_lao.png",
"pagePath": "pages/message/index",
"text": "消息"
},
{
"iconPath": "./assets/images/wd.png",
"selectedIconPath": "./assets/images/wd1.png",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

@ -14,19 +14,35 @@ Component({
text: "首页",
index: 0,
},
{
iconPath: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/ksbm.svg",
selectedIconPath: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/ksbm.svg",
pagePath: "/pages/newEnroll/enroll/index",
// {
// iconPath: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/ksbm.svg",
// selectedIconPath: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/ksbm.svg",
// pagePath: "/pages/newEnroll/enroll/index",
// text: "消息",
// index: 1,
// },
{
"iconPath": "../assets/images/apply.png",
"selectedIconPath": "../assets/images/apply1.png",
"pagePath": "/pages/myBill/index",
"text": "工单",
index: 1,
},
{
"iconPath": "../assets/images/xx.png",
"selectedIconPath": "../assets/images/xx1_lao.png",
"pagePath": "/pages/message/index",
"text": "消息",
index: 2,
},
{
iconPath: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/wd.png",
selectedIconPath: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/wd1.png",
pagePath: "/pages/mine/index",
text: "我的",
index: 2,
index: 3,
},
],
},
@ -63,28 +79,29 @@ Component({
}
}
if (!app.globalData.isLogin) {
if (data.index == 1) {
wx.navigateTo({
url: "/pages/login/index",
});
return;
}
} else {
if (data.index == 1) {
if (app.globalData.loginUserInfo.agencyStatus != 1) {
wx.navigateTo({
url: "/pages/tobeAgency/index",
});
} else {
wx.navigateTo({
url,
});
// wx.redirectTo({});
}
return;
}
}
// if (!app.globalData.isLogin) {
// if (data.index == 1) {
// wx.navigateTo({
// url: "/pages/login/index",
// });
// return;
// }
// }
// else {
// if (data.index == 1) {
// if (app.globalData.loginUserInfo.agencyStatus != 1) {
// wx.navigateTo({
// url: "/pages/tobeAgency/index",
// });
// } else {
// wx.navigateTo({
// url,
// });
// // wx.redirectTo({});
// }
// return;
// }
// }
// this.setData({
// selected: data.index,
// });

@ -1,12 +1,12 @@
<view class="tab-bar" wx:if="{{isShow}}" catchtouchmove="touchMove">
<view class="tab-bar-border"></view>
<view wx:for="{{list}}" wx:key="index" class="tab-bar-item biggerSize2" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
<view class="middle tac" wx:if="{{index === 1}}" hover-class="none" hover-stop-propagation="false">
<!-- <view class="middle tac" wx:if="{{index === 1}}" hover-class="none" hover-stop-propagation="false">
<image class="tabImg" src="{{item.selectedIconPath}}" />
</view>
<view class='' wx:else hover-class="none" hover-stop-propagation="false">
</view> -->
<view class='' hover-class="none" hover-stop-propagation="false">
<image class="tabImg" style="visibility:{{selected === item.index ? 'visiable':'hidden'}}" src="{{item.selectedIconPath}}" />
<image class="tabImg {{index == 1 ? 'middle':''}}" style="visibility:{{selected === item.index ? 'hidden':'visiable'}}" src="{{item.iconPath}}" />
<image class="tabImg " style="visibility:{{selected === item.index ? 'hidden':'visiable'}}" src="{{item.iconPath}}" />
<view class="tabText" style="color: {{selected === item.index ? selectedColor : color}}">{{item.text}}</view>
</view>
</view>

@ -88,8 +88,8 @@ button[disabled]:not([type]) {
}
.topViewN {
height: 66px;
background: #fff4f1;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 6px;
display: flex;
padding: 0 16px;

@ -833,8 +833,8 @@ button.collect icon::before {
.filterTag .specialTag > view {
height: 24px;
line-height: 24px;
background-color: #ffefe9;
border: 0.5px solid #ff8255;
background-color: #cee7ff;
border: 0.5px solid #1890ff;
border-radius: 999px;
margin-right: 8px;
font-size: 12px;

@ -833,8 +833,8 @@ button.collect icon::before {
.filterTag .specialTag > view {
height: 24px;
line-height: 24px;
background-color: #ffefe9;
border: 0.5px solid #ff8255;
background-color: #cee7ff;
border: 0.5px solid #1890ff;
border-radius: 999px;
margin-right: 8px;
font-size: 12px;

@ -1000,7 +1000,7 @@ Page({
that.data.jobDetail = result
that.showSexAge();
result.record["jobDesp1"] = `\n${result.record.jobName}\n\n一、薪资明细\n${result.record.salaryDetail}\n\n二、招聘要求\n${(that.data.showSexAgeText + result.record.workContent) || '-'}\n\n三、其他说明\n${ result.record.otherDesp}\n\n四、注意事项\n${result.record.notes}`
result.record["jobDesp1"] = `\n${result.record.jobName}\n\n一、薪资明细\n${result.record.salaryDetail}\n\n二、招聘要求\n${(that.data.showSexAgeText + '\n' + result.record.workContent) || '-'}\n\n三、其他说明\n${ result.record.otherDesp}\n\n四、注意事项\n${result.record.notes}`
that.setData({
jobDetail: result,
isMaskShow: !(result.record.recruitment == "1"),

@ -434,7 +434,7 @@
<view class="weui-dialog contact" style="box-sizing:border-box;">
<view class="weui-dialog__hd">
<i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closeDialog"></i>
<view class="f16 c3 fw500 mb32">加伯才客服微信</view>
<view class="f16 c3 fw500 mb32">加客户经理微信</view>
<view wx:if="{{isLoading}}" class style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)" hover-class="none" hover-stop-propagation="false">
<view aria-role="img" aria-label="加载中" style class="weui-primary-loading">
<view class="weui-primary-loading__dot"></view>
@ -482,7 +482,7 @@
<view class="weui-dialog__hd">
<view class="f20 bbd1 top" hover-class="none" hover-stop-propagation="false">
<view class="fw500" hover-class="none" hover-stop-propagation="false">申请加入伯才</view>
<view class="f16 c6" hover-class="none" hover-stop-propagation="false">请联系伯才客服</view>
<view class="f16 c6" hover-class="none" hover-stop-propagation="false">请联系客户经理</view>
</view>
<view class="bottom" hover-class="none" hover-stop-propagation="false">
<view class hover-class="none" hover-stop-propagation="false">

@ -33,10 +33,10 @@
border: 1px solid transparent;
}
.sub .content > span.active {
background-color: #ffeee9;
background-color: #cee7ff;
color: #1890ff;
border-color: #1890ff;
}
}#cbe4fd
.sub .content > span:not(:nth-child(3n)) {
margin-right: 2%;
}

@ -36,7 +36,7 @@
border: 1px solid transparent;
}
.sub .content > span.active {
background-color: #ffeee9;
background-color: #cee7ff;
color: #1890ff;
border-color: #1890ff;
}

@ -1254,7 +1254,7 @@ Page({
that.getJobList();
that.getBannerList();
that.getchannelList();
that.searchAnimate();
// that.searchAnimate();
},
onReady () {
@ -4732,6 +4732,11 @@ Page({
onUnload () {
console.log("destory");
},
toEnroll () {
wx.navigateTo({
url: "/pages/newEnroll/enroll/index",
});
},
goList () {
wx.navigateTo({
url: "/pages/filterPage/index",

@ -5,8 +5,7 @@
"bottom-drawer": "../../components/bottom-drawer/index",
"job-sub": "../../components/job-sub/index"
},
"navigationStyle": "custom",
"navigationBarTitleText": "首页",
"navigationBarTitleText": "伯才供应链",
"navigationBarBackgroundColor": "#1890ff",
"navigationBarTextStyle": "white",
"backgroundColor": "#f5f5f5"

@ -1,32 +1,12 @@
<view style class="container" bindtouchstart="touchStart">
<view class="navigatorBar" hover-class="none" style="height:{{navigationBarHeight + statusBarHeight}}px;z-index:{{leftShow ? '99':'0'}};box-sizing:border-box" hover-stop-propagation="false">
<!-- <view class="navigatorBar" hover-class="none" style="height:{{navigationBarHeight + statusBarHeight}}px;z-index:{{leftShow ? '99':'0'}};box-sizing:border-box" hover-stop-propagation="false">
<view class="tabs daotian display-flex fw500" style="width:128px;text-align:center;padding-top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 4}}px;margin-top:{{}};font-size:34rpx;letter-spacing: 1px;">伯才供应链</view>
</view>
<view class="weui-search-bar__form">
<view class hover-class="none" id="searchInputBox" hover-stop-propagation="false">
<view class="the_city v-center" style hover-class="thover" bindtap="goCity">
<view class="f16 fw500 dib oelps" style="width:36px">{{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}}</view>
<i class="iconfont icon-zhankai f12" style></i>
</view>
<view class="weui-search-bar__box" id="searchInput" style="overflow:hidden" catchtap="goSearch">
<i class="iconfont icon-sousuo11"></i>
<swiper class="c9 f14 ml4" style="height: 40px;width:70px;line-height:42px" bindchange="getSwiperIndex" autoplay circular vertical interval="{{5000}}" duration="{{600}}">
<block wx:for="{{swiperTextList}}" wx:key="index">
<swiper-item catchtouchmove="modalMove">
<view data-item="{{item}}" class="single-word color-gray">{{item}}</view>
</swiper-item>
</block>
</swiper>
<!-- <view class="weui-search-bar__input f14 oelps {{!chaShowed ? 'c9' : 'c3'}}" style="max-width: 70px;">{{inputVal}}</view> -->
<!-- <view class="iconfont icon-guanbi11 f10 c9" wx:if="{{chaShowed}}" style="color:#333" catchtap="clearInput"></view> -->
<view class="search f14" catchtap="goSearch" style="color: var(--color-ysd);">搜索</view>
</view>
</view>
</view>
</view>-->
<view class="weui-search-bar__form"></view>
<!-- bindrefresherrefresh="onScrollRefresh" refresher-triggered="{{isTrigger}}" refresher-enabled="{{true}}" -->
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:calc(100vh - 130px)" enable-passive scroll-x="false" scroll-y="true" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" bindscroll="listTouchMove" style='height:calc(100vh - 85px)' enable-passive scroll-x="false" scroll-y="true" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">
<view class hover-class="none" hover-stop-propagation="false">
<view class="navigator" style="display:none">
<view class="navigator" wx:if="{{false}}">
<!-- <view class="navigatorBar" hover-class="none" style="padding-top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2)}}px" hover-stop-propagation="false">
<view class="tabs display-flex" style="width:128px;text-align:center;margin-top:{{}}">
<view class="tarbar" style bindtap="choosenTop" data-id="1">
@ -115,9 +95,9 @@
</view>
</view>-->
</view>
<view class hover-class="none" hover-stop-propagation="false">
<view class hover-class="none" wx:if="{{false}}" hover-stop-propagation="false">
<view id="navBox" hover-class="none" hover-stop-propagation="false">
<view class="bannerContainer" wx:if="{{false}}">
<view class="bannerContainer">
<!-- indicator-dots="{{true}}" -->
<swiper class="banner" autoplay="{{true}}" previous-margin="-3px" next-margin="-3px" circular="{{true}}" current="0" current-item-id interval="3000" duration="300" display-multiple-items="1" skip-hidden-item-layout="false">
<swiper-item class wx:for="{{bannerList}}" wx:key="index" item-id>
@ -161,6 +141,30 @@
<!-- <official-account></official-account> -->
<!-- <image class show-menu-by-longpress="{{true}}" src="../../assets/images/gzhQRcode.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload /> -->
<view class="sticky" id="sticky" hover-class="none" hover-stop-propagation="false">
<view class hover-class="none" id="searchInputBox" hover-stop-propagation="false">
<view class="the_city v-center" style hover-class="thover" bindtap="goCity">
<view class="f16 fw500 dib oelps" style="width:36px">{{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}}</view>
<i class="iconfont icon-zhankai f12" style></i>
</view>
<view class="weui-search-bar__box" id="searchInput" style="overflow:hidden" catchtap="goSearch">
<view class="fss" hover-class="none" hover-stop-propagation="false">
<i class="iconfont icon-sousuo11"></i>
<swiper class="c9 f14 ml4" style="height: 40px;width:70px;line-height:42px" bindchange="getSwiperIndex" autoplay circular vertical interval="{{5000}}" duration="{{600}}">
<block wx:for="{{swiperTextList}}" wx:key="index">
<swiper-item catchtouchmove="modalMove">
<view data-item="{{item}}" class="single-word color-gray">{{item}}</view>
</swiper-item>
</block>
</swiper>
</view>
<!-- <view class="weui-search-bar__input f14 oelps {{!chaShowed ? 'c9' : 'c3'}}" style="max-width: 70px;">{{inputVal}}</view> -->
<!-- <view class="iconfont icon-guanbi11 f10 c9" wx:if="{{chaShowed}}" style="color:#333" catchtap="clearInput"></view> -->
<view class="search f14" catchtap="goSearch" style="color: var(--color-ysd);">搜索</view>
</view>
<view class hover-class="none" hover-stop-propagation="false">
<image class style="width:40px;height:40px;margin-left:12px" bindtap='toEnroll' src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/ksbm.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
</view>
</view>
<view class="fsa searchBar" catchtouchmove="modalMove" style>
<view class="fsa" style="align-items:end;width:100%" hover-class="none" hover-stop-propagation="false">
<view class="fsa" hover-class="none" hover-stop-propagation="false">

@ -781,7 +781,7 @@ button.collect icon::before {
} */
.gjFixed {
position: absolute;
top: 44px;
top: 105px;
left: 0;
width: 100vw;
height: 100vh;
@ -1034,8 +1034,8 @@ button.collect icon::before {
.genderTag > view {
height: 28px;
line-height: 26px;
background-color: #ffefe9;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 999px;
margin-right: 8px;
font-size: 12px;
@ -1454,11 +1454,12 @@ button.collect icon::before {
#searchInputBox {
display: flex;
justify-content: space-between;
padding: 0 10px;
top: 10px;
padding: 8px 10px 0 10px;
/* top: 10px; */
box-sizing: border-box;
position: absolute;
z-index: 9999;
/* position: absolute; */
/* z-index: 9999; */
background-color: #f5f5f5;
width: 100vw;
}
#searchInput {
@ -1467,7 +1468,8 @@ button.collect icon::before {
flex: 1;
border-radius: 99px;
position: relative;
z-index: -1;
padding-left: 16px;
/* z-index: -1; */
background-color: #fff;
}
.bannerContainer {

@ -1015,8 +1015,8 @@ button.collect icon::before {
.genderTag > view {
height: 28px;
line-height: 26px;
background-color: #ffefe9;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 999px;
margin-right: 8px;
font-size: 12px;

@ -694,8 +694,8 @@ button.collect icon::before {
.filterTag .specialTag > view {
height: 24px;
line-height: 24px;
background-color: #ffefe9;
border: 0.5px solid #ff8255;
background-color: #cee7ff;
border: 0.5px solid #1890ff;
border-radius: 999px;
margin-right: 8px;
font-size: 12px;

@ -989,8 +989,8 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
.genderTag > view {
height: 28px;
line-height: 26px;
background-color: #ffefe9;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 999px;
margin-right: 8px;
font-size: 12px;

@ -39,7 +39,8 @@ Page({
console.log('messageTab' + typeof this.getTabBar);
if (typeof this.getTabBar === "function" && this.getTabBar()) {
this.getTabBar().setData({
selected: 1,
isShow: true,
selected: 2,
});
}
setTimeout(() => {

@ -59,7 +59,7 @@
<view class="f14 c9 oelps" style="width:100%">伯才伯才(以下简称“伯才”),让天下没有难做的劳务。</view>
</view>
<!-- 消息列表 -->
<view class="mt10 br_8" wx:for="{{infoList}}" style="padding:20px 10px;background-color:#fff" hover-class="thover" hover-stop-propagation="false" bindtap="goDetail" data-id="{{item.id}}" data-type="info">
<view class="mb10 br_8" wx:for="{{infoList}}" style="padding:20px 10px;background-color:#fff" hover-class="thover" hover-stop-propagation="false" bindtap="goDetail" data-id="{{item.id}}" data-type="info">
<view class="fw500 f16 mb12 fsa" style="line-height:16px">
<view class='oelps' hover-class="none" style="max-width:240px" hover-stop-propagation="false">
<i wx:if="{{item.readed == 0}}" class="mr4 mb2" style="display:inline-block;width: 8px;height: 8px;background: #f5222d;border-radius: 50%;"></i>

@ -21,7 +21,7 @@
<view class="weui-dialog__hd">
<view class="f20 bbd1 top" hover-class="none" hover-stop-propagation="false">
<view class="fw500" hover-class="none" hover-stop-propagation="false">申请加入伯才</view>
<view class="f16 c6" hover-class="none" hover-stop-propagation="false">请联系伯才客服</view>
<view class="f16 c6" hover-class="none" hover-stop-propagation="false">请联系客户经理</view>
</view>
<view class="bottom" hover-class="none" hover-stop-propagation="false">
<view class hover-class="none" hover-stop-propagation="false">

@ -95,7 +95,7 @@ Page({
}
if (typeof this.getTabBar === "function" && this.getTabBar()) {
this.getTabBar().setData({
selected: 2,
selected: 3,
isShow: true
});
}

@ -17,7 +17,7 @@
</block>
<view class="usernamebox">
<view class="username">
<view class="theusername">{{userInfo.user.nickName }}</view>
<view class="theusername">{{userInfo.user.nickName || '伯才用户' }}</view>
<i class="iconfont icon-nv3 f12" style="color:#fb8585;line-height:20px" wx:if="{{userInfo.user.sex == 2}}"></i>
<i class="iconfont icon-nan3 f12" style="color:#10aeff;line-height:20px" wx:if="{{userInfo.user.sex == 1}}"></i>
</view>
@ -400,7 +400,7 @@
<!-- <image src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg" style="width:56px;height:56px;"></image> -->
<!-- <image src="../../assets/Snipaste_2023-06-13_09-25-14.png" show-menu-by-longpress='{{true}}' style="width:56px;height:56px;"></image> -->
<i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closeDialog"></i>
<view class="f16 c3 fw500 mb32">加伯才客服微信</view>
<view class="f16 c3 fw500 mb32">加客户经理微信</view>
<view wx:if="{{isLoading}}" class style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)" hover-class="none" hover-stop-propagation="false">
<view aria-role="img" aria-label="加载中" style class="weui-primary-loading">
<view class="weui-primary-loading__dot"></view>

@ -70,7 +70,7 @@ page {
flex-direction: row;
align-items: center;
line-height: 1;
margin-bottom: 15px;
margin-bottom: 10px;
font-size: 20px;
font-weight: 603;
}

@ -127,6 +127,12 @@ Page({
let that = this
// this.data.billList = [];
console.log(wx.getStorageSync('MYBILL_PAGE_CHANGE'));
if (typeof this.getTabBar === "function" && this.getTabBar()) {
this.getTabBar().setData({
isShow: true,
selected: 1,
});
}
if (wx.getStorageSync('MYBILL_PAGE_CHANGE') || that.data.inputVal != "搜索姓名/手机号") {
this.data.searchParam.pageNum = 1;
this.setData({

@ -1,7 +1,7 @@
{
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "我的报名",
"navigationBarTitleText": "工单",
"backgroundColor": "#f5f5f5",
"usingComponents": {
"mp-tabs": "@miniprogram-component-plus/tabs"

@ -1576,12 +1576,12 @@ Page({
// // });
// },
// });
if (typeof this.getTabBar === "function" && this.getTabBar()) {
this.getTabBar().setData({
selected: 1,
isShow: false,
});
}
// if (typeof this.getTabBar === "function" && this.getTabBar()) {
// this.getTabBar().setData({
// selected: 1,
// isShow: false,
// });
// }
that.pushImg();
for (let i = 16; i < 70; i++) {

@ -93,8 +93,8 @@ button[disabled]:not([type]) {
}
.topViewN {
height: 66px;
background: #fff4f1;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 6px;
display: flex;
padding: 0 16px;

@ -88,8 +88,8 @@ button[disabled]:not([type]) {
}
.topViewN {
height: 66px;
background: #fff4f1;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 6px;
display: flex;
padding: 0 16px;

@ -93,8 +93,8 @@ button[disabled]:not([type]) {
}
.topViewN {
height: 66px;
background: #fff4f1;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 6px;
display: flex;
padding: 0 16px;

@ -92,8 +92,8 @@ button[disabled]:not([type]) {
}
.topViewN {
height: 66px;
background: #fff4f1;
border: 1px solid #ff8255;
background-color: #cee7ff;
border: 1px solid #1890ff;
border-radius: 6px;
display: flex;
padding: 0 16px;

Loading…
Cancel
Save