fix(预处理器): 支付结果页添加scss

This commit is contained in:
hzj 2025-09-11 14:04:31 +08:00
parent cce596bc0e
commit 22805e1765

View File

@ -31,20 +31,20 @@
</template> </template>
<script setup> <script setup>
import { showError, showWarning, showInfo, showSuccess } from '@/utils/toast.js'; import { showError, showWarning, showInfo, showSuccess } from '@/utils/toast.js'
import { onMounted, ref } from 'vue'; import { onMounted, ref } from 'vue'
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router'
const route = useRoute(); const route = useRoute()
const query = route.query || {}; const query = route.query || {}
const appStatus = ref(Number(query.appStatus)); // 0 , 1 const appStatus = ref(Number(query.appStatus)) // 0 , 1
const appType = ref(query.appType); const appType = ref(query.appType)
const appId = ref(query.appId); const appId = ref(query.appId)
const redirect = ref(query.redirect); const redirect = ref(query.redirect)
const closePage = () => { const closePage = () => {
location.href = `${location.origin}/#/${redirect.value}/${appId.value}?type=${appType.value}`; location.href = `${location.origin}/#/${redirect.value}/${appId.value}?type=${appType.value}`
}; }
// const changeLange = (event) => { // const changeLange = (event) => {
// store.dispatch('app/setLanguage', selectedLange.value) // store.dispatch('app/setLanguage', selectedLange.value)
@ -52,13 +52,13 @@ const closePage = () => {
// } // }
const getI18n = (field) => { const getI18n = (field) => {
return $t(`${field}`); return $t(`${field}`)
}; }
onMounted(() => {}); onMounted(() => {})
</script> </script>
<style scoped> <style scoped lang="scss">
.pay-result { .pay-result {
background: #ffffff; background: #ffffff;
min-height: 100%; min-height: 100%;