mulioid 4 lat temu
rodzic
commit
38a3cb22ef

BIN
miniprogram/images/publisher/enter.png


BIN
miniprogram/images/publisher/publish2.png


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

@@ -39,7 +39,11 @@
       <imagePicker wx:if="{{activityInfo.photo.length != 0}}" value="{{activityInfo.photo}}" max="1"
         image-width="{{activityInfo.photo.length == 1 ? 698 : activityInfo.photo.length <= 4 ? 330 : 220}}"
         image-height="{{activityInfo.photo.length == 1 ? 698 : activityInfo.photo.length <= 4 ? 330 : 220}}" readonly />
-      <view class="line light-primary-color"></view>
+    </view>
+
+    <view class="btn primary-background-color">
+      <image class="btn-icon primary-background-color" mode="aspectFit" src="/images/publisher/publish2.png"></image>
+      <view class=" white-text-color">编辑内容</view>
     </view>
   </view>
 

+ 29 - 0
miniprogram/pages/activity/activity.wxss

@@ -161,4 +161,33 @@
 .line {
   height: 2rpx;
   margin: 10rpx 20rpx 20rpx 20rpx;
+}
+
+.text {
+  font-size: 24rpx;
+  margin-left: 50rpx;
+  margin-bottom: 20rpx;
+  margin-right: 20rpx;
+}
+
+.btn-icon {
+  height: 30rpx;
+  width: 30rpx;
+  margin-right: 10rpx;
+}
+
+.btn {
+  display: flex;
+  font-size: 24rpx;
+  align-self: flex-end;
+  padding-top: 5rpx;
+  padding-bottom: 5rpx;
+  padding-right: 20rpx;
+  padding-left: 20rpx;
+  border-radius: 28rpx;
+  box-shadow: 5rpx 5rpx 8rpx 0rpx rgba(0, 0, 0, 0.16);
+  width: 140rpx;
+  margin-bottom: 20rpx;
+  margin-right: 20rpx;
+  margin-top: 10rpx;
 }

+ 12 - 0
miniprogram/pages/activityPublish/activityPublish.wxml

@@ -71,6 +71,10 @@
       <view class="cate">链接</view>
       <input class="input" placeholder="请填写" name="link" />
     </view>
+    <view class="block" style="margin-top: 20rpx;">
+      <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
+      <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="noti"></textarea>
+    </view>
     <myButton class="button" type="primary">提交</myButton>
   </form>
 </scroll-view>
@@ -118,6 +122,10 @@
       <view class="cate">链接</view>
       <input class="input" placeholder="请填写" name="link" />
     </view>
+    <view class="block" style="margin-top: 20rpx;">
+      <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
+      <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="noti"></textarea>
+    </view>
     <myButton class="button" type="primary">提交</myButton>
   </form>
 </scroll-view>
@@ -157,6 +165,10 @@
       <view class="cate">链接</view>
       <input class="input" placeholder="请填写" name="link" />
     </view>
+    <view class="block" style="margin-top: 20rpx;">
+      <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
+      <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="noti"></textarea>
+    </view>
     <myButton class="button" type="primary">提交</myButton>
   </form>
 </scroll-view>

+ 0 - 6
miniprogram/pages/publisherPage/publisherPage.js

@@ -25,12 +25,6 @@ Page({
     })
   },
 
-  activityChange: function () {
-    wx.navigateTo({
-      url: "/pages/activityChange/activityChange?id=" + this.data.pubInfo[this.data.pubIndex].pub_id,
-    })
-  },
-
   publisherQuestion: function () {
     wx.navigateTo({
       url: "/pages/publisherQuestion/publisherQuestion?id=" + this.data.pubInfo[this.data.pubIndex].pub_id

+ 1 - 10
miniprogram/pages/publisherPage/publisherPage.wxml

@@ -21,15 +21,6 @@
   <view class="btn-arrow secondary-text">></view>
 </view>
 
-
-<view class="block" hover-class="btn-hover" bindtap="activityChange">
-  <view class="left">
-    <image class="btn-icon" mode="aspectFit" src="/images/publisher/publish2.png"></image>
-    <view class="btn-text primary-text">修改发布消息</view>
-  </view>
-  <view class="btn-arrow secondary-text">></view>
-</view>
-
 <view class="block2" hover-class="btn-hover" bindtap="publisherQuestion">
   <view class="left">
     <image class="btn-icon" mode="aspectFit" src="/images/publisher/question.png"></image>
@@ -66,7 +57,7 @@
 
 <view class="block" hover-class="btn-hover" bindtap="publisherLogin">
   <view class="left">
-    <image class="btn-icon" mode="aspectFit" src="/images/publisher/adjust.png"></image>
+    <image class="btn-icon" mode="aspectFit" src="/images/publisher/enter.png"></image>
     <view class="btn-text primary-text">社团组织入驻</view>
   </view>
   <view class="btn-arrow secondary-text">></view>