修改游戏详情页按钮w文字

This commit is contained in:
yulixing 2019-06-03 14:44:37 +08:00
parent ae4d0b068c
commit 743f8c52eb
2 changed files with 13 additions and 13 deletions

View File

@ -12,30 +12,30 @@
</div> </div>
</div> </div>
<div class="pd-20"> <div class="pd-20">
<el-row :gutter="20"> <el-row :gutter="16">
<el-col :span="16"> <el-col :span="24">
<el-card class="games" shadow="never"> <el-card class="games" shadow="never">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>游戏概览</span> <span>我的游戏</span>
<el-button style="float: right; padding: 0" type="text"> <el-button style="float: right; padding: 0" type="text">
<router-link to="/games/list">游戏列表</router-link> <router-link to="/games/list">游戏列表</router-link>
</el-button> </el-button>
</div> </div>
<el-row :gutter="16"> <el-row :gutter="16">
<el-col :span="8" v-if="permEditGame"> <el-col :span="6" v-if="permEditGame">
<router-link to="/games/details/new/info" class="add-game"> <router-link to="/games/details/new/info" class="add-game">
<i class="el-icon-plus" style="margin-right: 10px"/> 添加游戏 <i class="el-icon-plus" style="margin-right: 10px"/> 添加游戏
</router-link> </router-link>
</el-col> </el-col>
<el-col :span="8" v-for="(item, index) in gameList" :key="index"> <el-col :span="6" v-for="(item, index) in gameList" :key="index">
<game-card :info="item" @change="refreshData"/> <game-card :info="item" @change="refreshData"/>
</el-col> </el-col>
<el-col :span="8" v-if="gameList.length === 0 && !permEditGame">暂无游戏</el-col> <el-col :span="6" v-if="gameList.length === 0 && !permEditGame">暂无游戏</el-col>
</el-row> </el-row>
</el-card> </el-card>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-card class="quick-start mgb-20" shadow="never"> <!-- <el-card class="quick-start mgb-20" shadow="never">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>快速开始</span> <span>快速开始</span>
</div> </div>
@ -63,7 +63,7 @@
<el-tag effect="plain" class="mgb-20 mgr-20"> <el-tag effect="plain" class="mgb-20 mgr-20">
<router-link to="/personal/index">个人中心</router-link> <router-link to="/personal/index">个人中心</router-link>
</el-tag> </el-tag>
</el-card> </el-card>-->
<!-- 天气 --> <!-- 天气 -->
<!-- <el-card class="weather mgb-20" shadow="never"> <!-- <el-card class="weather mgb-20" shadow="never">
<iframe <iframe
@ -76,7 +76,7 @@
marginheight="0" marginheight="0"
scrolling="no" scrolling="no"
></iframe> ></iframe>
</el-card> --> </el-card>-->
</el-col> </el-col>
</el-row> </el-row>
</div> </div>

View File

@ -62,8 +62,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-if="permEdit"> <el-form-item v-if="permEdit">
<el-button type="primary" @click="updateBaseForm" v-if="uid && uid !== 'new'">更新信息</el-button> <el-button type="primary" @click="updateBaseForm" v-if="uid && uid !== 'new'">保存</el-button>
<el-button type="danger" @click="delBaseForm" v-if="uid && uid !== 'new'">删除游戏</el-button> <el-button type="danger" @click="delBaseForm" v-if="uid && uid !== 'new'">删除</el-button>
<el-button type="primary" @click="saveBaseForm" v-else>保存游戏</el-button> <el-button type="primary" @click="saveBaseForm" v-else>保存游戏</el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -140,11 +140,11 @@
type="primary" type="primary"
@click="publishCfg(index)" @click="publishCfg(index)"
v-if="item.ftp && item.ftp.ftp_user" v-if="item.ftp && item.ftp.ftp_user"
>发布游戏</el-button> >发布</el-button>
<el-button <el-button
@click="goSettings(index)" @click="goSettings(index)"
v-if="item.ftp && item.ftp.ftp_user && permSetting" v-if="item.ftp && item.ftp.ftp_user && permSetting"
>游戏配置</el-button> >配置</el-button>
<el-button <el-button
type="primary" type="primary"
@click="createFtp(index)" @click="createFtp(index)"