diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
new file mode 100644
index 0000000..5e2090f
--- /dev/null
+++ b/.hbuilderx/launch.json
@@ -0,0 +1,16 @@
+{
+ "version" : "1.0",
+ "configurations" : [
+ {
+ "playground" : "standard",
+ "type" : "uni-app:app-android"
+ },
+ {
+ "app-plus" :
+ {
+ "launchtype" : "local"
+ },
+ "type" : "uniCloud"
+ }
+ ]
+}
diff --git a/api/index.js b/api/index.js
new file mode 100644
index 0000000..8d9a65c
--- /dev/null
+++ b/api/index.js
@@ -0,0 +1,28 @@
+import http from "./interface";
+
+const sendCode = (data) => {
+ return http.request({
+ url: "/api/staff/send",
+ method: "POST",
+ data,
+ });
+};
+const login = (data) => {
+ return http.request({
+ url: "/api/staff/login",
+ method: "POST",
+ data,
+ });
+};
+const qrCodeInfo = (data) => {
+ return http.request({
+ url: "/api/smart/appointment/get/ticket/info",
+ method: "POST",
+ data,
+ });
+};
+export default {
+ sendCode,
+ login,
+ qrCodeInfo,
+};
diff --git a/api/interface.js b/api/interface.js
index f0e0e7f..19df17f 100644
--- a/api/interface.js
+++ b/api/interface.js
@@ -4,7 +4,7 @@
*/
export default {
config: {
- baseUrl: "https://warehouse.szjixun.cn", //"http://172.16.100.93:8017", //"http://192.168.88.175:9021",//'https://warehouse.szjixun.cn'
+ baseUrl: "https://warehouse.szjixun.cn/ticket", //"http://172.16.100.93:9051", //"http://192.168.88.175:9021",//'https://warehouse.szjixun.cn'
header: {
"Content-Type": "application/json;charset=UTF-8",
// 'Content-Type':'application/x-www-form-urlencoded'
diff --git a/components/mumu-getQrcode/mumu-getQrcode.vue b/components/mumu-getQrcode/mumu-getQrcode.vue
index 4f1aa0c..0b6a262 100644
--- a/components/mumu-getQrcode/mumu-getQrcode.vue
+++ b/components/mumu-getQrcode/mumu-getQrcode.vue
@@ -275,26 +275,26 @@ page {
height: 100vh;
position: relative;
- background-image: linear-gradient(0deg,
- transparent 24%,
- rgba(32, 255, 77, 0.1) 25%,
- rgba(32, 255, 77, 0.1) 26%,
- transparent 27%,
- transparent 74%,
- rgba(32, 255, 77, 0.1) 75%,
- rgba(32, 255, 77, 0.1) 76%,
- transparent 77%,
- transparent),
- linear-gradient(90deg,
- transparent 24%,
- rgba(32, 255, 77, 0.1) 25%,
- rgba(32, 255, 77, 0.1) 26%,
- transparent 27%,
- transparent 74%,
- rgba(32, 255, 77, 0.1) 75%,
- rgba(32, 255, 77, 0.1) 76%,
- transparent 77%,
- transparent);
+ // background-image: linear-gradient(0deg,
+ // transparent 24%,
+ // rgba(32, 255, 77, 0.1) 25%,
+ // rgba(32, 255, 77, 0.1) 26%,
+ // transparent 27%,
+ // transparent 74%,
+ // rgba(32, 255, 77, 0.1) 75%,
+ // rgba(32, 255, 77, 0.1) 76%,
+ // transparent 77%,
+ // transparent),
+ // linear-gradient(90deg,
+ // transparent 24%,
+ // rgba(32, 255, 77, 0.1) 25%,
+ // rgba(32, 255, 77, 0.1) 26%,
+ // transparent 27%,
+ // transparent 74%,
+ // rgba(32, 255, 77, 0.1) 75%,
+ // rgba(32, 255, 77, 0.1) 76%,
+ // transparent 77%,
+ // transparent);
background-size: 3rem 3rem;
background-position: -1rem -1rem;
z-index: 10;
diff --git a/main.js b/main.js
index 5e5563c..b769783 100644
--- a/main.js
+++ b/main.js
@@ -1,6 +1,6 @@
import App from "./App";
import uviewPlus from "uview-plus";
-
+import request from "./api/index";
// #ifndef VUE3
import Vue from "vue";
@@ -19,6 +19,7 @@ import { createSSRApp } from "vue";
export function createApp() {
const app = createSSRApp(App);
app.use(uviewPlus);
+ app.config.globalProperties.$request = request;
uni.$u.config.unit = "rpx";
return {
app,
diff --git a/pages/check/index.vue b/pages/check/index.vue
index aa5e39c..b6da0cd 100644
--- a/pages/check/index.vue
+++ b/pages/check/index.vue
@@ -1,14 +1,15 @@
-
diff --git a/pages/persomInfo/index.vue b/pages/persomInfo/index.vue
index 2072d1a..ee091fa 100644
--- a/pages/persomInfo/index.vue
+++ b/pages/persomInfo/index.vue
@@ -52,7 +52,22 @@