128 lines
1.9 KiB
Vue
128 lines
1.9 KiB
Vue
|
<template>
|
|||
|
<view class="content">
|
|||
|
<view class="container">
|
|||
|
<view class="my-header">
|
|||
|
<view class="my-icons" @click="goback"> <uni-icons type="left" size="16"></uni-icons> </view>
|
|||
|
<view class="my-text">今日油价</view>
|
|||
|
<view class="my-icons"></view>
|
|||
|
</view>
|
|||
|
<!-- 顶部区域 -->
|
|||
|
<view class="top-box">
|
|||
|
<view class="t-left-box">
|
|||
|
<div>政府指导油价</div>
|
|||
|
</view>
|
|||
|
<view class="t-right-box">
|
|||
|
<div>最新油价(山东)</div>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
|
|||
|
<view class="box-centenr">
|
|||
|
<!-- <view class="box-bor">
|
|||
|
<view class="">92#(国VIB)</view>
|
|||
|
<view class="gang"></view>
|
|||
|
<view class="">7.88/升</view>
|
|||
|
</view> -->
|
|||
|
</view>
|
|||
|
|
|||
|
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</template>
|
|||
|
|
|||
|
<script>
|
|||
|
export default {
|
|||
|
data() {
|
|||
|
return {
|
|||
|
title: '',
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
},
|
|||
|
|
|||
|
components: {
|
|||
|
|
|||
|
},
|
|||
|
methods: {
|
|||
|
goback() {
|
|||
|
uni.navigateBack()
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
</script>
|
|||
|
|
|||
|
<style scoped lang="scss">
|
|||
|
.content {
|
|||
|
background: #f4f5f6;
|
|||
|
}
|
|||
|
|
|||
|
.container {
|
|||
|
width: 100%;
|
|||
|
height: 100vh;
|
|||
|
box-sizing: border-box;
|
|||
|
padding-top: 88px;
|
|||
|
}
|
|||
|
|
|||
|
.my-header {
|
|||
|
width: 100%;
|
|||
|
height: 88px;
|
|||
|
background: #ffffff;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: space-between;
|
|||
|
color: #000;
|
|||
|
box-sizing: border-box;
|
|||
|
padding: 0px 15px;
|
|||
|
padding-top: 40px;
|
|||
|
|
|||
|
.my-icons {
|
|||
|
width: 20px;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
position: fixed;
|
|||
|
top: 0px;
|
|||
|
}
|
|||
|
|
|||
|
.top-box {
|
|||
|
width: 100%;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
background-color: #ffffff;
|
|||
|
border-bottom: 1px solid #ffffff;
|
|||
|
height: 50px;
|
|||
|
}
|
|||
|
|
|||
|
.t-left-box {
|
|||
|
width: 50%;
|
|||
|
text-align: center;
|
|||
|
}
|
|||
|
|
|||
|
.t-right-box {
|
|||
|
width: 50%;
|
|||
|
text-align: center;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
.box-centenr {
|
|||
|
width: 100%;
|
|||
|
box-sizing: border-box;
|
|||
|
padding: 15px;
|
|||
|
background: #ffffff;
|
|||
|
}
|
|||
|
|
|||
|
.box-bor {
|
|||
|
border-bottom: 1px solid #e8e8e8;
|
|||
|
width: 100%;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
padding: 10px;
|
|||
|
}
|
|||
|
|
|||
|
.gang {
|
|||
|
width: 10px;
|
|||
|
height: 20px;
|
|||
|
background: crimson;
|
|||
|
margin: 0px 15px;
|
|||
|
}
|
|||
|
</style>
|