1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <script>
- export default {
- onLaunch: function () {
- console.warn(
- "当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!"
- );
- console.log("App Launch");
- },
- onShow: function () {
- console.log("App Show");
- },
- onHide: function () {
- console.log("App Hide");
- },
- };
- </script>
- <style lang="scss">
- @import "@/uni.scss";
- /*每个页面公共css */
- @import "@/uni_modules/uni-scss/index.scss";
- /* #ifndef APP-NVUE */
- @import "@/static/customicons.css";
- /* #endif */
- button {
- background-color: $primary;
- font-weight: 500;
- font-size: 32rpx;
- color: #fff;
- margin: 0;
- width: 100%;
- &::after {
- border: 0;
- }
- }
- .button {
- background-color: $primary;
- font-weight: 500;
- font-size: 32rpx;
- color: #fff;
- margin: 0;
- width: 100%;
- border-radius: 20rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 20rpx 0;
- &::after {
- border: 0;
- }
- }
- .tip {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 24rpx;
- color: #999999;
- }
- .button.plain {
- background: $uni-primary-light;
- color: $primary;
- }
- </style>
|