Commit c8f36146 by xinla

Merge remote-tracking branch 'origin/front_end_1.5' into front_end_dev_2.0

2 parents e5fc15c5 c6d86bf3
...@@ -49,7 +49,6 @@ export default { ...@@ -49,7 +49,6 @@ export default {
}, },
//停止播放 //停止播放
stop(noset) { stop(noset) {
console.log(1)
if (this.$playRec && this.$playRec.isPlaying()) { if (this.$playRec && this.$playRec.isPlaying()) {
this.$playRec.stop() this.$playRec.stop()
if (!noset || this.__proto__.$playRecSymbole === this.amrUrl) { if (!noset || this.__proto__.$playRecSymbole === this.amrUrl) {
......
...@@ -8,7 +8,12 @@ ...@@ -8,7 +8,12 @@
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">LinkWeChat</h3> <h3 class="title">LinkWeChat</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号"> <el-input
v-model="loginForm.username"
type="text"
auto-complete="off"
placeholder="账号"
>
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
</el-input> </el-input>
</el-form-item> </el-form-item>
...@@ -37,8 +42,13 @@ ...@@ -37,8 +42,13 @@
<img :src="codeUrl" @click="getCode" class="login-code-img" /> <img :src="codeUrl" @click="getCode" class="login-code-img" />
</div> </div>
</el-form-item> </el-form-item>
<el-checkbox class="fr" v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox> <el-checkbox class="fr" v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;"
<el-checkbox v-model="isDemonstrationLogin" @change="changeDemonAccount" style="margin:0px 0px 25px 0px;" >记住密码</el-checkbox
>
<el-checkbox
v-model="isDemonstrationLogin"
@change="changeDemonAccount"
style="margin:0px 0px 25px 0px;"
>演示账号登录</el-checkbox >演示账号登录</el-checkbox
> >
<el-form-item style="width:100%;"> <el-form-item style="width:100%;">
...@@ -53,7 +63,7 @@ ...@@ -53,7 +63,7 @@
<span v-else>登 录 中...</span> <span v-else>登 录 中...</span>
</el-button> </el-button>
</el-form-item> </el-form-item>
<el-form-item class="ac" v-if="authLink"> <!-- <el-form-item class="ac" v-if="authLink">
<a :href="authLink"> <a :href="authLink">
<img <img
src="//wwcdn.weixin.qq.com/node/wwopen/wwopenmng/style/images/independent/brand/300x40_white$4dab5411.png" src="//wwcdn.weixin.qq.com/node/wwopen/wwopenmng/style/images/independent/brand/300x40_white$4dab5411.png"
...@@ -63,7 +73,7 @@ ...@@ -63,7 +73,7 @@
alt="企业微信登录" alt="企业微信登录"
/> />
</a> </a>
</el-form-item> </el-form-item> -->
</el-form> </el-form>
</div> </div>
</div> </div>
...@@ -159,7 +169,7 @@ export default { ...@@ -159,7 +169,7 @@ export default {
}, },
methods: { methods: {
getCode() { getCode() {
getCodeImg().then((res) => { getCodeImg().then(res => {
this.codeUrl = 'data:image/gif;base64,' + res.img this.codeUrl = 'data:image/gif;base64,' + res.img
this.loginForm.uuid = res.uuid this.loginForm.uuid = res.uuid
}) })
...@@ -175,7 +185,7 @@ export default { ...@@ -175,7 +185,7 @@ export default {
} }
}, },
handleLogin() { handleLogin() {
this.$refs.loginForm.validate((valid) => { this.$refs.loginForm.validate(valid => {
if (valid) { if (valid) {
this.loading = true this.loading = true
if (this.loginForm.rememberMe) { if (this.loginForm.rememberMe) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!