...
|
...
|
@@ -22,28 +22,35 @@ Page({ |
|
|
Time_node: [], //秒杀时间节点
|
|
|
Time_nodeid: '', //秒杀时间点Id
|
|
|
TimeIntervaldata: '', //秒杀时间段
|
|
|
addnewarr: [],//新旧程度
|
|
|
addnewarr: [], //新旧程度
|
|
|
addnew: [],
|
|
|
addnewid: '', //新旧程度id
|
|
|
SalesType: [],
|
|
|
SalesTypetab: [],//销售专区
|
|
|
SalesTypeid:'',//销售专区id
|
|
|
SalesTypetab: [], //销售专区
|
|
|
SalesTypeid: '', //销售专区id 1新品推荐,2秒杀专场,3降价销售
|
|
|
showmain: true, //true现在主要内容,flase商品详情
|
|
|
imgsnum: [1, 2, 3, 4],
|
|
|
thumbnail: '', //商品缩略图
|
|
|
thumbnailup:'',
|
|
|
thumbnailup: '',
|
|
|
name: '', //商品名称
|
|
|
price: '', //商品价格
|
|
|
num: '', //商品数量
|
|
|
num: 1, //商品数量
|
|
|
color: '', //商品颜色
|
|
|
version: '', //版本号
|
|
|
memory: '', //商品内存
|
|
|
detail: '', //商品详情
|
|
|
banner: [], //商品图集
|
|
|
date: '', //秒杀日期
|
|
|
downprice:'',
|
|
|
downprice: '',
|
|
|
bannerimgs: [],
|
|
|
newdate:''
|
|
|
newdate: '',
|
|
|
indexone: '',
|
|
|
indextwo: '',
|
|
|
indexthree: '',
|
|
|
indexfour: '',
|
|
|
indextime: '',
|
|
|
indextype: '',
|
|
|
indexnew: ''
|
|
|
},
|
|
|
setname(e) {
|
|
|
this.setData({
|
...
|
...
|
@@ -53,13 +60,13 @@ Page({ |
|
|
setprice(e) {
|
|
|
this.setData({
|
|
|
price: e.detail.value,
|
|
|
|
|
|
|
|
|
})
|
|
|
},
|
|
|
setdownprice(){
|
|
|
this.setData({
|
|
|
downprice:e.detail.value
|
|
|
})
|
|
|
setdownprice(e) {
|
|
|
this.setData({
|
|
|
downprice: e.detail.value
|
|
|
})
|
|
|
},
|
|
|
setnumber(e) {
|
|
|
this.setData({
|
...
|
...
|
@@ -86,7 +93,7 @@ Page({ |
|
|
detail: e.detail.value
|
|
|
})
|
|
|
},
|
|
|
chargePicker(e){
|
|
|
chargePicker(e) {
|
|
|
let indexone = e.detail.value
|
|
|
let that = this;
|
|
|
let classifyone = that.data.classifyone;
|
...
|
...
|
@@ -130,30 +137,29 @@ Page({ |
|
|
console.log(e)
|
|
|
let that = this;
|
|
|
let TimeIntervaldata = that.data.TimeIntervaldata;
|
|
|
let Time_nodeid = TimeIntervaldata[e.detail.value];
|
|
|
let Time_nodeid = TimeIntervaldata[e.detail.value].id;
|
|
|
that.setData({
|
|
|
indextime: e.detail.value,
|
|
|
Time_nodeid: Time_nodeid
|
|
|
})
|
|
|
},
|
|
|
bindRegionChange: function(e) {
|
|
|
console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
|
this.setData({
|
|
|
region: e.detail.value
|
|
|
})
|
|
|
},
|
|
|
chargePickertype(e){
|
|
|
let that=this;
|
|
|
chargePickertype(e) {
|
|
|
let that = this;
|
|
|
let SalesType = that.data.SalesType;
|
|
|
let SalesTypeid = SalesType[e.detail.value].id;
|
|
|
that.setData({
|
|
|
indextype:e.detail.value,
|
|
|
indextype: e.detail.value,
|
|
|
SalesTypeid: SalesTypeid
|
|
|
})
|
|
|
},
|
|
|
chargePickeraddnew(e) {
|
|
|
let that = this;
|
|
|
let indexnew = parseInt(e.detail.value)
|
|
|
let indexnew = parseInt(e.detail.value)
|
|
|
let addnewarr = that.data.addnewarr;
|
|
|
let addnewid = addnewarr[indexnew].id
|
|
|
that.setData({
|
...
|
...
|
@@ -172,7 +178,19 @@ Page({ |
|
|
}
|
|
|
that.setData({
|
|
|
classifyone: res.data.data,
|
|
|
classifyonePicker: classifyonePicker
|
|
|
classifyonePicker: classifyonePicker,
|
|
|
classifytwo: [],
|
|
|
classifytwoPicker: [],
|
|
|
classifytwoid: '',
|
|
|
classifythree: [],
|
|
|
classifythreePicker: [],
|
|
|
classifythreeid: '',
|
|
|
classifyfour: [],
|
|
|
classifyfourPicker: [],
|
|
|
classifyfourid: '',
|
|
|
indextwo: '',
|
|
|
indexthree: '',
|
|
|
indexfour: ''
|
|
|
})
|
|
|
}
|
|
|
}).catch((errMsg) => {
|
...
|
...
|
@@ -186,7 +204,6 @@ Page({ |
|
|
parentID: parentID
|
|
|
}
|
|
|
app.post(url, params).then((res) => {
|
|
|
console.log(res)
|
|
|
if (res.data.code == 200) {
|
|
|
let classifytwoPicker = []
|
|
|
for (let obj of res.data.data) {
|
...
|
...
|
@@ -194,10 +211,17 @@ Page({ |
|
|
}
|
|
|
that.setData({
|
|
|
classifytwo: res.data.data,
|
|
|
classifytwoPicker: classifytwoPicker
|
|
|
classifytwoPicker: classifytwoPicker,
|
|
|
classifythree: [],
|
|
|
classifythreePicker: [],
|
|
|
classifythreeid: '',
|
|
|
classifyfour: [],
|
|
|
classifyfourPicker: [],
|
|
|
classifyfourid: '',
|
|
|
indexthree: '',
|
|
|
indexfour: '',
|
|
|
})
|
|
|
console.log(that.data.classifytwo)
|
|
|
console.log(that.data.classifytwoPicker)
|
|
|
|
|
|
}
|
|
|
}).catch((errMsg) => {
|
|
|
console.log(errMsg)
|
...
|
...
|
@@ -210,7 +234,6 @@ Page({ |
|
|
parentID: parentID
|
|
|
}
|
|
|
app.post(url, params).then((res) => {
|
|
|
console.log(res)
|
|
|
if (res.data.code == 200) {
|
|
|
let classifythreePicker = []
|
|
|
for (let obj of res.data.data) {
|
...
|
...
|
@@ -218,7 +241,11 @@ Page({ |
|
|
}
|
|
|
that.setData({
|
|
|
classifythree: res.data.data,
|
|
|
classifythreePicker: classifythreePicker
|
|
|
classifythreePicker: classifythreePicker,
|
|
|
classifyfour: [],
|
|
|
classifyfourPicker: [],
|
|
|
classifyfourid: '',
|
|
|
indexfour: '',
|
|
|
})
|
|
|
}
|
|
|
}).catch((errMsg) => {
|
...
|
...
|
@@ -232,7 +259,7 @@ Page({ |
|
|
parentID: parentID
|
|
|
}
|
|
|
app.post(url, params).then((res) => {
|
|
|
console.log(res)
|
|
|
|
|
|
if (res.data.code == 200) {
|
|
|
let classifyfourPicker = []
|
|
|
for (let obj of res.data.data) {
|
...
|
...
|
@@ -251,10 +278,10 @@ Page({ |
|
|
uploadImages() {
|
|
|
let that = this;
|
|
|
wx.chooseImage({
|
|
|
count: 8,
|
|
|
count: 8 - that.data.bannerimgs.length,
|
|
|
sizeType: ['original', 'compressed'],
|
|
|
success: function(res) {
|
|
|
console.log(res)
|
|
|
|
|
|
let successUp = 0; //成功个数
|
|
|
let failUp = 0; //失败个数
|
|
|
let i = 0; //第几个
|
...
|
...
|
@@ -272,7 +299,6 @@ Page({ |
|
|
})
|
|
|
},
|
|
|
uploadAllfile(filePaths, successUp, failUp, i, length) {
|
|
|
|
|
|
let that = this
|
|
|
let url = 'http://phonemall.wx.broteam.cn/portal/Goodsmanage/addGoodsFile'
|
|
|
wx.uploadFile({
|
...
|
...
|
@@ -283,19 +309,19 @@ Page({ |
|
|
success: function(res) {
|
|
|
wx.hideNavigationBarLoading()
|
|
|
wx.hideLoading()
|
|
|
console.log(res)
|
|
|
|
|
|
let data = JSON.parse(res.data);
|
|
|
console.log(data)
|
|
|
let imgTemp = that.data.bannerimgs;
|
|
|
let banner = that.data.banner;
|
|
|
let data = JSON.parse(res.data);
|
|
|
let imgTemp = that.data.bannerimgs;
|
|
|
let banner = that.data.banner;
|
|
|
if (imgTemp.length < 8) {
|
|
|
imgTemp.push(data.data.filename);
|
|
|
banner.push(data.data.name)
|
|
|
console.log(data.data.name)
|
|
|
that.setData({
|
|
|
bannerimgs: imgTemp,
|
|
|
banner: banner
|
|
|
})
|
|
|
}
|
|
|
if (banner.length < 8) {
|
|
|
banner.push(data.data.name);
|
|
|
}
|
|
|
that.setData({
|
|
|
bannerimgs: imgTemp,
|
|
|
banner: banner
|
|
|
})
|
|
|
},
|
|
|
fail: function(res) {
|
|
|
wx.hideNavigationBarLoading()
|
...
|
...
|
@@ -318,7 +344,7 @@ Page({ |
|
|
wx.chooseImage({
|
|
|
count: 1,
|
|
|
success: (res) => {
|
|
|
console.log(res)
|
|
|
|
|
|
var tempFilePaths = res.tempFilePaths
|
|
|
wx.uploadFile({
|
|
|
url: 'http://phonemall.wx.broteam.cn/portal/Goodsmanage/addGoodsFile', //仅为示例,非真实的接口地址
|
...
|
...
|
@@ -326,7 +352,7 @@ Page({ |
|
|
name: 'file',
|
|
|
formData: {},
|
|
|
success: function(res) {
|
|
|
console.log(res)
|
|
|
|
|
|
var data = JSON.parse(res.data);
|
|
|
var picurl = data.data.filename;
|
|
|
that.setData({
|
...
|
...
|
@@ -338,7 +364,29 @@ Page({ |
|
|
}
|
|
|
})
|
|
|
},
|
|
|
//上传图片接口调取
|
|
|
//取消多图上传
|
|
|
coloebanner(e) {
|
|
|
let that = this;
|
|
|
let index = parseInt(e.currentTarget.dataset.index);
|
|
|
let bannerimgs = that.data.bannerimgs;
|
|
|
let banner = that.data.banner;
|
|
|
let tem = [];
|
|
|
let temimgs = [];
|
|
|
for (let i in bannerimgs) {
|
|
|
if (i != index) {
|
|
|
temimgs.push(bannerimgs[i])
|
|
|
}
|
|
|
}
|
|
|
for (let j in banner) {
|
|
|
if (j != index) {
|
|
|
tem.push(banner[j])
|
|
|
}
|
|
|
}
|
|
|
that.setData({
|
|
|
bannerimgs: temimgs,
|
|
|
banner: tem
|
|
|
})
|
|
|
},
|
|
|
setshowmain_flose() {
|
|
|
wx.setNavigationBarTitle({
|
|
|
title: '详情设置',
|
...
|
...
|
@@ -348,20 +396,20 @@ Page({ |
|
|
})
|
|
|
},
|
|
|
setshowmain_true() {
|
|
|
let that=this;
|
|
|
if (that.data.banner.length==0){
|
|
|
let that = this;
|
|
|
if (that.data.banner.length == 0) {
|
|
|
wx.showToast({
|
|
|
title: '请上传图',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
}else if(that.data.detail==''){
|
|
|
} else if (that.data.detail == '') {
|
|
|
wx.showToast({
|
|
|
title: '请输入详情',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
}else{
|
|
|
} else {
|
|
|
wx.setNavigationBarTitle({
|
|
|
title: '添加商品',
|
|
|
})
|
...
|
...
|
@@ -370,29 +418,7 @@ Page({ |
|
|
})
|
|
|
}
|
|
|
},
|
|
|
//取消多图上传
|
|
|
coloebanner(e){
|
|
|
let that=this;
|
|
|
let index = parseInt(e.currentTarget.dataset.index);
|
|
|
let bannerimgs = that.data.bannerimgs;
|
|
|
let banner = that.data.banner;
|
|
|
let tem=[];
|
|
|
let temimgs = [];
|
|
|
for (let i in bannerimgs){
|
|
|
if (i != index){
|
|
|
temimgs.push(bannerimgs[i])
|
|
|
}
|
|
|
}
|
|
|
for (let j in banner){
|
|
|
if (j != index) {
|
|
|
tem.push(banner[j])
|
|
|
}
|
|
|
}
|
|
|
that.setData({
|
|
|
bannerimgs: temimgs,
|
|
|
banner: tem
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//设置tag
|
|
|
settag0() {
|
|
|
let tag = this.data.tag;
|
...
|
...
|
@@ -440,7 +466,7 @@ Page({ |
|
|
},
|
|
|
|
|
|
bindDateChange: function(e) {
|
|
|
console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
|
|
|
|
this.setData({
|
|
|
date: e.detail.value
|
|
|
})
|
...
|
...
|
@@ -460,7 +486,7 @@ Page({ |
|
|
TimeIntervaldata: TimeIntervaldata,
|
|
|
Time_node: Time_node
|
|
|
})
|
|
|
|
|
|
|
|
|
}
|
|
|
}).catch((errMsg) => {
|
|
|
console.log(errMsg)
|
...
|
...
|
@@ -468,46 +494,46 @@ Page({ |
|
|
},
|
|
|
addgoods() {
|
|
|
let that = this;
|
|
|
let tab=false;
|
|
|
let label = {};
|
|
|
let tag = that.data.tag // [0, 0, 1, 1],tag[0]=0原装,tag[0]=1非原装,tag[1]=0在保,tag[1]=1出报,tag[2]=0选择全套包装,tag[3]=0更换外屏
|
|
|
if (tag[0] == 0) {
|
|
|
label.is_original= "原装"
|
|
|
label.is_original = "原装"
|
|
|
} else {
|
|
|
label.is_original= '非原装'
|
|
|
label.is_original = '非原装'
|
|
|
}
|
|
|
if (tag[1] == 0) {
|
|
|
label.is_protect= '在保'
|
|
|
} else {
|
|
|
label.is_protect='出保'
|
|
|
|
|
|
if (tag[1] == 0) {
|
|
|
label.is_protect = '在保'
|
|
|
} else {
|
|
|
label.is_protect = '出保'
|
|
|
}
|
|
|
if (tag[2] == 0) {
|
|
|
label.all= '全套包装'
|
|
|
label.all = '全套包装'
|
|
|
}
|
|
|
if (tag[3] == 0) {
|
|
|
label.screen= '更换外屏'
|
|
|
|
|
|
label.screen = '更换外屏'
|
|
|
|
|
|
}
|
|
|
console.log(that.data.name)
|
|
|
if (that.data.thumbnailup == '' ){
|
|
|
|
|
|
if (that.data.thumbnailup == '') {
|
|
|
wx.showToast({
|
|
|
title: '请上传图片',
|
|
|
icon: 'none',
|
|
|
duration:2000,
|
|
|
duration: 2000,
|
|
|
})
|
|
|
} else if (that.data.name == ''){
|
|
|
} else if (that.data.name == '') {
|
|
|
wx.showToast({
|
|
|
title: '名称必填',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
} else if (that.data.price ==''){
|
|
|
} else if (that.data.price == '') {
|
|
|
wx.showToast({
|
|
|
title: '价格必填',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
}else if (that.data.num == '') {
|
|
|
} else if (that.data.num == '') {
|
|
|
wx.showToast({
|
|
|
title: '数量必填',
|
|
|
icon: 'none',
|
...
|
...
|
@@ -537,39 +563,77 @@ Page({ |
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
} else if(that.data.SalesTypeid == '') {
|
|
|
} else if (that.data.SalesTypeid == '') {
|
|
|
wx.showToast({
|
|
|
title: '销售类型必填',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
} else if (that.data.addnewid == '') {
|
|
|
wx.showToast({
|
|
|
title: '新旧程度必填',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
} else if ((that.data.banner == []) && (that.data.detail == '') ) {
|
|
|
wx.showToast({
|
|
|
title: '请完善详情',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
} else{
|
|
|
console.log(that.data.banner)
|
|
|
} else if (that.data.SalesTypeid) {
|
|
|
if (that.data.SalesTypeid == '2') {
|
|
|
if (that.data.date == '') {
|
|
|
wx.showToast({
|
|
|
title: '秒杀日期必填',
|
|
|
icon: 'none',
|
|
|
duration: 2000
|
|
|
})
|
|
|
} else if (that.data.Time_nodeid == '') {
|
|
|
wx.showToast({
|
|
|
title: '秒杀时间必填',
|
|
|
icon: 'none',
|
|
|
duration: 2000
|
|
|
})
|
|
|
}else{
|
|
|
tab = true;
|
|
|
}
|
|
|
} else if(that.data.SalesTypeid == '3') {
|
|
|
if (that.data.downprice == '') {
|
|
|
wx.showToast({
|
|
|
title: '请填写商品降价',
|
|
|
icon: 'none',
|
|
|
duration: 2000
|
|
|
})
|
|
|
} else if (parseInt(that.data.downprice) >= parseInt(that.data.price)) {
|
|
|
wx.showToast({
|
|
|
title: '降价应小于原价',
|
|
|
icon: 'none',
|
|
|
duration: 2000
|
|
|
})
|
|
|
}else{
|
|
|
tab = true;
|
|
|
}
|
|
|
}else{
|
|
|
tab=true;
|
|
|
}
|
|
|
}
|
|
|
if (tab){
|
|
|
if (that.data.addnewid == '') {
|
|
|
wx.showToast({
|
|
|
title: '新旧程度必填',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
} else if ((that.data.banner == []) || (that.data.detail == '')) {
|
|
|
wx.showToast({
|
|
|
title: '请完善详情',
|
|
|
icon: 'none',
|
|
|
duration: 2000,
|
|
|
})
|
|
|
}else{
|
|
|
let params = {
|
|
|
name: that.data.name,
|
|
|
thumbnail: that.data.thumbnailup,
|
|
|
banner: JSON.stringify(that.data.banner),
|
|
|
details: that.data.detail,
|
|
|
price: that.data.price,
|
|
|
special_price: that.data.downprice,
|
|
|
Sales_type: that.data.SalesTypeid,
|
|
|
number: that.data.num,
|
|
|
special_time_between: that.data.addnewid,
|
|
|
special_time_between: that.data.Time_nodeid,
|
|
|
special_time_day: that.data.date,
|
|
|
color: that.data.color,
|
|
|
version: that.data.version,
|
|
|
memory: that.data.memory,
|
|
|
memory: that.data.memory + 'G',
|
|
|
type: that.data.classifyoneid,
|
|
|
system: that.data.classifytwoid,
|
|
|
brand: that.data.classifythreeid,
|
...
|
...
|
@@ -596,18 +660,19 @@ Page({ |
|
|
}
|
|
|
}).catch((errMsg) => {
|
|
|
console.log(errMsg)
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
//获取新旧程度
|
|
|
getDegree(){
|
|
|
let that=this;
|
|
|
let url ='goods/getDegree';
|
|
|
app.post(url,{}).then((res)=>{
|
|
|
if(res.data.code==200){
|
|
|
getDegree() {
|
|
|
let that = this;
|
|
|
let url = 'goods/getDegree';
|
|
|
app.post(url, {}).then((res) => {
|
|
|
if (res.data.code == 200) {
|
|
|
let addnewarr = res.data.data;
|
|
|
let addnew=[];
|
|
|
for (let obj of addnewarr){
|
|
|
let addnew = [];
|
|
|
for (let obj of addnewarr) {
|
|
|
addnew.push(obj.degree)
|
|
|
}
|
|
|
that.setData({
|
...
|
...
|
@@ -615,20 +680,20 @@ Page({ |
|
|
addnew: addnew
|
|
|
})
|
|
|
}
|
|
|
}).catch((errMsg)=>{
|
|
|
}).catch((errMsg) => {
|
|
|
console.log(errMsg)
|
|
|
})
|
|
|
},
|
|
|
//获取销售类型
|
|
|
getSalesType(){
|
|
|
let that=this;
|
|
|
let url ='Goodsmanage/getSalesType';
|
|
|
app.post(url,{}).then((res)=>{
|
|
|
console.log(res)
|
|
|
if(res.data.code==200){
|
|
|
let SalesType=res.data.data;
|
|
|
let SalesTypetab=[];
|
|
|
for (let obj of SalesType){
|
|
|
getSalesType() {
|
|
|
let that = this;
|
|
|
let url = 'Goodsmanage/getSalesType';
|
|
|
app.post(url, {}).then((res) => {
|
|
|
|
|
|
if (res.data.code == 200) {
|
|
|
let SalesType = res.data.data;
|
|
|
let SalesTypetab = [];
|
|
|
for (let obj of SalesType) {
|
|
|
SalesTypetab.push(obj.type)
|
|
|
}
|
|
|
that.setData({
|
...
|
...
|
@@ -637,7 +702,7 @@ Page({ |
|
|
})
|
|
|
|
|
|
}
|
|
|
}).catch((errMsg)=>{
|
|
|
}).catch((errMsg) => {
|
|
|
console.log(errMsg)
|
|
|
})
|
|
|
|
...
|
...
|
@@ -650,13 +715,12 @@ Page({ |
|
|
this.getseckill();
|
|
|
this.getDegree();
|
|
|
this.getSalesType();
|
|
|
let newdate=new Date();
|
|
|
let date = new Date();
|
|
|
let newdate = date.getFullYear() + '-' + ((date.getMonth() + 1) < 10 ? ("0" + (date.getMonth() + 1)) : date.getMonth() + 1) + '-' + (date.getDate() < 10 ? ("0" + date.getDate()) : date.getDate());
|
|
|
this.setData({
|
|
|
newdate: newdate
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
|
*/
|
...
|
...
|
@@ -668,9 +732,16 @@ Page({ |
|
|
* 生命周期函数--监听页面显示
|
|
|
*/
|
|
|
onShow: function() {
|
|
|
|
|
|
// this.getclassifydataone();
|
|
|
this.getseckill();
|
|
|
this.getDegree();
|
|
|
this.getSalesType();
|
|
|
let date = new Date();
|
|
|
let newdate = date.getFullYear() + '-' + ((date.getMonth() + 1) < 10 ? ("0" + (date.getMonth() + 1)) : date.getMonth() + 1) + '-' + (date.getDate() < 10 ? ("0" + date.getDate()) : date.getDate());
|
|
|
this.setData({
|
|
|
newdate: newdate
|
|
|
})
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
* 生命周期函数--监听页面隐藏
|
|
|
*/
|
...
|
...
|
@@ -682,7 +753,9 @@ Page({ |
|
|
* 生命周期函数--监听页面卸载
|
|
|
*/
|
|
|
onUnload: function() {
|
|
|
|
|
|
wx.reLaunch({
|
|
|
url: '../start/start'
|
|
|
})
|
|
|
},
|
|
|
|
|
|
/**
|
...
|
...
|
|