-
-
@@ -68,11 +36,15 @@
昨日数据:3333
-
当前浏览量:
人正在浏览
+
当前浏览量:
+ 人正在浏览
周环比:32%
+
+
+
@@ -82,10 +54,8 @@
-->
@@ -136,10 +106,13 @@
import { onMounted } from 'vue';
import * as echarts from 'echarts';
import option from "./option"
-import Header from "@/components/header.vue"
+import Remake from "@/components/Remake.vue"
import { ref, reactive } from "vue"
+
const i = 'https://ceshi-worker-task.lihaink.cn//uploads//images//20231123//20231123190555159fa2259.jpg'
+
+
const configs = reactive(
{
header: ['所属地区', '日订单数', '日订单金额', '月订单数', '月订单金额'],
@@ -239,12 +212,6 @@ const config3 = reactive({
)
-const show = reactive([true, true, true, true, true])
-
-const u = (name) => {
- return `/static/index/${name}.png`
-}
-
// 图表
const initCharts = (tag, option) => {
var chartDom = document.getElementById(tag);
@@ -281,66 +248,7 @@ onMounted(() => {
}
}
-.box {
- width: 100vw;
- height: 100vh;
- background-color: #000C14;
-
- .headers {
- display: flex;
- color: #B0C7D1;
- height: 6vh;
- align-items: center;
- justify-content: space-between;
- background-image: url('/static/index/TIT.png');
-
- background-size: cover;
-
- .logo {
- width: 20vw;
- margin-right: 30px;
- height: 40px;
- align-items: center;
- }
-
- .tab {
- display: flex;
- align-items: center;
- margin-left: 120px;
- // background-color: #fff;
-
- .tab-li {
- width: 13%;
- margin-right: 10px;
- }
-
- // .tab-li {
- // width: 120px;
- // background-color: #002641;
- // text-align: center;
- // height: 25px;
- // line-height: 25px;
- // margin: 0 10px;
- // color: white;
- // text-shadow: 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 10px white; //设置发光效果
- // }
- }
-
- .right {
- display: flex;
- font-size: 15px;
- margin-right: 30px;
- align-items: center;
-
- .rigth-li {
- margin-right: 30px;
- }
- }
- }
-}
-
.body {
- // margin-top: 30px;
height: 50vh;
display: flex;
diff --git a/src/view/option.js b/src/view/option.js
index 4a0e6db..9f2be06 100644
--- a/src/view/option.js
+++ b/src/view/option.js
@@ -16,6 +16,8 @@ let angle = 0;//角度,用来做简单的动画效果的
]
const optins={
+
+ /******首页***********/
// 用户图表
userChartOption : {
color:[
@@ -352,7 +354,225 @@ const optins={
]
},
+ /*******townDetail**********/
+ // 订单金额
+ orderAmount:{
+ color:[
+ new echarts.graphic.LinearGradient(0, 1, 0, 0, [
+ { offset: 1, color: '#57D3ED' },
+ { offset: 0, color: 'transparent' },
+ ])
+ , new echarts.graphic.LinearGradient(0, 1, 0, 0, [
+ { offset: 1, color: '#4156C2' },
+ { offset: 0, color: 'transparent' },
+ ])
+ ],
+ tooltip: {
+ trigger: 'axis',
+ axisPointer: {
+ type: 'shadow'
+ }
+ },
+ // color: transparent;
+ legend: {},
+ grid: {
+ left: '3%',
+ right: '4%',
+ bottom: '3%',
+ containLabel: true
+ },
+ xAxis: [
+ {
+ type: 'category',
+ data: ['0-4时', '4-8时', '8-12时', '12-16时', '16-20时','20-0时']
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ splitLine:{
+ show:true,
+ lineStyle:{
+ type:'dashed',//背景色为虚线,
+ color:'#256980'
+ }
+ }
+
+ },
+
+ ],
+ series: [
+ {
+ name: '昨日订单额',
+ type: 'bar',
+ emphasis: {
+ focus: 'series'
+ },
+ data: [320, 332, 301, 334, 390, 330, 322,222],
+ // itemStyle: {
+ // borderWidth: 1,
+ // borderColor: "#384FB4",
+ // },
+
+ backgroundStyle: {
+ color: ['red']
+ }
+ },
+ {
+ name: '今日订单额',
+ type: 'bar',
+ emphasis: {
+ focus: 'series'
+ },
+ data: [120, 132, 101, 134, 90, 230, 210,366],
+
+ },
+
+
+ ]
+
+
+
+
+
+ },
+ // 成交用户数据
+ transactionUsersTown : {
+ color: ['#015989', '#583936', '#416979'],
+ title: {
+ text: ''
+ },
+ tooltip: {
+ trigger: 'axis',
+ axisPointer: {
+ type: 'cross',
+ label: {
+ backgroundColor: '#6a7985'
+ }
+ }
+ },
+ legend: {
+ data: ['访客人数', '下单人数', '支付人数', ]
+ // data: ['访客人数','下单人数','支付人数']
+
+ },
+ toolbox: {
+ feature: {
+ saveAsImage: {}
+ }
+ },
+ grid: {
+ left: '3%',
+ right: '4%',
+ bottom: '3%',
+ containLabel: true
+ },
+ xAxis: [
+ {
+ type: 'category',
+ boundaryGap: false,
+ data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ splitLine:{
+ show:true,
+ lineStyle:{
+ type:'dashed',//背景色为虚线,
+ color:'#256980'
+ }
+ }
+ }
+ ],
+ series: [
+ {
+ name: '访客人数',
+ type: 'line',
+ stack: 'Total',
+ smooth: true,
+ lineStyle: {
+ width: 0
+ },
+ showSymbol: false,
+ areaStyle: {
+ opacity: 0.8,
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ {
+ offset: 0,
+ color: '#18394A'
+ },
+ {
+ offset: 1,
+ color: '#2885A4'
+ }
+ ])
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [140, 232, 101, 264, 90, 340, 250]
+ },
+ {
+ name: '下单人数',
+ type: 'line',
+ stack: 'Total',
+ smooth: true,
+ lineStyle: {
+ width: 0
+ },
+ showSymbol: false,
+ areaStyle: {
+ opacity: 0.8,
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ {
+ offset: 0,
+ color: '#2752A6'
+ },
+ {
+ offset: 1,
+ color: '#005886'
+ }
+ ])
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [120, 282, 111, 234, 220, 340, 310]
+ },
+ {
+ name: '支付人数',
+ type: 'line',
+ stack: 'Total',
+ smooth: true,
+ lineStyle: {
+ width: 0
+ },
+ showSymbol: false,
+ areaStyle: {
+ opacity: 0.8,
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ {
+ offset: 0,
+ color: '#005685'
+ },
+ {
+ offset: 1,
+ color: '#355969'
+ }
+ ])
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [320, 132, 201, 334, 190, 130, 220]
+ },
+
+
+ ]
+ },
diff --git a/src/view/townDetail.vue b/src/view/townDetail.vue
new file mode 100644
index 0000000..01e794f
--- /dev/null
+++ b/src/view/townDetail.vue
@@ -0,0 +1,430 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
昨日数据:3333
+
当前浏览量:
+ 人正在浏览
+
+
周环比:32%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 店铺销量排行
+ 店铺销量排行
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/town/CJYH.png b/static/town/CJYH.png
new file mode 100644
index 0000000..c54c53b
Binary files /dev/null and b/static/town/CJYH.png differ
diff --git a/static/town/DDSJ.png b/static/town/DDSJ.png
new file mode 100644
index 0000000..ab871ae
Binary files /dev/null and b/static/town/DDSJ.png differ
diff --git a/static/town/DRDDJE.png b/static/town/DRDDJE.png
new file mode 100644
index 0000000..6a99745
Binary files /dev/null and b/static/town/DRDDJE.png differ
diff --git a/static/town/PHBSJ.png b/static/town/PHBSJ.png
new file mode 100644
index 0000000..dfcff53
Binary files /dev/null and b/static/town/PHBSJ.png differ
diff --git a/static/town/TABBG.png b/static/town/TABBG.png
new file mode 100644
index 0000000..2d1fc6d
Binary files /dev/null and b/static/town/TABBG.png differ
diff --git a/static/town/TABBG_slices/mipmap-hdpi/TABBG.png b/static/town/TABBG_slices/mipmap-hdpi/TABBG.png
new file mode 100644
index 0000000..7e78582
Binary files /dev/null and b/static/town/TABBG_slices/mipmap-hdpi/TABBG.png differ
diff --git a/static/town/TABBG_slices/mipmap-mdpi/TABBG.png b/static/town/TABBG_slices/mipmap-mdpi/TABBG.png
new file mode 100644
index 0000000..2650d1e
Binary files /dev/null and b/static/town/TABBG_slices/mipmap-mdpi/TABBG.png differ
diff --git a/static/town/TABBG_slices/mipmap-xhdpi/TABBG.png b/static/town/TABBG_slices/mipmap-xhdpi/TABBG.png
new file mode 100644
index 0000000..007a9ec
Binary files /dev/null and b/static/town/TABBG_slices/mipmap-xhdpi/TABBG.png differ
diff --git a/static/town/TABBG_slices/mipmap-xxhdpi/TABBG.png b/static/town/TABBG_slices/mipmap-xxhdpi/TABBG.png
new file mode 100644
index 0000000..f5aa3ba
Binary files /dev/null and b/static/town/TABBG_slices/mipmap-xxhdpi/TABBG.png differ
diff --git a/static/town/YGB.png b/static/town/YGB.png
new file mode 100644
index 0000000..3556ef5
Binary files /dev/null and b/static/town/YGB.png differ
diff --git a/static/town/YHSJ.png b/static/town/YHSJ.png
new file mode 100644
index 0000000..ea23e18
Binary files /dev/null and b/static/town/YHSJ.png differ
diff --git a/static/town/ZCGB.png b/static/town/ZCGB.png
new file mode 100644
index 0000000..57108df
Binary files /dev/null and b/static/town/ZCGB.png differ