dever 6 năm trước cách đây
mục cha
commit
e9e00f9516

+ 1 - 1
service/assets/mobile/success.html

@@ -15,7 +15,7 @@
     <p class="txt">购买成功,长按上方小程序码识别或微信搜索“<span>JSTYLE精美电子刊</span>”进入小程序使用兑换码</p>
     <p class="download" style="display:none;"><a href="#">点击下载“JSTYLE精美”APP查看电子刊</a></p>
     <div id="code" style="display:none;">
-        <p class="tip">(点击下方兑换码可直接复制)</p>
+        <p class="tip" style="display:none;">(点击下方兑换码可直接复制)</p>
         <div class="read">
             <p>兑换码:1521DSJDB55</p>
         </div>

+ 2 - 0
service/src/Buy.php

@@ -121,11 +121,13 @@ class Buy extends Base
         $order = Dever::db('journal/order')->one($order_id);
 
         $config['code_show'] = 'display:none;';
+        $config['button'] = '继续购买';
         if ($order && $order['type'] == 3) {
             $config['code_show'] = '';
             if (!$order['code']) {
                 $order['code'] = '生成中';
             }
+            $config['button'] = '复制兑换码';
             $config['code'] = '<p>兑换码:'.$order['code'].'</p>';
         }
 

+ 2 - 0
service/template/mobile/success.php

@@ -18,6 +18,8 @@ $view
 
 ->fetch('#code .read', 'service/buy.success#code')
 
+->fetch(array('.button', 1), 'service/buy.success#button')
+
 
 ->import('inc/foot')