Quellcode durchsuchen

打榜改为热力

hmp vor 4 Jahren
Ursprung
Commit
bf26905a8c

+ 9 - 4
components/homeViews/activity-view.vue

@@ -24,7 +24,7 @@
 				<view class="flex justify-center">
 					<view class="hot-btn margin-top-xs">
 						<text class="cuIcon-hotfill padding-right-xs"></text>
-						<text>打榜</text>
+						<text>助力</text>
 					</view>
 				</view>
 			</view>
@@ -36,7 +36,7 @@
 				<view class="flex justify-center">
 					<view class="hot-btn margin-top-xs">
 						<text class="cuIcon-hotfill padding-right-xs"></text>
-						<text>打榜</text>
+						<text>助力</text>
 					</view>
 				</view>
 			</view>
@@ -48,7 +48,7 @@
 				<view class="flex justify-center">
 					<view class="hot-btn margin-top-xs">
 						<text class="cuIcon-hotfill padding-right-xs"></text>
-						<text>打榜</text>
+						<text>助力</text>
 					</view>
 				</view>
 			</view>
@@ -68,7 +68,7 @@
 				<view class="padding-right">
 					<button class="cu-btn round  text-white" style="background-color: #583ce6;height: 68upx;">
 						<text class="cuIcon-hotfill padding-right-xs"></text>
-						<text>打榜</text>
+						<text>助力</text>
 					</button>
 				</view>
 			</view>
@@ -116,6 +116,11 @@
 			this.getActivityDetail();
 		},
 		methods: {
+			playVideo(){
+				uni.navigateTo({
+					url:"/pages/playVideo/playVideo?vid=t01662frswa"
+				})
+			},
 			preview(index) {
 				uni.previewImage({
 					urls: [this.imgList[index]]

+ 1 - 1
components/works-poster/works-poster.vue

@@ -81,7 +81,7 @@
 				//绘制副标题
 				this.ctx.setFontSize(12);
 				this.ctx.setFillStyle('#302e2f');
-				this.ctx.fillText("赶紧为你的爱豆打榜吧" ,((this.canvasW-hW) / 2) + uni.upx2px(2),(((this.canvasW-hW) / 2) + hH + uni.upx2px(285)))
+				this.ctx.fillText("赶紧为你的爱豆助力吧" ,((this.canvasW-hW) / 2) + uni.upx2px(2),(((this.canvasW-hW) / 2) + hH + uni.upx2px(285)))
 				//绘制主办方
 				this.ctx.setFontSize(12);
 				this.ctx.setFillStyle('#161616');

+ 11 - 2
pages.json

@@ -61,7 +61,7 @@
             "path" : "pages/activityList/activity/authorBoost",
             "style" :                                                                                    
             {
-                "navigationBarTitleText": "打榜助力"
+                "navigationBarTitleText": "助力"
             }
             
         }
@@ -248,7 +248,7 @@
             "path" : "pages/activityList/activity/musicBoost",
             "style" :                                                                                    
             {
-                "navigationBarTitleText": "作品打榜"
+                "navigationBarTitleText": "作品助力"
             }
             
         }
@@ -285,6 +285,15 @@
             }
             
         }
+        ,{
+            "path" : "pages/playVideo/playVideo",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "播放视频",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"globalStyle": {
 		"navigationStyle": "custom",

+ 6 - 6
pages/activityList/activity/authorBoost.vue

@@ -6,7 +6,7 @@
 			<image src="/static/home.png" style="width: 40upx;height: 40upx;" />
 		</view>
 		<view class="head">
-			<view class="title">为{{boostDetail.nickName}}打榜</view>
+			<view class="title">为{{boostDetail.nickName}}助力</view>
 			<view class="flex justify-between align-center padding-lr">
 				<view class="flex align-center">
 					<u-avatar :src="boostDetail.avatar" size="120"></u-avatar>
@@ -20,11 +20,11 @@
 				</view>
 				<view class="text-center">
 					<button class="cu-btn round theme-bg-color text-white text-bold" @click="userBoost">
-						<text>打榜</text>
+						<text>热力值</text>
 						<text class="cuIcon-hot padding-lr-xs"></text>
 						<text>X{{boostDetail.activityHotValue}}</text>
 					</button>
-					<view class="text-sm text-gray margin-top-xs">今日可打榜次数: {{boostDetail.allowHitCount}}</view>
+					<view class="text-sm text-gray margin-top-xs">今日可助力次数: {{boostDetail.allowHitCount}}</view>
 				</view>
 			</view>
 		</view>
@@ -32,8 +32,8 @@
 			<view class="flex align-center">
 				<image src="/static/icon-person.png" style="width: 82upx;height: 82upx;"></image>
 				<view class="padding-left-sm">
-					<view class="text-lg text-bold text-black">转发邀请打榜</view>
-					<view class="text-sm text-gray padding-top-xs">邀请好友打榜,获得热力值更快哦</view>
+					<view class="text-lg text-bold text-black">转发邀请助力</view>
+					<view class="text-sm text-gray padding-top-xs">邀请好友助力,获得热力值更快哦</view>
 				</view>
 			</view>
 			<button style="height: 56upx;" class="cu-btn round theme-bg-color text-white text-sm" @click="invite">去邀请</button>
@@ -239,7 +239,7 @@
 								title: res.msg
 							})
 						} else {
-							this.$u.toast('打榜成功')
+							this.$u.toast('助力成功')
 							this.getBoostDetail(this.activityId, this.receiverId);
 						}
 					})

+ 1 - 1
pages/activityList/activity/hot.vue

@@ -24,7 +24,7 @@
 				<view class="padding-right">
 					<button class="cu-btn round  text-white" style="background-color: #583ce6;height: 68upx;">
 						<text class="cuIcon-hotfill padding-right-xs"></text>
-						<text>打榜</text>
+						<text>助力</text>
 					</button>
 				</view>
 			</view>

+ 5 - 5
pages/activityList/activity/musicBoost.vue

@@ -8,7 +8,7 @@
 			<image src="/static/home.png" style="width: 40upx;height: 40upx;" />
 		</view>
 		<view class="head">
-			<view class="title">为{{boostDetail.title}}打榜</view>
+			<view class="title">为{{boostDetail.title}}助力</view>
 			<view class="flex justify-between align-center padding-lr">
 				<view class="flex align-center">
 					<u-avatar :src="boostDetail.avatar" size="120"></u-avatar>
@@ -22,11 +22,11 @@
 				</view>
 				<view class="text-center">
 					<button class="cu-btn round theme-bg-color text-white text-bold" @click="userBoost">
-						<text>打榜</text>
+						<text>热力值</text>
 						<text class="cuIcon-hot padding-lr-xs"></text>
 						<text>X{{boostDetail.ticketHotValue}}</text>
 					</button>
-					<view class="text-sm text-gray margin-top-xs">今日可打榜次数: {{boostDetail.allowHitNum}}</view>
+					<view class="text-sm text-gray margin-top-xs">今日可助力次数: {{boostDetail.allowHitNum}}</view>
 				</view>
 			</view>
 		</view>
@@ -34,8 +34,8 @@
 			<view class="flex align-center">
 				<image src="/static/icon-person.png" style="width: 82upx;height: 82upx;"></image>
 				<view class="padding-left-sm">
-					<view class="text-lg text-bold text-black">转发邀请打榜</view>
-					<view class="text-sm text-gray padding-top-xs">邀请好友打榜,获得热力值更快哦</view>
+					<view class="text-lg text-bold text-black">转发邀请助力</view>
+					<view class="text-sm text-gray padding-top-xs">邀请好友助力,获得热力值更快哦</view>
 				</view>
 			</view>
 			<button style="height: 56upx;" class="cu-btn round theme-bg-color text-white text-sm" @click="invite">去邀请</button>

+ 2 - 2
pages/activityList/activity/songRank.vue

@@ -43,7 +43,7 @@
 							<view>
 								<button class="cu-btn round theme-bg-color sm text-white">
 									<text class="cuIcon-hotfill"></text>
-									<text class="padding-left-xs">打榜</text>
+									<text class="padding-left-xs">助力</text>
 								</button>
 							</view>
 						</view>
@@ -65,7 +65,7 @@
 								<view class="hot-vaule">热力值 {{ +item.production.hotValue}}</view>
 							</view>
 							<view class="flex align-end">
-								<button class="cu-btn round lines-purple sm" style="width: 110upx;">打榜</button>
+								<button class="cu-btn round lines-purple sm" style="width: 110upx;">助力</button>
 							</view>
 						</view>
 						<view class="margin-top-xs">

+ 1 - 1
pages/activityList/mine/introduction.vue

@@ -49,7 +49,7 @@
 							<view class="time padding-top-xs">{{item.createTime}}</view>
 						</view>
 					</view>
-					<view class="text-sm" style="color: #757575;">{{item.typeSub == 1 ? '打榜' : '打赏'}}</view>
+					<view class="text-sm" style="color: #757575;">{{item.typeSub == 1 ? '助力' : '打赏'}}</view>
 					<view class="name padding-right flex justify-end" style="width: 180upx;">{{+item.totalHotValue}}热力值</view>
 				</view>
 			</block>

+ 1 - 1
pages/activityList/mine/myBoost.vue

@@ -12,7 +12,7 @@
 						<view class="time padding-top-xs">{{item.createTime}}</view>
 					</view>
 				</view>
-				<view class="text-sm" style="color: #757575;" v-if="item.typeSub==1">打榜</view>
+				<view class="text-sm" style="color: #757575;" v-if="item.typeSub==1">助力</view>
 				<view class="text-sm" style="color: #757575;" v-if="item.typeSub==2">打赏</view>
 				<view class="name padding-right flex justify-end" style="width: 200upx;">{{item.totalHotValue}}热力值</view>
 			</view>