Commit 19b27abb authored by Mac's avatar Mac

修改样式

parent 89ce8cd1
...@@ -70,10 +70,16 @@ ...@@ -70,10 +70,16 @@
/> />
</view> --> </view> -->
<view> <view>
<view class="timeAndAddr" <view class="timeAndAddr">
>{{ x.StartTime }}-{{ x.EndTime }}</view {{x.StartTime.split(' ')[0].split('-')[1]}}{{x.StartTime.split(' ')[0].split('-')[2]}}
<span>~</span>
{{ x.EndTime.split(' ')[0].split('-')[1]}}{{x.EndTime.split(' ')[0].split('-')[2] }}
</view
> >
<view class="timeAndAddr">{{ x.LocationName }}</view> <view class="timeAndAddr" style="display: flex;">
<u-icon name="location" :color="mainColor" size="30" ></u-icon>
<view class="timeAndAddr_text">{{ x.LocationName }}</view>
</view>
</view> </view>
<view class="infoBox"> <view class="infoBox">
<!-- 头像 --> <!-- 头像 -->
...@@ -632,4 +638,10 @@ export default { ...@@ -632,4 +638,10 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
margin: 4rpx 0; margin: 4rpx 0;
} }
.timeAndAddr_text{
width: 350rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style> </style>
\ No newline at end of file
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 to comment