lgh 1 vuosi sitten
vanhempi
commit
3198de24b8
4 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 2 1
      pages/my/index.vue
  2. 3 2
      pages/play/index.vue
  3. BIN
      static/image/ic_me.png
  4. BIN
      static/video/luo-sun.mp4

+ 2 - 1
pages/my/index.vue

@@ -3,7 +3,7 @@
         <view class="my_content">
             <view class="news">
                 <view class="private">
-                    <!-- <view class="avatar"><image></image></view> -->
+                    <view class="avatar"><image src="@/static/image/ic_me.png"></image></view>
                     <view class="info">
                         <text>{{info.username}}</text>
                         <!-- <text>156*****7654</text> -->
@@ -103,6 +103,7 @@ export default {
                     height: 104rpx;
                     background: #21FFFA;
                     margin-right: 24rpx;
+                    border-radius:50% ;
                     image{
                         width: 100%;
                         height: 100%;

+ 3 - 2
pages/play/index.vue

@@ -127,10 +127,10 @@
 			async getUrl(item){
 				if(!item.isPay){
 					this.isPayShow = true
+					this.shipVideoId = item.id
 					return
 				}
 				const res = await getServerShipVideoUrl(item.id)
-				this.shipVideoId = item.id
 				this.sort = item.sort
 				this.videoUrl = res
 				this.show = false
@@ -165,7 +165,8 @@
 					type: this.type
 				}
 				const res = await buyShipVideo(params)
-				
+				this.isPayShow = false
+				this.getVideoList(this.id)
 				console.log(res);
 
 			},

BIN
static/image/ic_me.png


BIN
static/video/luo-sun.mp4