@@ -10,7 +10,7 @@
:key="index"
class="styleListBoxItme"
>
-
+
样式风格
@@ -25,7 +25,7 @@ import { ref, reactive } from "vue";
import { voiceTotalApi } from "../../api/login.js";
//#endregion
-//#region
+//#region 列表加载
const styleList = ref([0, 1, 2, 3, 4, 5, 6, 7]);
const scrolltolower = () => {
loadmore();
@@ -36,8 +36,12 @@ const loadmore = () => {
};
//#endregion ---------------------
-//#region
-
+//#region 点击图片
+function createPhoto() {
+ uni.redirectTo({
+ url: "/pages/closeStyle/goCreatePhoto",
+ });
+}
//#endregion ---------------------
diff --git a/src/pages/closeStyle/goCreatePhoto.vue b/src/pages/closeStyle/goCreatePhoto.vue
new file mode 100644
index 0000000..81307fd
--- /dev/null
+++ b/src/pages/closeStyle/goCreatePhoto.vue
@@ -0,0 +1,58 @@
+
+
+
+ 风格名称
+
+ 金币余额: 30
+
+
+
+
+
+
diff --git a/src/pages/createing/index.vue b/src/pages/createing/index.vue
new file mode 100644
index 0000000..946ec73
--- /dev/null
+++ b/src/pages/createing/index.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 写真生成中,预计用时X分X秒
+ 做好后通知我
+
+
+
+
+ 点击查看高清写真
+
+
+
+
+
+
+
+
diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue
index c3cbf68..628f342 100644
--- a/src/pages/home/index.vue
+++ b/src/pages/home/index.vue
@@ -4,7 +4,7 @@
-
+
@@ -23,7 +23,7 @@
@click="clickTabHandle"
>
-
+
风格名称
@@ -41,7 +41,7 @@
-
+
@@ -52,7 +52,7 @@
-
+
名称
时间
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index cd79280..173ed00 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -45,12 +45,12 @@ const checkboxList1 = reactive([
function toCreate() {
if (checkboxValue1.value[0]) {
handleLogin();
- // uni.redirectTo({
- // url: "/pages/uploadPhoto/uploadPhoto",
- // });
+ uni.redirectTo({
+ url: "/pages/uploadPhoto/uploadPhoto",
+ });
} else {
uni.showToast({
- title: "请先勾选",
+ title: "请先同意用户协议",
icon: "none",
});
}
diff --git a/src/pages/uploadPhoto/uploadPhoto.vue b/src/pages/uploadPhoto/uploadPhoto.vue
index f106123..65ddb70 100644
--- a/src/pages/uploadPhoto/uploadPhoto.vue
+++ b/src/pages/uploadPhoto/uploadPhoto.vue
@@ -36,7 +36,7 @@
type="primary"
text="上传我的照片"
color="linear-gradient(to right, rgb(66, 83, 216), rgb(213, 51, 186))"
- @click="toCreate"
+ @click="toCloseStyle"
>
请按照样片上传您五官清晰的正面照片
@@ -75,6 +75,19 @@ function chooseImage() {
});
}
+function toCloseStyle() {
+ if (showImgUrl.value) {
+ uni.redirectTo({
+ url: "/pages/closeStyle/closeStyle",
+ });
+ } else {
+ uni.showToast({
+ title: "请先上传图片",
+ icon: "none",
+ });
+ }
+}
+
//#endregion ---------------------
//#region