1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <!-- <li v-for="item in versionObject" :key="item.versionNumber"></li> -->
- <!-- </li> -->
- <ui-section>
- <div slot="header" class="header greenColor">生成Manifest配置
- <div class="layout horizontal flex-1 center self-end end-justified">
- <div class="self-end">
- <ui-button v-on:confirm="onBtnClickHelpDoc" @click="onStopTouchEvent">文档</ui-button>
- <ui-button v-on:confirm="onBtnClickTellMe" @click="onStopTouchEvent" class="QQ"></ui-button>
- </div>
- </div>
- </div>
- <div class="layout vertical start-justified">
- <ui-prop name="热更根目录url" tooltip="游戏热更新服务器的url">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-2" v-on:blur="onInPutUrlOver" v-value="serverRootDir"></ui-input>
- <ui-button v-on:confirm="userLocalIP">使用本机IP</ui-button>
- </div>
- </ui-prop>
- <ui-prop name="build项目资源文件目录" tooltip="项目构建后的目录">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-2" disabled v-value="resourceRootDir"></ui-input>
- <ui-button v-on:confirm="onSelectResourceRootDir">...</ui-button>
- <ui-button v-on:confirm="onOpenResourceDir" v-if="isValidResDir">
- <i class="icon-doc-text"></i>
- </ui-button>
- </div>
- </ui-prop>
- <ui-prop name="manifest存储目录">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-2" disabled v-value="genManifestDir"></ui-input>
- <ui-button v-on:confirm="onOpenManifestDir">
- <i class="icon-doc-text"></i>
- </ui-button>
- </div>
- </ui-prop>
- <ui-prop name="主包名/过滤名单">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-1" v-on:blur="onInputVersionOver" v-value="gameName"></ui-input>
- <ui-input name="主包名2" class="flex-1" v-on:blur="onInputVersionOver" v-value="whiteList"></ui-input>
- </div>
- </ui-prop>
- <ui-prop name="版本号">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-1" v-on:blur="onInputVersionOver" v-value="remoteServerVersion"></ui-input>
- </div>
- </ui-prop>
- <ui-box-container class="layout vertical left" v-for="(index, item) in subPackArr">
- <ui-prop name="子包名">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-1" :is-disabled="item.disabled" v-on:focus="onInSubPackName(index)"
- v-on:blur="onLeaveSubPackName(index)" v-value="index"></ui-input>
- <ui-button class="self-end blue" v-on:confirm="changeSubPackDisabled(index)">{{item.disabled ?
- "取消锁定" : "锁定包名"}}</ui-button>
- </div>
- </ui-prop>
- <ui-prop name="版本号">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-1" v-value="item.versionNumber"></ui-input>
- <ui-button class="self-end red" v-on:confirm="delSubPack(index)">删除子包</ui-button>
- </div>
- </ui-prop>
- <ui-prop name="子包服务器资源url">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-2" disabled v-value="item.subPackUrl"></ui-input>
- </div>
- </ui-prop>
- </ui-box-container>
- <div class="self-end">
- <ui-button class="self-end blue" v-on:confirm="onCopyFileToReduceDir">检索更新资源</ui-button>
- <ui-button class="self-end green" v-on:confirm="addSubPack">添加子包</ui-button>
- <!-- <ui-button class="self-end blue" v-on:confirm="onClickOpenVersionDir">
- <i class="fa fa-folder-open">打开热更包目录</i>
- </ui-button> -->
- <ui-button class="self-end red" v-on:confirm="onClickGenCfg">生成热更包</ui-button>
- </div>
- </div>
- </ui-section>
|