diff --git a/api/apiT.js b/api/apiT.js
index 39c8386..48a36e4 100644
--- a/api/apiT.js
+++ b/api/apiT.js
@@ -1,6 +1,6 @@
// const baseUrl = "https://api.collect.hs.hnzhwlkj.club/"; //这里放置url域名32044
// const baseUrl = "https://api.collect.xyh.muzili.top/"; //这里放置url域名32044
-const baseUrl = "https://bsh.info.hb.hnzhwlkj.cn/"; //这里放置url域名32044
+const baseUrl = "https://cb.hnxinyouhe.com/"; //这里放置url域名32044
// const baseUrl = "https://114.215.24.240:8106/api/v1/"; //这里放置url域名32044
export function request(options){//封装的requset
let { url,data,method } = options;
diff --git a/common/locales/en.js b/common/locales/en.js
index 69de3a8..3970e1c 100644
--- a/common/locales/en.js
+++ b/common/locales/en.js
@@ -4,7 +4,7 @@ export default {
home: 'home',
square: 'square',
publish: 'publish',
- message: 'message',
+ classify: 'classify',
mine: 'mine'
},
navbar: {
diff --git a/common/locales/zh.js b/common/locales/zh.js
index c92e3fc..34d2a06 100644
--- a/common/locales/zh.js
+++ b/common/locales/zh.js
@@ -4,7 +4,7 @@ export default {
home: '首页',
square: '广场',
publish: '发布',
- message: '消息',
+ classify: '分类',
mine: '我的'
},
navbar: {
diff --git a/components/ClassifyCard.vue b/components/ClassifyCard.vue
new file mode 100644
index 0000000..51f4005
--- /dev/null
+++ b/components/ClassifyCard.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+ {{ item.content}}
+ {{ item.sku.model }}
+
+ #{{ item.age}}
+
+
+
+ ¥{{ item.price}}
+ ¥{{ item.sku.price }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/PostCard.vue b/components/PostCard.vue
new file mode 100644
index 0000000..43bc382
--- /dev/null
+++ b/components/PostCard.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
+ {{ item.user.nickname || '用户名' }}
+ {{ item.created_at }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #{{ item.age}}
+
+
+
+
+
+
+
+ {{ item.location_name }}
+
+
+
+
+
+
+
+
+
diff --git a/components/danmu/danmu.vue b/components/danmu/danmu.vue
new file mode 100644
index 0000000..decd03e
--- /dev/null
+++ b/components/danmu/danmu.vue
@@ -0,0 +1,124 @@
+
+
+
+ {{ item.text }}
+
+
+
+
+
+
+
diff --git a/manifest.json b/manifest.json
index 8f1a7df..2fc96ee 100644
--- a/manifest.json
+++ b/manifest.json
@@ -100,8 +100,17 @@
"minified" : true,
"postcss" : true
},
+ "permission": {
+ "scope.userFuzzyLocation": {
+ "desc": "用于为你推荐附近内容/门店"
+ }
+ },
+ "requiredPrivateInfos": [
+ "getFuzzyLocation",
+ "chooseLocation",
+ "chooseAddress"
+ ],
"usingComponents" : true,
- "permission" : {},
"uniStatistics" : {
"enable" : true
}
diff --git a/pages.json b/pages.json
index 32a1b6a..632719d 100644
--- a/pages.json
+++ b/pages.json
@@ -83,7 +83,17 @@
"enablePullDownRefresh": false,
"navigationStyle":"custom"// 去掉微信小程序顶部导航
}
+ },
+ {
+ "path" : "pages/classify/classify",
+ "style" :
+ {
+ "navigationBarTitleText" : "分类",
+ "enablePullDownRefresh": false,
+ "navigationStyle":"custom"// 去掉微信小程序顶部导航
+ }
}
+
],
"subPackages":[
{
@@ -124,6 +134,15 @@
"enablePullDownRefresh": false,
"navigationStyle":"custom"// 去掉微信小程序顶部导航
}
+ },
+ {
+ "path" : "my_reply",
+ "style" :
+ {
+ "navigationBarTitleText" : "回复我的",
+ "enablePullDownRefresh": false,
+ "navigationStyle":"custom"// 去掉微信小程序顶部导航
+ }
}
]
}
@@ -147,7 +166,7 @@
},
"tabBar": {
"color": "#7A7E83",
- "selectedColor": "#0071FC",
+ "selectedColor": "#3BC6BD",
"borderStyle": "white",
"backgroundColor": "#fff",
"list": [
@@ -158,10 +177,10 @@
"text": "首页"
},
{
- "pagePath": "pages/square/index",
- "iconPath": "/static/image/square1.png",
- "selectedIconPath": "/static/image/square.png",
- "text": "广场"
+ "pagePath": "pages/classify/classify",
+ "iconPath": "/static/image/classify1.png",
+ "selectedIconPath": "/static/image/classify.png",
+ "text": "分类"
},
{
"pagePath": "pages/publish/index",
@@ -169,6 +188,12 @@
"selectedIconPath": "/static/image/publish.png",
"text": "发布"
},
+ {
+ "pagePath": "pages/square/index",
+ "iconPath": "/static/image/square1.png",
+ "selectedIconPath": "/static/image/square.png",
+ "text": "广场"
+ },
{
"pagePath": "pages/index/mine",
"iconPath": "/static/image/mine1.png",
diff --git a/pages/classify/classify.vue b/pages/classify/classify.vue
new file mode 100644
index 0000000..22f29da
--- /dev/null
+++ b/pages/classify/classify.vue
@@ -0,0 +1,630 @@
+
+
+
+
+
+
+ 最新发布
+
+ 距离最近
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+ 加载中...
+ 上拉加载更多
+
+
+ 没有更多了
+
+
+
+ 暂无数据!
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index a4508dd..f457bf3 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,489 +1,347 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 样机广场
+
+
+
+ 最新发布
+
+
+
+ 距离最近
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+ .tab.on::after {
+ opacity: 1;
+ }
+
+ .divider {
+ width: 1px;
+ height: 24rpx;
+ background: #dcdcdc;
+ }
+}
+
+.card {
+ padding: 10rpx;
+}
+
diff --git a/pages/index/mine.vue b/pages/index/mine.vue
index e9841c7..cc4938b 100644
--- a/pages/index/mine.vue
+++ b/pages/index/mine.vue
@@ -1,389 +1,327 @@
-
-
-
-
-
-
-
-
-
-
- {{userinfo.nickname}}
-
-
-
-
-
-
-
- 我的发布
-
-
-
-
- 我的收藏
-
-
-
-
- 最新消息
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/pages/mine/changinfo.vue b/pages/mine/changinfo.vue
index 88912fe..254606a 100644
--- a/pages/mine/changinfo.vue
+++ b/pages/mine/changinfo.vue
@@ -13,10 +13,41 @@
{{$t('mine.nickname')}}
-
+
+
+ 店铺名称
+
+
+
+
+
+
+ 店铺电话
+
+
+
+
+
+
+ 店铺位置
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/static/image/banners.jpg b/static/image/banners.jpg
deleted file mode 100644
index 113f65b..0000000
Binary files a/static/image/banners.jpg and /dev/null differ
diff --git a/static/image/bx.jpg b/static/image/bx.jpg
new file mode 100644
index 0000000..92a7d24
Binary files /dev/null and b/static/image/bx.jpg differ
diff --git a/static/image/classify.png b/static/image/classify.png
new file mode 100644
index 0000000..0351be2
Binary files /dev/null and b/static/image/classify.png differ
diff --git a/static/image/classify1.png b/static/image/classify1.png
new file mode 100644
index 0000000..bc1ba6b
Binary files /dev/null and b/static/image/classify1.png differ
diff --git a/static/image/cp.png b/static/image/cp.png
new file mode 100644
index 0000000..648e33b
Binary files /dev/null and b/static/image/cp.png differ
diff --git a/static/image/dan1.png b/static/image/dan1.png
new file mode 100644
index 0000000..5f4f904
Binary files /dev/null and b/static/image/dan1.png differ
diff --git a/static/image/danm.png b/static/image/danm.png
new file mode 100644
index 0000000..200068d
Binary files /dev/null and b/static/image/danm.png differ
diff --git a/static/image/home.png b/static/image/home.png
index 9fd80d0..b5f05dc 100644
Binary files a/static/image/home.png and b/static/image/home.png differ
diff --git a/static/image/home1.png b/static/image/home1.png
index d295747..ce84244 100644
Binary files a/static/image/home1.png and b/static/image/home1.png differ
diff --git a/static/image/homebg.png b/static/image/homebg.png
new file mode 100644
index 0000000..8e810e2
Binary files /dev/null and b/static/image/homebg.png differ
diff --git a/static/image/location.png b/static/image/location.png
new file mode 100644
index 0000000..4820eea
Binary files /dev/null and b/static/image/location.png differ
diff --git a/static/image/mine.png b/static/image/mine.png
index a80b6dd..8a05de5 100644
Binary files a/static/image/mine.png and b/static/image/mine.png differ
diff --git a/static/image/mine/fabu.png b/static/image/mine/fabu.png
new file mode 100644
index 0000000..a507163
Binary files /dev/null and b/static/image/mine/fabu.png differ
diff --git a/static/image/mine/huifu.png b/static/image/mine/huifu.png
new file mode 100644
index 0000000..ffe70c9
Binary files /dev/null and b/static/image/mine/huifu.png differ
diff --git a/static/image/mine/line.png b/static/image/mine/line.png
deleted file mode 100644
index 3b9aabc..0000000
Binary files a/static/image/mine/line.png and /dev/null differ
diff --git a/static/image/mine/minebg.png b/static/image/mine/minebg.png
new file mode 100644
index 0000000..8458532
Binary files /dev/null and b/static/image/mine/minebg.png differ
diff --git a/static/image/mine/shoucang.png b/static/image/mine/shoucang.png
new file mode 100644
index 0000000..3572c68
Binary files /dev/null and b/static/image/mine/shoucang.png differ
diff --git a/static/image/mine/user.png b/static/image/mine/user.png
deleted file mode 100644
index a03bef4..0000000
Binary files a/static/image/mine/user.png and /dev/null differ
diff --git a/static/image/mine/userbg.png b/static/image/mine/userbg.png
new file mode 100644
index 0000000..645bcfc
Binary files /dev/null and b/static/image/mine/userbg.png differ
diff --git a/static/image/mine/xinxi.png b/static/image/mine/xinxi.png
new file mode 100644
index 0000000..4c57db1
Binary files /dev/null and b/static/image/mine/xinxi.png differ
diff --git a/static/image/mine1.png b/static/image/mine1.png
index add9283..2c31b5f 100644
Binary files a/static/image/mine1.png and b/static/image/mine1.png differ
diff --git a/static/image/pd.png b/static/image/pd.png
new file mode 100644
index 0000000..f9192a4
Binary files /dev/null and b/static/image/pd.png differ
diff --git a/static/image/photo.png b/static/image/photo.png
index 0ef7d04..98641c0 100644
Binary files a/static/image/photo.png and b/static/image/photo.png differ
diff --git a/static/image/publish.png b/static/image/publish.png
index 08188d1..2ecda4c 100644
Binary files a/static/image/publish.png and b/static/image/publish.png differ
diff --git a/static/image/publish1.png b/static/image/publish1.png
index 2c2139b..b731a0c 100644
Binary files a/static/image/publish1.png and b/static/image/publish1.png differ
diff --git a/static/image/share.jpg b/static/image/share.jpg
deleted file mode 100644
index e0663db..0000000
Binary files a/static/image/share.jpg and /dev/null differ
diff --git a/static/image/shares.png b/static/image/shares.png
new file mode 100644
index 0000000..68e3f36
Binary files /dev/null and b/static/image/shares.png differ
diff --git a/static/image/square.png b/static/image/square.png
index 2253a77..0d26892 100644
Binary files a/static/image/square.png and b/static/image/square.png differ
diff --git a/static/image/square1.png b/static/image/square1.png
index b3b975a..213bee9 100644
Binary files a/static/image/square1.png and b/static/image/square1.png differ
diff --git a/static/image/user.png b/static/image/user.png
new file mode 100644
index 0000000..66967a6
Binary files /dev/null and b/static/image/user.png differ