diff --git a/api/api.js b/api/api.js
index f861b01..c078588 100644
--- a/api/api.js
+++ b/api/api.js
@@ -111,11 +111,16 @@ const config = {
url: '/city/getActivityDetail',
method: 'GET',
},
- //根据分类获取门店信息列表(美食)
+ //获取门店信息列表(美食)
getStorePage: {
url: '/city/getStorePage',
method: 'GET',
},
+ //获取门店详情(美食)
+ getStoreDetail: {
+ url: '/city/getStoreDetail',
+ method: 'GET',
+ },
//发布按钮列表
getPublishList: {
url: '/city/getPublishList',
@@ -131,11 +136,21 @@ const config = {
url: '/city/getScenicPage',
method: 'GET',
},
+ //获取景点详情
+ getScenicDetail: {
+ url: '/city/getScenicDetail',
+ method: 'GET',
+ },
//获取评论列表type-0帖子-1租房-2工作-3景点-4美食-5活动
getCommentPage: {
url: '/city/getCommentPage',
method: 'GET',
},
+ //获取江华人信息接口
+ getJiangHuInfo: {
+ url: '/city/getJiangHuInfo',
+ method: 'GET',
+ },
@@ -148,6 +163,7 @@ const config = {
method: 'POST',
limit : 1000,
auth : true,
+ showLoading : true,
},
//查询自己发布的动态
getMyPostPage: {
@@ -160,6 +176,7 @@ const config = {
url: '/token/deletePost',
method: 'POST',
auth : true,
+ showLoading : true,
},
//店铺认证
companyAuthentication: {
@@ -167,6 +184,7 @@ const config = {
method: 'POST',
limit : 1000,
auth : true,
+ showLoading : true,
},
//个人认证
personalAuthentication: {
@@ -174,6 +192,7 @@ const config = {
method: 'POST',
limit : 1000,
auth : true,
+ showLoading : true,
},
//获取分享二维码
getQrCode: {
@@ -187,6 +206,7 @@ const config = {
method: 'POST',
limit : 1000,
auth : true,
+ showLoading : true,
},
//获取粉丝列表接口
getFansList: {
diff --git a/components/list/dynamic/dynamicItem.vue b/components/list/dynamic/dynamicItem.vue
index caadf37..786d2aa 100644
--- a/components/list/dynamic/dynamicItem.vue
+++ b/components/list/dynamic/dynamicItem.vue
@@ -3,7 +3,9 @@
-
+
@@ -21,9 +23,9 @@
{{ item.yearDate }}
+ v-if="item.addId">
- {{ item.address }}
+ {{ item.addId }}
@@ -41,10 +43,21 @@
12:34
-->
+
+
+
+
+
+
+ {{ item.address }}
+
+
+
{{ item.isComment }}条评论
-
-
-
-
-
+
+
+ 联系{{ ta[item.sex] }}
@@ -77,14 +88,23 @@
mixins: [mixinsSex],
props: {
item: {},
- del : {},
},
data() {
return {
-
}
},
methods: {
+ callPhone(){
+ uni.makePhoneCall({
+ phoneNumber: this.item.phone,
+ success() {
+ console.log('安卓拨打成功');
+ },
+ fail() {
+ console.log('安卓拨打失败');
+ }
+ })
+ },
},
}
@@ -189,6 +209,13 @@
// line-height: 35rpx;
letter-spacing: 3rpx;
}
+
+ .address{
+ font-size: 24rpx;
+ margin-top: 20rpx;
+ display: flex;
+ align-items: center;
+ }
.Artworkimages {
display: flex;
@@ -215,10 +242,16 @@
color: rgb(132, 132, 132);
}
- .Leavingamessage {
- height: 20rpx;
- width: 20rpx;
+ .phone{
+ background-color: rgba($uni-color, 0.2);
+ color: $uni-color;
+ padding: 8rpx 16rpx;
+ border-radius: 10rpx;
margin-left: auto;
+ image{
+ width: 20rpx;
+ height: 20rpx;
+ }
}
}
}
diff --git a/components/list/dynamic/dynamicItemEdit.vue b/components/list/dynamic/dynamicItemEdit.vue
new file mode 100644
index 0000000..6dba739
--- /dev/null
+++ b/components/list/dynamic/dynamicItemEdit.vue
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+
+
+ {{ item.userName }}
+
+
+
+ {{ item.sex }}
+
+
+
+ {{ item.yearDate }}
+
+
+
+ {{ item.addId }}
+
+
+
+ {{ item.isContent }}
+
+
+
+
+
+
+ {{ item.createTime }}发布
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/user/createDetailPopup.vue b/components/user/createDetailPopup.vue
index 91f4157..8bb7063 100644
--- a/components/user/createDetailPopup.vue
+++ b/components/user/createDetailPopup.vue
@@ -74,7 +74,7 @@
justify-content: center;
align-items: center;
box-shadow: 0 0 10rpx 10rpx rgba(#000, 0.1);
- z-index: 99;
+ z-index: 999;
}
.createDetailPopup {
diff --git a/mixins/sex.js b/mixins/sex.js
index 94bf59e..27088fb 100644
--- a/mixins/sex.js
+++ b/mixins/sex.js
@@ -25,6 +25,10 @@ export default {
actColor : '#ff50b3',
},
],
+ ta : {
+ 男 : '他',
+ 女 : '她',
+ }
}
},
}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index a20e598..afc7377 100644
--- a/pages.json
+++ b/pages.json
@@ -98,6 +98,36 @@
},
{
"path": "mine/promotion"
+ },
+ {
+ "path": "scenicSpot/scenicSpotDetail",
+ "style": {
+ "enablePullDownRefresh" : true
+ }
+ },
+ {
+ "path": "gourmet/gourmetDetail",
+ "style": {
+ "enablePullDownRefresh" : true
+ }
+ },
+ {
+ "path": "mine/allUser",
+ "style": {
+ "enablePullDownRefresh" : true
+ }
+ },
+ {
+ "path": "car/carList",
+ "style": {
+ "enablePullDownRefresh" : true
+ }
+ },
+ {
+ "path": "car/carListDetail",
+ "style": {
+ "enablePullDownRefresh" : true
+ }
}
]
}],
diff --git a/pages/index/center.vue b/pages/index/center.vue
index 3e5ce75..2b96f56 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -105,7 +105,7 @@
-
import tabber from '@/components/base/tabbar.vue'
- import dynamicItem from '@/components/list/dynamic/dynamicItem.vue'
+ import dynamicItemEdit from '@/components/list/dynamic/dynamicItemEdit.vue'
import mixinsList from '@/mixins/list.js'
import mixinsSex from '@/mixins/sex.js'
import { mapState } from 'vuex'
@@ -133,7 +133,7 @@
mixins: [mixinsList, mixinsSex],
components: {
tabber,
- dynamicItem,
+ dynamicItemEdit,
},
computed: {
...mapState(['userInfo']),
diff --git a/pages/index/index.vue b/pages/index/index.vue
index bf35411..8d4ce18 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -5,8 +5,8 @@
@@ -34,7 +34,9 @@
{{headinfo.num}}动态
|
-
+
{{headinfo.userNum}}江华人
@@ -77,20 +79,22 @@
-
-
-
-
-
-
- {{ item.title }}
+
+
+
+
+
+
+
+ {{ item.title }}
+
-
+
-
+
+
+
+
+
+
+
+
diff --git a/pages_order/car/carListDetail.vue b/pages_order/car/carListDetail.vue
new file mode 100644
index 0000000..559c702
--- /dev/null
+++ b/pages_order/car/carListDetail.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages_order/components/list/comment/commentItem.vue b/pages_order/components/list/comment/commentItem.vue
new file mode 100644
index 0000000..01dde61
--- /dev/null
+++ b/pages_order/components/list/comment/commentItem.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_order/components/list/comment/commentList.vue b/pages_order/components/list/comment/commentList.vue
new file mode 100644
index 0000000..be223b7
--- /dev/null
+++ b/pages_order/components/list/comment/commentList.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+ 发布
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_order/components/list/gourmet/gourmetItem.vue b/pages_order/components/list/gourmet/gourmetItem.vue
index ea49f35..9b1e2b1 100644
--- a/pages_order/components/list/gourmet/gourmetItem.vue
+++ b/pages_order/components/list/gourmet/gourmetItem.vue
@@ -1,8 +1,8 @@
-
+
+ @click.stop="previewImage([item.logoImage])"
+ :src="item.logoImage" mode="aspectFill">
@@ -24,13 +24,13 @@
+ v-for="(t, index) in item.image">
-
+
diff --git a/pages_order/components/list/scenicSpot/scenicSpotItem.vue b/pages_order/components/list/scenicSpot/scenicSpotItem.vue
index ab8c841..c2836fd 100644
--- a/pages_order/components/list/scenicSpot/scenicSpotItem.vue
+++ b/pages_order/components/list/scenicSpot/scenicSpotItem.vue
@@ -1,6 +1,8 @@
-
-
+
+
{{ item.name }}
@@ -10,9 +12,6 @@
{{ item.address }}
-
- 距离:30m
-
{{ $dayjs(item.createTime).format('YYYY-MM-DD') }}
diff --git a/pages_order/gourmet/gourmetDetail.vue b/pages_order/gourmet/gourmetDetail.vue
new file mode 100644
index 0000000..3587c6c
--- /dev/null
+++ b/pages_order/gourmet/gourmetDetail.vue
@@ -0,0 +1,291 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ detail.title }}
+
+
+
+ {{ detail.sex }}
+
+
+
+ {{ detail.yearDate }}
+
+
+
+ {{ detail.address }}
+
+
+
+ {{ detail.isContent }}
+
+
+
+
+
+ 营业时间:{{ detail.workTime }}
+
+
+
+
+
+
+
+ 地址:{{ detail.address }}
+
+
+
+
+
+
+
+
+ {{ detail.isBrowse }}浏览
+
+
+ {{ detail.isComment }}条评论
+
+
+
+ 导航
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_order/gourmet/gourmetList.vue b/pages_order/gourmet/gourmetList.vue
index 8f13990..c17f874 100644
--- a/pages_order/gourmet/gourmetList.vue
+++ b/pages_order/gourmet/gourmetList.vue
@@ -1,6 +1,6 @@
-
+
@@ -18,6 +18,7 @@
:key="index"
v-for="(item, index) in list"
:item="item"
+ @click="$utils.navigateTo('/pages_order/gourmet/gourmetDetail?id=' + item.id)"
/>
@@ -40,8 +41,8 @@
methods: {
getDataThen(list){
list.forEach(n => {
- n.detailsImage = n.detailsImage ? n.detailsImage.split(',') : []
- n.details = n.details ? n.details.split(',') : []
+ n.image = n.image ? n.image.split(',') : []
+ // n.details = n.details ? n.details.split(',') : []
})
},
}
diff --git a/pages_order/mine/allUser.vue b/pages_order/mine/allUser.vue
new file mode 100644
index 0000000..0766060
--- /dev/null
+++ b/pages_order/mine/allUser.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.nickName }}
+
+
+
+ {{ item.createTime }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_order/post/addPost.vue b/pages_order/post/addPost.vue
index e84a4ac..30e4d32 100644
--- a/pages_order/post/addPost.vue
+++ b/pages_order/post/addPost.vue
@@ -37,7 +37,7 @@
- 选择分区
+ 选择分类
-
+
+
+
+
+
+
{{ detail.yearDate }}
-
+
- {{ detail.address }}
+ {{ detail.addId }}
@@ -43,6 +45,16 @@
+
+
+
+
+ {{ detail.address }}
+
+
+
@@ -56,81 +68,63 @@
{{ detail.isComment }}条评论
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
- 发布
+
+
+ 联系{{ ta[detail.sex] }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_order/scenicSpot/scenicSpotList.vue b/pages_order/scenicSpot/scenicSpotList.vue
index 13a30c7..f1dfd39 100644
--- a/pages_order/scenicSpot/scenicSpotList.vue
+++ b/pages_order/scenicSpot/scenicSpotList.vue
@@ -18,6 +18,7 @@
:key="index"
v-for="(item, index) in list"
:item="item"
+ @click="$utils.navigateTo('/pages_order/scenicSpot/scenicSpotDetail?id=' + item.id)"
/>
diff --git a/pages_order/work/workDetail.vue b/pages_order/work/workDetail.vue
index f25e470..57468fc 100644
--- a/pages_order/work/workDetail.vue
+++ b/pages_order/work/workDetail.vue
@@ -1,6 +1,6 @@
-
+
@@ -90,37 +90,53 @@
+
+