123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <script>
- import '.env.js'
- import 'font.js'
- export default {
- onLaunch: function() {
-
-
- },
- onShow: function() {
-
-
- },
- onReady: function() {
- console.log("aaa")
- },
- onHide: function() {
-
- },
- methods:{
-
- }
- }
- </script>
- <style lang="scss">
- #__vconsole{
- z-index: 99999;
- position: absolute;
- }
- .tooltip {
- color: #777777;
- position: relative;
- display: inline-flex;
- width: 36rpx;
- height: 36rpx;
- }
- .tooltipleft .tooltiptext{
-
- left: -260px !important;
- }
- .tooltipleft .tooltiptext:before{
- left: 260px !important;
- }
-
- .tooltiplong .tooltiptext{
-
- left: -60px !important;
- }
- .tooltiplong .tooltiptext:before{
- left: 60px !important;
- }
- .tooltip .tooltiptext {
- opacity: 0.8;
- min-width: 180px;
- min-height: 20px;
-
- position: absolute;
- visibility: hidden;
- top: -30px;
- left: -10px;
- padding: 1px 20rpx;
- line-height: 20px;
- font-size: 24rpx;
- color: #fff;
-
- background-color: #333333;
-
- border-radius: 5px;
- text-align: center;
- z-index: 1;
- }
- .tooltip:hover .tooltiptext {
- visibility: visible;
- }
- .tooltiptext:before {
- z-index: 1;
- content: "";
- position: absolute;
-
- top: 20px;
- //right: 5px;
- left: 10px;
- border-top: 5px solid #333333;
- border-right: 5px solid transparent;
- border-left: 5px solid transparent;
- }
- /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
- @import "uview-ui/index.scss";
- //
- /*每个页面公共css */
- //@import 'static/css/style.css';
- @import '@/iconfont/iconfont.css';
- @import '@/assets/font/iconfont.css';
- .uni-icon-success-no-circle:before {
- content: "" !important ;
- display: none;
- }
- .uni-toast .uni-toast__content{
- margin: -10px 1px 10px 1px;
- }
- .uni-modal .uni-modal__btn{
- flex: 1;
- height: 43px;
- line-height: 43px !important;;
- font-size: 13px !important;
- box-sizing: border-box;
- cursor: pointer;
- text-align: center;
- border-radius: 1px;
- }
- @media screen and (min-width: 320px) {
- ::v-deep.u-tabbar__content {
- height: 42px!important;
- }
- }
- @media screen and (min-width: 375px) {
- ::v-deep.u-tabbar__content {
- height: 52px!important;
- }
- }
- @media screen and (min-width: 425px) {
- ::v-deep.u-tabbar__content {
- height: 62px!important;
- }
- }
- </style>
|