修改查看帮助视频按钮的样式

This commit is contained in:
zhl 2019-03-27 18:46:02 +08:00
parent f5ab28441b
commit 45fb3c13ce
5 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{
"description": "A WePY project",
"setting": {
"urlCheck": false,
"urlCheck": true,
"es6": false,
"postcss": false,
"minified": false,

View File

@ -1,4 +1,4 @@
const env = 'test'; //product, test
const env = 'product'; //product, test
export default {
env: env,
// apiBase: env === 'test'? 'http://192.168.100.226' : 'https://ghost.kingsome.cn',

View File

@ -25,7 +25,7 @@
<view class="video-main">
<video
id="video_player"
src=""
src="{{config.videoUrl}}"
controls
autoplay
@play = "videoPlay"

View File

@ -32,9 +32,9 @@
<view class="game-info-label">语言</view>
<view class="game-info-value">{{record.language}}</view>
</view>
<view class="online-tip {{ (record.category === 'fc' && helpVideo)? '' : 'hidden' }}" @tap="onlineHelp">
<view class="online-tip {{ (record.category === 'fc' && helpVideo && showAll)? '' : 'hidden' }}" @tap="onlineHelp">
<image src="{{tipImage}}"></image>
<view class="tip-text">查看联机帮助</view>
<view class="tip-text zan-btn zan-btn--mini zan-btn--plain zan-btn--warn ">查看联机帮助</view>
</view>
</view>
<view class="game-introduce-view">

View File

@ -39,6 +39,7 @@
}
onLoad(params) {
this.$parent.log('video_play_page_onload', params);
this.videoCfg.videoUrl = decodeURIComponent(params.link);
const title = decodeURIComponent(params.title)
if (title) {