Commit 105f958a by Lays-lzq

feat: 修复样式问题

parent f1badd5e
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<li> <li>
<label>运单信息:</label> <label>运单信息:</label>
<div class="record-detail__tracking-info"> <div class="record-detail__tracking-info">
<p>{{ detailInfo.trackingCompany }}</p> <p v-if="detailInfo.trackingCompany">{{ detailInfo.trackingCompany }}</p>
<span v-if="detailInfo.trackingNo"> <span v-if="detailInfo.trackingNo">
{{ detailInfo.trackingNo }} {{ detailInfo.trackingNo }}
<span class="record-detail__copy-btn" @click="onCopy(detailInfo.trackingNo)" <span class="record-detail__copy-btn" @click="onCopy(detailInfo.trackingNo)"
......
...@@ -184,6 +184,7 @@ export default { ...@@ -184,6 +184,7 @@ export default {
} }
&__item-middle { &__item-middle {
display: flex; display: flex;
overflow: hidden;
&img { &img {
width: 55px; width: 55px;
height: 55px; height: 55px;
...@@ -197,10 +198,15 @@ export default { ...@@ -197,10 +198,15 @@ export default {
} }
} }
&info { &info {
flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-left: 10px; margin-left: 10px;
.title { .title {
width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 20px; line-height: 20px;
font-size: 14px; font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
...@@ -223,6 +229,10 @@ export default { ...@@ -223,6 +229,10 @@ export default {
justify-content: space-between; justify-content: space-between;
margin-bottom: 12px; margin-bottom: 12px;
&title { &title {
width: 85%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px; font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment