使用范围:UI2
Contents
class WxShop ($UI/system/api/native/wxShop)
微信小店,仅在微信公众号中有效。
var shop = require('$UI/system/api/native/wxShop'); shop.openProductSpecificView({ productId : 'pDF3iY_m2M7EQ5EKKKWd95kAxfNw', extInfo : '123' });
Constructor Top
WxShop () |
Static Methods Top
void | addCard (Object options) | |
void | chooseCard (Object options) | |
void | openCard (Object options) | |
void | openProductSpecificView (Object options) |
Constructor details
Top
public
WxShop
()
微信小店,仅在微信公众号中有效。
var shop = require('$UI/system/api/native/wxShop');
shop.openProductSpecificView({
productId : 'pDF3iY_m2M7EQ5EKKKWd95kAxfNw',
extInfo : '123'
});
public
WxShop
()
微信小店,仅在微信公众号中有效。
var shop = require('$UI/system/api/native/wxShop'); shop.openProductSpecificView({ productId : 'pDF3iY_m2M7EQ5EKKKWd95kAxfNw', extInfo : '123' });
Static Methods Detail Top
static
public
void
addCard
(Object options)
批量添加卡券接口 see: http://mp.weixin.qq.com/wiki/home/index.html
static
public
void
chooseCard
(Object options)
拉取适用卡券列表并获取用户选择信息 see: http://mp.weixin.qq.com/wiki/home/index.html
static
public
void
openCard
(Object options)
查看微信卡包中的卡券接口 see: http://mp.weixin.qq.com/wiki/home/index.html
static
public
void
openProductSpecificView
(Object options)
打开产品详情页