shish 1 miesiąc temu
rodzic
commit
a579ff0f6c
2 zmienionych plików z 15 dodań i 3 usunięć
  1. 14 2
      hdApp/src/admin/ghs/pay.vue
  2. 1 1
      hdApp/src/pages.json

+ 14 - 2
hdApp/src/admin/ghs/pay.vue

@@ -6,7 +6,7 @@
 				<image class="pay-header-logo" :src="`${constant.imgUrl}/logo4.png`" mode="aspectFill" />
 				<view class="pay-header-text">
 					<view class="pay-header-name">{{ ghsName || '供货商' }}</view>
-					<view class="pay-header-sub">向供货商付款结账</view>
+					<view class="pay-header-sub">向供货商付款</view>
 				</view>
 			</view>
 			<button
@@ -49,7 +49,7 @@
 		<view class="pay-actions">
 			<!-- #ifdef MP-WEIXIN -->
 			<button
-				class="button-com green pay-action-btn"
+				class="button-com green pay-action-btn pay-wx-btn"
 				:disabled="ghsDataLoading || !!loadError"
 				@click="wexinPayFn">
 				微信支付
@@ -519,6 +519,18 @@
 		font-size: 32upx;
 	}
 
+	/* 微信支付按钮:在原有高度上增加 8upx,文字垂直居中 */
+	.pay-wx-btn {
+		display: flex;
+		flex-direction: row;
+		align-items: center;
+		justify-content: center;
+		padding-top: 32upx;
+		padding-bottom: 32upx;
+		line-height: 32upx;
+		box-sizing: border-box;
+	}
+
 	.pay-ali-section {
 		margin-top: 40upx;
 	}

+ 1 - 1
hdApp/src/pages.json

@@ -217,7 +217,7 @@
 			"root": "admin/ghs",
 			"pages": [
 				{ "path": "shop", "style": {"navigationBarTitleText": "供货商"}},
-				{ "path": "pay", "style": {"navigationBarTitleText": "结账收银台"}},
+				{ "path": "pay", "style": {"navigationBarTitleText": "收银台"}},
 				{ "path": "teachPay", "style": {"navigationBarTitleText": "教程"}},
 				{ "path": "result", "style": {"navigationBarTitleText": "付款成功"}},
 				{ "path": "addGhs", "style": {"navigationBarTitleText": "添加"}},