1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <template>
- <div class="img">
- <div style="width: 100%;height: 200px;"></div>
- <div style="text-align: center;">
- <image src="../../static/cg.png" style=" height: 150px; width: 150px; background-size: 100%,100%;"></image>
- </div>
- <br>
- <br>
- <br>
- <div style="text-align: center;">
- <h2 style="color: #FFFFFF;">成功 !</h2>
- </div>
- <br>
- <div style="text-align: center;">
- <span style="color: #FFFFFF;">您已成功更改密码, 登录时请用新密码</span>
- </div>
- <br>
- <br>
- <br>
- <br>
- <button style="background-color: #FFFFFF; width: 50%;" @click="log()">马上登录</button>
- <div style="width: 100%;height: 150px;"></div>
- </div>
- </template>
- <script>
- import api from "@/api/api";
- export default {
- data() {
- return {
-
- }
- },
- created() {
- api.logout().then(res=>{
- uni.clearStorageSync()
- store.commit('SET_TOKEN',"");
- })
- },
- methods:{
-
- log:function(){
-
- uni.navigateTo({
- url:'/pages/login/login'
- })
- }
- }
- }
- </script>
- <style>
- .img{
- background-color: #0077AA;
- /* background: url(../../static/suc.jpeg) no-repeat;
- background-size:100% 100%; */
-
- }
- </style>
|