wzx il y a 1 an
Parent
commit
8d10ea417d

+ 2 - 2
card/manifest.json

@@ -2,8 +2,8 @@
     "name" : "card",
     "appid" : "__UNI__A61F96B",
     "description" : "",
-    "versionName" : "1.6.5",
-    "versionCode" : 165,
+    "versionName" : "1.6.6",
+    "versionCode" : 166,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 6 - 2
card/pages/bm/style4/cardconfig.md

@@ -248,7 +248,8 @@ index卡片URL参数:type=团建活动&btnText=进入活动
 	},
 	"param": {
 		"labelName": "姓名",
-		"labelOrg": "院系"
+		"labelOrg": "院系",
+		"subTitle": "山东大学123周年庆"
 	}
 },
 "rankOverview": {
@@ -571,7 +572,10 @@ index卡片URL参数:type=团建活动&btnText=进入活动
 				]
 			}
 		}
-	]
+	],
+	"param": {
+		"subTitle": "山东大学123周年庆"
+	}
 },
 "rankList": {
 	"css": "

+ 18 - 2
card/pages/bm/style4/rankOverview.vue

@@ -12,7 +12,8 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/rankOverview
 				
 				<view class="topcontent uni-column uni-jcsa">
 					<view class="logo"></view>
-					<text class="top-acttime">{{fmtMcTime2(beginSecond, endSecond)}}</text>
+					<text v-if="configParam.subTitle.length > 0" class="top-acttime">{{configParam.subTitle}}</text>
+					<text v-else class="top-acttime">{{fmtMcTime2(beginSecond, endSecond)}}</text>
 				</view>
 			</view>
 
@@ -130,6 +131,9 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/rankOverview
 				popupRuleConfig: {}, // 规则弹窗配置
 				popupDataList: [],
 				navPoint: {},
+				configParam: {
+					subTitle: ""
+				},
 			}
 		},
 		computed: {
@@ -325,6 +329,15 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/rankOverview
 					console.log("[loadConfig] popupDataList 加载默认列表");
 				}
 				// console.log("[loadConfig] popupDataList:", this.popupDataList);
+				
+				// 加载页面参数
+				const param = config.param;
+				if (param != undefined) {
+					if (param.subTitle != undefined && param.subTitle.length > 0) {
+						this.configParam.subTitle = param.subTitle;
+					}
+				}
+				// console.log("[loadConfig] param:", this.configParam);
 			},
 			// 获取倒计时
 			getCountdown() {
@@ -703,7 +716,10 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/rankOverview
 										]
 									}
 								}
-							]
+							],
+							"param": {
+								"subTitle": "山东大学123周年庆"
+							}
 						}; */
 
 						this.loadConfig(config);

+ 8 - 2
card/pages/bm/style4/signup.vue

@@ -12,7 +12,8 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/signup
 
 				<view class="topcontent uni-column uni-jcsa">
 					<view class="logo"></view>
-					<text class="top-acttime">{{fmtMcTime2(beginSecond, endSecond)}}</text>
+					<text v-if="configParam.subTitle.length > 0" class="top-acttime">{{configParam.subTitle}}</text>
+					<text v-else class="top-acttime">{{fmtMcTime2(beginSecond, endSecond)}}</text>
 				</view>
 			</view>
 
@@ -131,6 +132,7 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/signup
 				configParam: {
 					labelName: "昵称",
 					labelOrg: "组织",
+					subTitle: ""
 				},
 
 				eSelectionProps: {
@@ -325,6 +327,9 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/signup
 					if (param.labelOrg != undefined && param.labelOrg.length > 0) {
 						this.configParam.labelOrg = param.labelOrg;
 					}
+					if (param.subTitle != undefined && param.subTitle.length > 0) {
+						this.configParam.subTitle = param.subTitle;
+					}
 				}
 				// console.log("[loadConfig] param:", this.configParam);
 			},
@@ -406,7 +411,8 @@ https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/signup
 							},
 							"param": {
 								"labelName": "姓名",
-								"labelOrg": "院系"
+								"labelOrg": "院系",
+								"subTitle": "山东大学123周年庆"
 							}
 						}; */