123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <template>
- <view class="content">
- <view v-if="pageDisplay==1">
- <view v-if="toggleid==12">
- <mine ref="r1"></mine>
- </view>
- <view v-if="toggleid==13">
- <chatindex ref="r1"></chatindex>
- </view>
- </view>
- <view v-if="pageDisplay==2">
- <addressBook></addressBook>
- </view>
- </view>
- </template>
- <script>
- import res from '../../common/data.json';
- import drawer from '../../components/drawer/threeLineDrawer.vue'
- import plusDrawer from '../../components/drawer/plusDrawer.vue';
- import addressBook from '../../components/mine/addressBook/addressBook.vue';
- import mine from '../../components/mine/Mine.vue';
- import chatindex from '../../components/mine/chat/Chatindex.vue';
- export default {
- components: {
- mine: mine,
- chatindex: chatindex,
- addressBook: addressBook
- },
- data: function() {
- return {
- pageDisplay: 1,
- toggleid: 12, //12我的主页,13聊天通讯,默认12
- badge: 22,
- inconList: ["form", "favor", "question", "edit"],
- modalName: null,
- leftNavigationtitle: '我的功能分组',
- buttonHeight: '',
- address: '',
- drawerList: [{
- "name": "聊天通讯"
- }, ],
- plusDrawerList: [],
- }
- },
- created: function() {
- //uni.setStorageSync('im_show','1');
- },
- onShow() {
-
- },
- methods: {
-
-
- }
- };
- </script>
- <style>
- body {
- font-family: '方正兰亭细黑_GBK';
- font-size: 20px;
- color: silver;
- background: #000;
- }
- @font-face {
- font-family: '方正兰亭细黑_GBK';
- src: url(../../static/fzltxh.TTF);
- }
- page {
- background-color: #1f1f1f;
- font-family: '方正兰亭细黑_GBK';
- overflow-x: hidden;
- }
- .top {
- width: 100%;
- height: 130upx;
- padding-top: 5upx;
- background-color: #1f1f1f;
- position: fixed;
- top: 0px;
- left: 0px;
- z-index: 100;
- }
- .threeLine {
- width: 50px;
- height: 45px;
- float: left;
- }
- .text {
- width: calc(100% - 100px);
- height: 45px;
- float: left;
- user-select: text;
- -webkit-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
- color: silver;
- line-height: 45px;
- margin-top: 11px;
- font-size: 18px;
- }
- .notice {
- width: 50px;
- height: 45px;
- float: left;
- }
- .plus {
- width: 30px;
- height: 45px;
- float: right;
- color: white;
- font-size: 35px;
- line-height: 45px;
- text-align: right;
- margin-right: 2.5%;
- }
- .textWindpowerstation {
- width: 180px;
- height: 45px;
- float: left;
- text-align: center;
- margin-left: 18px;
- }
- .cu-btn {
- width: 80%;
- height: 40px;
- margin-left: 10%;
- margin-top: 25px;
- }
- </style>
|