1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000 |
- <template>
- <view class="editCheckList">
- <view class="searchBar" v-if="checkList.length>0">
- <view class="filter">
- <view class="selecter" @click="selecterHandle">
- <text>{{selectedStr}}</text>
- <image src="../../static/fillBlackArrow.png" mode=""></image>
- </view>
- <view class="searchBar">
- <image class="serachIcon" src="../../static/searchIcon.png" mode=""></image>
- <tm-input class="searchVal" :clear="ifclearSearch" @onChange="searchInputHandle"
- placeholder="请输入单位名称"></tm-input>
- <view class="searchBtn" @click="searchHandle">搜索</view>
- </view>
- </view>
- </view>
- <view class="check-map-list">
- <scroll-view :class="[ifAllPlanListHasDistribution==true?'scroll-y noBottom':'scroll-y']" scroll-y="true"
- v-if="checkList.length > 0">
- <view class="item" v-for="(item, index) in copiedCheckList" :key="index">
- <view
- :class="{'checkPoint':true,checked:(checkedList.findIndex(t=>t.deptId == item.deptId) != -1)}"
- @click="checkedHandle(item)">
- <image class="innerImg" v-if="(checkedList.findIndex(t=>t.deptId == item.deptId) != -1)"
- src="../../static/check-checkbox.png" mode=""></image>
- </view>
- <view class="title-wrap">
- <text>{{item.deptName}}</text>
- <view>
- <image src="../../static/icon-map.png"></image>
- <text>{{item.deptClassName}}</text>
- </view>
- <view :class="getStatus(item.completeDes)">{{item.completeDes}}</view>
- </view>
- <view class="content">
- <text>{{item.decs}}</text>
- <text>
- 要点概览:{{item.checkPointNames}}
- </text>
- </view>
- <view class="footer">
- <view class="row" @click="checkEdit(item, index, '指派查核人员')">
- <text class="label">查核人</text>
- <view class="labelVal">
- <text :class="['base-text', item.empName ? 'black-color' : '']">
- {{ item.empName?item.empName : '去选择查核成员'}}
- </text>
- </view>
- </view>
- <view class="row" @click="checkEdit(item, index, '设置查核时间')">
- <text class="label">计划时间</text>
- <view class="labelVal">
- <text :class="['base-text', item.startDate ? 'black-color' : '']">
- {{ item.startDate ? item.startDate : '选择起始时间' }}
- </text>
- <text class="center-text">~</text>
- <text :class="['base-text', item.endDate ? 'black-color' : '']">
- {{ item.endDate ? item.endDate : '选择结束时间' }}
- </text>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="null" v-if="copiedCheckList.length==0||checkList.length == 0">暂无数据</view>
- <view class="fixed-buttom-btn" @click="submit" v-if="multiple == 'true'">
- <text class="btn-text">完成</text>
- </view>
- <view class="bottomBtnGroup" v-if="multiple != 'true'">
- <view class="selectAll" @click="bottomBtnClickHandle('left')">{{ifSlectedAllCheckList?'取消':'全选'}}</view>
- <view class="leftBtn" @click="bottomBtnClickHandle('middle')">{{`(已选${checkedList.length}项)撤销分配`}}
- </view>
- <view class="rightBtn" @click="bottomBtnClickHandle('right')">{{`(已选${checkedList.length}项)批量分配`}}
- </view>
- </view>
- </view>
- <tm-callback-listpage />
- <uni-popup ref="popup" type="bottom" :maskClick="true">
- <view class="selectableList">
- <scroll-view scroll-y="true" class="listWrap">
- <view :class="getClass(v.id)" v-for="(v,i) in selectables" @click="listClickHandle(v)">
- {{`${v.name}(${v.count})`}}
- </view>
- </scroll-view>
- <view class="btnGroup">
- <view class="cancelBtn btn" @click="btnGroupClickHandle(false)">取消</view>
- <view class="confirmBtn btn" @click="btnGroupClickHandle(true)">确定</view>
- </view>
- </view>
- </uni-popup>
- </view>
- </template>
- <script>
- // 查核列表(查核人和计划时间可编辑)
- import {
- mapState
- } from "vuex";
- import moment from 'moment';
- export default {
- computed: {
- ...mapState({
- checkList: state => state.editCheckList.checkList
- }),
- //计算当所有查核计划都已分配完时掩藏底部批量按钮
- ifAllPlanListHasDistribution: function() {
- const tempData = this.checkList.filter(item => (!item.empId && !item.empName));
- return tempData.length == 0
- },
- ifSlectedAllCheckList: function() {
- if (this.checkedList.length == this.checkList.length) { //选中集合==总集合
- this.ifCheckAll = true;
- return true;
- } else {
- this.ifCheckAll = false;
- return false;
- }
- },
- selectedStr() {
- const {
- status
- } = this.filter;
- return (status.map(t => t.name)).join(',')
- },
- },
- watch: {
- filter(val, oldVal) {
- if (val.keyword.length == 0) {
- this.searchHandle();
- }
- }
- },
- data() {
- return {
- // 查核组id
- checkGroupId: 0,
- // 情境id (批量修改有,不然为0)
- situationId: 0,
- // 查核id
- checkId: 0,
- // 计划开始时间
- startDate: '',
- // 计划结束时间
- endDate: '',
- multiple: false,
- planList: [],
- hasStartedCheck: [], //查核已经开始的集合
- ifInit: null,
- ifshowBottom: false,
- checkedList: [], //批量选中的集合
- ifCheckAll: false, //是否全选
- copiedCheckList: [],
- ifclearSearch: false,
- filter: {
- keyword: '',
- status: [{
- name: '全部',
- id: 0,
- count: 0
- }]
- },
- selectables: [{
- id: 0,
- name: '全部',
- count: 0
- },
- {
- id: 1,
- name: '进行中',
- count: 0
- },
- {
- id: 2,
- name: '未分配',
- count: 0
- },
- {
- id: 3,
- name: '已完成',
- count: 0
- }
- ]
- };
- },
- onLoad({
- situationId,
- checkId,
- checkGroupId,
- startDate,
- endDate,
- multiple,
- situationType,
- checkNo,
- pointsetType
- }) {
- this.init(situationId,
- checkId,
- checkGroupId,
- startDate,
- endDate,
- multiple,
- situationType,
- checkNo,
- pointsetType
- );
- },
- onShow() {
- let pages = getCurrentPages(); // 获取当前页面栈
- let curPage = pages[pages.length - 1]; // 当前页面
- if (curPage.ifInit) {
- curPage.ifInit = false;
- this.init(
- this.situationId,
- this.checkId,
- this.checkGroupId,
- this.startDate,
- this.endDate,
- this.multiple,
- this.situationType,
- this.checkNo,
- this.pointsetType
- ) // A页面 method中的方法,用来刷新页面A
- }
- },
- mounted() {},
- onUnload() {
- //页面卸载或返回
- this.$store.commit('planList/comChangeState', {
- key: 'ifReloadData',
- data: true
- })
- },
- methods: {
- init(situationId,
- checkId,
- checkGroupId,
- startDate,
- endDate,
- multiple,
- situationType,
- checkNo,
- pointsetType) {
- this.getCheckList(checkId, situationType);
- this.checkGroupId = checkGroupId ? +checkGroupId : 0;
- this.situationId = situationId ? +situationId : 0;
- this.checkId = checkId ? +checkId : 0;
- this.startDate = startDate;
- this.endDate = endDate;
- this.multiple = multiple;
- this.checkedList = [];
- this.situationType = situationType;
- this.checkNo = checkNo;
- this.pointsetType=pointsetType;//add by yfb 20230417
- },
- ifStartCheck(timeStr) {
- if (timeStr) {
- const currentTime = new Date().getTime();
- const startTime = Date.parse(timeStr.replace(/-/g, '/'));
- if (currentTime < startTime) {
- this.ifshowBottom = true;
- }
- return currentTime < startTime;
- }
- this.ifshowBottom = true;
- return true;
- },
- /**
- * @str string [noStart,checking,completed]
- */
- getStatus: function(str) { //设置状态颜色
- switch (str) {
- case '未分配':
- return 'status noStart'
- break;
- case '进行中':
- return 'status checking'
- break;
- case '已完成':
- return 'status completed'
- break;
- }
- },
- getClass(id) {
- const ids = this.filter.status.map(item => item.id);
- if (ids.indexOf(id) != -1) {
- return "list on"
- }
- return "list"
- },
- /**
- * @param {boolean} flag true确定按钮点击,false取消按钮
- */
- btnGroupClickHandle(flag) {
- this.$refs.popup.close();
- //清空搜索
- this.filter = {
- ...this.filter,
- keyword: ''
- }
- },
- listClickHandle(item) {
- const _filter = this.filter;
- const {
- status
- } = _filter;
- const index = _filter.status.findIndex(t => t.id == item.id);
- if (item.id == 0) {
- //全部
- this.filter = {
- ...this.filter,
- status: [{
- name: '全部',
- id: 0
- }]
- };
- return;
- }
- //去除全部选项选中
- status.splice(_filter.status.findIndex(t => t.id == 0), 1);
- if (index != -1) {
- status.splice(index, 1)
- } else {
- status.push({
- name: item.name,
- id: item.id
- })
- }
- this.filter = _filter;
- },
- selecterHandle() {
- this.$refs.popup.open();
- },
- searchInputHandle(val) {
- this.filter = {
- ...this.filter,
- keyword: val
- };
- },
- searchHandle() {
- let tempArr = this.checkList;
- if (this.filter.status[0].id == 1) {
- //进行中
- tempArr = this.checkList.filter(item => item.completeDes == '进行中');
- }
- if (this.filter.status[0].id == 2) {
- //未分配
- tempArr = this.checkList.filter(item => item.completeDes == '未分配');
- }
- if (this.filter.status[0].id == 3) {
- //未分配
- tempArr = this.checkList.filter(item => item.completeDes == '已完成');
- }
- this.copiedCheckList = tempArr.filter(item => item.deptName.indexOf(this.filter.keyword) != -1);
- },
- batchCancelDistri() { //批量撤销
- const _that = this;
- this.$store.dispatch({
- type: 'editCheckList/commActions',
- key: "batchCancelCheckDistribution",
- data: {
- checkId: this.checkId,
- deptIds: this.checkedList.map(t => t.deptId)
- }
- }).then(data => {
- if (data) {
- uni.showModal({
- title: '提示',
- content: '撤销分配成功!',
- showCancel: false,
- success(res) {
- if (res.confirm) {
- _that.checkedList = [];
- _that.getCheckList(_that.checkId, _that.situationType);
- }
- }
- });
- }
- })
- },
- bottomBtnClickHandle(key) {
- let details = {
- index: '', // 修改的下标
- title: '', // 标题
- empId: '',
- empName: '',
- startDate: '',
- endDate: '',
- situationType: this.situationType,
- checkNo: this.checkNo,
- checkedList: this.checkedList.map(t => t.deptId),
- situationId: this.situationId, // 情境id (批量修改有,不然为0)
- checkId: this.checkId, // 查核id
- checkGroupId: this.checkGroupId, //查核组id
- planStartDate: this.startDate, // 计划开始时间
- planEndDate: this.endDate, // 计划结束时间
- pointsetType:this.pointsetType //计分方式 add by yfb 20230417
- }
- if (key == 'left') { //全选
- this.ifCheckAll = !this.ifCheckAll;
- if (this.ifCheckAll) {
- this.checkedList = this.checkList;
- } else {
- this.checkedList = [];
- }
- }
- if (key == 'middle') { //批量撤销
- if (this.checkedList.findIndex(item => item.completeDes == '未分配') != -1) {
- //选中项包含未分配
- uni.showModal({
- title: '提示',
- content: '选择的病区里包含未分配项!是否继续操作?',
- success: (res) => {
- if (res.confirm) {
- this.batchCancelDistri();
- }
- }
- });
- } else {
- this.batchCancelDistri();
- }
- }
- if (key == 'right') { //批量分配
- if (this.checkedList.length > 0) {
- if (this.checkedList.findIndex(item => item.completeDes == '进行中') != -1) {
- //选中项包含已分配
- uni.showModal({
- title: '提示',
- content: '选择的病区里包含已进行中项!是否继续操作?',
- success: (res) => {
- if (res.confirm) {
- uni.navigateTo({
- url: `/pages/batchDistribution/batchDistribution?details=${encodeURIComponent(JSON.stringify(details))}`
- });
- }
- }
- });
- } else {
- uni.navigateTo({
- url: `/pages/batchDistribution/batchDistribution?details=${encodeURIComponent(JSON.stringify(details))}`
- });
- }
- } else {
- uni.showModal({
- title: '提示',
- content: '请先选择分配项!',
- showCancel: false
- });
- }
- }
- },
- checkedHandle(item) {
- let temp = this.checkedList;
- let index = temp.findIndex(val => val.deptId == item.deptId)
- if (index != -1) {
- temp.splice(index, 1);
- this.checkedList = temp;
- } else {
- this.checkedList = this.checkedList.concat([item]);
- }
- },
- // 完成
- submit() {
- const hadDistributionList = this.checkList.filter((item, index) => {
- return item.isDistribution || item.empId;
- });
- const commitData = hadDistributionList.map(item => ({
- "checkId": item.checkId,
- "deptId": item.deptId,
- "empId": item.empId,
- "empName": item.empName,
- "startDate": item.startDate,
- "endDate": item.endDate,
- "categoryIds": item.categoryIds
- }));
- // console.log({commitData});
- this.batchDistribute(commitData);
- },
- /**
- * 获取时间字符串
- * @param {Number} startTimestamp 计划开始时间戳
- * @param {Number} endTimestamp 计划结束时间戳
- * @param {Number} diffTimestamp 第一次计划中的时间差
- * @param {String} endDateStr 计划结束时间字符串
- */
- getDateStr(startTimestamp, endTimestamp, diffTimestamp, endDateStr) {
- if ((startTimestamp + diffTimestamp) > endTimestamp) { // 超出计划结束时间, 则取计划结束时间
- return endDateStr;
- } else {
- return moment(startTimestamp + diffTimestamp).format('YYYY-MM-DD HH:mm');
- }
- },
- // 分配单位查核人员
- batchDistribute(empList) {
- if (empList.length === 0) { // 未作修改直接跳转页面
- return this.redirectToPlanList();
- }
- this.$store.dispatch({
- type: 'editCheckList/commActions',
- key: "batchDistribute",
- data: {
- empList
- }
- }).then(data => {
- if (data) {
- this.redirectToPlanList();
- }
- });
- },
- // 跳转页面
- redirectToPlanList() {
- uni.redirectTo({
- url: `/pages/planList/planList?situationId=${this.situationId}&checkGroupId=${this.checkGroupId}`
- });
- },
- // 日期时间转换为时间戳
- dateToTimestamp(dataStr) {
- return dataStr ? moment(dataStr).valueOf() : -1
- },
- checkEdit(data, index, title) {
- // console.log({data});
- if (data.completeState) { // 计划已开始, 不能编辑查核人和计划时间
- uni.showModal({
- content: '因查核计划已结束,故不可修改',
- showCancel: false
- });
- } else { // 跳转编辑页面
- const {
- empId,
- empName,
- startDate,
- endDate,
- deptId,
- categoryId,
- isDistribution,
- } = data;
- let details = {
- index, // 修改的下标
- title, // 标题
- empId,
- empName,
- startDate:startDate?startDate:this.startDate, //未分配时间时,取计划时间
- endDate:endDate?endDate:this.endDate,//未分配时间时,取计划时间
- deptId,
- categoryId,
- isDistribution,
- situationType: this.situationType,
- checkNo: this.checkNo,
- situationId: this.situationId, // 情境id (批量修改有,不然为0)
- checkId: this.checkId, // 查核id
- checkGroupId: this.checkGroupId, //查核组id
- planStartDate: this.startDate, // 计划开始时间
- planEndDate: this.endDate // 计划结束时间
- }
- if (this.multiple == 'true') {
- uni.navigateTo({
- url: `/pages/allocationPerson/allocationPerson?details=${encodeURIComponent(JSON.stringify(details))}`
- });
- }
- if (this.multiple == 'false') {
- const _detailsTwo = {
- ...details,
- checkedList: [deptId]
- }
-
- uni.navigateTo({
- url: `/pages/batchDistribution/batchDistribution?details=${encodeURIComponent(JSON.stringify(_detailsTwo))}`
- });
- }
- }
- },
- // 获取查核列表
- getCheckList(checkId, situationType) {
- const that = this;
- this.$store.dispatch({
- type: 'editCheckList/commActions',
- key: "getCheckList",
- data: {
- checkId,
- situationType
- }
- }).then(data => {
- this.$store.dispatch({
- type: "commActions",
- key: "getDateStr",
- }).then((dateStr) => {
- if (dateStr) {
- const _data = data.map(item => {
- if (item.endDate && moment(item.endDate)
- .valueOf() < moment(dateStr).valueOf()) {
- return {
- ...item,
- completeState: true // true:说明计划已结束, 不能编辑查核人和计划时间
- }
- } else {
- return item
- }
- });
- //copiedCheckList用于搜索/筛选
- that.copiedCheckList = _data;
- this.selectables = [{
- id: 0,
- name: '全部',
- count: _data.length
- },
- {
- id: 1,
- name: '进行中',
- count: (_data.filter(item => item.completeDes == '进行中')).length
- },
- {
- id: 2,
- name: '未分配',
- count: (_data.filter(item => item.completeDes == '未分配')).length
- },
- {
- id: 3,
- name: '已完成',
- count: (_data.filter(item => item.completeDes == '已完成')).length
- }
- ]
- this.$store.commit({
- type: 'editCheckList/comChangeState',
- key: 'checkList',
- data: _data
- });
- }
- });
- });
- },
- // 获取计划列表
- getPlanList() {
- this.$store.dispatch({
- type: 'planList/commActions',
- payload: {
- key: 'planList',
- data: {
- situationId: this.situationId,
- }
- }
- }).then((data) => {
- this.planList = data || [];
- })
- }
- }
- }
- </script>
- <style lang="less" scoped>
- .editCheckList {
- padding-top: 30rpx;
- }
- .selectableList {
- display: flex;
- width: 100%;
- flex-direction: column;
- height: 50vh;
- padding-top: 50rpx;
- box-sizing: border-box;
- border-radius: 25rpx 25rpx 0px 0px;
- background-color: #FFFFFF;
- .listWrap {
- height: calc(50vh - 75rpx);
- overflow-y: scroll;
- .list {
- height: 87.5rpx;
- line-height: 87.5rpx;
- text-align: center;
- font-size: 30rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #8A8F99;
- &.on {
- font-weight: 500;
- color: #3377FF;
- }
- }
- }
- .btnGroup {
- display: flex;
- width: 100%;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- .btn {
- width: 50%;
- height: 75rpx;
- line-height: 75rpx;
- text-align: center;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #3377FF;
- }
- .cancelBtn {
- border-top: 0.62rpx solid #DADEE6;
- }
- .confirmBtn {
- color: #FFFFFF;
- background: #3377FF;
- }
- }
- }
- .searchBar {
- width: 93%;
- margin: 0 auto;
- .filter {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 15rpx;
- padding: 0 25rpx;
- background: #FFFFFF;
- .selecter {
- display: flex;
- width: 25%;
- height: 70rpx;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding-right: 25rpx;
- border-right: 0.62rpx solid #DADEE6;
- &>text {
- width: 112.5rpx;
- font-size: 25rpx;
- font-family: SourceHanSansCN-Medium, SourceHanSansCN;
- font-weight: 500;
- color: #292C33;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- &>image {
- width: 11.25rpx;
- height: 7.5rpx;
- }
- }
- .searchBar {
- display: flex;
- width: 75%;
- flex-direction: row;
- align-items: center;
- height: 70rpx;
- padding-left: 25rpx;
- border-radius: 5rpx;
- .serachIcon {
- width: 25rpx;
- height: 25rpx;
- }
- .searchVal {
- width: 79%;
- padding-left: 25rpx;
- font-size: 25rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #292C33;
- }
- .searchBtn {
- padding-left: 25rpx;
- font-size: 25rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #3377FF;
- white-space: nowrap;
- border-left: 1rpx solid #DADEE6;
- }
- }
- }
- }
- .check-map-list {
- display: flex;
- flex-direction: column;
- height: 100%;
- .scroll-y {
- flex: 1;
- height: 100%;
- padding-bottom: 95rpx;
- &.noBottom {
- padding-bottom: 0;
- }
- .item {
- position: relative;
- border-radius: 5rpx;
- .title-wrap {
- padding-left:60rpx;
- text {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
-
- }
- }
- .status {
- position: absolute;
- right: 0;
- top:0;
- display: flex;
- justify-content: center;
- width: 110rpx;
- height: 35rpx;
- color: #FFFFFF;
- text-align: center;
- line-height: 35rpx;
- // border-radius: 20rpx;
- background: url(../../static/white_statusbg.png);
- background-size:35rpx;
- background-repeat: no-repeat;
-
- &.noStart {
- background-color: #eee;
- }
- &.checking {
- background-color: #FFCC66;
- }
- &.completed {
- background-color: #29CC96;
- }
- }
- }
- .checkPoint {
- position: absolute;
- top: 30rpx;
- left: 25rpx;
- width: 25rpx;
- height: 25rpx;
- z-index: 2;
- border-radius: 50%;
- border: 2.5rpx solid #C3CAD9;
- .innerImg {
- width: 100%;
- height: 100%;
- }
- &.checked {
- border: none;
- }
- }
- .footer {
- .row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-top: 1px solid #DADEE6;
- height: 62.5rpx;
- padding: 0 25rpx;
- font-size: 22.5rpx;
- .label {
- color: #525866;
- }
- .labelVal {
- display: flex;
- flex-direction: row;
- align-items: center;
- flex-wrap: nowrap;
- height: 100%;
- .base-text {
- // flex: 1;
- line-height: 62.5rpx;
- color: #B8BECC;
- font-weight: normal;
- margin-bottom: 0;
- }
- .center-text {
- padding: 0 5rpx;
- color: #292C33;
- }
- .black-color {
- color: #292C33;
- }
- }
- .arrow {
- width: 12.5rpx;
- height: 21.25rpx;
- }
- &:last-child {
- border-top: none;
- }
- }
- }
- }
- .bottomBtnGroup {
- position: fixed;
- width: 100%;
- height: 87.5rpx;
- bottom: 0;
- left: 0;
- display: flex;
- flex-direction: row;
- background-color: #FFFFFF;
- .selectAll {
- position: relative;
- display: flex;
- width: 20%;
- height: 100%;
- justify-content: center;
- align-items: center;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #3377FF;
- &::after {
- position: absolute;
- display: inline-block;
- content: '';
- right: 0;
- width: 1rpx;
- height: 40%;
- background-color: #82848A;
- }
- }
- .leftBtn,
- .rightBtn {
- display: flex;
- width: 40%;
- height: 100%;
- justify-content: center;
- align-items: center;
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #3377FF;
- }
- .rightBtn {
- color: #FFFFFF;
- background-color: #3377FF;
- }
- }
- .null {
- margin-top: 375rpx;
- text-align: center;
- color: #999;
- }
- }
- </style>
|