fe3c9339 by 杨炀

Merge commit 'a52f048a' into dev

2 parents d3828c8d a52f048a
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
31 </el-row> 31 </el-row>
32 32
33 <div style="display: flex"> 33 <div style="display: flex">
34 <div style="min-width: 130px" class="title">{{language.value==0?'工作室简介:':'Studio profile:'}}</div> 34 <div style="min-width: 130px" class="title">{{language==0?'工作室简介:':'Studio profile:'}}</div>
35 <div v-html="form.introduction"></div> 35 <div v-html="form.introduction"></div>
36 </div> 36 </div>
37 </el-card> 37 </el-card>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
30 {{form.remarks}} 30 {{form.remarks}}
31 </el-row> 31 </el-row>
32 <div style="display: flex"> 32 <div style="display: flex">
33 <div style="min-width: 130px" class="title">{{language.value==0?'工作室简介:':'Studio profile:'}}</div> 33 <div style="min-width: 130px" class="title">{{language==0?'工作室简介:':'Studio profile:'}}</div>
34 <div v-html="form.introduction"></div> 34 <div v-html="form.introduction"></div>
35 </div> 35 </div>
36 </el-card> 36 </el-card>
......
...@@ -109,12 +109,23 @@ function popRemark(type) { ...@@ -109,12 +109,23 @@ function popRemark(type) {
109 building() 109 building()
110 return 110 return
111 } 111 }
112 // if ((form.value.isJdView == 0 && type == '1')
113 // || (form.value.isCarView == 0 && type == '2')
114 // || (form.value.isFoodView == 0 && type == '3')
115 // || (form.value.isMealView == 0 && type == '4')
116 // || (form.value.isPhotoView == 0 && type == '5')
117 // ) {
118 // building()
119 // return
120 // }
112 if ((form.value.isJdView == 0 && type == '1') 121 if ((form.value.isJdView == 0 && type == '1')
113 || (form.value.isCarView == 0 && type == '2') 122 || (type == '2')
114 || (form.value.isFoodView == 0 && type == '3') 123 || ( type == '3')
115 || (form.value.isMealView == 0 && type == '4') 124 || (form.value.isMealView == 0 && type == '4')
116 || (form.value.isPhotoView == 0 && type == '5') 125 || (type == '5')
117 ) { 126 // || (type == '0')
127 )
128 {
118 building() 129 building()
119 return 130 return
120 } 131 }
......
...@@ -100,7 +100,7 @@ const props = defineProps({ ...@@ -100,7 +100,7 @@ const props = defineProps({
100 default: '0' 100 default: '0'
101 } 101 }
102 }) 102 })
103 const form = ref({}) 103 const form = ref()
104 onMounted(() => { 104 onMounted(() => {
105 getBaseInfoByActiveId(props.matchId).then(res => { 105 getBaseInfoByActiveId(props.matchId).then(res => {
106 form.value = res.data || null 106 form.value = res.data || null
...@@ -121,12 +121,23 @@ function popRemark(type) { ...@@ -121,12 +121,23 @@ function popRemark(type) {
121 return 121 return
122 } 122 }
123 123
124 // if ((form.value.isJdView == 0 && type == '1')
125 // || (form.value.isCarView == 0 && type == '2')
126 // || (form.value.isFoodView == 0 && type == '3')
127 // || (form.value.isMealView == 0 && type == '4')
128 // || (type == '5' && form.value.isPhotoView == 0)
129 // || (type == '0')) {
130 // building()
131 // return
132 // }
124 if ((form.value.isJdView == 0 && type == '1') 133 if ((form.value.isJdView == 0 && type == '1')
125 || (form.value.isCarView == 0 && type == '2') 134 || (type == '2')
126 || (form.value.isFoodView == 0 && type == '3') 135 || ( type == '3')
127 || (form.value.isMealView == 0 && type == '4') 136 || (form.value.isMealView == 0 && type == '4')
128 || (type == '5' && form.value.isPhotoView == 0) 137 || (type == '5')
129 || (type == '0')) { 138 // || (type == '0')
139 )
140 {
130 building() 141 building()
131 return 142 return
132 } 143 }
...@@ -144,7 +155,6 @@ function goBooking(n) { ...@@ -144,7 +155,6 @@ function goBooking(n) {
144 switch (n) { 155 switch (n) {
145 case 0: 156 case 0:
146 // 票务 157 // 票务
147 building()
148 router.push({path: `/booking/ticket/${props.matchId}`}) 158 router.push({path: `/booking/ticket/${props.matchId}`})
149 break; 159 break;
150 case 1: 160 case 1:
......
...@@ -8,7 +8,7 @@ import { ElMessage } from "element-plus"; ...@@ -8,7 +8,7 @@ import { ElMessage } from "element-plus";
8 import { useStorage } from "@vueuse/core/index"; 8 import { useStorage } from "@vueuse/core/index";
9 const language = useStorage("language", 0); 9 const language = useStorage("language", 0);
10 10
11 const baseURL = "https://jijin.wtwuxicenter.com/ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL 11 const baseURL = "https://ticketh5.wdsfwuxicenter.com/ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
12 const timeout = 15000; // 请求超时时间 12 const timeout = 15000; // 请求超时时间
13 13
14 const http = axios.create({ 14 const http = axios.create({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!