| | |
| | | </div> |
| | | </div> |
| | | <div class="send-but-warp"> |
| | | <div class="send-but"> |
| | | <div class="send-but" @click="sendMessage"> |
| | | <svg t="1743144485359" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1261" width="36" height="36"> |
| | | <path fill="#409eff" d="M512 85.333333c234.666667 0 426.666667 192 426.666667 426.666667s-192 426.666667-426.666667 426.666667S85.333333 746.666667 85.333333 512 277.333333 85.333333 512 85.333333z m-6.4 234.666667c-4.266667 2.133333-6.4 2.133333-12.8 8.533333l-153.6 153.6c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l96-96V682.666667c0 17.066667 14.933333 32 32 32s32-14.933333 32-32V430.933333l96 96c12.8 12.8 32 12.8 44.8 0s12.8-32 0-44.8l-153.6-153.6c-6.4-6.4-8.533333-8.533333-12.8-8.533333s-8.533333-2.133333-12.8 0z" p-id="1262"></path> |
| | | </svg> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="open = false" style="width: 100%;" size="medium">登录</el-button> |
| | | </span> |
| | | <el-button type="primary" @click="open = false" style="width: 100%;" size="medium">登录</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | |
| | | name: "LoginView", |
| | | data() { |
| | | return { |
| | | open: false, |
| | | open: true, |
| | | loginForm: { |
| | | username: '', |
| | | pwd: '' |
| | |
| | | <template> |
| | | <div class="index"> |
| | | <div class="common-op"> |
| | | <el-dropdown @command="handleCommand" trigger="click"> |
| | | <span class="el-dropdown-link"> |
| | | <el-dropdown @command="handleCommand" trigger="hover"> |
| | | <span class="el-dropdown-link" style="user-select: none"> |
| | | 张三<i class="el-icon-arrow-down el-icon--right"></i> |
| | | </span> |
| | | <el-dropdown-menu slot="dropdown"> |
| | |
| | | }, |
| | | methods: { |
| | | sessionChange(session, index) { |
| | | console.log("触发了吗") |
| | | this.currentSession = index |
| | | if (this.$router.currentRoute.path !== "/chat") { |
| | | this.$router.push("/chat") |
| | |
| | | position: absolute; |
| | | top: 20px; |
| | | right: 50px; |
| | | z-index: 10; |
| | | } |
| | | .setting { |
| | | margin-top: 20px; |