wip
This commit is contained in:
		
							parent
							
								
									89eeeeff58
								
							
						
					
					
						commit
						6d07156b21
					
				
					 3 changed files with 84 additions and 58 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| <template> | ||||
| <div> | ||||
| 	<MkHeader :info="header"/> | ||||
| 	<div class="uqshojas"> | ||||
| 	<MkButton @click="add()" primary style="margin: 0 auto 16px auto;"><i class="fas fa-plus"></i> {{ $ts.add }}</MkButton> | ||||
| 		<section class="_card _gap ads" v-for="ad in ads"> | ||||
| 			<div class="_content ad"> | ||||
| 				<MkAd v-if="ad.url" :specify="ad"/> | ||||
|  | @ -39,6 +40,7 @@ | |||
| 			</div> | ||||
| 		</section> | ||||
| 	</div> | ||||
| </div> | ||||
| </template> | ||||
| 
 | ||||
| <script lang="ts"> | ||||
|  | @ -67,6 +69,17 @@ export default defineComponent({ | |||
| 				icon: 'fas fa-audio-description', | ||||
| 				bg: 'var(--bg)', | ||||
| 			}, | ||||
| 			header: { | ||||
| 				title: this.$ts.ads, | ||||
| 				icon: 'fas fa-audio-description', | ||||
| 				bg: 'var(--bg)', | ||||
| 				actions: [{ | ||||
| 					asFullButton: true, | ||||
| 					icon: 'fas fa-plus', | ||||
| 					text: this.$ts.add, | ||||
| 					handler: this.add, | ||||
| 				}], | ||||
| 			}, | ||||
| 			ads: [], | ||||
| 		} | ||||
| 	}, | ||||
|  |  | |||
|  | @ -1,6 +1,8 @@ | |||
| <template> | ||||
| <div> | ||||
| 	<MkHeader :info="header"/> | ||||
| 
 | ||||
| 	<div class="ztgjmzrw"> | ||||
| 	<MkButton @click="add()" primary style="margin: 0 auto 16px auto;"><i class="fas fa-plus"></i> {{ $ts.add }}</MkButton> | ||||
| 		<section class="_card _gap announcements" v-for="announcement in announcements"> | ||||
| 			<div class="_content announcement"> | ||||
| 				<MkInput v-model="announcement.title"> | ||||
|  | @ -20,6 +22,7 @@ | |||
| 			</div> | ||||
| 		</section> | ||||
| 	</div> | ||||
| </div> | ||||
| </template> | ||||
| 
 | ||||
| <script lang="ts"> | ||||
|  | @ -46,6 +49,17 @@ export default defineComponent({ | |||
| 				icon: 'fas fa-broadcast-tower', | ||||
| 				bg: 'var(--bg)', | ||||
| 			}, | ||||
| 			header: { | ||||
| 				title: this.$ts.announcements, | ||||
| 				icon: 'fas fa-broadcast-tower', | ||||
| 				bg: 'var(--bg)', | ||||
| 				actions: [{ | ||||
| 					asFullButton: true, | ||||
| 					icon: 'fas fa-plus', | ||||
| 					text: this.$ts.add, | ||||
| 					handler: this.add, | ||||
| 				}], | ||||
| 			}, | ||||
| 			announcements: [], | ||||
| 		} | ||||
| 	}, | ||||
|  |  | |||
|  | @ -235,7 +235,6 @@ export default defineComponent({ | |||
| 		> .main { | ||||
| 			flex: 1; | ||||
| 			min-width: 0; | ||||
| 			overflow: auto; | ||||
| 			--baseContentWidth: 100%; | ||||
| 		} | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue