|
|
@ -2,16 +2,16 @@ |
|
|
|
* @Author: aBin |
|
|
|
* @email: binbin0314@126.com |
|
|
|
* @Date: 2021-07-19 10:09:22 |
|
|
|
* @LastEditors: Please set LastEditors |
|
|
|
* @LastEditTime: 2021-07-19 18:51:34 |
|
|
|
* @LastEditors: aBin |
|
|
|
* @LastEditTime: 2021-07-20 11:55:27 |
|
|
|
--> |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<view :style="{ height: height }" class="flex flex-col overflow-hidden"> |
|
|
|
<Title /> |
|
|
|
<view class="flex flex-col flex-1 container bg-gray-100"> |
|
|
|
<Roles /> |
|
|
|
<view class="container bg-gray-100"> |
|
|
|
<Globals class="p-4" /> |
|
|
|
<TimeLine /> |
|
|
|
<TimeLine class="flex-1" /> |
|
|
|
<!-- <view class="mt-5"> |
|
|
|
<view class="mt-5"> |
|
|
|
<u-button type="primary" size="default" @click="$u.route('/pages/plugin-test/plugin-test')">iframe 验证</u-button> |
|
|
@ -38,12 +38,16 @@ import TimeLine from 'components/TimeLine/index.vue'; |
|
|
|
export default { |
|
|
|
components: { Globals, TimeLine, Roles, Title }, |
|
|
|
data() { |
|
|
|
return { title: 'Hello' }; |
|
|
|
return { title: 'Hello', height: '' }; |
|
|
|
}, |
|
|
|
onLoad() { |
|
|
|
console.log(this.$u.config.v); |
|
|
|
// this.openPage(); |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.height = window.screen.height + 'px'; |
|
|
|
console.log(this.height); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
openPage() { |
|
|
|
console.log('open'); |
|
|
|