123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <script>
- // #ifdef H5
- var jweixin = require('@/js_sdk');
- // #endif
- export default {
- onLaunch: function() {
- console.log('App Launch');
- },
- onShow: function() {
- console.log('App Show');
- },
- onHide: function() {
- console.log('App Hide');
- }
- };
- </script>
- <style>
- /*每个页面公共css */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- view,
- text {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: rgba(51, 51, 51, 1);
- box-sizing: border-box;
- }
- image {
- display: block;
- width: 100%;
- height: 100%;
- }
- input {
- display: block;
- border: none;
- outline: none;
- box-sizing: border-box;
- }
- textarea {
- display: block;
- width: 100%;
- height: 100%;
- font-size: 26rpx;
- color: #333333;
- }
- page {
- background: #fafafa;
- }
- .flex {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .flexs {
- display: flex;
- align-items: center;
- }
- .center {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .footer_btn {
- position: fixed;
- left: 0;
- display: flex;
- align-items: center;
- justify-content: space-around;
- color: #ffffff;
- font-size: 30rpx;
- font-weight: bold;
- width: 100%;
- height: 98rpx;
- bottom: 0;
- background: #debb81;
- }
- button {
- background: transparent;
- border: none;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0;
- margin: 0;
- overflow: unset;
- color: #ffffff;
- font-size: 30rpx;
- }
- button::after {
- width: 0;
- height: 0;
- }
- .hover-view {
- opacity: 0.7;
- }
- scroll-view {
- box-sizing: border-box;
- }
- /* 一行显示 */
- .clamp {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- display: block;
- }
- /* 二行显示 */
- .clamp2 {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- /* 二行显示 */
- .ellipsis {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- </style>
|