diff --git a/src/app.wpy b/src/app.wpy
index 2732c23..d5601c9 100644
--- a/src/app.wpy
+++ b/src/app.wpy
@@ -142,6 +142,17 @@ pages: [
},
subPackages: [
{
+'root': 'pages/dynamic',
+'pages': [
+'dynamicDetail',
+'hotTopic',
+'issue',
+'searchPopular',
+'searchTopic',
+'voteDetail',
+]
+},
+{
'root': 'pages/home',
'pages': [
'information',
diff --git a/src/components/dynamicDiscuss.wpy b/src/components/dynamicDiscuss.wpy
new file mode 100644
index 0000000..beab546
--- /dev/null
+++ b/src/components/dynamicDiscuss.wpy
@@ -0,0 +1,356 @@
+
+
+
+ 评论 · {{ detail.comment_count }}
+
+
+ 还没有人评论,快来抢沙发吧
+
+
+
+
+
+
+ 复制
+
+ |
+ 删除
+
+
+ |
+ 删除
+
+
+
+
+
+
+
+
+ {{ item.user.nickname || '未设置名称' }}
+
+
+
+
+ {{ item.created_at }}
+ {{ item.comment }}
+
+
+
+
+ {{ item.likerCount }}
+
+
+
+ {{ item.likerCount }}
+
+
+
+
+
+
+
+
+
+
+ {{name ? '回复@' + name + ':' : ''}}{{inputVal}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/dynamicList.wpy b/src/components/dynamicList.wpy
new file mode 100644
index 0000000..43ed6c7
--- /dev/null
+++ b/src/components/dynamicList.wpy
@@ -0,0 +1,411 @@
+
+
+
+
+
+
+
+ {{ item.created_at }}
+
+
+
+ {{ item.u_nickname || '未设置名称' }}
+
+
+ {{item.work_user_tag}}
+
+
+
+
+ 参与了投票:
+
+
+
+
+ {{ item.u_year }}
+ · {{ item.u_stature }}cm
+
+ · {{ item.u_degree }}
+
+ 审核中
+ 审核失败
+
+
+ {{item.content}}
+
+
+
+ {{item.v_title}}
+
+
+
+ {{ item.readmore.tip }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.mt_name }}
+
+
+
+
+ {{ item.address }}
+
+
+
+
+
+
+ {{ item.comment_count }}
+
+
+
+
+ {{ item.like_count }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/dynamicOperation.wpy b/src/components/dynamicOperation.wpy
new file mode 100644
index 0000000..7963ba7
--- /dev/null
+++ b/src/components/dynamicOperation.wpy
@@ -0,0 +1,226 @@
+
+
+
+
+
+
+ 删除
+ 隐藏动态
+ 设置为推荐动态
+ 取消推荐
+ 设置为置顶
+ 取消置顶
+
+
+ 删除
+
+ 不感兴趣
+ 举报
+
+ 取消
+
+
+
+
diff --git a/src/components/pageScroll.wpy b/src/components/pageScroll.wpy
index 0cf27f1..75746ae 100644
--- a/src/components/pageScroll.wpy
+++ b/src/components/pageScroll.wpy
@@ -55,6 +55,7 @@
scrollTop: 0,
duration: 400
})
+ vm.$emit('BackTop')
}
},
created() {
diff --git a/src/pages/dynamic/dynamicDetail.wpy b/src/pages/dynamic/dynamicDetail.wpy
new file mode 100644
index 0000000..23cc3bf
--- /dev/null
+++ b/src/pages/dynamic/dynamicDetail.wpy
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+{
+navigationBarTitleText: '动态详情',
+backgroundColorTop: '#ffffff',
+backgroundColorBottom: '#ffffff',
+usingComponents: {
+dynamicList: '~@/components/dynamicList',
+dynamicOperation: '~@/components/dynamicOperation',
+dynamicDiscuss: '~@/components/dynamicDiscuss',
+}
+}
+
diff --git a/src/pages/dynamic/hotTopic.wpy b/src/pages/dynamic/hotTopic.wpy
new file mode 100644
index 0000000..d011dee
--- /dev/null
+++ b/src/pages/dynamic/hotTopic.wpy
@@ -0,0 +1,333 @@
+
+
+
+
+
+
+
+
+
+
+
+ #{{detail.name}}
+
+
+
+
+
+
+
+ {{detail.info}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{
+navigationBarTitleText: '优质单身',
+navigationStyle: 'custom',
+backgroundColorTop: '#ffffff',
+backgroundColorBottom: '#ffffff',
+usingComponents: {
+dynamicOperation: '~@/components/dynamicOperation',
+pageScroll: '~@/components/pageScroll',
+dynamicList: '~@/components/dynamicList'
+}
+}
+
diff --git a/src/pages/dynamic/issue.wpy b/src/pages/dynamic/issue.wpy
new file mode 100644
index 0000000..5175c29
--- /dev/null
+++ b/src/pages/dynamic/issue.wpy
@@ -0,0 +1,394 @@
+
+
+
+
+
+ {{value.length}}/500
+
+
+
+
+
+
+ 选择话题
+
+ 添加话题更容易获得回复哦
+
+
+
+
+ {{ title }}
+
+
+
+
+ 添加视频 (最多30秒)
+ 添加照片 (最多9张)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ address }}
+
+
+ 发布
+
+
+
+
+ 温馨提示
+ 获取定位失败,请前往设置打开定位权限
+
+
+
+
+
+
+
+{
+navigationBarTitleText: '编辑动态',
+backgroundColorTop: '#ffffff',
+backgroundColorBottom: '#ffffff',
+}
+
diff --git a/src/pages/dynamic/searchPopular.wpy b/src/pages/dynamic/searchPopular.wpy
new file mode 100644
index 0000000..69d8903
--- /dev/null
+++ b/src/pages/dynamic/searchPopular.wpy
@@ -0,0 +1,203 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{
+navigationBarTitleText: '热门话题',
+enablePullDownRefresh: true,
+backgroundColorTop: '#ffffff',
+backgroundColorBottom: '#ffffff',
+usingComponents: {
+pageScroll: '~@/components/pageScroll'
+}
+}
+
diff --git a/src/pages/dynamic/searchTopic.wpy b/src/pages/dynamic/searchTopic.wpy
new file mode 100644
index 0000000..8f4e4ec
--- /dev/null
+++ b/src/pages/dynamic/searchTopic.wpy
@@ -0,0 +1,155 @@
+
+
+
+
+
+
+
+
+
+
+
+ 热门话题
+
+
+ # {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+{
+navigationBarTitleText: '更多话题',
+backgroundColorTop: '#ffffff',
+backgroundColorBottom: '#ffffff',
+}
+
diff --git a/src/pages/dynamic/voteDetail.wpy b/src/pages/dynamic/voteDetail.wpy
new file mode 100644
index 0000000..1b8de87
--- /dev/null
+++ b/src/pages/dynamic/voteDetail.wpy
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+ {{ detail.title }}
+
+ {{ detail.content || '如题'}}
+
+
+ {{ item.title }}
+
+ {{ item.title }}
+ {{ item.count }}( {{ item.rate }} %)
+
+
+
+
+
+
+
+ {{ detail.comment_count }}
+
+
+
+
+ {{ detail.like_count }}
+
+
+
+
+
+
+
+
+
+
+{
+navigationBarTitleText: '投票详情',
+backgroundColorTop: '#ffffff',
+backgroundColorBottom: '#ffffff',
+usingComponents: {
+dynamicDiscuss: '~@/components/dynamicDiscuss',
+}
+}
+
diff --git a/src/pages/tabBar/dynamic.wpy b/src/pages/tabBar/dynamic.wpy
index ce356fc..5179f46 100644
--- a/src/pages/tabBar/dynamic.wpy
+++ b/src/pages/tabBar/dynamic.wpy
@@ -4,11 +4,6 @@ page {
background-color: #ffffff;
}
-scroll-view {
- height: 100%;
- box-sizing: border-box;
-}
-
.ui-tabBar-item{
padding-right: 64rpx;
}
@@ -126,195 +121,14 @@ scroll-view {
background: #F8F8F8;
}
-.ui-user-pic {
- width: 80rpx;
- min-width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
-}
-
-.ui-time {
- position: absolute;
- right: 30rpx;
- top: 30rpx;
-}
-
-.ui-name {
- width: auto;
- max-width: 300rpx;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- height: 40rpx;
- font-size: 30rpx;
- font-weight: 600;
- color: #333333;
- line-height: 40rpx;
-}
-.ui-identification{
- color: #f3903b;
- padding: 4rpx 12rpx;
- line-height: 32rpx;
- border-radius: 20rpx;
- background: #fff9f4;
- margin-left: 14rpx;
- .ui-identification-icon{
- width: 24rpx;
- height: 24rpx;
- display: block;
- }
-}
-
-.referencesIcon {
+.ui-suspend{
+ position: fixed;
+ height: 124rpx;
width: 124rpx;
- height: 36rpx;
- display: block;
- margin-left: 16rpx;
- margin-top: 2rpx;
-}
-
-.ui-dynamic-content{
- white-space: pre-line;
- word-break: break-all;
- display: -webkit-box;
-}
-
-.ui-active-content{
- overflow: hidden;
- margin-bottom: 15rpx;
- white-space: pre-line;
- word-wrap: break-word;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
-}
-
-.ui-voteItem{
- width: calc(100vw - 156rpx);
- background: #f8f8f8;
- padding: 16rpx 18rpx;
- border-radius: 8rpx;
-
- .ui-vote-icon{
- width: 32rpx;
- min-width: 32rpx;
- margin: 8rpx 8rpx 0 0;
- display: block;
- }
-}
-
-.ui-dynamic-pic-box{
- .ui-only-img, .ui-grid-square{
- width: 400rpx;
- height: 400rpx;
- border-radius: 16rpx;
- margin-bottom: 10rpx;
- display: block;
- }
-
- .ui-grid-square{
- width: 192rpx;
- height: 192rpx;
- }
-}
-.ui-dynamic-pic-box:after{
- content: '';
- width: 192rpx;
-}
-
-.liveImg {
- position: relative;
- border-radius: 10rpx;
-
- .playImg {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
- width: 72rpx;
- height: 72rpx;
- }
-}
-
-.ui-tags{
- width: auto;
- height: 50rpx;
- background: #fff1f5;
- border-radius: 26rpx;
-
- .ui-img {
- width: 32rpx;
- height: 32rpx;
- margin-right: 10rpx;
- margin-left: 8rpx;
- }
-}
-
-.ui-address-icon{
- width: 20rpx;
- min-width: 20rpx;
- height: 24rpx;
- margin-right: 4rpx;
-}
-
-.ui-like-box{
- width: calc(100vw - 156rpx);
- display: flex;
- justify-content: flex-end;
- align-items: center;
- margin-top: 20rpx;
- padding-bottom: 20rpx;
-
- .ui-like-icon-box{
- display: inline-flex;
- align-items: center;
- height: 30rpx;
- font-size: 24rpx;
- color: #666666;
- position: relative;
- margin-right: 50rpx;
-
- .ui-like-icon{
- width: 30rpx;
- height: 30rpx;
- margin-right: 8rpx;
- display: block;
- }
-
- .ui-like-icon-v2{
- width: 32rpx;
- height: 32rpx;
- margin-right: 6rpx;
- margin-top: -8rpx;
- display: block;
- }
-
- .ui-img2_gif {
- position: absolute;
- left: -14rpx;
- top: -26rpx;
- width: 64rpx;
- height: 62rpx;
- margin-right: 6rpx;
- }
- }
-
- .ui-cuIcon-moreandroid{
- width: 6rpx;
- height: 26rpx;
- }
-}
-
-.ui-line{
- margin: 0 30rpx;
- height: 2rpx;
- background: #f5f5f5;
+ right: 30rpx;
+ bottom: 180rpx;
+ text-align: center;
+ z-index: 1000;
}
.m_returnTop {
@@ -343,30 +157,9 @@ scroll-view {
.show{
opacity:1;
}
-
-.dialog {
- width: 100%;
- background: white;
- height: auto;
- z-index: 1111;
- border-radius: 30rpx 30rpx 0rpx 0rpx;
-
- view {
- height: 90rpx;
- text-align: center;
- line-height: 100rpx;
- margin: 0 30rpx;
- color: #333333;
- }
-
- view:last-of-type {
- border-top: 1rpx solid #f5f5f5;
- color: #999999;
- }
-}
-
+
@@ -381,14 +174,14 @@ scroll-view {
热门话题
- 更多话题
+ 更多话题
-
+
#{{ item.name }}
{{ item.moment_count }} 动态
@@ -396,89 +189,12 @@ scroll-view {
-
-
-
- {{ item }}
-
+
+
+ {{ item }}
-
-
-
-
- {{ item.created_at }}
-
-
-
- {{ item.u_nickname || '未设置名称' }}
-
-
- {{item.work_user_tag}}
-
-
-
-
- 参与了投票:
-
-
-
-
- {{ item.u_year }}
- · {{ item.u_stature }}cm
-
- · {{ item.u_degree }}
-
- 审核中
- 审核失败
-
-
- {{item.content}}
-
-
-
- {{item.v_title}}
-
-
-
- {{ item.readmore.tip }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.mt_name }}
-
-
-
-
- {{ item.address }}
-
-
-
-
-
-
- {{ item.comment_count }}
-
-
-
-
- {{ item.like_count }}
-
-
-
-
-
-
-
-
+
+
@@ -486,28 +202,12 @@ scroll-view {
-
-
- 删除
- 隐藏动态
-
- 设置为推荐动态
-
-
- 取消推荐
-
-
- 设置为置顶
-
-
- 取消置顶
-
- 取消
-
-
+
+
+