a2c38d71 by zrj

9.19 lpt修改

1 parent 09036d30
...@@ -14,7 +14,7 @@ import {useStorage} from "@vueuse/core"; ...@@ -14,7 +14,7 @@ import {useStorage} from "@vueuse/core";
14 14
15 const userStore = useUserStore() 15 const userStore = useUserStore()
16 const {proxy} = getCurrentInstance() 16 const {proxy} = getCurrentInstance()
17 const language = useStorage('language', 0) 17 const language = useStorage('language', 1)
18 18
19 onMounted(() => { 19 onMounted(() => {
20 document.body.style.setProperty('--el-color-primary', '#0540EC') 20 document.body.style.setProperty('--el-color-primary', '#0540EC')
......
...@@ -888,6 +888,15 @@ export function getNoteList(params) { ...@@ -888,6 +888,15 @@ export function getNoteList(params) {
888 }) 888 })
889 } 889 }
890 890
891 export function getNewsTree(params) {
892 return request({
893 url: `/ztx/notesort/newsTree`,
894 method: 'get',
895 params
896 })
897 }
898
899
891 export function getNoteDetail(id) { 900 export function getNoteDetail(id) {
892 return request({ 901 return request({
893 url: `/ztx/note/${id}`, 902 url: `/ztx/note/${id}`,
......
...@@ -116,7 +116,7 @@ const fileOriginalName = ref('') ...@@ -116,7 +116,7 @@ const fileOriginalName = ref('')
116 const uploadList = ref([]) 116 const uploadList = ref([])
117 // const baseUrl = import.meta.env.VITE_APP_BASE_API; 117 // const baseUrl = import.meta.env.VITE_APP_BASE_API;
118 const uploadFileUrl = ref(import.meta.env.VITE_APP_BASE_API + props.action) // 上传文件服务器地址 118 const uploadFileUrl = ref(import.meta.env.VITE_APP_BASE_API + props.action) // 上传文件服务器地址
119 const language = useStorage('language', 0) 119 const language = useStorage('language', 1)
120 const headers = ref({ 120 const headers = ref({
121 Authorization: 'Bearer ' + getToken(), 121 Authorization: 'Bearer ' + getToken(),
122 ['Content-Language'] : language.value==0? 'zh_CN':'en_US' , 122 ['Content-Language'] : language.value==0? 'zh_CN':'en_US' ,
......
...@@ -70,7 +70,7 @@ import _ from 'lodash' ...@@ -70,7 +70,7 @@ import _ from 'lodash'
70 import {useStorage} from "@vueuse/core/index"; 70 import {useStorage} from "@vueuse/core/index";
71 // import cache from "@/plugins/cache"; 71 // import cache from "@/plugins/cache";
72 72
73 const language = useStorage('language', 0) 73 const language = useStorage('language', 1)
74 74
75 const props = defineProps({ 75 const props = defineProps({
76 modelValue: [String, Object, Array], 76 modelValue: [String, Object, Array],
......
...@@ -167,7 +167,7 @@ const fileListInUpload = ref([]) ...@@ -167,7 +167,7 @@ const fileListInUpload = ref([])
167 const showTip = computed( 167 const showTip = computed(
168 () => props.isShowTip && (props.fileType || props.fileSize) 168 () => props.isShowTip && (props.fileType || props.fileSize)
169 ) 169 )
170 const language = useStorage('language', 0) 170 const language = useStorage('language', 1)
171 171
172 172
173 watch( 173 watch(
......
...@@ -124,7 +124,7 @@ import { reactive } from '@vue/runtime-core' ...@@ -124,7 +124,7 @@ import { reactive } from '@vue/runtime-core'
124 import request from '@/utils/request' 124 import request from '@/utils/request'
125 import _ from 'lodash' 125 import _ from 'lodash'
126 import {useStorage} from "@vueuse/core/index"; 126 import {useStorage} from "@vueuse/core/index";
127 const language= useStorage('language',0) 127 const language= useStorage('language',1)
128 128
129 const props = defineProps({ 129 const props = defineProps({
130 modelValue: [String, Object, Array], 130 modelValue: [String, Object, Array],
......
...@@ -23,7 +23,7 @@ import {useRouter} from "vue-router"; ...@@ -23,7 +23,7 @@ import {useRouter} from "vue-router";
23 import {ElMessage} from "element-plus"; 23 import {ElMessage} from "element-plus";
24 24
25 const router = useRouter() 25 const router = useRouter()
26 const language = useStorage('language', 0) 26 const language = useStorage('language', 1)
27 const languageLibrary = [{ 27 const languageLibrary = [{
28 a:'版权所有@ LONG POKER INC. ALL RIGHT RESERVED', 28 a:'版权所有@ LONG POKER INC. ALL RIGHT RESERVED',
29 },{ 29 },{
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
24 <el-menu-item index="/mall">{{ languageLibrary[language].e }}</el-menu-item> 24 <el-menu-item index="/mall">{{ languageLibrary[language].e }}</el-menu-item>
25 <!-- <el-menu-item index="/guide">{{ language==0?'参赛指南':'GUIDELINE' }}</el-menu-item>--> 25 <!-- <el-menu-item index="/guide">{{ language==0?'参赛指南':'GUIDELINE' }}</el-menu-item>-->
26 <el-menu-item index="/about">{{ languageLibrary[language].f }}</el-menu-item> 26 <el-menu-item index="/about">{{ languageLibrary[language].f }}</el-menu-item>
27 <el-menu-item index="/club">{{ languageLibrary[language].g }}</el-menu-item>
27 28
28 <!-- <el-sub-menu index="/about">--> 29 <!-- <el-sub-menu index="/about">-->
29 <!-- <el-menu-item index="/about/wuDaoEn">{{ language==0?'舞蹈节':'About Us' }}</el-menu-item>--> 30 <!-- <el-menu-item index="/about/wuDaoEn">{{ language==0?'舞蹈节':'About Us' }}</el-menu-item>-->
...@@ -107,7 +108,7 @@ const registerVisible = ref(false) ...@@ -107,7 +108,7 @@ const registerVisible = ref(false)
107 const loginForm = ref({}) 108 const loginForm = ref({})
108 const drawer = ref(false) 109 const drawer = ref(false)
109 const mode = ref('horizontal') 110 const mode = ref('horizontal')
110 const language = useStorage('language', 0) 111 const language = useStorage('language', 1)
111 const languageSelectList = [{ 112 const languageSelectList = [{
112 label:'中文', 113 label:'中文',
113 value:0, 114 value:0,
...@@ -136,6 +137,7 @@ const languageLibrary = [{ ...@@ -136,6 +137,7 @@ const languageLibrary = [{
136 d:'图片集锦', 137 d:'图片集锦',
137 e:'周边商城', 138 e:'周边商城',
138 f:'关于我们', 139 f:'关于我们',
140 g:'俱乐部介绍',
139 },{ 141 },{
140 a:'HOME', 142 a:'HOME',
141 b:'Event', 143 b:'Event',
...@@ -143,6 +145,7 @@ const languageLibrary = [{ ...@@ -143,6 +145,7 @@ const languageLibrary = [{
143 d:'Gallery', 145 d:'Gallery',
144 e:'Mall', 146 e:'Mall',
145 f:'About US', 147 f:'About US',
148 g:'Club introduction',
146 },{ 149 },{
147 a:'홈', 150 a:'홈',
148 b:'이벤트', 151 b:'이벤트',
...@@ -150,6 +153,7 @@ const languageLibrary = [{ ...@@ -150,6 +153,7 @@ const languageLibrary = [{
150 d:'사진첩', 153 d:'사진첩',
151 e:'몰 / 쇼핑몰', 154 e:'몰 / 쇼핑몰',
152 f:'회사 소개', 155 f:'회사 소개',
156 g:'クラブの紹介',
153 },{ 157 },{
154 a:'ホーム', 158 a:'ホーム',
155 b:'イベント', 159 b:'イベント',
...@@ -157,6 +161,7 @@ const languageLibrary = [{ ...@@ -157,6 +161,7 @@ const languageLibrary = [{
157 d:'ギャラリー', 161 d:'ギャラリー',
158 e:'ショップ', 162 e:'ショップ',
159 f:'会社概要', 163 f:'会社概要',
164 g:'클럽 소개',
160 },{ 165 },{
161 a:'Trang chủ', 166 a:'Trang chủ',
162 b:'Giải đấu', 167 b:'Giải đấu',
...@@ -164,6 +169,7 @@ const languageLibrary = [{ ...@@ -164,6 +169,7 @@ const languageLibrary = [{
164 d:'Thư viện hình ảnh', 169 d:'Thư viện hình ảnh',
165 e:'Cửa hàng lưu niệm/ Cửa hàng phụ kiện', 170 e:'Cửa hàng lưu niệm/ Cửa hàng phụ kiện',
166 f:'Giới thiệu', 171 f:'Giới thiệu',
172 g:'Giới thiệu câu lạc bộ',
167 }] 173 }]
168 const user = useUserStore().user 174 const user = useUserStore().user
169 175
...@@ -243,7 +249,6 @@ const reFlash = () => { ...@@ -243,7 +249,6 @@ const reFlash = () => {
243 249
244 .logo { 250 .logo {
245 height: 60px; 251 height: 60px;
246 margin-left: 40px;
247 } 252 }
248 253
249 .flex-right { 254 .flex-right {
......
...@@ -107,7 +107,7 @@ const registerVisible = ref(false) ...@@ -107,7 +107,7 @@ const registerVisible = ref(false)
107 const loginForm = ref({}) 107 const loginForm = ref({})
108 const drawer = ref(false) 108 const drawer = ref(false)
109 const mode = ref('horizontal') 109 const mode = ref('horizontal')
110 const language = useStorage('language', 0) 110 const language = useStorage('language', 1)
111 111
112 onMounted(() => { 112 onMounted(() => {
113 console.log(window.location.href) 113 console.log(window.location.href)
......
...@@ -60,7 +60,7 @@ import localeEn from 'element-plus/es/locale/lang/en' ...@@ -60,7 +60,7 @@ import localeEn from 'element-plus/es/locale/lang/en'
60 60
61 61
62 import {useStorage} from "@vueuse/core/index"; 62 import {useStorage} from "@vueuse/core/index";
63 const language= useStorage('language',0) 63 const language= useStorage('language',1)
64 const app = createApp(App) 64 const app = createApp(App)
65 65
66 // 全局方法挂载 66 // 全局方法挂载
......
1 import { ElMessage, ElMessageBox, ElNotification, ElLoading } from 'element-plus' 1 import { ElMessage, ElMessageBox, ElNotification, ElLoading } from 'element-plus'
2 import {useStorage} from "@vueuse/core/index"; 2 import {useStorage} from "@vueuse/core/index";
3 3
4 const language= useStorage('language',0) 4 const language= useStorage('language',1)
5 let loadingInstance 5 let loadingInstance
6 6
7 export default { 7 export default {
......
...@@ -176,6 +176,19 @@ export const constantRoutes = [ ...@@ -176,6 +176,19 @@ export const constantRoutes = [
176 ] 176 ]
177 }, 177 },
178 { 178 {
179 path: 'club',
180 component: Empty,
181 redirect: '/club/index',
182 children: [
183 {
184 path: 'index',
185 component: () => import('@/viewsPc/club/index'),
186 name: 'club',
187 meta: {title: ''}
188 },
189 ]
190 },
191 {
179 path: 'video', 192 path: 'video',
180 component: Empty, 193 component: Empty,
181 redirect: '/video/index', 194 redirect: '/video/index',
......
...@@ -16,7 +16,7 @@ import { sendNotification } from '@/assets/lib/extend' ...@@ -16,7 +16,7 @@ import { sendNotification } from '@/assets/lib/extend'
16 import _ from 'lodash' 16 import _ from 'lodash'
17 // const language = cache.local.get('language') || 0 17 // const language = cache.local.get('language') || 0
18 import {useStorage} from "@vueuse/core/index"; 18 import {useStorage} from "@vueuse/core/index";
19 const language= useStorage('language',0) 19 const language= useStorage('language',1)
20 let downloadLoadingInstance 20 let downloadLoadingInstance
21 // 是否显示重新登录 21 // 是否显示重新登录
22 export const isRelogin = { show: false } 22 export const isRelogin = { show: false }
......
...@@ -27,7 +27,7 @@ import { ...@@ -27,7 +27,7 @@ import {
27 import url from '@/assets/images/download.png' 27 import url from '@/assets/images/download.png'
28 import { ElLoading } from 'element-plus' 28 import { ElLoading } from 'element-plus'
29 import {useStorage} from "@vueuse/core/index"; 29 import {useStorage} from "@vueuse/core/index";
30 const language= useStorage('language',0) 30 const language= useStorage('language',1)
31 const { proxy } = getCurrentInstance() 31 const { proxy } = getCurrentInstance()
32 const route = useRoute() 32 const route = useRoute()
33 const timer = ref(null) 33 const timer = ref(null)
......
...@@ -49,7 +49,7 @@ import { useRouter } from 'vue-router' ...@@ -49,7 +49,7 @@ import { useRouter } from 'vue-router'
49 import {useStorage} from "@vueuse/core/index"; 49 import {useStorage} from "@vueuse/core/index";
50 import * as match from "@/apiPc/match"; 50 import * as match from "@/apiPc/match";
51 51
52 const language = useStorage('language', 0) 52 const language = useStorage('language', 1)
53 const languageLibrary = ref([{ 53 const languageLibrary = ref([{
54 a:'关于我们', 54 a:'关于我们',
55 b:'联系我们', 55 b:'联系我们',
...@@ -101,7 +101,7 @@ onMounted(() => { ...@@ -101,7 +101,7 @@ onMounted(() => {
101 101
102 const getMain = () => { 102 const getMain = () => {
103 match.getNoteList({ 103 match.getNoteList({
104 sortId:6000 104 sortId:7000
105 }).then(res => { 105 }).then(res => {
106 if (res.code === 200) { 106 if (res.code === 200) {
107 noteId.value = res.rows[0].noteId 107 noteId.value = res.rows[0].noteId
......
1 <template>
2 <div>
3 <div class="box" style="caret-color: transparent;padding: 0 10%">
4 <div class=" mt30" />
5 <div class="flexBody">
6 <el-tabs v-model="activeIndex" class="forPc" tab-position="left" @tab-change="changeTab">
7 <el-tab-pane v-for="(tab,index) in tabList" :label="tab.label" :name="index">
8 <template #label>
9 <span class="custom-tabs-label">
10 <span class="tabFont">{{ tab.label }}</span>
11 </span>
12 </template>
13 </el-tab-pane>
14 </el-tabs>
15 <div v-loading="loading" class="infoPart">
16 <h3 class="leftboderTT">{{ nowTab.name }}</h3>
17 <div class="content">
18 <div v-if="content" v-html="content" />
19 <div v-else>
20 <el-empty />
21 </div>
22 </div>
23 </div>
24 </div>
25 </div>
26 </div>
27 </template>
28
29 <script setup>
30 import { ArrowRight, Search } from '@element-plus/icons-vue'
31 import { onMounted, ref } from 'vue'
32 import { getNewsListById } from '@/apiPc/webSite'
33 import { useRouter } from 'vue-router'
34 import {useStorage} from "@vueuse/core/index";
35 import * as match from "@/apiPc/match";
36
37 const language = useStorage('language', 1)
38 const languageLibrary = ref([{
39 a:'关于我们',
40 b:'联系我们',
41 c:'联系人',
42 d:'邮箱',
43 e:'留言',
44 f:'提交',
45 },{
46 a:'About US',
47 b:'Contact Us',
48 c:'Contact person',
49 d:'Email',
50 e:'Message',
51 f:'Submit',
52 },{
53 a:'회사 소개',
54 b:'문의하기',
55 c:'담당자',
56 d:'이메일',
57 e:'메시지',
58 f:'Submit',
59 },{
60 a:'会社概要',
61 b:'お問い合わせ',
62 c:'担当者',
63 d:'メールアドレス',
64 e:'メッセージ',
65 f:'Submit',
66 },{
67 a:'Giới thiệu',
68 b:'Liên hệ',
69 c:'Người liên hệ',
70 d:'Email',
71 e:'Tin nhắn',
72 f:'Submit',
73 }])
74 const router = useRouter()
75 const form = ref({
76 paymentName:'',
77 payDeptName:'',
78 })
79
80 const tabList = ref([{
81 name:'俱乐部1'
82 }])
83 const noteId = ref()
84 const itemData = ref({})
85
86 onMounted(() => {
87 getMain()
88 })
89
90 const getMain = () => {
91 match.getNewsTree({
92 code:6000
93 }).then(res => {
94 if (res.code === 200) {
95 tabList.value = res.data[0].children
96 changeTab(0)
97 }
98 })
99 }
100
101 const getList = (id) => {
102 match.getNoteDetail(id).then(res => {
103 if (res.code === 200) {
104 itemData.value = res.data
105 }
106 })
107 }
108
109 const activeIndex = ref(0)
110 const loading = ref(false)
111 const nowTab = ref({})
112 const content = ref()
113 const changeTab = (n) => {
114 n = Number(n)
115
116 activeIndex.value = n
117
118 loading.value = true
119
120 match.getNoteList({
121 sortId:tabList.value[n].code
122 }).then(res => {
123 loading.value = false
124 if (res.code == 200 && res.rows.length > 0) {
125 match.getNoteDetail(res.rows[0].noteId).then(res => {
126 loading.value = false
127 if (res.data) {
128 content.value = res.data.content
129 } else {
130 content.value = ''
131 }
132 })
133 } else {
134 content.value = ''
135 }
136 })
137
138
139 }
140 </script>
141
142 <style lang="scss" scoped>
143 .content {
144 margin: 20px 0 0;
145 text-indent: 2em;
146 line-height: 1.8;
147 font-weight: 400;
148 font-size: 16px;
149 color: #fff;
150
151 img {
152 max-width: 100%;
153 margin: 20px auto;
154 display: block;
155 }
156
157 h4 {
158 text-indent: 0
159 }
160 }
161
162 h4.leftboderTT {
163 text-indent: 0;
164 font-size: 20px;
165 color: var(--el-color-primary);
166
167 span {
168 color: #929AA0;
169 font-size: 16px;
170 margin-left: 5px;
171 }
172 }
173
174 .custom-tabs-label {
175 display: flex;
176 font-size: 21px;
177 align-items: center;
178 }
179
180 :deep(.el-tabs--left .el-tabs__item.is-left) {
181 margin: 0 0 20px;
182 }
183
184 :deep(.el-tabs--left .el-tabs__active-bar.is-left) {
185 left: 0 !important;
186 right: auto !important;
187 display: none;
188 }
189
190 :deep(.el-tabs--left .el-tabs__nav-wrap.is-left::after) {
191 display: none;
192 }
193
194 :deep(.el-tabs__nav) {
195 float: none;
196 }
197
198 :deep(.el-tabs) {
199 background:#1f2644;
200 }
201
202 :deep(.el-tabs__item) {
203 color: #fff;
204 border-radius: 10px;
205 background: #303758;
206 padding: 22px 20px;
207 }
208
209 :deep(.el-tabs__item.is-active) {
210 background: linear-gradient(90deg, #f2db82, #c29c39);
211 color: #161d39;
212 }
213
214 :deep(.el-tabs__item:hover) {
215 background: linear-gradient(90deg, #f2db82, #c29c39);
216 color: #161d39;
217 }
218
219 :deep(.el-tabs--left .el-tabs__header.is-left) {
220 padding: 30px 0 30px 30px;
221 background: #1f2644;
222 min-width: 280px;
223 }
224
225 :deep(.el-tabs--left .el-tabs__item.is-left, .el-tabs--right .el-tabs__item.is-left) {
226 justify-content:center;
227 }
228
229 .tabFont {
230 margin-left: 20px;
231 }
232
233 .flexBody {
234 display: flex;
235 background: #fff;
236 margin-bottom: 20px;
237 min-height:74vh;
238 }
239
240 .infoPart {
241 background: #1f2644;
242 padding: 20px;
243 flex: 1;
244
245 & > h3 {
246 font-size: 24px;
247 color: var(--el-color-primary);
248 }
249 }
250
251 .forWei {
252 display: none;
253 }
254
255 @media (max-width: 500px) {
256 .box {
257 width: 100%
258 }
259 .forWei {
260 display: block;
261 }
262 .forPc {
263 display: none
264 }
265 :deep(.el-tabs__nav-scroll) {
266 overflow: auto;
267 }
268 .flexBody {
269 display: block;
270 background: transparent;
271 }
272 .infoPart {
273 background: #fff;
274 padding: 10px;
275 margin: 0 15px
276 }
277 .newsLine {
278 .item {
279 height: 50px;
280
281 .date {
282 height: 34px;
283 width: 44px;
284 margin: 0;
285
286 .day {
287 font-size: 16px;
288 }
289
290 p {
291 font-size: 12px;
292 }
293 }
294
295 h3 {
296 font-size: 14px;
297 }
298 }
299
300 .go {
301 display: none;
302 }
303
304 .item-body {
305 width: 80%;
306 }
307 }
308 }
309
310 .wTabtop {
311 :deep(.el-tabs__header) {
312 background: #fff;
313 padding: 10px 15px 0;
314 }
315
316 :deep(.el-tabs__content) {
317 padding: 0 10px;
318 }
319
320 }
321
322 @media (max-width: 768px) {
323 .infoPart .leftboderTT {
324 font-size: 16px;
325 }
326 }
327 </style>
...@@ -119,7 +119,7 @@ const props = defineProps({ ...@@ -119,7 +119,7 @@ const props = defineProps({
119 default: '' 119 default: ''
120 } 120 }
121 }) 121 })
122 const language = useStorage('language', 0) 122 const language = useStorage('language', 1)
123 const form = ref({}) 123 const form = ref({})
124 const liveData = ref({}) 124 const liveData = ref({})
125 const matchId = computed(() => props.matchId); 125 const matchId = computed(() => props.matchId);
......
...@@ -176,7 +176,7 @@ import {masterClassList, getByCard, submitMasterApply, getMasterApply, delByCard ...@@ -176,7 +176,7 @@ import {masterClassList, getByCard, submitMasterApply, getMasterApply, delByCard
176 import dayjs from "dayjs"; 176 import dayjs from "dayjs";
177 177
178 const {proxy} = getCurrentInstance() 178 const {proxy} = getCurrentInstance()
179 const language = useStorage('language', 0) 179 const language = useStorage('language', 1)
180 const form = ref({}) 180 const form = ref({})
181 const show = ref(false) 181 const show = ref(false)
182 const showR = ref(false) 182 const showR = ref(false)
......
...@@ -32,7 +32,7 @@ import { getMaList } from '@/apiPc/match' ...@@ -32,7 +32,7 @@ import { getMaList } from '@/apiPc/match'
32 32
33 const emit = defineEmits( ['selectDate']) 33 const emit = defineEmits( ['selectDate'])
34 34
35 const language = useStorage('language', 0) 35 const language = useStorage('language', 1)
36 const calendarRef = ref(null) 36 const calendarRef = ref(null)
37 const currentDate = ref() 37 const currentDate = ref()
38 const query = ref({ 38 const query = ref({
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 <script setup> 34 <script setup>
35 import {cjList} from '@/assets/js/data' 35 import {cjList} from '@/assets/js/data'
36 import {useStorage} from "@vueuse/core/index"; 36 import {useStorage} from "@vueuse/core/index";
37 const language = useStorage('language', 0) 37 const language = useStorage('language', 1)
38 </script> 38 </script>
39 39
40 <style scoped lang="scss"> 40 <style scoped lang="scss">
......
...@@ -95,7 +95,7 @@ import {ElMessageBox} from "element-plus"; ...@@ -95,7 +95,7 @@ import {ElMessageBox} from "element-plus";
95 import {getCurrentInstance} from "@vue/runtime-core"; 95 import {getCurrentInstance} from "@vue/runtime-core";
96 96
97 const { proxy } = getCurrentInstance() 97 const { proxy } = getCurrentInstance()
98 const language = useStorage('language', 0) 98 const language = useStorage('language', 1)
99 const loading = ref(false) 99 const loading = ref(false)
100 const show = ref(false) 100 const show = ref(false)
101 const title = ref('') 101 const title = ref('')
......
...@@ -35,7 +35,7 @@ import {useStorage} from "@vueuse/core/index"; ...@@ -35,7 +35,7 @@ import {useStorage} from "@vueuse/core/index";
35 35
36 const emit = defineEmits(['submit']) 36 const emit = defineEmits(['submit'])
37 const {proxy} = getCurrentInstance() 37 const {proxy} = getCurrentInstance()
38 const language = useStorage('language', 0) 38 const language = useStorage('language', 1)
39 import useUserStore from "@/store/modules/user"; 39 import useUserStore from "@/store/modules/user";
40 40
41 const user = useUserStore().user 41 const user = useUserStore().user
......
...@@ -247,7 +247,7 @@ import ImageUpload from "@/components/ImageUpload"; ...@@ -247,7 +247,7 @@ import ImageUpload from "@/components/ImageUpload";
247 import {masterClassList, getByCard, submitMasterApply, getMasterApply, delByCard, addPickup} from "@/apiPc/common"; 247 import {masterClassList, getByCard, submitMasterApply, getMasterApply, delByCard, addPickup} from "@/apiPc/common";
248 248
249 const {proxy} = getCurrentInstance() 249 const {proxy} = getCurrentInstance()
250 const language = useStorage('language', 0) 250 const language = useStorage('language', 1)
251 const form = ref({ 251 const form = ref({
252 pickUpBo: { 252 pickUpBo: {
253 serviceType: 1, 253 serviceType: 1,
......
...@@ -93,7 +93,7 @@ import {ElMessage} from "element-plus"; ...@@ -93,7 +93,7 @@ import {ElMessage} from "element-plus";
93 import {getBackNumber, getTeamBackNumber, getTeamBackNumberPre} from "@/apiPc/common"; 93 import {getBackNumber, getTeamBackNumber, getTeamBackNumberPre} from "@/apiPc/common";
94 import {useStorage} from "@vueuse/core/index"; 94 import {useStorage} from "@vueuse/core/index";
95 95
96 const language = useStorage('language', 0) 96 const language = useStorage('language', 1)
97 const show = ref(false) 97 const show = ref(false)
98 // const form = ref({}) 98 // const form = ref({})
99 const list = ref([]) 99 const list = ref([])
......
...@@ -134,7 +134,7 @@ import { ...@@ -134,7 +134,7 @@ import {
134 } from "@/apiPc/common"; 134 } from "@/apiPc/common";
135 import {useStorage} from "@vueuse/core/index"; 135 import {useStorage} from "@vueuse/core/index";
136 136
137 const language = useStorage('language', 0) 137 const language = useStorage('language', 1)
138 const show = ref(false) 138 const show = ref(false)
139 // const form = ref({}) 139 // const form = ref({})
140 const list = ref([]) 140 const list = ref([])
......
...@@ -121,7 +121,7 @@ const router = useRouter() ...@@ -121,7 +121,7 @@ const router = useRouter()
121 const route = useRoute() 121 const route = useRoute()
122 const contestFee = ref(0) 122 const contestFee = ref(0)
123 const activeName = ref("first") 123 const activeName = ref("first")
124 const language = useStorage('language', 0) 124 const language = useStorage('language', 1)
125 const languageLibrary = ref([{ 125 const languageLibrary = ref([{
126 a:'返回', 126 a:'返回',
127 b:'总买入费用', 127 b:'总买入费用',
......
...@@ -68,7 +68,7 @@ import { onMounted, ref } from 'vue' ...@@ -68,7 +68,7 @@ import { onMounted, ref } from 'vue'
68 import { getCompetitionList } from '@/apiPc/webSite' 68 import { getCompetitionList } from '@/apiPc/webSite'
69 import { useRouter } from 'vue-router' 69 import { useRouter } from 'vue-router'
70 import {useStorage} from "@vueuse/core/index"; 70 import {useStorage} from "@vueuse/core/index";
71 const language = useStorage('language', 0) 71 const language = useStorage('language', 1)
72 const languageLibrary = [{ 72 const languageLibrary = [{
73 a:'全部', 73 a:'全部',
74 b:'未开始', 74 b:'未开始',
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 <div class="box"> 3 <div class="box">
4 <el-button class="back-btn" @click="goback()">{{ languageLibrary[language].a }}</el-button> 4 <el-button class="back-btn" @click="goback()">{{ languageLibrary[language].a }}</el-button>
5 <div style="position: relative"> 5 <div style="position: relative">
6 <div class="list-title" /> 6 <img class="list-title" :src="fillImgUrl(mainInfo.bgImgUrl)">
7 <div style="position: absolute;color: #fff;top:15%;left:5%;width: 100%"> 7 <div style="position: absolute;color: #fff;top:15%;left:5%;width: 100%">
8 <el-row class="mg-bottom" style="font-size: 16px;"> 8 <el-row class="mg-bottom" style="font-size: 16px;">
9 <div v-if="mainInfo.enrollStatusStr == '未开始'" style="background: #3194FA;border-radius:6px 0 6px 0;padding: 0 4px">{{ languageLibrary[language].g }}</div> 9 <div v-if="mainInfo.enrollStatusStr == '未开始'" style="background: #3194FA;border-radius:6px 0 6px 0;padding: 0 4px">{{ languageLibrary[language].g }}</div>
...@@ -67,7 +67,7 @@ import { useRoute, useRouter } from 'vue-router' ...@@ -67,7 +67,7 @@ import { useRoute, useRouter } from 'vue-router'
67 import {useStorage} from "@vueuse/core/index"; 67 import {useStorage} from "@vueuse/core/index";
68 const route = useRoute() 68 const route = useRoute()
69 const router = useRouter() 69 const router = useRouter()
70 const language = useStorage('language', 0) 70 const language = useStorage('language', 1)
71 const languageLibrary = ref([{ 71 const languageLibrary = ref([{
72 a:'返回', 72 a:'返回',
73 b:'主赛事', 73 b:'主赛事',
...@@ -213,7 +213,6 @@ const goback = function () { ...@@ -213,7 +213,6 @@ const goback = function () {
213 213
214 .list-title { 214 .list-title {
215 width: 100%; 215 width: 100%;
216 background: url("@/assets/v1/xq.png") no-repeat;
217 background-size: cover; 216 background-size: cover;
218 aspect-ratio: 16/3; 217 aspect-ratio: 16/3;
219 } 218 }
......
...@@ -14,7 +14,7 @@ import {useRouter} from "vue-router"; ...@@ -14,7 +14,7 @@ import {useRouter} from "vue-router";
14 14
15 const {proxy} = getCurrentInstance() 15 const {proxy} = getCurrentInstance()
16 const router = useRouter() 16 const router = useRouter()
17 const language = useStorage('language', 0) 17 const language = useStorage('language', 1)
18 18
19 19
20 </script> 20 </script>
......
...@@ -180,7 +180,7 @@ const display = ref([]) ...@@ -180,7 +180,7 @@ const display = ref([])
180 const livelist = ref([]) 180 const livelist = ref([])
181 const maList = ref([]) 181 const maList = ref([])
182 182
183 const language = useStorage('language', 0) 183 const language = useStorage('language', 1)
184 const languageLibrary = [{ 184 const languageLibrary = [{
185 a:'赛事日程', 185 a:'赛事日程',
186 b:'更多', 186 b:'更多',
......
...@@ -23,7 +23,7 @@ import { useRouter } from 'vue-router' ...@@ -23,7 +23,7 @@ import { useRouter } from 'vue-router'
23 import {useStorage} from "@vueuse/core/index"; 23 import {useStorage} from "@vueuse/core/index";
24 import * as match from "@/apiPc/match"; 24 import * as match from "@/apiPc/match";
25 25
26 const language = useStorage('language', 0) 26 const language = useStorage('language', 1)
27 const languageLibrary = [{ 27 const languageLibrary = [{
28 a:'Instagram' 28 a:'Instagram'
29 },{ 29 },{
......
...@@ -193,7 +193,7 @@ import * as match from '@/apiPc/match' ...@@ -193,7 +193,7 @@ import * as match from '@/apiPc/match'
193 import Cookies from 'js-cookie' 193 import Cookies from 'js-cookie'
194 import useUserStore from '@/store/modules/user' 194 import useUserStore from '@/store/modules/user'
195 195
196 const language = useStorage('language', 0) 196 const language = useStorage('language', 1)
197 import {useRouter} from 'vue-router' 197 import {useRouter} from 'vue-router'
198 import {ElMessage, ElMessageBox} from 'element-plus' 198 import {ElMessage, ElMessageBox} from 'element-plus'
199 import cache from "@/plugins/cache"; 199 import cache from "@/plugins/cache";
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 <el-col class="photo-space" :lg="8" v-for="item in itemList"> 10 <el-col class="photo-space" :lg="8" v-for="item in itemList">
11 <div class="photo-img-group"> 11 <div class="photo-img-group">
12 <img class="photo-img" :src="fillImgUrl(item.picUrl)"> 12 <img class="photo-img" :src="fillImgUrl(item.picUrl)">
13 <span style="display: block;font-size: 16px;margin:5px 0;color:#fff">{{item.name}}</span> 13 <span style="display: block;font-size: 16px;margin:5px 0;color:#fff">{{item.text}}</span>
14 </div> 14 </div>
15 </el-col> 15 </el-col>
16 </el-row> 16 </el-row>
...@@ -25,7 +25,7 @@ import { useRouter } from 'vue-router' ...@@ -25,7 +25,7 @@ import { useRouter } from 'vue-router'
25 import {useStorage} from "@vueuse/core/index"; 25 import {useStorage} from "@vueuse/core/index";
26 import * as match from "@/apiPc/match"; 26 import * as match from "@/apiPc/match";
27 27
28 const language = useStorage('language', 0) 28 const language = useStorage('language', 1)
29 const languageLibrary = ref([{ 29 const languageLibrary = ref([{
30 a:'周边商城', 30 a:'周边商城',
31 },{ 31 },{
......
...@@ -46,7 +46,7 @@ import * as match from "@/apiPc/match"; ...@@ -46,7 +46,7 @@ import * as match from "@/apiPc/match";
46 46
47 const router = useRouter() 47 const router = useRouter()
48 const route = useRoute() 48 const route = useRoute()
49 const language = useStorage('language', 0) 49 const language = useStorage('language', 1)
50 const languageLibrary = ref([{ 50 const languageLibrary = ref([{
51 a:'返回', 51 a:'返回',
52 },{ 52 },{
......
...@@ -60,7 +60,7 @@ import {useStorage} from "@vueuse/core/index"; ...@@ -60,7 +60,7 @@ import {useStorage} from "@vueuse/core/index";
60 import * as match from "@/apiPc/match"; 60 import * as match from "@/apiPc/match";
61 import {ElMessage} from "element-plus"; 61 import {ElMessage} from "element-plus";
62 62
63 const language = useStorage('language', 0) 63 const language = useStorage('language', 1)
64 const languageLibrary = ref([{ 64 const languageLibrary = ref([{
65 a:'新闻资讯', 65 a:'新闻资讯',
66 b:'查看更多', 66 b:'查看更多',
......
...@@ -52,7 +52,7 @@ import {getMain,getImgList} from '@/apiPc/webSite' ...@@ -52,7 +52,7 @@ import {getMain,getImgList} from '@/apiPc/webSite'
52 const router = useRouter() 52 const router = useRouter()
53 const route = useRoute() 53 const route = useRoute()
54 const activeName = ref("first") 54 const activeName = ref("first")
55 const language = useStorage('language', 0) 55 const language = useStorage('language', 1)
56 const languageLibrary = ref([{ 56 const languageLibrary = ref([{
57 a:'返回', 57 a:'返回',
58 b:'总买入费用', 58 b:'总买入费用',
......
...@@ -38,7 +38,7 @@ import { getNewsListById } from '@/apiPc/webSite' ...@@ -38,7 +38,7 @@ import { getNewsListById } from '@/apiPc/webSite'
38 import { useRouter } from 'vue-router' 38 import { useRouter } from 'vue-router'
39 import {useStorage} from "@vueuse/core/index"; 39 import {useStorage} from "@vueuse/core/index";
40 import * as match from "@/apiPc/match"; 40 import * as match from "@/apiPc/match";
41 const language = useStorage('language', 0) 41 const language = useStorage('language', 1)
42 const languageLibrary = [{ 42 const languageLibrary = [{
43 a:'图片集锦' 43 a:'图片集锦'
44 },{ 44 },{
......
...@@ -43,7 +43,7 @@ import { getNewsListById } from '@/apiPc/webSite' ...@@ -43,7 +43,7 @@ import { getNewsListById } from '@/apiPc/webSite'
43 import { useRouter } from 'vue-router' 43 import { useRouter } from 'vue-router'
44 import {useStorage} from "@vueuse/core/index"; 44 import {useStorage} from "@vueuse/core/index";
45 import * as match from "@/apiPc/match"; 45 import * as match from "@/apiPc/match";
46 const language = useStorage('language', 0) 46 const language = useStorage('language', 1)
47 const router = useRouter() 47 const router = useRouter()
48 const searchParam = ref({ 48 const searchParam = ref({
49 status: 1, 49 status: 1,
......
...@@ -84,8 +84,8 @@ export default defineConfig(({mode, command}) => { ...@@ -84,8 +84,8 @@ export default defineConfig(({mode, command}) => {
84 }, 84 },
85 '/dev-api': { 85 '/dev-api': {
86 // target: 'http://192.168.1.118:8082/', 86 // target: 'http://192.168.1.118:8082/',
87 // target: 'http://192.168.1.194:8082', 87 target: 'http://192.168.1.238:8082',
88 target: 'https://www.longpoker.com/stage-api/', 88 // target: 'https://www.longpoker.com/stage-api/',
89 // target: 'http://124.70.181.90:1880/stage-api', 89 // target: 'http://124.70.181.90:1880/stage-api',
90 // target: 'https://sys.2025wtcwuxi.com/stage-api/', 90 // target: 'https://sys.2025wtcwuxi.com/stage-api/',
91 changeOrigin: true, 91 changeOrigin: true,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!