fix(预处理器): 支付结果页添加scss
This commit is contained in:
parent
cce596bc0e
commit
22805e1765
@ -31,20 +31,20 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { showError, showWarning, showInfo, showSuccess } from '@/utils/toast.js';
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
const route = useRoute();
|
||||
import { showError, showWarning, showInfo, showSuccess } from '@/utils/toast.js'
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
const route = useRoute()
|
||||
|
||||
const query = route.query || {};
|
||||
const appStatus = ref(Number(query.appStatus)); // 0 成功, 1 失败
|
||||
const appType = ref(query.appType);
|
||||
const appId = ref(query.appId);
|
||||
const redirect = ref(query.redirect);
|
||||
const query = route.query || {}
|
||||
const appStatus = ref(Number(query.appStatus)) // 0 成功, 1 失败
|
||||
const appType = ref(query.appType)
|
||||
const appId = ref(query.appId)
|
||||
const redirect = ref(query.redirect)
|
||||
|
||||
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) => {
|
||||
// store.dispatch('app/setLanguage', selectedLange.value)
|
||||
@ -52,13 +52,13 @@ const closePage = () => {
|
||||
// }
|
||||
|
||||
const getI18n = (field) => {
|
||||
return $t(`${field}`);
|
||||
};
|
||||
return $t(`${field}`)
|
||||
}
|
||||
|
||||
onMounted(() => {});
|
||||
onMounted(() => {})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style scoped lang="scss">
|
||||
.pay-result {
|
||||
background: #ffffff;
|
||||
min-height: 100%;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user