1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <template>
- <view class="home__main-top">
- <view class="home__main-top-box">
- <view class="top-box-address">
- <u-icon name="map-fill" color="#fff" size="20"></u-icon>
- <p class="top-box-address-text">巡更点</p>
- </view>
- <view class="top-box-name">
- {{positionName || '--'}}
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: "PatrolPoints",
- props: {
- name: {
- type: String,
- default: '巡更点'
- },
- positionName: {
- type: String
- }
- },
- data() {
- return {
- };
- }
- }
- </script>
- <style lang="scss" scoped>
- .home__main-top {
- height: 140px;
- background: #3D8EFE;
- border-bottom-left-radius: 8%;
- border-bottom-right-radius: 8%;
- .home__main-top-box {
- height: 80px;
- box-sizing: border-box;
- padding-left: 15px;
- padding-top: 35px;
- .home__main-top-text {
- font-weight: 700;
- font-size: 20px;
- line-height: 30px;
- color: #fff;
- }
- .home__main-top-text1 {
- text-align: center;
- }
- .top-box-address {
- display: flex;
- align-items: center;
- margin-bottom: 10px;
- color: #fff;
- font-size: 16px;
- .top-box-address-text {
- margin-left: 10px;
- }
- }
- .top-box-name {
- font-weight: 700;
- font-size: 20px;
- line-height: 30px;
- padding-left: 25px;
- color: #fff;
- }
- }
- }
- </style>
|