| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <template>
- <div class="modalTitle">
- <span>
- {{ title }}
- </span>
- <i style="font-size: 20px;" class="el-icon-full-screen" @click="fullscreen"></i>
- </div>
- </template>
- <script>
- export default {
- components: {},
- props:{
- title:""
- },
- data() {
- return {
-
- };
- },
- methods:{
- fullscreen(){
- this.$emit('setFullscreen')
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- .modalTitle{
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 16px;
- i{
- margin-right: 15px;
- cursor: pointer;
- }
- }
- </style>
|