From 4b74ae71c84d7c3a2fcc83d1ef75f11f8f8c05e0 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期二, 30 五月 2023 10:28:28 +0800
Subject: [PATCH] 增加新功能,修复bug
---
pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue | 861 +++++++++++++++++++++++++++++++--------------------------
1 files changed, 466 insertions(+), 395 deletions(-)
diff --git a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
index a933098..92084f9 100644
--- a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
+++ b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
@@ -1,18 +1,29 @@
<template>
<view class="freightForwarder-index">
<view class="freightForwarder-index-body">
- <view class="wait-collection" style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain"></view>
+ <view class="wait-collection"
+ style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
+ </view>
<view style="position: relative;top: -120px;">
- <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="orderPlanData.length == 0"></u-empty>
+ <u-empty mode="data"
+ icon="http://cdn.uviewui.com/uview/empty/data.png"
+ textSize="30"
+ iconSize="1000"
+ v-if="orderPlanData.length == 0"></u-empty>
</view>
<view class="collection-form">
- <view class="collection-form-item" v-for="(item, index) in orderPlanData" :key="index" @click="cardBodyClick(item)">
+ <view class="collection-form-item"
+ v-for="(item, index) in orderPlanData"
+ :key="index"
+ @click="cardBodyClick(item)">
<view class="first-line">
<view class="main-information">
<view class="sign">瑁�</view>
<view class="filedname exceedHide">
- <text v-if="item.orderType == '澶栭攢' || item.orderType == '鍐呴攢' || item.orderType == '杞嚭'">{{ item.deptName }}</text>
- <text v-else-if="item.orderType == '澶栬喘' || item.orderType == '鍐呰喘' || item.orderType == '杞叆'">{{ item.customerName }}</text>
+ <text
+ v-if="item.orderType == '澶栭攢' || item.orderType == '鍐呴攢' || item.orderType == '杞嚭'">{{ item.deptName }}</text>
+ <text
+ v-else-if="item.orderType == '澶栬喘' || item.orderType == '鍐呰喘' || item.orderType == '杞叆'">{{ item.customerName }}</text>
</view>
</view>
<view class="main-divider"></view>
@@ -25,8 +36,10 @@
<view class="main-information">
<view class="sign">鍗�</view>
<view class="filedname exceedHide">
- <text v-if="item.orderType == '澶栭攢' || item.orderType == '鍐呴攢' || item.orderType == '杞嚭'">{{ item.customerName }}</text>
- <text v-else-if="item.orderType == '澶栬喘' || item.orderType == '鍐呰喘' || item.orderType == '杞叆'">{{ item.deptName }}</text>
+ <text
+ v-if="item.orderType == '澶栭攢' || item.orderType == '鍐呴攢' || item.orderType == '杞嚭'">{{ item.customerName }}</text>
+ <text
+ v-else-if="item.orderType == '澶栬喘' || item.orderType == '鍐呰喘' || item.orderType == '杞叆'">{{ item.deptName }}</text>
</view>
</view>
</view>
@@ -34,19 +47,23 @@
<view class="coal-name">
<view class="">{{ item.coalName }}</view>
<view class="black-bar"></view>
- <view class="coal-type" v-if="item.orderType">{{ item.orderType }}</view>
+ <view class="coal-type"
+ v-if="item.orderType">{{ item.orderType }}</view>
</view>
</view>
<view class="third-line">
<view class="time-icon">
<view
- style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover"
- ></view>
+ style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+ </view>
</view>
<view class="send-date">{{ item.sendDate }}</view>
</view>
<view class="fourth-line">
- <view class="forward" @click.stop="forwardClick(item)"><view class="button-image">杞彂</view></view>
+ <view class="forward"
+ @click.stop="forwardClick(item)">
+ <view class="button-image">杞彂</view>
+ </view>
</view>
</view>
</view>
@@ -55,16 +72,29 @@
</view> -->
<view class="history-numbers">
<combined-title title="鍘嗗彶鎻愮叅鍗�"></combined-title>
- <scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltolower="historyScrolltolower">
- <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="historyCoalData.length === 0"></u-empty>
- <view class="history-information" v-for="(item, index) in historyCoalData" :key="index" @click="faYundetail(item)">
+ <scroll-view :scroll-top="scrollTop"
+ scroll-y="true"
+ class="scroll-Y"
+ @scrolltolower="historyScrolltolower">
+ <u-empty mode="data"
+ icon="http://cdn.uviewui.com/uview/empty/data.png"
+ textSize="30"
+ iconSize="1000"
+ v-if="historyCoalData.length === 0"></u-empty>
+ <view class="history-information"
+ v-for="(item, index) in historyCoalData"
+ :key="index"
+ @click="faYundetail(item)">
<view class="first">
<view class="">{{ item.deptName || '' }}</view>
- <view class=""><u-icon name="arrow-right" color="#999999" size="40"></u-icon></view>
+ <view class=""><u-icon name="arrow-right"
+ color="#999999"
+ size="40"></u-icon></view>
</view>
<view class="second">
<view class="coal-name">{{ item.coalName || '' }}</view>
- <view class="order-type" v-if="item.orderType">{{ item.orderType || '' }}</view>
+ <view class="order-type"
+ v-if="item.orderType">{{ item.orderType || '' }}</view>
</view>
<view class="third">
<view class="third-line">
@@ -73,8 +103,7 @@
</view>
<view class="third-line">
<view class="third-line_text">鍓╀綑鏁帮細</view>
- <view class="third-line_num" v-if="roleType == 1">{{ item.carNumSurplus1 }}</view>
- <view class="third-line_num" v-else-if="roleType == 2">{{ item.carNumSurplus }}</view>
+ <view class="third-line_num">{{ item.carNumSurplus }}</view>
</view>
<view class="third-line">
<view class="third-line_text">鎻愮叅鍗曚釜鏁帮細</view>
@@ -84,22 +113,23 @@
<view class="fourth">
<view class="fourth-icon">
<view
- style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover"
- ></view>
+ style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+ </view>
</view>
<view class="senddate">{{ item.sendDate }}</view>
</view>
<view class="fourth">
<view class="fourth-icon">
<view
- style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover"
- ></view>
+ style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover">
+ </view>
</view>
<view class="senddate">{{ item.orderCode }}</view>
</view>
</view>
- <view class="more_text" v-if="showMoreData && historyCoalData.length !== 0">娌℃湁鏁版嵁浜�...</view>
- <view class="white-block"></view>
+ <view class="more_text"
+ v-if="showMoreData && historyCoalData.length !== 0">娌℃湁鏁版嵁浜�...</view>
+ <!-- <view class="white-block"></view> -->
</scroll-view>
</view>
</view>
@@ -107,418 +137,459 @@
</template>
<script>
-import combinedTitle from '@/components/combined-title/combined-title.vue';
-export default {
- props: {
- indexHistoryCoalData: {
- type: Array,
- default: []
- },
- indexHuoDaiOrderPlanData: {
- type: Array,
- default: []
- }
- },
- watch: {
- indexHistoryCoalData: {
- handler(v) {
- this.historyCoalData = v;
+ import combinedTitle from '@/components/combined-title/combined-title.vue';
+ export default {
+ props: {
+ indexHistoryCoalData: {
+ type: Array,
+ default: []
},
- deep: true,
- immediate: true
+ indexHuoDaiOrderPlanData: {
+ type: Array,
+ default: []
+ }
},
- indexHuoDaiOrderPlanData: {
- handler(v) {
- this.orderPlanData = v;
+ watch: {
+ indexHistoryCoalData: {
+ handler(v) {
+ this.historyCoalData = v;
+ },
+ deep: true,
+ immediate: true
},
- deep: true,
- immediate: true
- }
- },
- components: {
- combinedTitle
- },
- data() {
- return {
- orderPlanData: [],
- historyCoalData: [],
- // 琛ㄦ牸鍔犺浇鐘舵��
- loading: false,
- scrollTop: 0,
- // 姣忛〉鏁版嵁閲�
- pageSize: 10,
- // 褰撳墠椤�
- pageCurrent: 1,
- // 鏁版嵁鎬婚噺
- total: 0,
- // 鏄惁鏄剧ず鏇村鏁版嵁
- showMoreData: false
- };
- },
- onShow() {
- this.init();
- },
- computed: {
- huoDaiId() {
- return uni.getStorageSync('userInfo').id;
- }
- },
- methods: {
- // 鑾峰彇鍘嗗彶鎻愮叅鍗�
- getJhOrderPlanDataPage() {
- uni.showLoading({
- title: '鍔犺浇涓�'
- });
- this.$reqGet('getJhOrderPlanDataPage', { current: this.pageCurrent, size: this.pageSize }).then(res => {
- if (res.data.records) {
- if (this.pageCurrent > 1) {
- this.historyCoalData = this.historyCoalData.concat(res.data.records);
- this.historyCoalData = this.ArrSet(this.historyCoalData, 'id');
- uni.hideLoading();
- } else {
- this.historyCoalData = res.data.records;
- uni.hideLoading();
+ indexHuoDaiOrderPlanData: {
+ handler(v) {
+ this.orderPlanData = v;
+ },
+ deep: true,
+ immediate: true
+ }
+ },
+ components: {
+ combinedTitle
+ },
+ data() {
+ return {
+ orderPlanData: [],
+ historyCoalData: [],
+ // 琛ㄦ牸鍔犺浇鐘舵��
+ loading: false,
+ scrollTop: 0,
+ // 姣忛〉鏁版嵁閲�
+ pageSize: 10,
+ // 褰撳墠椤�
+ pageCurrent: 1,
+ // 鏁版嵁鎬婚噺
+ total: 0,
+ // 鏄惁鏄剧ず鏇村鏁版嵁
+ showMoreData: false
+ };
+ },
+ onShow() {
+ this.init();
+ },
+ computed: {
+ huoDaiId() {
+ return uni.getStorageSync('userInfo').id;
+ }
+ },
+ methods: {
+ // 鑾峰彇鍘嗗彶鎻愮叅鍗�
+ getJhOrderPlanDataPage() {
+ uni.showLoading({
+ title: '鍔犺浇涓�'
+ });
+ this.$reqGet('getJhOrderPlanDataPage', { current: this.pageCurrent, size: this.pageSize }).then(res => {
+ if (res.data.records) {
+ if (this.pageCurrent > 1) {
+ this.historyCoalData = this.historyCoalData.concat(res.data.records);
+ this.historyCoalData = this.ArrSet(this.historyCoalData, 'id');
+ uni.hideLoading();
+ } else {
+ this.historyCoalData = res.data.records;
+ uni.hideLoading();
+ }
}
- }
- });
- },
- // 涓婃媺鍔犺浇
- historyScrolltolower() {
- if (this.pageCurrent * this.pageSize >= this.total) return (this.showMoreData = true);
- this.pageCurrent++;
- this.getJhOrderPlanDataPage();
- },
- //fix 鐐瑰嚮鎻愮叅鍗曡繑鍥炰細澧炲姞閲嶅鏁版嵁
- ArrSet(Arr, id) {
- var obj = {};
- const arrays = Arr.reduce((setArr, item) => {
- obj[item[id]] ? '' : (obj[item[id]] = true && setArr.push(item));
- return setArr;
- }, []);
- return arrays;
- },
- init() {
- this.huoDaiList();
- this.getJhOrderPlanDataPage();
- },
- huoDaiList() {
- this.$reqGet('huoDaiList').then(res => {
- this.orderPlanData = res.data;
- });
- },
- cardBodyClick(item) {
- // let code = null;
- // this.orderPlanData.forEach(item => {
- // if (item.orderPlanId == id) {
- // code = item.code;
- // id = item.orderPlanId;
- // }
- // });
- uni.navigateTo({
- url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${item.orderPlanId}&code=${item.code}`
- });
- },
- // 杞彂
- forwardClick(value) {
- uni.navigateTo({
- url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}&carNum=${value.carNum}`
- });
- },
- // 鐐瑰嚮鍘嗗彶鎻愮叅鍗曚竴琛岃幏鍙栬鎯�
- faYundetail(v) {
- uni.navigateTo({
- url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}`
- });
+ });
+ },
+ // 涓婃媺鍔犺浇
+ historyScrolltolower() {
+ if (this.pageCurrent * this.pageSize >= this.total) return (this.showMoreData = true);
+ this.pageCurrent++;
+ this.getJhOrderPlanDataPage();
+ },
+ //fix 鐐瑰嚮鎻愮叅鍗曡繑鍥炰細澧炲姞閲嶅鏁版嵁
+ ArrSet(Arr, id) {
+ var obj = {};
+ const arrays = Arr.reduce((setArr, item) => {
+ obj[item[id]] ? '' : (obj[item[id]] = true && setArr.push(item));
+ return setArr;
+ }, []);
+ return arrays;
+ },
+ init() {
+ this.huoDaiList();
+ this.getJhOrderPlanDataPage();
+ },
+ huoDaiList() {
+ this.$reqGet('huoDaiList').then(res => {
+ this.orderPlanData = res.data;
+ });
+ },
+ cardBodyClick(item) {
+ // let code = null;
+ // this.orderPlanData.forEach(item => {
+ // if (item.orderPlanId == id) {
+ // code = item.code;
+ // id = item.orderPlanId;
+ // }
+ // });
+ uni.navigateTo({
+ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${item.orderPlanId}&carNum=${item.carNum}`
+ });
+ },
+ // 杞彂
+ forwardClick(value) {
+ uni.navigateTo({
+ url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}&carNum=${value.carNum}`
+ });
+ },
+ // 鐐瑰嚮鍘嗗彶鎻愮叅鍗曚竴琛岃幏鍙栬鎯�
+ faYundetail(v) {
+ uni.navigateTo({
+ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}`
+ });
+ }
}
- }
-};
+ };
</script>
-<style lang="scss" scoped>
-@mixin flex {
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
-@mixin firstLine {
- width: 94%;
- height: vww(68);
- margin: vww(18) vww(16) 0 vww(16);
- display: flex;
- justify-content: space-between;
-}
-.scroll-Y {
- height: 900rpx;
- .more_text {
- color: #333;
- font-size: 24rpx;
- text-align: center;
+<style lang="scss"
+ scoped>
+ @mixin flex {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
}
-}
-.history-numbers {
- width: 100%;
- position: relative;
- top: vww(-110);
- .history-information {
- width: 690rpx;
- height: 398rpx;
- margin: vww(10) vww(15);
- background: #ffffff;
- box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12);
- border-radius: 20rpx;
- @include flex flex-direction: column;
- align-items: flex-start;
- justify-content: space-evenly;
- overflow: hidden;
- .first {
- width: 96%;
- height: 34rpx;
- font-size: 32rpx;
- font-weight: 300;
- color: #303030;
- @include flex;
- margin: vww(10) vww(10) 0;
+
+ @mixin firstLine {
+ width: 94%;
+ height: vww(68);
+ margin: vww(18) vww(16) 0 vww(16);
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .scroll-Y {
+ height: 900rpx;
+
+ .more_text {
+ color: #333;
+ font-size: 24rpx;
+ text-align: center;
}
- .second {
- width: 100%;
- height: 31rpx;
- font-size: 30rpx;
- font-weight: 300;
- color: #515151;
- margin: vww(10) vww(10) 0;
- @include flex;
- justify-content: flex-start;
- .coal-name {
- min-width: vww(30);
- height: vww(20);
- margin-right: vww(21);
- }
- .order-type {
- color: #035cfb;
- border: 2px solid #035cfb;
- border-radius: 4rpx;
- padding: vww(2) vww(4);
- text-align: center;
- }
- }
- .third {
- width: 96%;
- height: 31rpx;
- font-size: 30rpx;
- font-weight: 300;
- color: #515151;
- margin: vww(10) vww(10) 0;
- @include flex;
- .third-line {
+ }
+
+ .history-numbers {
+ width: 100%;
+ position: relative;
+ top: vww(-110);
+
+ .history-information {
+ width: 690rpx;
+ height: 398rpx;
+ margin: vww(10) vww(15);
+ background: #ffffff;
+ box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12);
+ border-radius: 20rpx;
+ @include flex flex-direction: column;
+ align-items: flex-start;
+ justify-content: space-evenly;
+ overflow: hidden;
+
+ .first {
+ width: 96%;
+ height: 34rpx;
+ font-size: 32rpx;
+ font-weight: 300;
+ color: #303030;
@include flex;
- &_text {
- color: #919090;
+ margin: vww(10) vww(10) 0;
+ }
+
+ .second {
+ width: 100%;
+ height: 31rpx;
+ font-size: 30rpx;
+ font-weight: 300;
+ color: #515151;
+ margin: vww(10) vww(10) 0;
+ @include flex;
+ justify-content: flex-start;
+
+ .coal-name {
+ min-width: vww(30);
+ height: vww(20);
+ margin-right: vww(21);
}
- &_num {
+
+ .order-type {
color: #035cfb;
+ border: 2px solid #035cfb;
+ border-radius: 4rpx;
+ padding: vww(2) vww(4);
+ text-align: center;
}
}
- }
- .fourth {
- width: 50%;
- height: 31rpx;
- font-size: 30rpx;
- font-weight: 300;
- color: #515151;
- margin: vww(10) vww(10) 0;
- @include flex;
- .fourth-icon {
- width: vww(13);
- height: vww(13);
- margin-right: vww(14);
+
+ .third {
+ width: 96%;
+ height: 31rpx;
+ font-size: 30rpx;
+ font-weight: 300;
+ color: #515151;
+ margin: vww(10) vww(10) 0;
+ @include flex;
+
+ .third-line {
+ @include flex;
+
+ &_text {
+ color: #919090;
+ }
+
+ &_num {
+ color: #035cfb;
+ }
+ }
}
- .senddate {
- flex: 1;
+
+ .fourth {
+ width: 50%;
+ height: 31rpx;
+ font-size: 30rpx;
+ font-weight: 300;
+ color: #515151;
+ margin: vww(10) vww(10) 0;
+ @include flex;
+
+ .fourth-icon {
+ width: vww(13);
+ height: vww(13);
+ margin-right: vww(14);
+ }
+
+ .senddate {
+ flex: 1;
+ }
}
}
}
-}
-.exceedHide {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-::v-deep.freightForwarder-index {
- width: 100%;
- margin: 0 auto;
- // 涓讳綋
- .freightForwarder-index-body {
- .wait-collection {
- width: 100%;
- height: 600rpx;
- position: relative;
- top: vww(-10);
- z-index: 0;
- }
- .collection-form {
- width: vww(345);
- margin: 0 vww(15);
- position: relative;
- top: vww(-144);
- .collection-form-item {
- width: 690rpx;
- height: 340rpx;
- background: #ffffff;
- box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
- border-radius: 20rpx;
- overflow: hidden;
- @include flex;
- flex-direction: column;
+
+ .exceedHide {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ ::v-deep.freightForwarder-index {
+ width: 100%;
+ margin: 0 auto;
+
+ // 涓讳綋
+ .freightForwarder-index-body {
+ .wait-collection {
+ width: 100%;
+ height: 600rpx;
position: relative;
- align-items: flex-start;
- margin-top: vww(10);
- .first-line {
- width: 94%;
- height: vww(30);
- margin: vww(10) vww(16) 0 vww(16);
- display: flex;
- justify-content: space-between;
- .main-information {
- width: 88%;
- height: vww(28);
+ top: vww(-10);
+ z-index: 0;
+ }
+
+ .collection-form {
+ width: vww(345);
+ margin: 0 vww(15);
+ position: relative;
+ top: vww(-144);
+
+ .collection-form-item {
+ width: 690rpx;
+ height: 340rpx;
+ background: #ffffff;
+ box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
+ border-radius: 20rpx;
+ overflow: hidden;
+ @include flex;
+ flex-direction: column;
+ position: relative;
+ align-items: flex-start;
+ margin-top: vww(10);
+
+ .first-line {
+ width: 94%;
+ height: vww(30);
+ margin: vww(10) vww(16) 0 vww(16);
display: flex;
- justify-content: flex-start;
- align-items: center;
- .sign {
- width: vww(28);
+ justify-content: space-between;
+
+ .main-information {
+ width: 88%;
height: vww(28);
- line-height: vww(28);
- text-align: center;
- background: url('https://mx.jzeg.cn:9095/appimg/image/banner/blueblock.png') no-repeat;
- background-size: contain;
- font-size: 30rpx;
- font-weight: 400;
- color: #ffffff;
- margin-right: vww(20);
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+
+ .sign {
+ width: vww(28);
+ height: vww(28);
+ line-height: vww(28);
+ text-align: center;
+ background: url('https://mx.jzeg.cn:9095/appimg/image/banner/blueblock.png') no-repeat;
+ background-size: contain;
+ font-size: 30rpx;
+ font-weight: 400;
+ color: #ffffff;
+ margin-right: vww(20);
+ }
+ }
+
+ .main-divider {
+ width: 560rpx;
+ height: 1rpx;
+ background: #e3e3e3;
+ position: absolute;
+ top: 98rpx;
+ left: 122rpx;
+ }
+
+ .point-number {
+ position: absolute;
+ right: 0;
+ width: 15%;
+
+ text {
+ font-size: 24rpx;
+ font-weight: 400;
+ color: #c78a64;
+ }
+
+ .residue {
+ font-size: 40rpx;
+ font-weight: 400;
+ color: #f81414;
+ }
}
}
- .main-divider {
- width: 560rpx;
- height: 1rpx;
- background: #e3e3e3;
- position: absolute;
- top: 98rpx;
- left: 122rpx;
- }
- .point-number {
- position: absolute;
- right: 0;
- width: 15%;
- text {
- font-size: 24rpx;
- font-weight: 400;
- color: #c78a64;
- }
- .residue {
- font-size: 40rpx;
- font-weight: 400;
- color: #f81414;
+
+ .first-extra {
+ @include firstLine;
+
+ .main-information {
+ width: 100%;
+ height: vww(28);
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+
+ .sign {
+ width: vww(28);
+ height: vww(28);
+ line-height: vww(28);
+ text-align: center;
+ background: url('https://mx.jzeg.cn:9095/appimg/image/banner/redblock.png') no-repeat;
+ background-size: contain;
+ font-size: 30rpx;
+ font-weight: 400;
+ color: #ffffff;
+ margin-right: vww(20);
+ }
}
}
- }
- .first-extra {
- @include firstLine;
- .main-information {
+
+ .second-line {
width: 100%;
- height: vww(28);
+ height: vww(40);
+ margin-left: vww(18);
display: flex;
justify-content: flex-start;
align-items: center;
- .sign {
- width: vww(28);
- height: vww(28);
- line-height: vww(28);
- text-align: center;
- background: url('https://mx.jzeg.cn:9095/appimg/image/banner/redblock.png') no-repeat;
- background-size: contain;
+
+ .coal-name {
+ flex-grow: 1;
+ height: 30rpx;
font-size: 30rpx;
- font-weight: 400;
- color: #ffffff;
- margin-right: vww(20);
+ font-weight: 300;
+ color: #515151;
+ position: relative;
+ display: flex;
+ align-items: center;
+
+ .black-bar {
+ width: 2rpx;
+ height: 30rpx;
+ background: #515151;
+ margin-left: vww(12);
+ }
+
+ .coal-type {
+ margin-left: vww(12);
+ min-width: vww(50);
+ height: 30rpx;
+ line-height: 30rpx;
+ font-size: 30rpx;
+ font-weight: 300;
+ color: #515151;
+ }
}
}
- }
- .second-line {
- width: 100%;
- height: vww(40);
- margin-left: vww(18);
- display: flex;
- justify-content: flex-start;
- align-items: center;
- .coal-name {
- flex-grow: 1;
- height: 30rpx;
- font-size: 30rpx;
- font-weight: 300;
- color: #515151;
- position: relative;
+
+ .third-line {
+ width: 40%;
+ height: vww(50);
+ margin-left: vww(18);
display: flex;
+ justify-content: flex-start;
align-items: center;
- .black-bar {
- width: 2rpx;
- height: 30rpx;
- background: #515151;
- margin-left: vww(12);
- }
- .coal-type {
- margin-left: vww(12);
- min-width: vww(50);
- height: 30rpx;
- line-height: 30rpx;
- font-size: 30rpx;
+
+ .send-date {
+ width: 148rpx;
+ height: 24rpx;
+ margin-left: vww(14);
+ line-height: 24rpx;
+ font-size: 28rpx;
font-weight: 300;
color: #515151;
}
}
- }
- .third-line {
- width: 40%;
- height: vww(50);
- margin-left: vww(18);
- display: flex;
- justify-content: flex-start;
- align-items: center;
- .send-date {
- width: 148rpx;
- height: 24rpx;
- margin-left: vww(14);
- line-height: 24rpx;
- font-size: 28rpx;
- font-weight: 300;
- color: #515151;
- }
- }
- .fourth-line {
- width: 40%;
- height: vww(30);
- @include flex;
- position: relative;
- left: 60%;
- bottom: vww(10);
- .forward {
- width: vww(123);
- height: vww(48);
- left: vww(140);
- .button-image {
- width: 100%;
- height: 100%;
- background: url('../../../static/image/banner/button.png') no-repeat;
- background-size: cover;
- font-size: 28rpx;
- font-weight: 300;
- color: #fff;
- text-align: center;
- line-height: vww(45);
+
+ .fourth-line {
+ width: 40%;
+ height: vww(30);
+ @include flex;
+ position: relative;
+ left: 60%;
+ bottom: vww(10);
+
+ .forward {
+ width: vww(123);
+ height: vww(48);
+ left: vww(140);
+
+ .button-image {
+ width: 100%;
+ height: 100%;
+ background: url('../../../static/image/banner/button.png') no-repeat;
+ background-size: cover;
+ font-size: 28rpx;
+ font-weight: 300;
+ color: #fff;
+ text-align: center;
+ line-height: vww(45);
+ }
}
}
}
}
}
}
-}
-</style>
+</style>
\ No newline at end of file
--
Gitblit v1.9.1