Commit 1896e710 by LJM

css

parent 061d35d5
Showing with 7 additions and 1 deletions
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<text class="iconfont icon-a-juxingbeifen14"></text> <text class="iconfont icon-a-juxingbeifen14"></text>
</view> </view>
</template> </template>
<view class="btn row rowCenter verCenter">{{ curr == 0 ? '登录/注册' : '登录' }}</view> <view class="btn row rowCenter verCenter" @click="submit()">{{ curr == 0 ? '登录/注册' : '登录' }}</view>
<view class="row forget"><navigator url="/forget">忘记密码</navigator></view> <view class="row forget"><navigator url="/forget">忘记密码</navigator></view>
<view class="agreement row rowCenter verCenter"> <view class="agreement row rowCenter verCenter">
<text class="t1">登录即代表您同意</text> <text class="t1">登录即代表您同意</text>
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
</template> </template>
<script> <script>
import { Ichunt_Api, Api_Url } from '@/util/api.js';
export default { export default {
data() { data() {
return { return {
...@@ -85,6 +86,11 @@ export default { ...@@ -85,6 +86,11 @@ export default {
}, },
tab(index) { tab(index) {
this.curr = index; this.curr = index;
},
submit() {
this.request(Api_Url + '/login/action', 'GET', {}).then(res => {
console.log(res);
});
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment