manifest-gen.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <ui-section>
  2. <div class="header greenColor">生成Manifest配置
  3. <div class="layout horizontal flex-1 center self-end end-justified">
  4. <div class="self-end">
  5. <ui-button v-on:confirm="onBtnClickHelpDoc" @click="onStopTouchEvent">文档</ui-button>
  6. </div>
  7. </div>
  8. </div>
  9. <div class="layout vertical start-justified">
  10. <ui-prop name="资源包类型">
  11. <div class="flex-1 layout horizontal center">
  12. <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="selectDestType"></ui-input>
  13. <ui-button v-on:confirm="onBtnClickTest">内网测试包</ui-button>
  14. <ui-button v-on:confirm="onBtnClickBeta">外网测试包</ui-button>
  15. <ui-button v-on:confirm="onBtnClickRelease">正式包</ui-button>
  16. </div>
  17. </ui-prop>
  18. <ui-prop name="是否加密资源">
  19. <div class="flex-1 layout horizontal center">
  20. <ui-button v-on:confirm="onClickNotUse">不使用加密</ui-button>
  21. <ui-button v-on:confirm="onClickUse">使用加密</ui-button>
  22. <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="encryptSign" v-show="isUsedEncrypt"></ui-input>
  23. <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="encryptPass" v-show="isUsedEncrypt"></ui-input>
  24. </div>
  25. </ui-prop>
  26. <ui-prop name="版本号">
  27. <div class="flex-1 layout horizontal center">
  28. <ui-input class="flex-1" v-on:blur="onInputVersionOver" v-value="version"></ui-input>
  29. </div>
  30. </ui-prop>
  31. <ui-prop name="资源服务器url" tooltip="游戏热更新服务器的url">
  32. <div class="flex-1 layout horizontal center">
  33. <ui-input class="flex-2" v-on:blur="onInPutUrlOver" v-value="serverRootDir"></ui-input>
  34. <ui-input style="width: 100px;" readonly="readonly" v-value="remoteServerVersion" v-if="remoteServerVersion"></ui-input>
  35. <ui-button v-on:confirm="userLocalIP">使用本机IP</ui-button>
  36. </div>
  37. </ui-prop>
  38. <ui-prop name="资源服务器url配置历史">
  39. <div class="flex-1 layout horizontal center">
  40. <ui-select class="flex-2" style="width: auto" v-el:address v-on:change="onChangeSelectHotAddress">
  41. <option v-for="(index, address) in hotAddressArray" v-value="address">{{'['+index+'] ' +address}}</option>
  42. </ui-select>
  43. <ui-button class="green" v-on:confirm="onBtnClickUseSelectedHotAddress" v-show="isShowUseAddrBtn">使用</ui-button>
  44. <ui-button class="red" v-on:confirm="onBtnClickDelSelectedHotAddress" v-show="isShowDelAddrBtn">删除</ui-button>
  45. </div>
  46. </ui-prop>
  47. <ui-prop name="build项目资源文件目录" tooltip="项目构建后的目录">
  48. <div class="flex-1 layout horizontal center">
  49. <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="resourceRootDir"></ui-input>
  50. <ui-button v-on:confirm="onSelectResourceRootDir">...</ui-button>
  51. <ui-button v-on:confirm="onOpenResourceDir" v-if="isValidResDir">
  52. <i class="icon-doc-text"></i>
  53. </ui-button>
  54. </div>
  55. </ui-prop>
  56. <ui-prop name="manifest存储目录">
  57. <div class="flex-1 layout horizontal center">
  58. <ui-input class="flex-2" readonly="readonly" disabled="disabled" v-value="genManifestDir"></ui-input>
  59. <ui-button v-on:confirm="onOpenManifestDir">
  60. <i class="icon-doc-text"></i>
  61. </ui-button>
  62. </div>
  63. </ui-prop>
  64. <div class="self-end">
  65. <ui-button class="self-end green" v-on:confirm="onClickGenCfg">生成热更包</ui-button>
  66. <ui-button class="self-end blue" v-on:confirm="onClickOpenVersionDir">
  67. <i class="fa fa-folder-open">打开热更包目录</i>
  68. </ui-button>
  69. </div>
  70. </div>
  71. </ui-section>