Commit 5e328287 by kaisa

feat:更新

parent f4672b84
...@@ -13,6 +13,8 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -13,6 +13,8 @@ const props = withDefaults(defineProps<Props>(), {
platformList: [] platformList: []
}); });
const emits = defineEmits(['refreshView'])
/* 主播信息表單 */ /* 主播信息表單 */
const formData = ref({ const formData = ref({
platform: '', platform: '',
...@@ -81,6 +83,7 @@ const onSubmit = async () => { ...@@ -81,6 +83,7 @@ const onSubmit = async () => {
if (code == 1) { if (code == 1) {
showToast('簽約成功') showToast('簽約成功')
emits('refreshView')
} else { } else {
showToast(msg) showToast(msg)
} }
...@@ -333,9 +336,11 @@ const onSubmit = async () => { ...@@ -333,9 +336,11 @@ const onSubmit = async () => {
background-image: url(../../image/bg.jpg); background-image: url(../../image/bg.jpg);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
width: 750px;
height: 4200px;
.content { .content {
padding: 859px 35px 24px 35px; padding: 679px 35px 24px 35px;
.stage { .stage {
height: 100%; height: 100%;
...@@ -620,21 +625,21 @@ const onSubmit = async () => { ...@@ -620,21 +625,21 @@ const onSubmit = async () => {
span { span {
display: block; display: block;
padding-top: 15px;
font-family: 'FZZ'; font-family: 'FZZ';
font-weight: bold; font-weight: bold;
font-size: 34px; font-size: 34px;
color: #48FEC1; color: #48FEC1;
text-shadow: 0px 4px 7px #2170D3; text-shadow: 0px 4px 7px #2170D3;
padding-right: 8px; padding-right: 8px;
padding-top: 23px; padding-top: 30px;
transform: skewX(-10deg);
} }
&::before { &::before {
content: ''; content: '';
position: absolute; position: absolute;
left: 185px; left: 185px;
top: 32px; top: 38px;
width: 64px; width: 64px;
height: 41px; height: 41px;
background-image: url(../../image/leftArrow.png); background-image: url(../../image/leftArrow.png);
...@@ -646,7 +651,7 @@ const onSubmit = async () => { ...@@ -646,7 +651,7 @@ const onSubmit = async () => {
content: ''; content: '';
position: absolute; position: absolute;
right: 193px; right: 193px;
top: 32px; top: 38px;
width: 64px; width: 64px;
height: 41px; height: 41px;
background-image: url(../../image/rightArrow.png); background-image: url(../../image/rightArrow.png);
......
...@@ -31,15 +31,18 @@ const getAnchorSignView = async () => { ...@@ -31,15 +31,18 @@ const getAnchorSignView = async () => {
} else { } else {
isShowReview.value = false isShowReview.value = false
} }
}; };
const refresh = () => {
getAnchorSignView()
}
onMounted(() => { onMounted(() => {
getAnchorSignView() getAnchorSignView()
}) })
</script> </script>
<template> <template>
<sign v-if="isShowReview === false" :signLevel="signLevel" :platformList="platformList" /> <sign v-if="isShowReview === false" :signLevel="signLevel" :platformList="platformList" @refreshView="refresh" />
<review v-else-if="isShowReview === true" :resultLevel="resultLevel" /> <review v-else-if="isShowReview === true" :resultLevel="resultLevel" />
</template> </template>
<style scoped lang="scss"></style> <style scoped lang="scss"></style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment