qa-regulatory-gwj-app/pages/login/updateTool/forget.vue

51 lines
1.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<template>
<view>
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
<block slot="content">管理系统</block>
</cu-custom>
<view class="register">
<view class="reg-form">
<view class="title">后台地址</view>
<view class="reg-input">
<input v-model="upBasePath" placeholder="请输入后台地址" name="upBasePath"></input>
</view>
</view>
</view>
<view class="cu-bar btn-group" style="margin-top: 30rpx;">
<button class="cu-btn bg-blue margin-tb-sm lg" @click="goSubmit()">提交</button>
<button class="cu-btn bg-green margin-tb-sm lg" @click="goback()">返回</button>
</view>
<view class="padding flex flex-direction"></view>
</view>
</template>
<script>
import { requestPath, setBasePath } from '@/utils/request.js';
export default {
data() {
return {
upBasePath: requestPath
}
},
methods: {
goSubmit() {
var that = this
setBasePath(that.upBasePath);
uni.setStorageSync("upBasePath", that.upBasePath);
that.goback()
},
goback() {
uni.navigateTo({
url: '/pages/login/login',
});
},
}
}
</script>
<style>
page {
background-color: #FFFFFF;
}
</style>