Authored by 李奇

delete resource

... ... @@ -12,7 +12,12 @@ const config = {
},
appid: 'wxe8bfc9b404772199', // appid业务中使用
unionType: '100000000011369', // 渠道号后台写死
mini_app_type: '3' // 小程序类型
mini_app_type: '3', // 小程序类型
resourceContentCode: {
home: {
top: '72c65730150543d295532c942b0e5a33'
}
}
};
export default config;
... ...
/**
* 资源码配置文件
*/
export default {
home: {
top: '72c65730150543d295532c942b0e5a33'
}
};
import wx from '../../utils/wx';
import resource from '../../common/resource';
import config from '../../common/config';
import Yas from '../../common/yas';
import indexModel from '../../models/index/index';
... ... @@ -11,7 +11,6 @@ let {windowHeight} = app.getSystemInfo();
Page({
data: {
resource,
productList: [],
floatFilter: false,
filterInitialTop: 0,
... ... @@ -25,7 +24,8 @@ Page({
totalPage: 0,
pullRefresh: false,
showBackTop: false,
showCopyright: false
showCopyright: false,
resource: config.resourceContentCode
},
onLoad: function () {
this.productList({ page: 1, limit: 20});
... ...