Browse Source

接口规范字体

dujingxian 4 years ago
parent
commit
0ab3e21442
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/pages/subPages/interfaceDoc.vue

+ 8 - 2
src/pages/subPages/interfaceDoc.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="interfaceDoc">
     <el-card>
-      <h3>接 口 规 范</h3>
+      <h1>接 口 规 范</h1>
       <h4>验签规则:</h4>
       <p>
         签名(sign字段)生成方式:将所有参数名按照ASCII自然排序,并拼接成key1=value&key2=value----,末尾加上“&key=密钥”,
@@ -78,6 +78,8 @@
             trade_no: 平台唯一交易号,和提交的成功时返回对应。
             card_name:持卡人姓名(中石油需要填写,其余的不需要)
             idcard: 持卡人身份证(中石油需要填写,其余的不需要)
+            official_sn : 官方流水号
+            message : 失败原因
             state:SUCCESS表示充值成功,CANCEL表示充值失败订单取消.
             sign: 签名(不参与签名的字段,参考签名方法)
         确认接受异步通知返回:
@@ -147,11 +149,13 @@ export default {
 .el-card {
   padding: 0 5%;
 }
-h3 {
+h1 {
   text-align: center;
+  font-size: 18px;
 }
 h4 {
   line-height: 30px;
+  font-size: 14px;
 }
 h6 {
   line-height: 30px;
@@ -159,9 +163,11 @@ h6 {
 p {
   text-indent: 2em;
   line-height: 30px;
+  font-size: 14px;
 }
 pre {
   line-height: 30px;
+  font-size: 14px;
 }
 </style>
 <style>