diff --git a/.env.development b/.env.development
index 512b8b9..b7a3e52 100644
--- a/.env.development
+++ b/.env.development
@@ -9,4 +9,9 @@ VITE_APP_BASE_API = 'https://cloud.ahfkbg.com/'
# VITE_APP_BASE_API = 'https://xj.ahduima.com/'
# 资源地址
-VITE_UPLOAD_URL = 'https://cloud.ahfkbg.com/'
\ No newline at end of file
+VITE_UPLOAD_URL = 'https://cloud.ahfkbg.com/'
+
+# 静态资源地址
+VITE_STATIC_URL = 'https://cloud.ahfkbg.com/gds'
+
+#
\ No newline at end of file
diff --git a/.env.production b/.env.production
index d34ed99..b701f4d 100644
--- a/.env.production
+++ b/.env.production
@@ -11,4 +11,6 @@ VITE_APP_BASE_API = 'https://xj.ahduima.com/'
VITE_WEB_BASE_URL = 'https://xj.ahduima.com'
# 资源地址
-VITE_UPLOAD_URL = 'http://huodong.ahduima.com'
\ No newline at end of file
+VITE_UPLOAD_URL = 'http://huodong.ahduima.com'
+
+VITE_STATIC_URL = 'https://cloud.ahduima.com/gds'
\ No newline at end of file
diff --git a/src/pages.json b/src/pages.json
index 7473b95..2b53875 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -4,65 +4,11 @@
},
"pages": [
{
- "path": "pages/course/index",
+ "path": "pages//index",
"style": {
"navigationStyle": "custom"
}
},
- {
- "path": "pages/choseCity/choseCity",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/me/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/course/chapter",
- "style": {
- "navigationBarTitleText": "章节"
- }
- },
- {
- "path": "pages/course/detail",
- "style": {
- "navigationBarTitleText": "课程详情"
- }
- },
- {
- "path": "pages/me/userInfo",
- "style": {
- "navigationBarTitleText": "个人信息"
- }
- },
- {
- "path": "pages/me/good",
- "style": {
- "navigationBarTitleText": "我的点赞"
- }
- },
- {
- "path": "pages/me/like",
- "style": {
- "navigationBarTitleText": "我的收藏"
- }
- },
- {
- "path": "pages/me/look",
- "style": {
- "navigationBarTitleText": "我的关注"
- }
- },
- {
- "path": "pages/me/login",
- "style": {
- "navigationBarTitleText": "登录"
- }
- }
],
"globalStyle": {
"navigationBarTextStyle": "black",
@@ -70,23 +16,4 @@
"navigationBarBackgroundColor": "#FFF",
"backgroundColor": "#FFF"
},
- "tabBar": {
- "color": "#333",
- "selectedColor": "#18AFFF",
- "backgroundColor": "#FFF",
- "list": [
- {
- "pagePath": "pages/course/index",
- "text": "课程",
- "iconPath": "static/image/tabbar/tab-book.png",
- "selectedIconPath": "static/image/tabbar/tab-book-selected.png"
- },
- {
- "pagePath": "pages/me/index",
- "text": "我的",
- "iconPath": "static/image/tabbar/tab-mine.png",
- "selectedIconPath": "static/image/tabbar/tab-mine-selected.png"
- }
- ]
- }
}
diff --git a/src/pages/choseCity/choseCity.vue b/src/pages/choseCity/choseCity.vue
deleted file mode 100644
index dd58708..0000000
--- a/src/pages/choseCity/choseCity.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/course/chapter.vue b/src/pages/course/chapter.vue
deleted file mode 100644
index 6f27027..0000000
--- a/src/pages/course/chapter.vue
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
- {{ item.chapterIndex }}
- {{ item.chapterName }}
-
-
-
-
-
-
- {{ item.author }}
- {{ item.publicTime }}
-
-
-
-
-
-
-
-
diff --git a/src/pages/course/detail.vue b/src/pages/course/detail.vue
deleted file mode 100644
index 910049c..0000000
--- a/src/pages/course/detail.vue
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/course/index.vue b/src/pages/course/index.vue
deleted file mode 100644
index c160f25..0000000
--- a/src/pages/course/index.vue
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
- 搜索
-
-
-
-
-
-
-
-
- {{ item.lessonName }}
- {{ item.introduction }}
-
-
-
- {{ item.author }}
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
new file mode 100644
index 0000000..23f7996
--- /dev/null
+++ b/src/pages/index/index.vue
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/me/good.vue b/src/pages/me/good.vue
deleted file mode 100644
index 5073de4..0000000
--- a/src/pages/me/good.vue
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item.lessonName }}
-
- {{ item.chapterIndex }}
- {{ item.chapterName }}
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/me/index.vue b/src/pages/me/index.vue
deleted file mode 100644
index dc6e0bf..0000000
--- a/src/pages/me/index.vue
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
- {{ isLogin ? userInfo?.userName : '点击登陆' }}
- {{ isLogin ? userInfo?.phone : '未登录' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 退出登录
-
-
-
-
-
-
-
diff --git a/src/pages/me/like.vue b/src/pages/me/like.vue
deleted file mode 100644
index 0112567..0000000
--- a/src/pages/me/like.vue
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item.lessonName }}
-
- {{ item.chapterIndex }}
- {{ item.chapterName }}
-
-
- {{ item.author }}
- {{ item.publicTime }}
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/me/login.vue b/src/pages/me/login.vue
deleted file mode 100644
index bacea86..0000000
--- a/src/pages/me/login.vue
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
- 授权登录
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/me/look.vue b/src/pages/me/look.vue
deleted file mode 100644
index d051cf0..0000000
--- a/src/pages/me/look.vue
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/me/userInfo.vue b/src/pages/me/userInfo.vue
deleted file mode 100644
index 8df87bc..0000000
--- a/src/pages/me/userInfo.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
- 头像
-
-
-
-
- *
- 昵称
-
-
-
-
- 性别
-
- {{ ['男', '女'][form.sex] || '请选择性别' }}
-
-
-
-
- 生日
-
- {{ form.birthday || '请选择出生日期' }}
-
-
-
-
- 手机号码
- {{ form.phone }}
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
\ No newline at end of file