This commit is contained in:
zmj 2024-02-23 16:13:49 +08:00
parent 41669abfe3
commit 0012907946
3 changed files with 21 additions and 40 deletions

View File

@ -17,8 +17,10 @@ for (let i = 1; i < 6; i++) {
</script> </script>
<style> <style>
.main-box { .main-box {
width: 1280px; /* width: 1280px;
height: 720px; height: 720px; */
width: 100vw;
height: 100vh;
overflow: hidden; overflow: hidden;
background-image: url('/static/img/index/index_bg.png'); background-image: url('/static/img/index/index_bg.png');
background-size: 100% 100%; background-size: 100% 100%;

View File

@ -1,6 +1,5 @@
<template> <template>
<img src="/static/img/tradeScreen/FH.png" @click="router.go(-1)" class="back-btn" alt=""> <img src="/static/img/tradeScreen/FH.png" @click="router.go(-1)" class="back-btn" alt="">
<div style="height: 100vh;"> <div style="height: 100vh;">
<div class="tradmenu" v-if="flag"> <div class="tradmenu" v-if="flag">
<div class="tradmenu-li sy"></div> <div class="tradmenu-li sy"></div>
@ -13,7 +12,6 @@
<areaChose></areaChose> <areaChose></areaChose>
</div> </div>
</div> </div>
<div class="area" @click="flag=!flag"> <div class="area" @click="flag=!flag">
<div class="area-top"> <div class="area-top">
<div class="town">江陽區</div> <div class="town">江陽區</div>
@ -21,9 +19,6 @@
</div> </div>
<div class="area-bottom"></div> <div class="area-bottom"></div>
</div> </div>
<!-- <div style="text-align: center;">数据之眼可视化大屏</div> <!-- <div style="text-align: center;">数据之眼可视化大屏</div>
<div> <div>
<button @click="sendFn('header1', { page: 1 })">首页</button> <button @click="sendFn('header1', { page: 1 })">首页</button>
@ -88,40 +83,24 @@ const areaCode = ref('510521')
const townCode = ref("") const townCode = ref("")
const changeArea = (e) => { // const changeArea = (e) => {
getTownList() // getTownList()
options.forEach(item => { // options.forEach(item => {
if (item.value == e) { // if (item.value == e) {
sendFn('choserArea', { name: item.label, code: item.value }) // sendFn('choserArea', { name: item.label, code: item.value })
} // }
}) // })
} // }
const changeTown = (e) => {
townOptions.forEach(item => {
if (item.value == e) {
sendFn('header7', { id: item.value, name: item.label })
// sendFn('choseTown', { name: item.label })
}
})
}
const getTownList = () => {
townOptions.splice(0, 99999999)
axios.get(`https://crmeb-test.shop.lihaink.cn/api/city/get_street?area_code=${areaCode.value}`)
.then(function (res) {
res.data.data.forEach(item => {
townOptions.push({
value: item.code,
label: item.name
})
})
})
}
// const changeTown = (e) => {
// townOptions.forEach(item => {
// if (item.value == e) {
// sendFn('header7', { id: item.value, name: item.label })
// // sendFn('choseTown', { name: item.label })
// }
// })
// }
const page = ref(1) const page = ref(1)

View File

@ -4,7 +4,7 @@
<div class="card" v-for="item in 9"> <div class="card" v-for="item in 9">
<div class="card-tit"> <div class="card-tit">
究极公司 究极公司
<span style="font-size: 16px;color: white;">2024-01-21</span> <span style="font-size: 14px;color: white;">2024-01-21</span>
</div> </div>
<div class="card-cotnet"> <div class="card-cotnet">
<div>商户姓名: 为对方</div> <div>商户姓名: 为对方</div>