瀏覽代碼

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

yukangzhe 3 年之前
父節點
當前提交
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;
 }