消除我特牛
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.7 KiB

4 weeks ago
<!--
* @Author: YeeChan
* @Date: 2021-06-02 11:29:59
* @Description:
-->
<ui-hint>
· 打包Apk需要用到的配置相关,我们都记录在这里,让apk工程更纯粹.
<br>
. Android工程中不需要去修改任何配置,全部放在这里,同步了gradle后,需要去手动gradle一次.
<br>
. 如果有微信登录相关的,需要自行修改xml中的回调与代码中的微信包名.
<br>
· build-templates/apk/ 中存放icon.png 与 AppConfig.java.
</ui-hint>
<ui-box-container class="layout vertical">
<ui-box-container class="layout vertical">
<div>
<ui-prop name="ApkPath(路径)" type="string" v-value="profile.apkPath" tooltip="· apk构建的路径"></ui-prop>
<ui-hint class="tiny top" position="-380px">apk分支,一般指向.../creatorApp2021/TopOn/</ui-hint>
</div>
</ui-box-container>
<ui-box-container class="layout vertical">
<div>
<ui-prop name="Package(包名)" type="string" v-value="profile.package" tooltip="· apk的包名"></ui-prop>
<ui-prop name="VersionCode(版本号)" type="string" v-value="profile.versionCode" tooltip="· apk控制版本号"></ui-prop>
<ui-prop name="VersionName(版本名字)" type="string" v-value="profile.versionName" tooltip="· apk的显示版本"></ui-prop>
<hr>
<div>
<ui-button id="btn" class="tiny green" @confirm="onBtnSyncGradle">同步gradle</ui-button>
</div>
</div>
</ui-box-container>
<ui-box-container class="layout vertical">
<div>
<ui-prop name="游戏名字" type="string" v-value="profile.gameName" tooltip="· 游戏显示的名字"> </ui-prop>
</div>
<ui-box-container class="layout horizontal">
<ui-button class="button red small" id="btn" @confirm="onBtnCreatorIcon">生成Icon</ui-button>
<ui-hint >需要一张Icon.png,需要去掉透明通道,会生成android、ios对应文件夹</ui-hint>
</ui-box-container>
<hr>
<ui-box-container class="layout horizontal">
<div>
<ui-button class="button green" id="btn" @confirm="onBtnSyncIcon">同步Icon</ui-button>
<ui-button class="button green" id="btn" @confirm="onBtnSyncString">同步string.xml</ui-button>
<ui-button class="button green" id="btn" @confirm="onBtnSyncAppConfig">同步AppConfig.java</ui-button>
</div>
</ui-box-container>
</ui-box-container>
<ui-button class="button green big" @click="onBtnSyncAll()">全部执行</ui-button>
<ui-button class="button blue big" @click="onBtnSave()">单独保存</ui-button>
</ui-box-container>