杂务:整理文档并收口 YumiNail 修复
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const couponApi = require('../../api/coupon')
|
||||
const auth = require('../../utils/auth')
|
||||
const navigation = require('../../utils/navigation')
|
||||
const theme = require('../../utils/theme')
|
||||
|
||||
function getBenefitText(coupon) {
|
||||
if (Number(coupon.couponType) === 1) {
|
||||
@@ -14,7 +15,7 @@ function getBenefitText(coupon) {
|
||||
* Call guide: page data drives the WXML template, and each method is called by user events or lifecycle callbacks.
|
||||
*/
|
||||
Page({
|
||||
data: {
|
||||
data: Object.assign(theme.pageThemeData(getApp().globalData.shopTheme), {
|
||||
loading: false,
|
||||
isLoggedIn: false,
|
||||
coupons: [],
|
||||
@@ -26,7 +27,7 @@ Page({
|
||||
{ value: 'used', label: '已使用' },
|
||||
{ value: 'expired', label: '已过期' }
|
||||
]
|
||||
},
|
||||
}),
|
||||
|
||||
/**
|
||||
* `onShow` page method. Use this from WXML event bindings or lifecycle hooks.
|
||||
|
||||
Reference in New Issue
Block a user