diff --git a/src/App.vue b/src/App.vue
index a3d1928..8d4f6eb 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -8,7 +8,7 @@ export default {
onShow: function () {
// #ifndef MP-WEIXIN
const UserStore = useUserStore();
- if (!UserStore.isLogin) {
+ if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0) {
toPage('/pages/login/index');
}
// #endif
diff --git a/src/api/system/index.js b/src/api/system/index.js
index 8968ca7..a561d0e 100644
--- a/src/api/system/index.js
+++ b/src/api/system/index.js
@@ -404,6 +404,13 @@ const system = {
data: data
});
},
+ getPoster: async (data) => {
+ return request({
+ method: MethodsENUM.POST,
+ url: "/user/getPoster",
+ data: data
+ });
+ },
}
export default system;
diff --git a/src/pages/InviteFriends/Poster.vue b/src/pages/InviteFriends/Poster.vue
new file mode 100644
index 0000000..ef24fed
--- /dev/null
+++ b/src/pages/InviteFriends/Poster.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/InviteFriends/index.vue b/src/pages/InviteFriends/index.vue
index 27c03fa..73663af 100644
--- a/src/pages/InviteFriends/index.vue
+++ b/src/pages/InviteFriends/index.vue
@@ -1,17 +1,107 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ swiperCur=current"
+ :current="swiperCur"
+ circular>
+
+
+
+
+
+
+
+
+
+ 提示:
+
+ 长摁图片保存到本地
-
diff --git a/src/pages/register/index.vue b/src/pages/register/index.vue
index fa38f6b..565a7f2 100644
--- a/src/pages/register/index.vue
+++ b/src/pages/register/index.vue
@@ -6,6 +6,7 @@ import XInput from "../../components/XInput.vue";
import SendMsg from "../../components/SendMsg.vue";
import Api from "../../api/index.js";
import {showToast, toPage, verifyForm} from "../../utils/uils.js";
+import {onLoad} from "@dcloudio/uni-app";
const form = reactive({
wechat: null,
@@ -47,6 +48,11 @@ const success = async () => {
showToast(msg);
await toPage(`/pages/login/index?showWX=1`);
}
+
+onLoad((options) => {
+ const {invite} = options;
+ form.invite = invite;
+})
diff --git a/src/pages/taskDetails/components/MyBackfill.vue b/src/pages/taskDetails/components/MyBackfill.vue
index 8c4e3e1..53b1a9c 100644
--- a/src/pages/taskDetails/components/MyBackfill.vue
+++ b/src/pages/taskDetails/components/MyBackfill.vue
@@ -87,8 +87,7 @@ onMounted(() => {
回填时间:
- {{ dayjs(data.task_content[current].start_time).format('YYYY-MM-DD HH:mm') }} 至
- {{ dayjs(data.task_content[current].end_time).format('YYYY-MM-DD HH:mm') }}
+ {{ data.children.back[current].time }}
diff --git a/src/static/icons/SHOU.png b/src/static/icons/SHOU.png
new file mode 100644
index 0000000..5531cc2
Binary files /dev/null and b/src/static/icons/SHOU.png differ
diff --git a/src/static/images/HB1.png b/src/static/images/HB1.png
new file mode 100644
index 0000000..cb9c773
Binary files /dev/null and b/src/static/images/HB1.png differ
diff --git a/src/static/images/HB2.png b/src/static/images/HB2.png
new file mode 100644
index 0000000..5f4790e
Binary files /dev/null and b/src/static/images/HB2.png differ
diff --git a/src/static/images/LMK.png b/src/static/images/LMK.png
new file mode 100644
index 0000000..858f90c
Binary files /dev/null and b/src/static/images/LMK.png differ
diff --git a/src/static/images/LXHB.png b/src/static/images/LXHB.png
new file mode 100644
index 0000000..9cf04b7
Binary files /dev/null and b/src/static/images/LXHB.png differ
diff --git a/src/static/images/TITLEBG.png b/src/static/images/TITLEBG.png
new file mode 100644
index 0000000..2764edd
Binary files /dev/null and b/src/static/images/TITLEBG.png differ
diff --git a/src/static/images/WS.png b/src/static/images/WS.png
new file mode 100644
index 0000000..4e72ade
Binary files /dev/null and b/src/static/images/WS.png differ
diff --git a/src/static/images/YQBX.png b/src/static/images/YQBX.png
new file mode 100644
index 0000000..3e14ad9
Binary files /dev/null and b/src/static/images/YQBX.png differ
diff --git a/src/utils/request.js b/src/utils/request.js
index 5d8ed8b..72ccfa5 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -34,7 +34,8 @@ request.interceptors.request.use(
config.headers['Access-Token'] = token;
}
- console.log(`请求拦截器${config.url}`, config.data);
+ console.log(`请求拦截器1${config.url}`, config);
+ console.log(`请求拦截器2${config.url}`, config.data);
if (!config.UN_AES) {
const {context, iv} = AESCrypto.encrypt(JSON.stringify(config.data));
diff --git a/src/utils/uils.js b/src/utils/uils.js
index a2ec48e..8ac503e 100644
--- a/src/utils/uils.js
+++ b/src/utils/uils.js
@@ -177,7 +177,6 @@ export const uploadFile = ({count}) => {
}
export const verifyForm = (model, rules) => {
- console.log('进来了')
Object.entries(model).forEach(([key, value]) => {
console.log(rules[key], key, value)
if (rules[key]) {