Commit c9e831cc200275949575e6724f3d2084ee65185e

Authored by zhiyangdu
1 parent e2babef7

已关注达人更多跳转

Showing 1 changed file with 17 additions and 1 deletions
src/pages/newDaren/newDaren.vue
... ... @@ -27,7 +27,7 @@
27 27 :lists="fansDaren">
28 28  
29 29 <!-- 最新动态标题 -->
30   - <text-title-box slot="title-box" @more="newDarenDynamicsMore"
  30 + <text-title-box slot="title-box" @more="fansDarenMore"
31 31 :titles="{
32 32 title: '已关注达人',
33 33 more: true
... ... @@ -285,6 +285,22 @@
285 285 * 调用通用跳转
286 286 * @param {object} item [通用跳转对象]
287 287 */
  288 + /**
  289 + * 已关注达人跳转到更多
  290 + */
  291 + fansDarenMore(){
  292 + // 判断并调用通用跳转
  293 + if (typeof this.$parent.gotoDetail === "function") {
  294 +
  295 + // 设置跳转参数
  296 + let options = {
  297 + type: "5",
  298 + to: (window.location.href.split("#")[0] + "#/fansShopMessageList?uid=" + this.getStore("uid")),
  299 + shop_type: ""
  300 + }
  301 + this.$parent.gotoDetail(options);
  302 + }
  303 + },
288 304 toDetail(item) {
289 305  
290 306 // 判断是否有通用跳转函数
... ...