From bdd2ba79341fb441ef183fc9aa8a488aac7c7181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 14 Oct 2022 17:47:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/baseurl.js | 3 ++- pages/home/home.vue | 47 +++++++++++++++++++++++++++++++++++++++++-- pages/index/index.vue | 4 ++-- 3 files changed, 49 insertions(+), 5 deletions(-) diff --git a/api/baseurl.js b/api/baseurl.js index 63f9696..81a78bf 100644 --- a/api/baseurl.js +++ b/api/baseurl.js @@ -1,4 +1,5 @@ -var baseurl = "http://192.168.43.146:8080"; +var baseurl = "https://kindergarten.xinelu.cn"; +// var baseurl = "http://192.168.16.62:8080"; export default baseurl \ No newline at end of file diff --git a/pages/home/home.vue b/pages/home/home.vue index 7fc46b8..6fbe704 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -9,10 +9,17 @@ 综合得分:{{item.totalFraction}} 时间:{{item.createTime}} - 查看报告 + + + 查看报告 + + + + @@ -30,6 +37,13 @@ yonghuwx: [], studentId: '', StudentScore: [], + show: false, + list: [{ + type: 'error', + icon: false, + title: '查看报告', + message: "暂无报告", + }], } }, onLoad(options) { @@ -38,6 +52,12 @@ this.getStudentScore() }, methods: { + showToast(params) { + this.$refs.uToast.show({ + ...params + }) + }, + lookbook(item) { console.log(item) this.loading = true @@ -98,7 +118,30 @@ } -