时间:2019-05-04 来源:小程序工厂
A***:
我进入的是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
)
);
A***:
不单是页面跳转错误,应该是页面跳转错误+渲染错误,页面所请求的JS是其他页面的,渲染的wxml加载正确。导致所有非首页的页面都是错误的。
微信web开发者工具 beta问题--微信小程序开发