|
就只是点击操作,openWin,其实并不是只在这一个地方偶尔会出现
$scope.toItemDetail=function (id) {
var queryParam={id: id};
ItemService.toItemDetail(queryParam);
};
ItemService打开详情页的方法:
this.toItemDetail = function (queryParam) {
api.openWin({
name: 'item_body',
url: 'widget://html/share_header.html',
pageParam: {
dist: 'widget://html/toysburg_frame/item',
frameName: 'item_body',
title: '玩具详情',
queryParam:queryParam
},
bounces: false,
delay: 200
});
} |
|