123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <div class="main">
- <router-view> </router-view>
- </div>
- <!-- 开启底部安全区适配 -->
- <van-number-keyboard safe-area-inset-bottom />
- </template>
- <style lang="scss">
- #app {
- font-family: PingFangSC-Regular, PingFang SC;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-align: center;
- color: #333333;
- background: #f6f6f6;
- height: 100vh;
- box-sizing: border-box;
- }
- .main {
- height: 100vh;
- overflow-y: hidden;
- .van-cell__title {
- text-align: left;
- color: #666666;
- }
- .van-cell__value {
- color: #999999;
- }
- --van-cell-font-size: 16px;
- --van-field-label-color: #666666;
- --van-field-input-text-color: #333333;
- --van-nav-bar-icon-color: #333333;
- --van-nav-bar-title-text-color: #333333;
- --van-font-weight-bold: 600;
- --van-nav-bar-title-font-size: 16px;
- --van-button-normal-font-size: 16px;
- .van-button {
- font-weight: 600;
- }
- .save_btn {
- position: fixed;
- bottom: 0;
- width: 100%;
- padding: 8px 16px;
- background-color: #ffffff;
- box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.2);
- --van-button-border-width: 0;
- --van-button-default-border-color: unset;
- --van-button-border-radius: 4px;
- .van-button {
- width: calc(100% - 32px);
- }
- }
- }
- </style>
|