|
|
- <script>
- export default {
- onLaunch: function() {},
- onShow: function() {
- // this.$store.commit('initConfig')
- },
- onHide: function() {}
- }
- </script>
-
- <style>
- /*每个页面公共css */
- body {
- background-color: #f7f7f7;
- font-size: 30rpx;
- }
-
- .background {
- background-color: #f7f7f7;
- }
-
- .page {
- padding-top: var(--window-top);
- }
-
- .logo {
- width: 120rpx;
- height: 120rpx;
- border-radius: 10rpx;
- background-color: #e6c38b;
- }
-
- img {
- width: 100%;
- height: 100%;
- }
-
- .title {
- font-size: 40rpx;
- font-weight: bold;
- margin: 40rpx 0 20rpx 0;
- }
-
- /* 布局 */
- .flex-center {
- display: flex;
- justify-content: center;
- align-items: center;
- }
-
- /* 水平居左,垂直居中 间距 20rpx */
- .flex-start {
- display: flex;
- align-items: center;
- justify-content: start;
- gap: 20rpx;
- }
-
- /* 垂直居中 */
- .flex-col {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 20rpx;
- }
-
- /* 垂直居左 */
- .flex-start-col {
- display: flex;
- flex-direction: column;
- align-items: start;
- justify-content: center;
- gap: 40rpx;
- }
-
- /* 两段对齐 */
- .flex-sb {
- display: flex;
- align-items: center;
- width: 100%;
- justify-content: space-between;
- }
-
- /* 两段对齐 */
- .flex-sa {
- display: flex;
- align-items: center;
- width: 100%;
- justify-content: space-around;
- }
-
- /* 字体加粗 */
- .font-bold {
- font-weight: bold;
- letter-spacing: 2rpx;
- }
-
- .home {
- /* background-image: url('./static/image/home/home-background.png'); */
- /* background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- width: 100%;
- height: 100vh;
- overflow: hidden; */
- }
-
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding-top: 30vh;
- }
-
- .mian-btn {
- border: 4rpx solid #e6bf7f;
- padding: 16rpx 66rpx;
- border-radius: 66rpx;
- margin-top: 30rpx;
- color: #e6bf7f;
- }
-
- .active {
- background-color: #e6bf7f;
- color: white;
- }
-
- .second-color {
- color: #d2d2d2;
- margin-top: 20rpx;
- font-size: 26rpx;
- }
-
- .btn2 {
- border: 4rpx solid #ecb864;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 16rpx 200rpx;
- color: #ecb864;
- border-radius: 10rpx;
- }
-
- .btn3 {
- border: 4rpx solid #ecb864;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 16rpx 100rpx;
- color: #ecb864;
- border-radius: 10rpx;
- }
-
- .mb-60 {
- margin-bottom: 60rpx;
- }
-
- .mt-60 {
- margin-top: 60rpx;
- }
-
- .mt-40 {
- margin-top: 40rpx;
- }
-
- .mt-20 {
- margin-top: 20vh;
- }
-
- .content-text {
- line-height: 50rpx;
- font-size: 28rpx;
- }
- </style>
|