职位管理
parent
ca1650191e
commit
d32008fb7e
@ -0,0 +1,38 @@
|
||||
// components/mp-switch/mp-switch.js
|
||||
Component({
|
||||
properties: {
|
||||
trueText: {
|
||||
type: String,
|
||||
value: '开'
|
||||
},
|
||||
falseText: {
|
||||
type: String,
|
||||
value: '关'
|
||||
},
|
||||
// 传进来的对象
|
||||
item: {
|
||||
type: Object,
|
||||
value: {}
|
||||
},
|
||||
width: {
|
||||
type: Number,
|
||||
value: 72
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
value: 32
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onChange() {
|
||||
console.log(this.data.item);
|
||||
this.setData({
|
||||
checked: !this.data.item.checked
|
||||
}, () => {
|
||||
this.triggerEvent('change', {
|
||||
value: this.data.item
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
<!--components/mp-switch/mp-switch.wxml-->
|
||||
<view class="mp-switch" style="--mp-switch-width: {{width}}px;--mp-switch-height: {{height}}px;--mp-switch-text: '{{item.checked?trueText:falseText}}';">
|
||||
<view class="wx-switch-input {{item.checked?'wx-switch-input-checked':''}}" bind:tap="onChange"></view>
|
||||
</view>
|
||||
@ -0,0 +1,62 @@
|
||||
/* components/mp-switch/mp-switch.wxss */
|
||||
.mp-switch .wx-switch-input {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
position: relative;
|
||||
width: var(--mp-switch-width);
|
||||
height: var(--mp-switch-height);
|
||||
border: 1px solid #DFDFDF;
|
||||
outline: 0;
|
||||
border-radius: calc(var(--mp-switch-height) / 2);
|
||||
box-sizing: border-box;
|
||||
background-color: #e5e5e5;
|
||||
transition: background-color 0.1s, border 0.1s;
|
||||
}
|
||||
|
||||
.mp-switch .wx-switch-input::before {
|
||||
content: var(--mp-switch-text);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: calc(var(--mp-switch-width) - 2px);
|
||||
height: calc(var(--mp-switch-height) - 2px);
|
||||
line-height: calc(var(--mp-switch-height) - 2px);
|
||||
font-size: calc(var(--mp-switch-height) / 1.9);
|
||||
padding-left: calc(var(--mp-switch-height));
|
||||
padding-right: 6px;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.mp-switch .wx-switch-input::after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: calc(var(--mp-switch-height) - 2px);
|
||||
height: calc(var(--mp-switch-height) - 2px);
|
||||
border-radius: 50%;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
|
||||
transition: -webkit-transform 0.3s;
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
|
||||
.mp-switch .wx-switch-input.wx-switch-input-checked {
|
||||
border-color: #07C160;
|
||||
background-color: #07C160;
|
||||
}
|
||||
|
||||
.mp-switch .wx-switch-input.wx-switch-input-checked::before {
|
||||
color: #fff;
|
||||
padding-right: calc(var(--mp-switch-height));
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.mp-switch .wx-switch-input.wx-switch-input-checked::after {
|
||||
-webkit-transform: translateX(calc(var(--mp-switch-width) - var(--mp-switch-height)));
|
||||
transform: translateX(calc(var(--mp-switch-width) - var(--mp-switch-height)));
|
||||
}
|
||||
@ -0,0 +1,370 @@
|
||||
// pages/mine/listManagement/index.js
|
||||
const app = getApp();
|
||||
|
||||
const commonUtil = require("../../../utils/commonUtil.js");
|
||||
const dateUtil = require("../../../utils/dateUtil.js");
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
chaShowed: false,
|
||||
inputVal: '',
|
||||
hasMoreData: true, //下拉是否还有更多数据
|
||||
navigatorBarHeight: 0, // 头部整体高度信息
|
||||
editJobList: [
|
||||
"复制内容",
|
||||
"编辑", "删除"],
|
||||
|
||||
totalPage: 0,
|
||||
currPage: 0,
|
||||
isTrigger: 0,
|
||||
pageShow: false,
|
||||
storeJobListSearchForm: {
|
||||
pageNum: 1,
|
||||
pageSize: 40,
|
||||
},
|
||||
recordList: [],
|
||||
currIndex: 0,
|
||||
checked: false
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad (options) {
|
||||
this.getJobList()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady () {
|
||||
|
||||
},
|
||||
changecheck (e) {
|
||||
console.log(e);
|
||||
let id = e.detail.value.id;
|
||||
let ind = this.data.recordList.findIndex(item => item.id == id)
|
||||
console.log(id);
|
||||
console.log(ind);
|
||||
this.data.recordList[ind].checked = !this.data.recordList[ind].checked
|
||||
this.setData({
|
||||
recordList: this.data.recordList
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow () {
|
||||
|
||||
},
|
||||
|
||||
// 下拉加载更多
|
||||
onScrollToLower () {
|
||||
console.log("====================================================");
|
||||
var that = this;
|
||||
if (app.globalData.isLogin) {
|
||||
that.data.storeJobListSearchForm.pageNum = that.data.storeJobListSearchForm.pageNum + 1;
|
||||
if (that.data.hasMoreData) {
|
||||
that.getJobList();
|
||||
}
|
||||
|
||||
} else {
|
||||
}
|
||||
|
||||
},
|
||||
showDraw (e) {
|
||||
let that = this;
|
||||
let item = e.currentTarget.dataset.item
|
||||
wx.showActionSheet({
|
||||
itemList: that.data.editJobList,
|
||||
success: function (res) {
|
||||
if (res.tapIndex == 0) {
|
||||
that.getJobDetail(item.id);
|
||||
|
||||
} else if (res.tapIndex == 1) {
|
||||
// uni.navigateTo({
|
||||
// url: "/root/home/jobForm?id=" + e.jobId,
|
||||
// });
|
||||
// that.delJob(item.id);
|
||||
} else if (res.tapIndex == 2) {
|
||||
that.delJob(item.id);
|
||||
}
|
||||
},
|
||||
fail: function (res) { },
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取职位详情
|
||||
*/
|
||||
getJobDetail (id) {
|
||||
let that = this;
|
||||
wx.request({
|
||||
url: app.globalData.ip + "/assistant/custom/job/v2/getInfo/" + id,
|
||||
method: "get",
|
||||
header: app.globalData.headers,
|
||||
success: function (res) {
|
||||
console.log(res);
|
||||
if (!res.data.data) {
|
||||
wx.showToast({
|
||||
title: "该职位无内容",
|
||||
icon: "none",
|
||||
});
|
||||
} else {
|
||||
console.log('right',res);
|
||||
wx.setClipboardData({
|
||||
data: res.data.data,
|
||||
success (res) {
|
||||
wx.showToast({
|
||||
title: "内容已复制",
|
||||
icon: "none",
|
||||
duration: 1500,
|
||||
});
|
||||
},
|
||||
fail (err) { },
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 删除职位
|
||||
*/
|
||||
delJob (id) {
|
||||
let that = this;
|
||||
wx.showModal({
|
||||
content: "是否确定删除该职位",
|
||||
success: function (res) {
|
||||
console.log(res);
|
||||
if (res.confirm) {
|
||||
wx.request({
|
||||
url: app.globalData.ip + "/yishoudan/custom/job/del/" + id,
|
||||
method: "get",
|
||||
header: app.globalData.headers,
|
||||
success: function (res) {
|
||||
console.log(res);
|
||||
if (res.data.status == 200) {
|
||||
that.getJobList();
|
||||
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: "删除失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
changeMenu (e) {
|
||||
var that = this;
|
||||
that.data.storeJobListSearchForm.pageNum = 1;
|
||||
that.data.storeJobListSearchForm.recruitment = e.currentTarget.dataset.id;
|
||||
|
||||
this.setData({
|
||||
currIndex: e.currentTarget.dataset.id,
|
||||
recordList: [],
|
||||
storeJobListSearchForm: this.data.storeJobListSearchForm,
|
||||
});
|
||||
this.getJobList();
|
||||
},
|
||||
clearInput: function () {
|
||||
console.log('clearInput');
|
||||
this.setData({
|
||||
inputVal: "",
|
||||
chaShowed: false,
|
||||
hasMoreData: true,
|
||||
|
||||
});
|
||||
// this.inputBlur();
|
||||
this.data.recordList = [];
|
||||
this.data.storeJobListSearchForm.pageNum = 1;
|
||||
this.data.storeJobListSearchForm.keys = "";
|
||||
this.getJobList();
|
||||
},
|
||||
searchKey: function (e) {
|
||||
console.log(e);
|
||||
|
||||
if (this.data.inputVal.trim() == "") {
|
||||
wx.showToast({
|
||||
title: "请输入内容",
|
||||
icon: "none",
|
||||
});
|
||||
} else {
|
||||
this.setData({
|
||||
isWannaShow: false,
|
||||
recordList: [],
|
||||
});
|
||||
console.log(this.data.placeholderText);
|
||||
this.data.storeJobListSearchForm.pageNum = 1;
|
||||
this.data.storeJobListSearchForm.keys = this.data.inputVal || this.data.placeholderText;
|
||||
this.setData({
|
||||
inputVal: this.data.inputVal || this.data.placeholderText,
|
||||
});
|
||||
this.getJobList();
|
||||
// this.setHistoryList();
|
||||
}
|
||||
},
|
||||
inputTyping: function (e) {
|
||||
console.log(e);
|
||||
this.setData({
|
||||
inputVal: e.detail.value,
|
||||
});
|
||||
console.log(this.data.inputVal == "");
|
||||
if (this.data.inputVal == "") {
|
||||
this.setData({
|
||||
recordList: [],
|
||||
});
|
||||
this.data.storeJobListSearchForm.pageNum = 1;
|
||||
this.data.storeJobListSearchForm.keys = "";
|
||||
// this.getJobList();
|
||||
}
|
||||
},
|
||||
|
||||
getJobList (e) {
|
||||
console.log(e);
|
||||
var that = this;
|
||||
// debugger
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
|
||||
console.log(that.data.inputVal);
|
||||
that.data.storeJobListSearchForm.keys = that.data.inputVal == "" ? "" : that.data.inputVal;
|
||||
// debugger;
|
||||
wx.showLoading({
|
||||
title: "加载中...",
|
||||
});
|
||||
console.log(that.data.storeJobListSearchForm);
|
||||
wx.request({
|
||||
url: app.globalData.ip + "/assistant/custom/job/v2/list",
|
||||
method: "POST",
|
||||
header: app.globalData.headers,
|
||||
data: that.data.storeJobListSearchForm,
|
||||
success: function (res) {
|
||||
console.log("职位列表↓↓↓↓");
|
||||
console.log(res);
|
||||
|
||||
that.setData({
|
||||
totalPage: res.data.data.pageCount,
|
||||
currPage: res.data.data.currentPage,
|
||||
});
|
||||
|
||||
setTimeout(function () {
|
||||
that.setData({
|
||||
triggered: false,
|
||||
});
|
||||
}, 1000);
|
||||
if (res.data.data.recordList == null || res.data.data.recordList.length == 0 || res.data.data.recordList.length < that.data.storeJobListSearchForm.pageSize) {
|
||||
var jobListTemp = commonUtil.disposeJobListData(res.data.data.recordList);
|
||||
that.data.recordList = that.data.recordList.concat(jobListTemp);
|
||||
|
||||
that.setData({
|
||||
recordList: that.data.recordList,
|
||||
hasMoreData: false,
|
||||
isTrigger: false,
|
||||
});
|
||||
} else {
|
||||
var jobListTemp = commonUtil.disposeJobListData(res.data.data.recordList);
|
||||
that.data.recordList = that.data.recordList.concat(jobListTemp);
|
||||
|
||||
that.setData({
|
||||
recordList: that.data.recordList,
|
||||
hasMoreData: true,
|
||||
isTrigger: false,
|
||||
});
|
||||
}
|
||||
|
||||
that.data.recordList.forEach((item) => {
|
||||
item.update = dateUtil.timeShowXXX(item.updateTime)
|
||||
item.checked = false
|
||||
})
|
||||
that.setData({
|
||||
recordList: that.data.recordList,
|
||||
});
|
||||
wx.hideLoading({
|
||||
success: (res) => { },
|
||||
});
|
||||
that.setData({
|
||||
pageShow: true,
|
||||
storeJobListSearchForm: that.data.storeJobListSearchForm,
|
||||
});
|
||||
resolve();
|
||||
// that.getTag();
|
||||
|
||||
that.data.recordList.forEach((item, index) => {
|
||||
if (app.isNotEmptyCheck(item.returnFeeType) || item.returnFeeType == "0" || item.returnFee == "0") {
|
||||
item["fuWuFei"] = commonUtil.getReturnFeeTypeName1ById(item.returnFeeType, item.returnFee);
|
||||
} else {
|
||||
item["fuWuFei"] = "";
|
||||
}
|
||||
});
|
||||
|
||||
that.setData({
|
||||
recordList: that.data.recordList,
|
||||
});
|
||||
setTimeout(() => {
|
||||
var query = wx.createSelectorQuery();
|
||||
query.select(".navigator").boundingClientRect();
|
||||
query.exec(function (res) {
|
||||
//res就是 所有标签为v1的元素的信息 的数组
|
||||
console.log(res);
|
||||
//取高度
|
||||
// console.log(res[0].height);
|
||||
that.setData({
|
||||
navigatorBarHeight: res[0].height,
|
||||
});
|
||||
console.log(that.data.navigatorBarHeight);
|
||||
});
|
||||
}, 1000);
|
||||
},
|
||||
});
|
||||
});
|
||||
},
|
||||
onScrollRefresh: function () {
|
||||
var that = this;
|
||||
that.data.storeJobListSearchForm.pageNum = 1;
|
||||
that.setData({
|
||||
recordList: [],
|
||||
});
|
||||
that.getJobList();
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage () {
|
||||
|
||||
}
|
||||
})
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"mp-switch": "../../../components/mp-switch/mp-switch"
|
||||
},
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"navigationBarTitleText": "一才工作"
|
||||
}
|
||||
@ -0,0 +1,97 @@
|
||||
<view class="navigator" hover-class="none" hover-stop-propagation="false">
|
||||
<view class="p10 " style="background-color: #fff" hover-class="none" hover-stop-propagation="false">
|
||||
<view class="weui-search-bar__box flex-1 fsa" style="background-color: #f5f5f5;border-radius: 17px;padding-left:16px">
|
||||
<i class="iconfont icon-sousuo"></i>
|
||||
<input type="text" class="weui-search-bar__input flex-1 c3 ml8" style="" placeholder-style="color:#999;" value="{{inputVal}}" placeholder="搜索职位名称" bindinput="inputTyping" bindconfirm="searchKey" auto-focus confirm-type="search" />
|
||||
<view class="iconfont icon-qingchu biggerSize c9 mr12" wx:if="{{inputVal}}" catchtap="clearInput"></view>
|
||||
<view class="search" catchtap="searchKey">搜索</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="topMenu">
|
||||
<view class="onMune {{currIndex == '0' ? 'active' : ''}}" data-id="0" bindtap="changeMenu">
|
||||
<view class="pr dib">
|
||||
全部
|
||||
<view class="menuBorder"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="onMune {{currIndex == '1' ? 'active' : ''}}" data-id="1" bindtap="changeMenu">
|
||||
<view class="pr dib">
|
||||
在招中
|
||||
<view class="menuBorder"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="onMune {{currIndex == '2' ? 'active' : ''}}" data-id="2" bindtap="changeMenu">
|
||||
<view class="pr dib">
|
||||
已停招
|
||||
<view class="menuBorder"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="p10" hover-class="none" hover-stop-propagation="false">
|
||||
<view wx:if="{{recordList != null && recordList.length > 0}}" class="standardList" style="padding-top: 0;">
|
||||
<scroll-view scroll-y="{{true}}" enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" refresher-enabled="{{!isScrollTop}}" refresher-triggered="{{isTrigger}}" class="jobCenterActive" style='padding-bottom:24px' scroll-with-animation="true" scroll-into-view="{{siv}}" style="height:calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? (navigatorBarHeight + 30) : navigatorBarHeight + (!isFilterPage ? 103 : 95)}}px);">
|
||||
<view x:if="{{recordList != null && recordList.length > 0}}" class style="padding-top: 0;">
|
||||
<view class="jcenter ">
|
||||
<view class="listcontainer" style="">
|
||||
<view class=" mb10 bgf br4" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-id="{{item.id}}" bindtap="goDetail" wx:key="index" hover-class="{{item.recruitment == '1' ? 'ahover':''}}" style="background-color:#fff;border-bottom: {{item.recruitment == '1' ? '':'1px solid #ddd'}};">
|
||||
<view class="p10 pt16" hover-class="none">
|
||||
<image class="markImg" style="width: 80px;height: 80px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.recruitment == 2}}"></image>
|
||||
<view class="display-flex">
|
||||
<view class="flex-1 vsb">
|
||||
<view class="display-flex">
|
||||
<view class="storeName" wx:if="{{item.jobName != null && item.jobName != ''}}">{{item.jobName}}</view>
|
||||
<view class="storeName" wx:else>{{item.aliasName}}</view>
|
||||
<view class="hourPay" wx:if='{{item.salaryClassify != 7}}'>{{item.salaryClassifyValue}}</view>
|
||||
<view class="hourPay " wx:else>{{item.monthlyPay}}</view>
|
||||
</view>
|
||||
<view class="v-center mt12 mb12">
|
||||
<view class="f14s c045 flex-1 display-flex">
|
||||
<view class="overflowOmit" hover-class="none" hover-stop-propagation="false" style="max-width:220px">
|
||||
{{item.district == "" ?'':item.district + ' | ' }}
|
||||
<block wx:if="{{item.distance != null && item.distance != '' && storeJobListSearchForm.sortTag == 2}}">{{item.distanceKm}}</block>
|
||||
<block wx:else>{{item.age}}</block>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="display-flex" style="align-items:flex-end">
|
||||
<view scroll-x="{{true}}" class=" {{item.isTagShow==true ?'isTagShow':''}}">
|
||||
<!-- <view class="t-icon t-icon-ziying1 " wx:if="{{item.signType == 1}}" style="background-repeat:no-repeat"></view> -->
|
||||
<view class="tagsLi" wx:for="{{item.jobSpecialLabelNameArray}}" wx:for-item="item1" wx:key="index">{{item1}}</view>
|
||||
<view class="tagsLi" wx:if="{{item.jobSpecialLabelNameArray.length <= 0}}">暂无特色</view>
|
||||
</view>
|
||||
<view class="cccc f12" hover-class="none" hover-stop-propagation="false">
|
||||
{{item.update}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb8 pt8 pl10 pr10 bt1 display-flex" style=''>
|
||||
<mp-switch bindchange="changecheck" trueText="开招" height='24' width='60' falseText="停招" item='{{item}}'></mp-switch>
|
||||
<view class="tac" bindtap='showDraw' data-item='{{item}}' style="width:39px;height:24px;border-radius:12px;background-color:#f5f5f5" hover-class="none" hover-stop-propagation="false">
|
||||
<view class="iconfont icon-gengduo2 c9" style="transform: rotate(90deg)">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:if="{{(recordList == null || recordList.length == 0) && (storeJobListSearchForm.keys != null && storeJobListSearchForm.keys != '')}}">
|
||||
<view class="tc p20 f12 c045">没有符合条件的职位</view>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<block wx:if="{{isLogin}}">
|
||||
<view class="tc p20 f12 c045" wx:if="{{!hasMoreData || recordList.length == 0}}">已经到底啦~</view>
|
||||
<view class="tc p20 f12 c045" wx:else>上滑加载更多</view>
|
||||
</block>
|
||||
</block>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{recordList == null || recordList.length == 0 && pageShow && !isWannaShow}}" style='height:calc(100vh - 95px)' class="tc">
|
||||
<view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 50% auto 20px"></view>
|
||||
<view class="tc f14 c045">没有符合条件的职位</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -0,0 +1,123 @@
|
||||
@import "../../index/index.wxss";
|
||||
.p1216 {
|
||||
padding: 12px 16px;
|
||||
}
|
||||
page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.container {
|
||||
flex: 1;
|
||||
}
|
||||
.historyBox {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.searchTag {
|
||||
display: flex;
|
||||
padding: 6px 12px;
|
||||
margin-bottom: 10px;
|
||||
/* float: left; */
|
||||
background-color: #fff;
|
||||
border-radius: 2px;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.weui-search-bar.fff {
|
||||
background-color: #fff;
|
||||
}
|
||||
.weui-search-bar.be {
|
||||
background-color: #ff4400;
|
||||
}
|
||||
.weui-search-bar .icon-qingchu {
|
||||
position: absolute !important;
|
||||
z-index: 9999999;
|
||||
}
|
||||
.weui-search-bar .icon-qingchu::after {
|
||||
z-index: 9999;
|
||||
}
|
||||
.agencyRoleContainer {
|
||||
padding: 10px;
|
||||
}
|
||||
.sub {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 81px;
|
||||
padding: 0 10px;
|
||||
font-size: 18px;
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.sub-hover {
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
.sub:not(:first-child) {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.weui-search-bar__box .weui-search-bar__input {
|
||||
width: unset;
|
||||
}
|
||||
|
||||
.wannaList {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.wannaList .subset {
|
||||
position: relative;
|
||||
padding: 5px 12px;
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
background-color: #fff;
|
||||
border-radius: 16px;
|
||||
}
|
||||
.wannaList .subset .clearIcon {
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
right: -4px;
|
||||
color: #aaa;
|
||||
}
|
||||
.wannaSearch {
|
||||
position: relative;
|
||||
/* margin-top: 32px; */
|
||||
}
|
||||
.wannaSearch .laji {
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
top: 0;
|
||||
color: #999;
|
||||
}
|
||||
.markImg {
|
||||
z-index: 9;
|
||||
}
|
||||
.bottomBox {
|
||||
background-color: #fff;
|
||||
border-top: 1px solid #eeeeee;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.backIndex {
|
||||
width: 260px !important;
|
||||
height: 44px;
|
||||
opacity: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--color-ysd);
|
||||
border-radius: 25px;
|
||||
font-size: 18px;
|
||||
font-weight: 601;
|
||||
color: #ffffff;
|
||||
padding: 0;
|
||||
line-height: 44px;
|
||||
margin-bottom: 40px;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.weui-switch-cp__input:checked + .weui-switch-cp__box::after,
|
||||
.weui-switch-cp__input[aria-checked="true"] + .weui-switch-cp__box::after,
|
||||
.weui-switch:checked::after {
|
||||
transform: translateX(38px) !important;
|
||||
}
|
||||
Loading…
Reference in New Issue