diff --git a/api/inn.js b/api/inn.js
index 364d657..a5eec2b 100644
--- a/api/inn.js
+++ b/api/inn.js
@@ -273,4 +273,17 @@ export function getMerchantApply() {
return request.get("/merchantApply/userHotels", {}, {login: true})
}
+/**
+ * 获取用户评论列表
+ */
+export function getCommentList(params) {
+ return request.get("/user/reply/list", params, {login: true})
+}
+
+/**
+ * 添加用户评论
+ */
+export function addComment(data) {
+ return request.post("/user/reply/add", data, {login: true})
+}
diff --git a/components/cc-comment/cc-comment.vue b/components/cc-comment/cc-comment.vue
new file mode 100644
index 0000000..a876ff6
--- /dev/null
+++ b/components/cc-comment/cc-comment.vue
@@ -0,0 +1,485 @@
+
+
+ 资讯评论
+
+
+
+
+
+
+
+ 这里是一片荒草地,
+ newCommentFun()">说点什么...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/cc-comment/componets/common.vue b/components/cc-comment/componets/common.vue
new file mode 100644
index 0000000..ab19781
--- /dev/null
+++ b/components/cc-comment/componets/common.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index b1e051f..bcfd1e5 100644
--- a/pages.json
+++ b/pages.json
@@ -447,7 +447,8 @@
{
"path": "inn/innInfoDetail",
"style": {
- "navigationBarTitleText": "资讯详情"
+ "navigationBarTitleText": "资讯详情",
+ "navigationBarBackgroundColor": "#FFFFFF"
}
},
{
diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue
index 7e69ad8..253e055 100644
--- a/pagesInn/inn/innHome.vue
+++ b/pagesInn/inn/innHome.vue
@@ -293,6 +293,14 @@
class="seeNum-txt"
>{{ item.zan }}
+
+
+
+ {{ item.replyCount || 0 }}
+
{
diff --git a/pagesInn/inn/innInfoDetail.vue b/pagesInn/inn/innInfoDetail.vue
index 0ae4578..1149f57 100644
--- a/pagesInn/inn/innInfoDetail.vue
+++ b/pagesInn/inn/innInfoDetail.vue
@@ -1,83 +1,874 @@
-
-
- {{ info.name }}
-
-
- {{ info.createdTime }}
-
-
-
- {{ info.pv }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ item.publishTime
+ ? item.publishTime.replace(/-/g, ".").substr(0, 10)
+ : ""
+ }}
+
+
+
+
+ {{ item.pv }}
-
-
-
- {{ info.zan }}
+
+
+
+ {{ item.zan }}
+
+
+
+ {{ item.replyCount || 0 }}
-
-
-
+
-
-
-
+