lixuan
parent
8534bd605e
commit
4ffb634e97
12 changed files with 284 additions and 7 deletions
@ -0,0 +1,170 @@ |
|||||||
|
<template> |
||||||
|
<view class="page-content my-bg"> |
||||||
|
<cu-custom class="main-topbar bg-main-oil" bgColor="bg-main-oil" :isBack="true"> |
||||||
|
<block slot="content">油价上报</block> |
||||||
|
<block slot="backText" class="back-text">返回</block> |
||||||
|
</cu-custom> |
||||||
|
<view class="oil-price"> |
||||||
|
<image src="../static/img/oilPrice/oilback.png" mode=""></image> |
||||||
|
</view> |
||||||
|
<view class="oil-price-body"> |
||||||
|
<view class="oil-price-body-top"> |
||||||
|
<view class="body-top"> |
||||||
|
<view class=""> |
||||||
|
<text>星卡互联加油站</text> |
||||||
|
<text>不可用</text> |
||||||
|
</view> |
||||||
|
<view class=""> |
||||||
|
<image src="../static/img/oilPrice/wz.png" mode=""></image> |
||||||
|
<text>经济开发区宿松路与休宁路站交口向西200米处200米......</text> |
||||||
|
</view> |
||||||
|
<view class=""> |
||||||
|
<view class=""> |
||||||
|
<image src="../static/img/oilPrice/add.png" mode=""></image> |
||||||
|
<text>新增上报</text> |
||||||
|
</view> |
||||||
|
</view> |
||||||
|
</view> |
||||||
|
</view> |
||||||
|
</view> |
||||||
|
<view class="oil-price-body" style="margin-top: 20px;border-radius: 3px;padding: 0 40rpx;"> |
||||||
|
<view class="oil-price-list"> |
||||||
|
<img src="../static/img/oilPrice/time.png" style="width: 32rpx;height: 32rpx;" alt=""> |
||||||
|
<text style="margin: 0 10px 0 5px;">预约生效</text> |
||||||
|
<text>03-02 09:13</text> |
||||||
|
</view> |
||||||
|
<view class="oil-price-list">0#</view> |
||||||
|
<view class="oil-price-list"> |
||||||
|
<view class=""> |
||||||
|
<view class=""> |
||||||
|
<text>油站价</text> |
||||||
|
<text>¥5.91</text> |
||||||
|
<text>¥6.51/L</text> |
||||||
|
<image src="../static/img/oilPrice/top.png" style="width: 22rpx;height: 15rpx;" mode=""></image> |
||||||
|
</view> |
||||||
|
<view class=""> |
||||||
|
<text>发改委</text> |
||||||
|
<text>¥5.91</text> |
||||||
|
<text>¥6.51/L</text> |
||||||
|
<image src="../static/img/oilPrice/bottom.png" style="width: 22rpx;height: 15rpx;" mode=""></image> |
||||||
|
</view> |
||||||
|
</view> |
||||||
|
<text style="color: #67982F;">审核通过</text> |
||||||
|
</view> |
||||||
|
<view style="width: 100%;height: 1px;background: #F1F2F7;border: 1px solid #F1F2F7;"></view> |
||||||
|
<view class="oil-price-list" style="display: block;padding: 10rpx 0;color: #999999;"> |
||||||
|
<text>创建时间: </text> |
||||||
|
<text>2022-3-2 09:13:15</text> |
||||||
|
</view> |
||||||
|
</view> |
||||||
|
</view> |
||||||
|
</template> |
||||||
|
|
||||||
|
<script> |
||||||
|
export default { |
||||||
|
data() { |
||||||
|
return { |
||||||
|
|
||||||
|
} |
||||||
|
}, |
||||||
|
methods: { |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
</script> |
||||||
|
|
||||||
|
<style scoped> |
||||||
|
.oil-price image{ |
||||||
|
width: 100%; |
||||||
|
margin-top: -160rpx; |
||||||
|
} |
||||||
|
.oil-price-body{ |
||||||
|
position: relative; |
||||||
|
width: 90%; |
||||||
|
margin: 0 auto; |
||||||
|
background: #fff; |
||||||
|
top: -130rpx; |
||||||
|
padding: 30rpx 0 10rpx; |
||||||
|
border-radius: 3px 3px 0px 0px; |
||||||
|
} |
||||||
|
.body-top view{ |
||||||
|
padding: 10rpx 40rpx; |
||||||
|
display: flex; |
||||||
|
justify-content: space-between; |
||||||
|
align-items: center; |
||||||
|
color: #666; |
||||||
|
font-weight: 600; |
||||||
|
} |
||||||
|
.body-top view:first-child{ |
||||||
|
color: #000; |
||||||
|
} |
||||||
|
.body-top view:nth-child(2) image{ |
||||||
|
width: 5%; |
||||||
|
height: 28rpx; |
||||||
|
} |
||||||
|
.body-top view:nth-child(2) text{ |
||||||
|
overflow: hidden; |
||||||
|
-webkit-line-clamp: 1; |
||||||
|
text-overflow: ellipsis; |
||||||
|
display: -webkit-box; |
||||||
|
-webkit-box-orient: vertical; |
||||||
|
margin-left: 20rpx; |
||||||
|
} |
||||||
|
.body-top view:nth-child(3) image{ |
||||||
|
width: 20rpx; |
||||||
|
height: 20rpx; |
||||||
|
margin-right: 10px; |
||||||
|
} |
||||||
|
.body-top view:nth-child(3){ |
||||||
|
justify-content: flex-end; |
||||||
|
padding: 10rpx 0; |
||||||
|
} |
||||||
|
.body-top view:nth-child(3) view{ |
||||||
|
padding: 12rpx 35rpx; |
||||||
|
background: #FF0000; |
||||||
|
color: #fff; |
||||||
|
border-radius: 15px 0px 0px 15px; |
||||||
|
} |
||||||
|
.oil-price-list{ |
||||||
|
display: flex; |
||||||
|
} |
||||||
|
.oil-price-list:first-child{ |
||||||
|
justify-content: flex-end; |
||||||
|
align-items: center; |
||||||
|
color: #BB2626; |
||||||
|
padding-top: 3px; |
||||||
|
} |
||||||
|
.oil-price-list:nth-child(2){ |
||||||
|
font-size: 40rpx; |
||||||
|
font-weight: 600; |
||||||
|
} |
||||||
|
.oil-price-list:nth-child(3){ |
||||||
|
align-items: center; |
||||||
|
justify-content: space-between; |
||||||
|
margin: 20rpx 0px; |
||||||
|
} |
||||||
|
.oil-price-list view view{ |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
} |
||||||
|
.oil-price-list view view text:first-child{ |
||||||
|
font-size: 30rpx; |
||||||
|
color: #666; |
||||||
|
} |
||||||
|
.oil-price-list view view text:nth-child(2){ |
||||||
|
font-size: 35rpx; |
||||||
|
} |
||||||
|
.oil-price-list view view text:nth-child(3){ |
||||||
|
color: #999999; |
||||||
|
margin: 0 10rpx; |
||||||
|
text-decoration: line-through; |
||||||
|
} |
||||||
|
.oil-price-list view view:first-child text:nth-child(2){ |
||||||
|
color: #FF7E35; |
||||||
|
margin-left: 30rpx; |
||||||
|
} |
||||||
|
.oil-price-list view view:last-child text:nth-child(2){ |
||||||
|
color: #ff0000; |
||||||
|
margin-left: 30rpx; |
||||||
|
} |
||||||
|
</style> |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 843 B |
After Width: | Height: | Size: 318 B |
After Width: | Height: | Size: 537 B |
Loading…
Reference in new issue