移植店铺,分包

This commit is contained in:
高健 2021-07-25 13:11:55 +08:00
parent a0c7f9d9be
commit 8c2b0fa929
193 changed files with 8030 additions and 160 deletions

View File

@ -1,23 +1,50 @@
{
"pages": [
"pages/index/index",
"pages/cardList/cardList",
"pages/cardDetail/cardDetail",
"pages/serve/index/index",
"pages/mine/index/index",
"pages/moments/publish/momentpublish",
"pages/moments/edit/momentedit",
"pages/moments/list/momentslist",
"pages/moments/publish/momentpublishline",
"pages/mine/myCard/myCard",
"pages/mine/myCardDetail/myCardDetail",
"pages/sharePage/sharePage",
"pages/mine/otherCard/othercarddetail",
"pages/moments/list/momentsshowlist",
"pages/moments/momentsdetail/momentsdetail",
"pages/moments/showlist/showlist",
"pages/mine/setting/columnsetting",
"pages/serve/index/index"
"pages/mine/shop/shopedit",
"pages/mine/shop/shopauthentication",
"pages/mine/shop/shopauthenticationedit",
"pages/mine/shop/shopauthenticationdetail",
"pages/mine/shop/addshop",
"pages/mine/shop/choosetrade",
"pages/mine/shop/mineshop",
"pages/mine/shop/mineshopdetail",
"pages/mine/manage/shopstaff",
"pages/mine/manage/shopmember",
"pages/mine/manage/shopposition",
"pages/mine/manage/addposition",
"pages/mine/product/catalogmanage/catalogmanage",
"pages/mine/product/catalogmanage/addcatalog",
"pages/mine/product/productmanage/addproduct",
"pages/mine/product/productmanage/productlist",
"pages/mine/product/productmanage/choosecatalog",
"pages/mine/product/productmanage/productmanage",
"pages/mine/product/productmanage/searchproduct",
"pages/mine/order/ordersuccess",
"pages/mine/order/orderlist",
"pages/mine/order/orderdetail"
],
"subPackages": [{
"root": "packagecard",
"pages": [
"cardList/cardList",
"cardDetail/cardDetail",
"moments/publish/momentpublish",
"moments/edit/momentedit",
"moments/list/momentslist",
"moments/publish/momentpublishline",
"sharePage/sharePage",
"moments/list/momentsshowlist",
"moments/momentsdetail/momentsdetail",
"moments/showlist/showlist"
]
}],
"window": {
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#fff",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 24 KiB

BIN
images/ic_order_close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
images/ic_order_finish.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
images/ic_order_pay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/ic_success.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
images/templete_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
images/templete_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
images/templete_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
images/templete_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@ -0,0 +1,63 @@
const app = getApp()
// pages/list/list.js
Page({
/**
* 页面的初始数据
*/
data: {
cardUrl: app.cardUrl,
cardList: []
},
getList: function () {
var self = this
wx.showNavigationBarLoading()
app.http.get(app.urls.getCardList, {
header: {
token: app.globalData.token
}
}).then(res => {
self.setData({
cardList: res.data
})
wx.hideNavigationBarLoading() //完成停止加载
wx.stopPullDownRefresh() //停止下拉刷新
})
.catch(err => {
wx.hideNavigationBarLoading() //完成停止加载
wx.stopPullDownRefresh() //停止下拉刷新
})
},
goDetail: function (e) {
var id = e.currentTarget.dataset.id
console.log(id)
wx.navigateTo({
url: '../cardDetail/cardDetail?id=' + id,
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
var self = this
wx.getStorage({
key: 'token',
success: function (res) {
self.setData({
token: res.data
})
app.globalData.token = res.data
self.getList()
}
})
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
this.getList()
},
})

View File

@ -308,7 +308,7 @@ Page({
// 跳转模板列表
goList: function () {
wx.navigateTo({
url: '../cardList/cardList',
url: 'packagecard/cardList/cardList',
})
},
// 获取个人简介

View File

@ -42,35 +42,6 @@ Page({
speedStep: 5, //快进快退秒数
setInter: '', //定时器
currentItem: undefined,
items: [{
title: '标题', //标题
count: 3, //数量
type: 'TEXT', //类型
}, {
title: '标题', //标题
count: 9, //数量
type: 'TEXTAREA', //类型
}, {
title: '标题', //标题
count: 2, //数量
type: 'AUDIO', //类型
}, {
title: '标题', //标题
count: 3, //数量
type: 'VIDEO', //类型
}, {
title: '标题', //标题
count: 9, //数量
type: 'PHOTO', //类型
}, {
title: '标题', //标题
count: 9, //数量
type: 'LINK', //类型
}, {
title: '标题', //标题
count: 2, //数量
type: 'LOCATION', //类型
}],
isAuthAudio: false
},

View File

@ -0,0 +1,66 @@
// packagecard/pages/cardDetail/cardDetail.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/cardDetail/cardDetail.wxml-->
<text>packagecard/pages/cardDetail/cardDetail.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/cardDetail/cardDetail.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/cardList/cardList.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/cardList/cardList.wxml-->
<text>packagecard/pages/cardList/cardList.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/cardList/cardList.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/moments/edit/momentedit.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/moments/edit/momentedit.wxml-->
<text>packagecard/pages/moments/edit/momentedit.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/moments/edit/momentedit.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/moments/list/momentslist.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/moments/list/momentslist.wxml-->
<text>packagecard/pages/moments/list/momentslist.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/moments/list/momentslist.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/moments/list/momentsshowlist.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/moments/list/momentsshowlist.wxml-->
<text>packagecard/pages/moments/list/momentsshowlist.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/moments/list/momentsshowlist.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/moments/momentsdetail/momentsdetail.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/moments/momentsdetail/momentsdetail.wxml-->
<text>packagecard/pages/moments/momentsdetail/momentsdetail.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/moments/momentsdetail/momentsdetail.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/moments/publish/momentpublish.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/moments/publish/momentpublish.wxml-->
<text>packagecard/pages/moments/publish/momentpublish.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/moments/publish/momentpublish.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/moments/publish/momentpublishline.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/moments/publish/momentpublishline.wxml-->
<text>packagecard/pages/moments/publish/momentpublishline.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/moments/publish/momentpublishline.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/moments/showlist/showlist.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/moments/showlist/showlist.wxml-->
<text>packagecard/pages/moments/showlist/showlist.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/moments/showlist/showlist.wxss */

View File

@ -0,0 +1,66 @@
// packagecard/pages/sharePage/sharePage.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,2 @@
<!--packagecard/pages/sharePage/sharePage.wxml-->
<text>packagecard/pages/sharePage/sharePage.wxml</text>

View File

@ -0,0 +1 @@
/* packagecard/pages/sharePage/sharePage.wxss */

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -1,115 +0,0 @@
const app = getApp()
// pages/list/list.js
Page({
/**
* 页面的初始数据
*/
data: {
cardUrl: app.cardUrl,
cardList: []
},
getList: function () {
var self = this
wx.showNavigationBarLoading()
app.http.get(app.urls.getCardList, {
header: {
token: app.globalData.token
},
data: {}
}).then(res => {
self.setData({
cardList: res.data
})
wx.hideNavigationBarLoading() //完成停止加载
wx.stopPullDownRefresh() //停止下拉刷新
})
.catch(err => {
wx.hideNavigationBarLoading() //完成停止加载
wx.stopPullDownRefresh() //停止下拉刷新
})
// app.restAjax.get(app.restAjax.path('{cardUrl}app/cardtemplate/listcardtemplate', [app.cardUrl]), {}, {
// headers: {
// token: app.globalData.token
// }
// }, function(code, data) {
// self.setData({
// cardList: data
// })
// }, function(code, data) {
// app.dialog.msg(data.msg);
// });
},
goDetail: function (e) {
var id = e.currentTarget.dataset.id
console.log(id)
wx.navigateTo({
url: '../cardDetail/cardDetail?id=' + id,
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
var self = this
wx.getStorage({
key: 'token',
success: function (res) {
self.setData({
token: res.data
})
app.globalData.token = res.data
self.getList()
}
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
this.getList()
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

Some files were not shown because too many files have changed in this diff Show More