20 lines
731 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Page({
data: {
purchaseList: []
},
onLoad(query) {
console.log('page onLoad', query)
},
onShow() {
const purchaseList = [
{ id: '1', name: '购买须知1', content: '1、k币和会员属于虚拟产品一经购买不可退换' },
{ id: '2', name: '购买须知2', content: '2、未满18岁的未成年人需要在监护人主导、同意下进行相关付费操作。' },
// { id: '3', name: '购买须知3', content: userInfo.giftTime },
{ id: '3', name: '购买须知3', content: '购买须知3' },
{ id: '4', name: '购买须知4', content: '4、充值K币一般在10分钟内到账如未到账请在“我的”页面联系客服' },
]
this.setData({
purchaseList: purchaseList
})
}
})