Kaynağa Gözat

Signed-off-by: yukangzhe <382985154@qq.com>

yukangzhe 3 yıl önce
ebeveyn
işleme
2c603665f8

+ 6 - 0
pages/showVideoList/showVideoList.js

@@ -31,6 +31,12 @@ Page({
     this.setData({ personType: personType })
   },
 
+  uploadTap:function(){
+    wx.navigateTo({
+      url: '/pages/uploadShow/uploadShow',
+    })
+  },
+
   /**
    * 生命周期函数--监听页面初次渲染完成
    */

+ 2 - 0
pages/showVideoList/showVideoList.wxml

@@ -10,6 +10,8 @@
   </view>
   <!-- end -->
 
+  <view class="uploadTap" bindtap="uploadTap">发布</view>
+
   <view class="loading">{{loading}}</view>
 
 </view>

+ 12 - 0
pages/showVideoList/showVideoList.wxss

@@ -16,4 +16,16 @@ page{
 .show-view{
   width: 700rpx;
   background: #FFF;
+}
+.uploadTap{
+  position: fixed;
+  background: #005033;
+  color: #FFF;
+  width: 100rpx;
+  height: 100rpx;
+  line-height: 100rpx;
+  border-radius: 50rpx;
+  right: 20rpx;
+  bottom: 100rpx;
+  text-align: center;
 }