12345678910111213141516171819202122232425262728293031323334353637383940 |
- <script>
- export default {
- onLaunch: function() {
- this.$socket.initWebIM(this.$ws, true, true)
- },
- onShow: function() {
- if(this.userData.user){
- return;
- }
- this.$u.route({
- url: 'pages/login/loginV2'
- });
- },
- onHide: function() {
- }
- }
- </script>
- <style lang="scss">
- @import "uview-ui/index.scss";
- html,body,page{
- background-color: $uni-bg-color-grey;
- }
- .select-hover-class{ //首页导航栏按钮
- background-color: $uni-color-subtitle !important;
- }
- .message-hover-class{ //评论区 点击
- background-color: $uni-bg-color-hover !important;
- }
- .contentType2-hover-class{ //语音信息点击
- background-color: #c7c6c6 !important;
- }
- image{
- will-change: transform;
- }
- .u-actionsheet-cancel,
- .u-action-sheet-itemz{
- font-size: 28rpx !important;
- }
- @import "/components/font/iconfont.css";
- </style>
|