123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <ui-section>
- <div 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>
- </div>
- </div>
- </div>
- <div class="layout vertical start-justified">
- <ui-prop name="资源包类型">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="selectDestType"></ui-input>
- <ui-button v-on:confirm="onBtnClickTest">内网测试包</ui-button>
- <ui-button v-on:confirm="onBtnClickBeta">外网测试包</ui-button>
- <ui-button v-on:confirm="onBtnClickRelease">正式包</ui-button>
- </div>
- </ui-prop>
- <ui-prop name="是否加密资源">
- <div class="flex-1 layout horizontal center">
- <ui-button v-on:confirm="onClickNotUse">不使用加密</ui-button>
- <ui-button v-on:confirm="onClickUse">使用加密</ui-button>
- <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="encryptSign" v-show="isUsedEncrypt"></ui-input>
- <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="encryptPass" v-show="isUsedEncrypt"></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="version"></ui-input>
- </div>
- </ui-prop>
- <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-input style="width: 100px;" readonly="readonly" v-value="remoteServerVersion" v-if="remoteServerVersion"></ui-input>
- <ui-button v-on:confirm="userLocalIP">使用本机IP</ui-button>
- </div>
- </ui-prop>
- <ui-prop name="资源服务器url配置历史">
- <div class="flex-1 layout horizontal center">
- <ui-select class="flex-2" style="width: auto" v-el:address v-on:change="onChangeSelectHotAddress">
- <option v-for="(index, address) in hotAddressArray" v-value="address">{{'['+index+'] ' +address}}</option>
- </ui-select>
- <ui-button class="green" v-on:confirm="onBtnClickUseSelectedHotAddress" v-show="isShowUseAddrBtn">使用</ui-button>
- <ui-button class="red" v-on:confirm="onBtnClickDelSelectedHotAddress" v-show="isShowDelAddrBtn">删除</ui-button>
- </div>
- </ui-prop>
- <ui-prop name="build项目资源文件目录" tooltip="项目构建后的目录">
- <div class="flex-1 layout horizontal center">
- <ui-input class="flex-2" readonly="readonly" disabled="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" readonly="readonly" disabled="disabled" v-value="genManifestDir"></ui-input>
- <ui-button v-on:confirm="onOpenManifestDir">
- <i class="icon-doc-text"></i>
- </ui-button>
- </div>
- </ui-prop>
-
- <div class="self-end">
- <ui-button class="self-end green" v-on:confirm="onClickGenCfg">生成热更包</ui-button>
- <ui-button class="self-end blue" v-on:confirm="onClickOpenVersionDir">
- <i class="fa fa-folder-open">打开热更包目录</i>
- </ui-button>
- </div>
- </div>
- </ui-section>
|