env-project.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <ui-section>
  2. <div slot="header" 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;">
  6. 未发现manifest热更新配置文件,请生成一份后导入到项目
  7. </span>
  8. <ui-button title="将生成的2个manifest文件导入到项目中" class="end-justified red"
  9. v-on:confirm="importManifestToGame">
  10. 导入
  11. </ui-button>
  12. </div>
  13. </ui-prop>
  14. <div class="layout vertical" v-show="localGameProjectManifest.length>0">
  15. <ui-prop name="游戏版本号:">
  16. <div class="flex-1 layout horizontal center">
  17. <h4 class="flex-2">{{localGameVersion}}</h4>
  18. <ui-button title="将生成的2个manifest文件导入到项目中" class="end-justified blue"
  19. v-on:confirm="importManifestToGame">
  20. 导入manifest
  21. </ui-button>
  22. <ui-button class="end-justified" v-on:confirm="initLocalGameVersion">
  23. <i class="icon-arrows-cw"></i>
  24. </ui-button>
  25. </div>
  26. </ui-prop>
  27. <ui-prop name="package url:" tooltip="点击打开 URL/version.manifest">
  28. <div class="flex-1 layout horizontal center">
  29. <a class="flex-2" style="white-space: nowrap;" @click="onClickLocalPackageUrl">
  30. {{localGamePackageUrl}}
  31. </a>
  32. </div>
  33. </ui-prop>
  34. <ui-prop name="热更配置(project.mainfest)">
  35. <div class="flex-1 layout horizontal center">
  36. <ui-input class="flex-1" disabled v-value="localGameProjectManifest"></ui-input>
  37. <ui-button v-on:confirm="openDir(localGameProjectManifest)">
  38. <i class="icon-doc-text"></i>
  39. </ui-button>
  40. </div>
  41. </ui-prop>
  42. <ui-prop name="热更配置(version.mainfest)">
  43. <div class="flex-1 layout horizontal center">
  44. <ui-input class="flex-1" disabled v-value="localGameVersionManifest"></ui-input>
  45. <ui-button v-on:confirm="openDir(localGameVersionManifest)">
  46. <i class="icon-doc-text"></i>
  47. </ui-button>
  48. </div>
  49. </ui-prop>
  50. </div>
  51. </ui-section>