env-project.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <ui-section>
  2. <div class="header greenColor">当前项目manifest信息</div>
  3. <ui-prop name="热更配置(检测提示)" v-show="localGameProjectManifest.length===0||localGameProjectManifest===null">
  4. <div class="flex-1 layout horizontal center">
  5. <span class="flex-2" style="color: #ff1500;">未发现manifest热更新配置文件,请生成一份后导入到项目</span>
  6. <ui-button title="将生成的2个manifest文件导入到项目中" class="end-justified red" v-on:confirm="importManifestToGame">导入</ui-button>
  7. </div>
  8. </ui-prop>
  9. <div class="layout vertical" v-show="localGameProjectManifest.length>0">
  10. <ui-prop name="游戏版本号:">
  11. <div class="flex-1 layout horizontal center">
  12. <h4 class="flex-2">{{localGameVersion}}</h4>
  13. <ui-button title="将生成的2个manifest文件导入到项目中" class="end-justified blue" v-on:confirm="importManifestToGame">导入manifest</ui-button>
  14. <ui-button class="end-justified" v-on:confirm="initLocalGameVersion">
  15. <i class="icon-arrows-cw"></i>
  16. </ui-button>
  17. </div>
  18. </ui-prop>
  19. <ui-prop name="package url:" tooltip="点击打开 URL/version.manifest">
  20. <div class="flex-1 layout horizontal center">
  21. <a class="flex-2" style="white-space: nowrap;" href="{{localGamePackageUrl}}/version.manifest">{{localGamePackageUrl}}</a>
  22. </div>
  23. </ui-prop>
  24. <ui-prop name="热更配置(project.mainfest)">
  25. <div class="flex-1 layout horizontal center">
  26. <ui-input class="flex-1" disabled="disabled" v-value="localGameProjectManifest"></ui-input>
  27. <ui-button v-on:confirm="openDir(localGameProjectManifest)">
  28. <i class="icon-doc-text"></i>
  29. </ui-button>
  30. </div>
  31. </ui-prop>
  32. <ui-prop name="热更配置(version.mainfest)">
  33. <div class="flex-1 layout horizontal center">
  34. <ui-input class="flex-1" disabled="disabled" v-value="localGameVersionManifest"></ui-input>
  35. <ui-button v-on:confirm="openDir(localGameVersionManifest)">
  36. <i class="icon-doc-text"></i>
  37. </ui-button>
  38. </div>
  39. </ui-prop>
  40. </div>
  41. </ui-section>