Commit a397ff3f by 前端

Merge branch 'v3.3.0' into 'master'

喜报战报添加logo

See merge request !6
2 parents 9cd93621 6b232fb2
...@@ -336,7 +336,6 @@ ...@@ -336,7 +336,6 @@
color: #333333; color: #333333;
line-height: 34px; line-height: 34px;
width: 578px; width: 578px;
div {
}
} }
} }
...@@ -27,3 +27,11 @@ $imgUrl: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/h5-posters/'; ...@@ -27,3 +27,11 @@ $imgUrl: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/h5-posters/';
.mgb19{ .mgb19{
margin-bottom:19px; margin-bottom:19px;
} }
.logo {
bottom: 60px;
width: 196px;
img {
width: 100%;
height: 43px;
}
}
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-11 17:41:38 * @Date: 2022-10-11 17:41:38
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-12-15 15:01:13 * @LastEditTime: 2022-12-30 14:50:17
--> -->
<template> <template>
<div v-show="!data.loading"> <div v-show="!data.loading">
...@@ -890,6 +890,9 @@ ...@@ -890,6 +890,9 @@
<div>战报正在加载中,请稍等...</div> <div>战报正在加载中,请稍等...</div>
<img class="bg-footer" :src="getImageUrl('bg-footer')" alt="" /> <img class="bg-footer" :src="getImageUrl('bg-footer')" alt="" />
</div> </div>
<div class="logo x-center">
<img :src="getImageUrl('logo', 'common')" alt="" />
</div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, onMounted, reactive, nextTick, inject } from "vue"; import { ref, onMounted, reactive, nextTick, inject } from "vue";
...@@ -1005,11 +1008,9 @@ const getInfo = async () => { ...@@ -1005,11 +1008,9 @@ const getInfo = async () => {
data.loading = false; data.loading = false;
}); });
}; };
const getImageUrl = (name: any) => { const getImageUrl = (name: any, path = "activityReport") => {
return new URL( return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl)
`./activityReport/${name}.png?v=${global.version}`, .href;
global.$imgUrl
).href;
}; };
onMounted(() => { onMounted(() => {
if (route.query) { if (route.query) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-11 17:41:38 * @Date: 2022-10-11 17:41:38
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-12-15 15:01:33 * @LastEditTime: 2022-12-30 14:51:26
--> -->
<template> <template>
<div v-show="!data.loading"> <div v-show="!data.loading">
...@@ -392,6 +392,9 @@ ...@@ -392,6 +392,9 @@
<div>战报正在加载中,请稍等...</div> <div>战报正在加载中,请稍等...</div>
<img class="bg-footer" :src="getImageUrl('bg-footer')" alt="" /> <img class="bg-footer" :src="getImageUrl('bg-footer')" alt="" />
</div> </div>
<div class="logo x-center">
<img :src="getImageUrl('logo', 'common')" alt="" />
</div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, reactive, onMounted, nextTick, inject } from "vue"; import { ref, reactive, onMounted, nextTick, inject } from "vue";
...@@ -490,11 +493,9 @@ const getInfo = async () => { ...@@ -490,11 +493,9 @@ const getInfo = async () => {
data.loading = false; data.loading = false;
}); });
}; };
const getImageUrl = (name: any) => { const getImageUrl = (name: any, path = "activityReport") => {
return new URL( return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl)
`./activityReport/${name}.png?v=${global.version}`, .href;
global.$imgUrl
).href;
}; };
onMounted(() => { onMounted(() => {
if (route.query) { if (route.query) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 15:26:23 * @Date: 2022-10-10 15:26:23
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-12-06 19:50:24 * @LastEditTime: 2022-12-30 14:39:44
--> -->
<template> <template>
<div class="bg-top-box"> <div class="bg-top-box">
...@@ -134,6 +134,9 @@ ...@@ -134,6 +134,9 @@
<div class="bottom-ribbon"> <div class="bottom-ribbon">
<img src="@/assets/images/goodNews/bottom-ribbon.png" alt="" /> <img src="@/assets/images/goodNews/bottom-ribbon.png" alt="" />
</div> </div>
<div class="logo x-center">
<img :src="getImageUrl('logo', 'common')" alt="" />
</div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
...@@ -158,8 +161,8 @@ const getInfo = async () => { ...@@ -158,8 +161,8 @@ const getInfo = async () => {
query query
); );
}; };
const getImageUrl = (name: any) => { const getImageUrl = (name: any, path = "goodNews") => {
return new URL(`./goodNews/${name}.png?v=${global.version}`, global.$imgUrl) return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl)
.href; .href;
}; };
onMounted(() => { onMounted(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!