소스 검색

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

yukangzhe 3 년 전
부모
커밋
2c603665f8
3개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      pages/showVideoList/showVideoList.js
  2. 2 0
      pages/showVideoList/showVideoList.wxml
  3. 12 0
      pages/showVideoList/showVideoList.wxss

+ 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;
 }