chore(组件): 组件尽量使用异步导入模式

This commit is contained in:
2026-01-04 14:40:00 +08:00
parent 4da852944e
commit 9415f397d2
172 changed files with 11520 additions and 10979 deletions

View File

@@ -97,13 +97,6 @@
</template>
<script>
import uniPopup from '@/components/uni-popup/uni-popup.vue';
import registerReward from '@/components/register-reward/register-reward.vue';
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
import auth from '@/common/js/auth.js';
import validate from '@/common/js/validate.js';
@@ -111,10 +104,10 @@
mixins: [auth],
name: 'ns-login',
components: {
uniPopup,
registerReward,
uniPopup: () => import('@/components/uni-popup/uni-popup.vue'),
registerReward: () => import('@/components/register-reward/register-reward.vue'),
// #ifdef MP-WEIXIN
privacyPopup
privacyPopup: () => import('@/components/wx-privacy-popup/privacy-popup.vue'),
// #endif
},
data() {
@@ -781,7 +774,7 @@
}
}
</style>
<style scoped>
<style lang="scss" scoped>
/deep/ .reward-popup .uni-popup__wrapper-box {
background: none !important;
max-width: unset !important;