1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

通过微信开发者工具 商城模板 创建新小程序

This commit is contained in:
2023-03-06 23:52:24 +08:00
parent ada464a8cc
commit c21ff901d5
393 changed files with 52952 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
const userInfo = {
avatarUrl:
'https://we-retail-static-1300977798.cos.ap-guangzhou.myqcloud.com/retail-ui/components-exp/avatar/avatar-1.jpg',
nickName: 'TDesign 🌟',
phoneNumber: '13438358888',
gender: 2,
};
const countsData = [
{
num: 2,
name: '积分',
type: 'point',
},
{
num: 10,
name: '优惠券',
type: 'coupon',
},
];
const orderTagInfos = [
{
orderNum: 1,
tabType: 5,
},
{
orderNum: 1,
tabType: 10,
},
{
orderNum: 1,
tabType: 40,
},
{
orderNum: 0,
tabType: 0,
},
];
const customerServiceInfo = {
servicePhone: '4006336868',
serviceTimeDuration: '每周三至周五 9:00-12:00 13:00-15:00',
};
export const genSimpleUserInfo = () => ({ ...userInfo });
export const genUsercenter = () => ({
userInfo,
countsData,
orderTagInfos,
customerServiceInfo,
});