diff --git a/components/my-login/my-login.vue b/components/my-login/my-login.vue
deleted file mode 100755
index 90e7bdc..0000000
--- a/components/my-login/my-login.vue
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
- 登录后尽享更多权益
-
-
-
-
-
-
diff --git a/components/my-search/my-search.vue b/components/my-search/my-search.vue
deleted file mode 100755
index 45d1870..0000000
--- a/components/my-search/my-search.vue
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
- 请选择演练场景
-
-
-
-
-
- 搜索场景
-
-
-
-
-
-
-
-
diff --git a/pages.json b/pages.json
index 0029a9d..6a3c6a6 100644
--- a/pages.json
+++ b/pages.json
@@ -38,6 +38,14 @@
"navigationBarTextStyle": "black",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path" : "login/login",
+ "style" :
+ {
+ "navigationBarTitleText" : "",
+ "enablePullDownRefresh" : false
+ }
}]
}],
"globalStyle": {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 6f148d2..45b4694 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -6,16 +6,13 @@
-
-
+
@@ -23,7 +20,9 @@
diff --git a/pages/my/my.vue b/pages/my/my.vue
index fc39b09..d7c09cf 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -25,7 +25,7 @@
-
+
@@ -39,7 +39,7 @@
- {{item.name}}
+ {{item.name}}
@@ -53,7 +53,7 @@
export default {
data() {
return {
- avatarUrl :"http://localhost:85/profile//2024/01/18/6147d64a3b94d7b3d3cc35aaf8cbfe06.png",
+ avatarUrl : uni.$http.baseUrl+"/profile//2024/01/18/6147d64a3b94d7b3d3cc35aaf8cbfe06.png",
//轮播图数据列表
swiperList: [],
//主页功能列表
@@ -85,12 +85,12 @@
const {
data: res
- } = await uni.$http.post('/small/customImage/listAll')
+ } = await uni.$http.post('/small/customImage/listAll',{page:"my"})
if (!res.success) return uni.$showMsg()
res.data.forEach(item=>{
- //item.uploadPath = uni.$http.baseUrl +item.uploadPath
- //this.swiperList.push(item.uploadPath)
+ item.uploadPath = uni.$http.baseUrl +item.uploadPath
+ this.swiperList.push(item.uploadPath)
})
uni.$showMsg('数据请求成功!')
},
@@ -105,7 +105,6 @@
item.uploadPath = uni.$http.baseUrl +item.uploadPath
})
this.functionList = res.data;
- this.swiperList.push("http://localhost:85/profile//2024/01/18/d8796bd0b80cfbba38585c3462405022.jpeg")
uni.$showMsg('数据请求成功!')
}
},
diff --git a/subpkg/list/list.vue b/subpkg/list/list.vue
index 2fc01d0..0e1ee8e 100644
--- a/subpkg/list/list.vue
+++ b/subpkg/list/list.vue
@@ -21,7 +21,7 @@
-
+
@@ -106,13 +106,14 @@
}
}
.nav-list {
- display: flex;
justify-content: space-around;
- margin: 15px 0;
+ margin: 12px 0;
.nav-img {
- width: 328rpx;
+ width: 100%;
height: 140rpx;
+ margin-bottom: 10rpx;
+ border-radius: 10px;
}
}
diff --git a/subpkg/login/login.vue b/subpkg/login/login.vue
new file mode 100644
index 0000000..a458e6a
--- /dev/null
+++ b/subpkg/login/login.vue
@@ -0,0 +1,110 @@
+
+
+
+
+ 登录后尽享更多权益
+
+
+
+
+
+