|
|
@@ -6,8 +6,9 @@
|
|
|
<c-input placeholder="密码"></c-input>
|
|
|
<div class="button-area">
|
|
|
<c-button @click.native="handleSubmit">确认</c-button>
|
|
|
- <c-button class="help-button">帮助</c-button>
|
|
|
+ <c-button class="secondary">帮助</c-button>
|
|
|
</div>
|
|
|
+ <background></background>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -15,8 +16,9 @@
|
|
|
<script>
|
|
|
import CInput from '@/components/CInput'
|
|
|
import CButton from '@/components/CButton'
|
|
|
+import Background from '@/components/Background'
|
|
|
export default {
|
|
|
- components: { CButton, CInput },
|
|
|
+ components: { CButton, CInput, Background },
|
|
|
methods: {
|
|
|
handleSubmit () {
|
|
|
this.$router.push('/teacher')
|
|
|
@@ -62,18 +64,4 @@ h1 {
|
|
|
margin: 0 8px;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-.help-button {
|
|
|
- $background-color: #e6e8ea;
|
|
|
- background: #e6e8ea;
|
|
|
- color: #3a4a5a;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background: darken($background-color, 5);
|
|
|
- }
|
|
|
-
|
|
|
- &:active {
|
|
|
- background: darken($background-color, 10);
|
|
|
- }
|
|
|
-}
|
|
|
</style>
|