mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 15:11:06 +03:30
newui
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
<template>
|
||||
<div id="">
|
||||
<v-container >
|
||||
<material-card class color="black" title="New Message" text>
|
||||
<!-- <v-card> -->
|
||||
|
||||
<!-- <v-card-title>
|
||||
<span class="headline"></span>
|
||||
</v-card-title> -->
|
||||
<v-layout wrap class="px-4 mb-3">
|
||||
<!-- <v-toolbar-title>Search User</v-toolbar-title> -->
|
||||
<v-flex xs12 sm12 md12>
|
||||
<v-autocomplete
|
||||
v-model="model"
|
||||
:items="items"
|
||||
:loading="loading"
|
||||
:search-input.sync="search"
|
||||
label="Search"
|
||||
persistent-hint
|
||||
prepend-icon="fas fa-search"
|
||||
color="black"
|
||||
>
|
||||
</v-autocomplete>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
<v-card-text>
|
||||
<v-container grid-list-md>
|
||||
<v-flex xs12 sm12 md12>
|
||||
<v-textarea
|
||||
name="input-7-1"
|
||||
color="black"
|
||||
label="Default style"
|
||||
value="The Woodman set to work at once, and so sharp was his axe that the tree was soon chopped nearly through."
|
||||
hint="Hint text"
|
||||
></v-textarea>
|
||||
</v-flex>
|
||||
</v-container>
|
||||
</v-card-text>
|
||||
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-layout row wrap>
|
||||
<v-btn color="pink" class="WM-ActionButton text-lg-left">
|
||||
<v-icon class="white--text mr-2 caption">fas fa-times</v-icon>
|
||||
<span>Cancel</span>
|
||||
</v-btn>
|
||||
<v-btn color="black" class="mr-2 WM-ActionButton">
|
||||
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
|
||||
<span>Send</span>
|
||||
</v-btn>
|
||||
</v-layout>
|
||||
</v-card-actions>
|
||||
<!-- </v-card> -->
|
||||
</v-layout>
|
||||
</material-card>
|
||||
</v-container>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
loading: false,
|
||||
items: [],
|
||||
search: null,
|
||||
select: null,
|
||||
states: [
|
||||
'Ali',
|
||||
'Fatemeh',
|
||||
'Mohsen',
|
||||
'Sara',
|
||||
|
||||
]
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
search (val) {
|
||||
val && val !== this.select && this.querySelections(val)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
querySelections (v) {
|
||||
this.loading = true
|
||||
// Simulated ajax query
|
||||
setTimeout(() => {
|
||||
this.items = this.states.filter(e => {
|
||||
return (e || '').toLowerCase().indexOf((v || '').toLowerCase()) > -1
|
||||
})
|
||||
this.loading = false
|
||||
}, 500)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
@@ -0,0 +1,72 @@
|
||||
<template>
|
||||
<div id="">
|
||||
<v-container >
|
||||
<material-card class color="black" title="Show Message" text max-width="600px">
|
||||
<v-layout row wrap>
|
||||
<v-flex xs12>
|
||||
<div class="mx-2 my-3">
|
||||
<span class="Chat White">Listen to your favorite artists and albums.</span>
|
||||
</div>
|
||||
<div class="mx-2 my-3" style="float:right">
|
||||
<span class="Chat Cyan ">Listen to your favorite artists and albums.</span>
|
||||
</div>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
<v-card-text>
|
||||
<v-container grid-list-md>
|
||||
<h5>Send Message</h5>
|
||||
<v-flex xs12 sm12 md12>
|
||||
<v-textarea
|
||||
name="input-7-1"
|
||||
color="black"
|
||||
label="Default style"
|
||||
value="The Woodman set to work at once, and so sharp was his axe that the tree was soon chopped nearly through."
|
||||
hint="Hint text"
|
||||
></v-textarea>
|
||||
</v-flex>
|
||||
</v-container>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-layout row wrap>
|
||||
<v-btn color="pink" class="WM-ActionButton text-lg-left">
|
||||
<v-icon class="white--text mr-2 caption">fas fa-times</v-icon>
|
||||
<span>Cancel</span>
|
||||
</v-btn>
|
||||
<v-btn color="black" class="mr-2 WM-ActionButton">
|
||||
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
|
||||
<span>Send</span>
|
||||
</v-btn>
|
||||
</v-layout>
|
||||
</v-card-actions>
|
||||
<!-- </v-card> -->
|
||||
</v-layout>
|
||||
</material-card>
|
||||
</v-container>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: "",
|
||||
data: () => ({
|
||||
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.Chat {
|
||||
|
||||
padding: 10px 15px;
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.Chat.Cyan {
|
||||
background: cornflowerblue;
|
||||
box-shadow: 5px 15px 20px rgba(0,0,0,.2)
|
||||
}
|
||||
.Chat.White {
|
||||
background: #fff;
|
||||
color:black;
|
||||
box-shadow: 5px 15px 20px rgba(0,0,0,.2)
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user