cainiao-hue 3 сар өмнө
parent
commit
60b84a01ae

+ 18 - 0
soul-app/deploy.ps1

@@ -0,0 +1,18 @@
+# 打包项目,携带应用前缀(index.html中相对路径将自动修复为/dev/jxnu/<学号>前缀)
+# /dev/ 项目测试版上传路径
+# /dev/jxnu/<学号> nova-crm项目预留路径
+set NODE_OPTIONS=–max_old_space_size=16000
+node ./node_modules/@angular/cli/bin/ng build --base-href="/dev/jxnu/agent/"
+
+# 清空旧文件目录
+obsutil rm obs://nova-cloud/dev/jxnu/<学号> -r -f -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com"
+
+# 同步文件目录
+obsutil sync ./www obs://nova-cloud/dev/jxnu/<学号>  -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com" -acl=public-read
+
+
+# 授权公开可读
+obsutil chattri obs://nova-cloud/dev/jxnu/<学号> -r -f -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com" -acl=public-read
+
+# 列举对象
+obsutil ls obs://nova-cloud/dev/jxnu/agent  -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com"

+ 1 - 1
soul-app/src/app/tab1/tab1.page.html

@@ -3,7 +3,7 @@
     <ion-item lines="none">
       <!-- 图片 -->
       <ion-avatar slot="start" class="image-container">
-        <img src="assets/img/3.png" alt="Your Image" class="header-image">
+        <img src="assets/img/7.png" alt="Your Image" class="header-image">
       </ion-avatar>
  
       <!-- 搜索框 -->

BIN
soul-app/src/assets/img/7.png