Commit 0a41d3ce by 胡悦

提交

1 parent ab88ca1a

17.8 KB | W: | H:

11.8 KB | W: | H:

src/assets/images/activityReport/arrow-left.png
src/assets/images/activityReport/arrow-left.png
src/assets/images/activityReport/arrow-left.png
src/assets/images/activityReport/arrow-left.png
  • 2-up
  • Swipe
  • Onion skin

2.3 KB | W: | H:

1.62 KB | W: | H:

src/assets/images/activityReport/arrow.png
src/assets/images/activityReport/arrow.png
src/assets/images/activityReport/arrow.png
src/assets/images/activityReport/arrow.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -193,9 +193,13 @@ ...@@ -193,9 +193,13 @@
justify-content: center; justify-content: center;
font-size: 22px; font-size: 22px;
font-weight: 400; font-weight: 400;
text-align: center;
color: #333333; color: #333333;
line-height: 34px; line-height: 34px;
margin-bottom: -1px; margin-bottom: -1px;
div {
width: 578px;
}
} }
.box-body-head { .box-body-head {
display: flex; display: flex;
...@@ -298,8 +302,11 @@ ...@@ -298,8 +302,11 @@
} }
.box-body-summary { .box-body-summary {
text-align: center; display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px; margin-top: 50px;
text-align: center;
.title { .title {
font-size: 30px; font-size: 30px;
font-weight: 600; font-weight: 600;
...@@ -308,11 +315,13 @@ ...@@ -308,11 +315,13 @@
margin-bottom: 14px; margin-bottom: 14px;
} }
.content { .content {
// text-align: center;
font-size: 22px; font-size: 22px;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
// line-height: 34px; line-height: 34px;
text-align: center; width: 578px;
white-space: nowrap; div {
}
} }
} }
<!--
* @Description:
* @Author: huyue
* @Date: 2022-10-14 18:32:54
* @LastEditors: huyue
* @LastEditTime: 2022-10-19 15:50:56
-->
<template> <template>
<div :ref="id" :style="{width: '100%', height: height}"></div> <div :ref="id" class="canvas"></div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { onMounted, ref } from "vue"; import { onMounted, ref } from "vue";
...@@ -17,10 +24,10 @@ const props = defineProps({ ...@@ -17,10 +24,10 @@ const props = defineProps({
type: String, type: String,
default: "", default: "",
}, },
height:{ height: {
type:String, type: String,
default:'100px' default: "160px",
} },
}); });
const id = (el: HTMLElement) => { const id = (el: HTMLElement) => {
if (el) { if (el) {
...@@ -71,3 +78,10 @@ const getChartSetOption = () => { ...@@ -71,3 +78,10 @@ const getChartSetOption = () => {
return option; return option;
}; };
</script> </script>
<style scoped>
.canvas {
width: 100%;
height: 160px;
}
</style>
/*
* @Description:
* @Author: huyue
* @Date: 2022-10-10 10:54:14
* @LastEditors: huyue
* @LastEditTime: 2022-10-19 11:19:00
*/
import HelloWorld from 'comps/HelloWorld.vue' import HelloWorld from 'comps/HelloWorld.vue'
const staticRoutes = Object.freeze([ const staticRoutes = Object.freeze([
...@@ -21,7 +28,7 @@ const staticRoutes = Object.freeze([ ...@@ -21,7 +28,7 @@ const staticRoutes = Object.freeze([
path: '/activiting', path: '/activiting',
component: () => import('views/crowdfunding/activiting.vue'), component: () => import('views/crowdfunding/activiting.vue'),
meta: { meta: {
title: '战报', title: '进行中战报',
backgroundColor: '#FE3C41' backgroundColor: '#FE3C41'
} }
}, },
...@@ -29,7 +36,7 @@ const staticRoutes = Object.freeze([ ...@@ -29,7 +36,7 @@ const staticRoutes = Object.freeze([
path: '/activited', path: '/activited',
component: () => import('views/crowdfunding/activited.vue'), component: () => import('views/crowdfunding/activited.vue'),
meta: { meta: {
title: '战报', title: '已结束战报',
backgroundColor: '#FE3C41' backgroundColor: '#FE3C41'
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!