123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <script>
- export default {
- onLaunch: function () {
- },
- onShow: function () {
- },
- onHide: function () {
- }
- };
- </script>
- <style lang="scss">
- /*每个页面公共css */
- @import '@/common/style.scss';
- /* uView基础样式 */
- @import 'uview-ui/index.scss';
- @import '@/common/animate.min.css';
- //全局页面背景色
- page {
- background-color: white;
- }
- //底部安全距离
- .bottom-safety {
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- /**uniapp中uni.showModal H5中被挡住的解决方案*/
- uni-modal {
- z-index: 19999 !important;
- }
- /**去掉官方button边框线*/
- button::after {
- border: none;
- }
- /**挂载iconfont字体图标*/
- @font-face {
- font-family: 'iconfont';
- src: url('https://at.alicdn.com/t/c/font_4666493_zepght549b.ttf?t=1724837382464') format('truetype');
- // src: url('~@/static/font/iconfont.woff2?t=1724655869789') format('woff2')
- // url('~@/static/font/iconfont.woff?t=1724655869789') format('woff'),
- // url('~@/static/font/iconfont.ttf?t=1724655869789') format('truetype');
- }
- .icon {
- font-family: iconfont;
- }
- </style>
|