itube-specs 0.0.830 → 0.0.832
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
v-if="isReportPopupOpen"
|
|
6
6
|
v-model="isReportPopupOpen"
|
|
7
7
|
sheet
|
|
8
|
-
back
|
|
9
|
-
:class="{'--back-show': activeStep !== 'list'}"
|
|
8
|
+
:back="showBack"
|
|
10
9
|
class="report-main"
|
|
11
10
|
@back="activeStep === 'list' ? handleBack() : goToList()"
|
|
12
11
|
>
|
|
@@ -166,6 +165,8 @@ const form = ref<IReportForm>({
|
|
|
166
165
|
|
|
167
166
|
const { isReportPopupOpen, closeReportPopup, reportedVideoCard, onBack } = useReportPopup();
|
|
168
167
|
|
|
168
|
+
const showBack = computed(() => activeStep.value !== 'list' || !!onBack.value);
|
|
169
|
+
|
|
169
170
|
function handleBack() {
|
|
170
171
|
const callback = onBack.value;
|
|
171
172
|
closeReportPopup();
|
|
@@ -315,12 +316,6 @@ async function submit() {
|
|
|
315
316
|
</script>
|
|
316
317
|
|
|
317
318
|
<style lang="scss">
|
|
318
|
-
.report-main:not(.--back-show) .ui-popup__back {
|
|
319
|
-
@include from-br(sm) {
|
|
320
|
-
display: none;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
319
|
.report-main .ui-popup__content {
|
|
325
320
|
padding: 0;
|
|
326
321
|
}
|