29f0f63c by zhangmeng

样式修改

1 parent ef082326
......@@ -105,16 +105,31 @@ function building() {
}
function popRemark(type) {
console.log(form.value)
alert(type)
if (!form.value) {
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
// }
alert(type)
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')
) {
|| (type == '2')
|| ( type == '3')
|| (form.value.isMealView == 0 && type == '4')
|| (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
......@@ -116,17 +116,31 @@ function building() {
}
function popRemark(type) {
console.log(form.value)
alert(type)
if (!form.value) {
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')
// || (type == '5' && form.value.isPhotoView == 0)
// || (type == '0')) {
// building()
// return
// }
alert(type)
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')) {
|| (type == '2')
|| ( type == '3')
|| (form.value.isMealView == 0 && type == '4')
|| (type == '5')
// || (type == '0')
)
{
building()
return
}
......@@ -144,7 +158,6 @@ function goBooking(n) {
switch (n) {
case 0:
// 票务
building()
router.push({path: `/booking/ticket/${props.matchId}`})
break;
case 1:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!