fe3c9339 by 杨炀

Merge commit 'a52f048a' into dev

2 parents d3828c8d a52f048a
......@@ -31,7 +31,7 @@
</el-row>
<div style="display: flex">
<div style="min-width: 130px" class="title">{{language.value==0?'工作室简介:':'Studio profile:'}}</div>
<div style="min-width: 130px" class="title">{{language==0?'工作室简介:':'Studio profile:'}}</div>
<div v-html="form.introduction"></div>
</div>
</el-card>
......
......@@ -30,7 +30,7 @@
{{form.remarks}}
</el-row>
<div style="display: flex">
<div style="min-width: 130px" class="title">{{language.value==0?'工作室简介:':'Studio profile:'}}</div>
<div style="min-width: 130px" class="title">{{language==0?'工作室简介:':'Studio profile:'}}</div>
<div v-html="form.introduction"></div>
</div>
</el-card>
......
......@@ -109,12 +109,23 @@ function popRemark(type) {
building()
return
}
// if ((form.value.isJdView == 0 && type == '1')
// || (form.value.isCarView == 0 && type == '2')
// || (form.value.isFoodView == 0 && type == '3')
// || (form.value.isMealView == 0 && type == '4')
// || (form.value.isPhotoView == 0 && type == '5')
// ) {
// building()
// return
// }
if ((form.value.isJdView == 0 && type == '1')
|| (form.value.isCarView == 0 && type == '2')
|| (form.value.isFoodView == 0 && type == '3')
|| (type == '2')
|| ( type == '3')
|| (form.value.isMealView == 0 && type == '4')
|| (form.value.isPhotoView == 0 && type == '5')
) {
|| (type == '5')
// || (type == '0')
)
{
building()
return
}
......
......@@ -100,7 +100,7 @@ const props = defineProps({
default: '0'
}
})
const form = ref({})
const form = ref()
onMounted(() => {
getBaseInfoByActiveId(props.matchId).then(res => {
form.value = res.data || null
......@@ -121,12 +121,23 @@ function popRemark(type) {
return
}
// if ((form.value.isJdView == 0 && type == '1')
// || (form.value.isCarView == 0 && type == '2')
// || (form.value.isFoodView == 0 && type == '3')
// || (form.value.isMealView == 0 && type == '4')
// || (type == '5' && form.value.isPhotoView == 0)
// || (type == '0')) {
// building()
// return
// }
if ((form.value.isJdView == 0 && type == '1')
|| (form.value.isCarView == 0 && type == '2')
|| (form.value.isFoodView == 0 && type == '3')
|| (type == '2')
|| ( type == '3')
|| (form.value.isMealView == 0 && type == '4')
|| (type == '5' && form.value.isPhotoView == 0)
|| (type == '0')) {
|| (type == '5')
// || (type == '0')
)
{
building()
return
}
......@@ -144,7 +155,6 @@ function goBooking(n) {
switch (n) {
case 0:
// 票务
building()
router.push({path: `/booking/ticket/${props.matchId}`})
break;
case 1:
......
......@@ -8,7 +8,7 @@ import { ElMessage } from "element-plus";
import { useStorage } from "@vueuse/core/index";
const language = useStorage("language", 0);
const baseURL = "https://jijin.wtwuxicenter.com/ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
const baseURL = "https://ticketh5.wdsfwuxicenter.com/ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
const timeout = 15000; // 请求超时时间
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!