Browse Source

feat: 搜索订阅弹窗跳转推送设置

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 8 tháng trước cách đây
mục cha
commit
7ebe850002

+ 3 - 9
apps/mobile/src/components/search/bidding/oneKeySubscribeDialog.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
   <van-dialog
   <van-dialog
-    :value="value"
+    :value="!value"
     title="已帮您提取订阅信息,请确认"
     title="已帮您提取订阅信息,请确认"
     get-container="body"
     get-container="body"
     class-name="j-confirm-dialog"
     class-name="j-confirm-dialog"
@@ -70,7 +70,7 @@
         </div>
         </div>
       </div>
       </div>
       <div class="subscribe-tip">
       <div class="subscribe-tip">
-        前往<span @click="toSubSetting">订阅设置</span>,设置订阅信息推送渠道和推送时间
+        前往<span @click="toSubSetting">推送设置</span>,设置订阅信息推送渠道和推送时间
       </div>
       </div>
     </div>
     </div>
     <div class="j-button-group height40">
     <div class="j-button-group height40">
@@ -441,13 +441,7 @@ export default {
     },
     },
     // 跳转到订阅设置
     // 跳转到订阅设置
     toSubSetting() {
     toSubSetting() {
-      const { inWX } = this.$envs
-      if (inWX) {
-        location.href = '/front/vipsubscribe/toSubVipSetPage#tipover'
-      }
-      else {
-        location.href = '/jyapp/vipsubscribe/toSubVipSetPage#tipover'
-      }
+      this.$router.push('/push/pushsetting')
     },
     },
     subConfirmEvent() {
     subConfirmEvent() {
       const { productType } = this.subInfo
       const { productType } = this.subInfo