收藏
回答

第三方平台 模板库跳转页面错误


第三方平台 模板库跳转页面错误,上传代码后,体验版出了底部的tab页面,其他页面跳转都出错,开发版正常,这是什么问题?

最后一次编辑于  2017-08-19
回答关注问题邀请回答
收藏

2 个回答

  • 小程序、App开发🇻
    小程序、App开发🇻
    2017-08-19

    不单是页面跳转错误,应该是页面跳转错误+渲染错误,页面所请求的JS是其他页面的,渲染的wxml加载正确。导致所有非首页的页面都是错误的。

    2017-08-19
    有用
    回复
  • 小程序、App开发🇻
    小程序、App开发🇻
    2017-08-19



    我进入的是shop/show, 日志打印写在order/show,跳转地址有误。

    第三方提交的extJson配置如下

    $extJson = array(
          'extAppid' => $AppId,
          'ext' => array(
            'PlatformId'=> $PlatformId,
            'AgentId'=> $AgentId,
            'BusinessId'=> $BusinessId,
            'ShopId'=> $ShopId,
            'AppWid'=> $AppWid,
            'AppId'=> $AppId,
            'AppTitle'=> $AppTitle,
            'AppHomeTitle'=> $AppHomeTitle,
            'RequestUrl'=> $RequestUrl
          ),
          'extPages' => array(
              'pages/index/index' => array(
                  'navigationBarTitleText'=> $AppTitle,
                  'backgroundColor'=>  "#F8F8F8",
                  'enablePullDownRefresh'=> false
              )
          ),
          
          'pages' => array(
            "pages/index/index",
            "pages/user/index",
            "pages/user/account",
            "pages/user/phone",
            "pages/shop/index",
            "pages/shop/show",
            "pages/shop/license",
            "pages/shop/report",
            "pages/order/index",
            "pages/order/list",
            "pages/order/show",
            "pages/order/pay",
            "pages/order/status",
            "pages/order/comment",
            "pages/coupon/list",
            "pages/address/list",
            "pages/address/edit",
            "pages/other/contact",
            "pages/other/feedback",
            "pages/other/fail"
          ),
          
          'window' => array(
                'navigationBarTitleText'=>$AppTitle
          ),
          'tabBar' => array(
            'list' => array(
              array(
                'pagePath'=>"pages/index/index",
                'text'=>"首页",
                'iconPath'=> "images/footer/home.png",
                'selectedIconPath'=> "images/footer/home-active.png"
              ),
              array(
                'pagePath'=>"pages/order/index",
                'text'=>"订单",
                'iconPath'=>"images/footer/order.png",
                'selectedIconPath'=>"images/footer/order-active.png"
              ),
              array(
                'pagePath'=>"pages/user/index",
                'text'=>"我的",
                'iconPath'=>"images/footer/user.png",
                'selectedIconPath'=>"images/footer/user-active.png"
              ),
            )
          ),
          
          'networkTimeout' => array(
              'request'    => 10000,
              'uploadFile'  => 10000,
              'downloadFile' => 10000,
              'connectSocket' => 10000
          )

        );


    2017-08-19
    有用
    回复
登录 后发表内容