Преглед изворни кода

fix: 支付成功页赠送好友超级订阅按钮显示逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe пре 4 месеци
родитељ
комит
0835986d31
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/web/templates/order/pc/paySuccess.html

+ 1 - 1
src/web/templates/order/pc/paySuccess.html

@@ -118,7 +118,7 @@
             {{else if eq .T.orderType "dataexport"}}
                 <p class="c_t_tips"> 我们会尽快将历史数据发送至{{.T.email}}邮箱,请稍后查阅。</p>
             {{end}}
-            {{if and (eq .T.orderType "subvip") (eq .T.positionType "0")}}
+            {{if and (eq .T.orderType "subvip") (eq .T.positionType "0") (ne .T.vipType 1) (ne .T.vipType 2)}}
               <div class="gift_friends_btn" v-if="isShowGift">
                 <button @click="openGiftFriendsDialog">将超级订阅赠送给好友</button>
               </div>