mulioid 4 rokov pred
rodič
commit
e531364d61

+ 1 - 1
miniprogram/components/itemCard/itemCard.wxss

@@ -44,7 +44,7 @@
 }
 
 .time {
-  font-size: 16rpx;
+  font-size: 20rpx;
 }
 
 .activity-attribute {

+ 1 - 1
miniprogram/pages/activity/activity.wxml

@@ -3,7 +3,7 @@
   <view class="card">
     <image wx:if="{{activityInfo.poster != ''}}" class="activity-poster" src="{{activityInfo.poster}}"
       mode="aspectFill" />
-    <view class="activity-info">
+    <view>
       <view class="profile">
         <view class="avatar-name" catchtap="getPublisherInfo">
           <image class="publisher-avatar" src="{{activityInfo.publisherAvatar}}"></image>

+ 5 - 91
miniprogram/pages/activity/activity.wxss

@@ -1,47 +1,3 @@
-/* .activity-poster{
-  width: 100%;
-  height: 300rpx;
-  margin-bottom: 0rpx;
-  display: flex;
-  flex-direction: column;
-}
-
-.activity-info{
-  font-size: 35rpx;
-  display: flex;
-  flex-direction: column;
-}
-
-.top-column{
-  margin-left: 30rpx;
-  margin-right: 30rpx;
-  display: flex;
-  flex-direction: column;
-  margin-top: 10rpx;
-}
-
-.brief-info{
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-}
-
-.brief-info-left{
-  display: flex;
-  align-items: center;
-}
-
-.publisher-avatar{
-  height: 50rpx;
-  width: 50rpx;
-  border-radius: 30rpx;
-}
-
-.publisher-name{
-  font-weight: 800;
-  margin-left: 10rpx;
-} */
-
 .like {
   height: 40rpx;
   width: 40rpx;
@@ -50,40 +6,6 @@
   right: 40rpx;
 }
 
-/* .activity-name{
-  font-weight: 800;
-  margin-left: 60rpx;
-  margin-bottom: 10rpx;
-}
-
-.activity-time{
-  margin-left: 50rpx;
-  font-size: 30rpx;
-}
-
-.activity-place{
-  margin-left: 50rpx;
-  font-size: 30rpx;
-}
-
-.line{
-  width: 100%;
-  height: 5rpx;
-  margin: 5rpx 0rpx;
-}
-
-
-.activity-detail-text{
-  text-indent: 2em;
-}
-
-.message-block{
-  margin-bottom: 80rpx;
-  margin-left: 50rpx;
-  margin-right: 50rpx;
-  font-size: 30rpx;
-} */
-
 .activity-detail {
   margin: -40rpx 40rpx 0rpx 40rpx;
   font-size: 30rpx;
@@ -130,6 +52,7 @@
   display: flex;
   flex-direction: column;
   align-self: center;
+  align-items: center;
   width: 700rpx;
   margin: 50rpx 20rpx;
   padding-bottom: 20rpx;
@@ -232,18 +155,9 @@
   margin: 10rpx 10rpx 30rpx 10rpx;
 }
 
-.tags {
-  display: flex;
-  align-items: center;
-}
-
-.to-detail {
-  display: flex;
-  align-items: center;
-}
 
-.arrow {
-  height: 20rpx;
-  width: 20rpx;
-  margin: 0rpx 20rpx 0rpx 20rpx;
+.activity-poster {
+  height: 400rpx;
+  width: 700rpx;
+  border-radius: 20rpx 20rpx 0rpx 0rpx;
 }