App.vue 302 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <script> export default { onLaunch(){ // #ifdef APP-PLUS plus.screen.lockOrientation('portrait-primary'); // #endif } } </script> <style lang="scss"> /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */ @import "uview-ui/index.scss"; </style>