From 44c02df567d60b7f86f92426608409267a1a34b5 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 23 Feb 2024 11:32:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/breedScreen/index.vue | 67 ++++++++++++++++++++++++++++--- src/view/components/areaChose.vue | 42 +++++++++++++++++-- 2 files changed, 100 insertions(+), 9 deletions(-) diff --git a/src/view/breedScreen/index.vue b/src/view/breedScreen/index.vue index 1fbddc4..f75a75b 100644 --- a/src/view/breedScreen/index.vue +++ b/src/view/breedScreen/index.vue @@ -1,6 +1,6 @@ @@ -26,8 +43,10 @@ import { ref, reactive } from "vue" import { sendMsg } from "@/api.js" import axios from "axios" import { vehicleListApi } from "@/api.js" +import areaChose from "@/view/components/areaChose.vue" const nowPages = ref('index'); +const flag=ref(true) // 镇列表 const options = [ @@ -128,4 +147,42 @@ button { padding: 10px; margin: 10px; } +.head-title{ + color: #fff; + font-size: 20px; + padding-top: 5vh; +} +.area { + position: absolute; + font-size: 20px; + color: white; + bottom: 0px; + left: 50%; + transform: translateX(-50%); + width: 558px; + + .area-top { + display: flex; + justify-content: space-around; + + .town { + background-image: url('/static/img/tradeScreen/areaA.png'); + background-size: 100% 100%; + width: 160.12px; + height: 30.94px; + text-align: center; + line-height: 10px; + } + + + } +} + +.area-bottom { + background-image: url('/static/img/tradeScreen/areaB.png'); + width: 558px; + height: 57px; + background-size: 100% 100%; + transform: translateY(-20px); +} \ No newline at end of file diff --git a/src/view/components/areaChose.vue b/src/view/components/areaChose.vue index 940a71b..5350449 100644 --- a/src/view/components/areaChose.vue +++ b/src/view/components/areaChose.vue @@ -5,13 +5,14 @@ item.label }}
-
{{ item.name }}
+
{{ item.name }}