Skip to content

Commit

Permalink
细节优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gooking committed May 17, 2021
1 parent 4967dcc commit ee7f208
Show file tree
Hide file tree
Showing 63 changed files with 4,072 additions and 50 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ App({
wx.hideToast()
}
})
WXAPI.queryConfigBatch('mallName,WITHDRAW_MIN,ALLOW_SELF_COLLECTION,order_hx_uids,subscribe_ids,share_profile,adminUserIds,goodsDetailSkuShowType,shopMod,needIdCheck,balance_pay_pwd,shipping_address_gps,shipping_address_region_level,shopping_cart_vop_open,show_wx_quanzi,cps_open,recycle_open,categoryMod,hide_reputation,show_seller_number,show_goods_echarts').then(res => {
WXAPI.queryConfigBatch('mallName,WITHDRAW_MIN,ALLOW_SELF_COLLECTION,order_hx_uids,subscribe_ids,share_profile,adminUserIds,goodsDetailSkuShowType,shopMod,needIdCheck,balance_pay_pwd,shipping_address_gps,shipping_address_region_level,shopping_cart_vop_open,show_wx_quanzi,cps_open,recycle_open,categoryMod,hide_reputation,show_seller_number,show_goods_echarts,show_buy_dynamic').then(res => {
if (res.code == 0) {
res.data.forEach(config => {
wx.setStorageSync(config.key, config.value);
Expand Down
22 changes: 20 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@
"root": "demos",
"name": "demos",
"pages": [
"pages/echarts/line"
"pages/echarts/line",
"pages/business/index",
"pages/bind-phone/index",
"pages/merchant/index",
"pages/record-list/index",
"pages/ab/index"
]
}
],
Expand Down Expand Up @@ -137,6 +142,16 @@
"desc": "获取离你最近的门店"
}
},
"plugins": {
"live-player-plugin": {
"version": "1.3.0",
"provider": "wx2b03c6e691cd7370"
},
"goodsSharePlugin": {
"version": "4.0.1",
"provider": "wx56c8f077de74b07c"
}
},
"usingComponents": {
"float-menu": "/components/float-menu/index",
"parser":"/components/parser.20200414.min/parser",
Expand All @@ -162,6 +177,7 @@
"van-goods-action-icon": "@vant/weapp/goods-action-icon/index",
"van-goods-action-button": "@vant/weapp/goods-action-button/index",
"van-popup": "@vant/weapp/popup/index",
"van-picker": "@vant/weapp/picker/index",
"van-stepper": "@vant/weapp/stepper/index",
"van-sticky": "@vant/weapp/sticky/index",
"van-dialog": "@vant/weapp/dialog/index",
Expand All @@ -175,7 +191,9 @@
"van-image": "@vant/weapp/image/index",
"van-tab": "@vant/weapp/tab/index",
"van-tabs": "@vant/weapp/tabs/index",
"van-overlay": "@vant/weapp/overlay/index"
"van-overlay": "@vant/weapp/overlay/index",
"van-datetime-picker": "@vant/weapp/datetime-picker/index",
"van-area": "@vant/weapp/area/index"
},
"sitemapLocation": "sitemap.json"
}
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
version: '11.12.0',
note: '主包容量限制在2M', // 这个为版本描述,无需修改
version: '11.13.0',
note: '细节优化', // 这个为版本描述,无需修改
subDomain: 'tz', // liu123 此处改成你自己的专属域名。什么是专属域名?请看教程 https://www.it120.cc/help/qr6l4m.html
merchantId: 951, // 商户ID,可在后台工厂设置-->商户信息查看
sdkAppID: 1400450467, // 腾讯实时音视频应用编号,请看教程 https://www.it120.cc/help/nxoqsl.html
Expand Down
13 changes: 13 additions & 0 deletions demos/@babel/runtime/helpers/Arrayincludes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Array.prototype.includes || Object.defineProperty(Array.prototype, "includes", {
value: function(r, e) {
if (null == this) throw new TypeError('"this" is null or not defined');
var t = Object(this), n = t.length >>> 0;
if (0 == n) return !1;
var i, o, a = 0 | e, u = Math.max(0 <= a ? a : n - Math.abs(a), 0);
for (;u < n; ) {
if ((i = t[u]) === (o = r) || "number" == typeof i && "number" == typeof o && isNaN(i) && isNaN(o)) return !0;
u++;
}
return !1;
}
});
26 changes: 26 additions & 0 deletions demos/@babel/runtime/helpers/asyncToGenerator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
function asyncGeneratorStep(n, e, r, t, o, a, c) {
try {
var i = n[a](c), u = i.value;
} catch (n) {
return void r(n);
}
i.done ? e(u) : Promise.resolve(u).then(t, o);
}

function _asyncToGenerator(n) {
return function() {
var e = this, r = arguments;
return new Promise(function(t, o) {
var a = n.apply(e, r);
function c(n) {
asyncGeneratorStep(a, t, o, c, i, "next", n);
}
function i(n) {
asyncGeneratorStep(a, t, o, c, i, "throw", n);
}
c(void 0);
});
};
}

module.exports = _asyncToGenerator;
7 changes: 7 additions & 0 deletions demos/@babel/runtime/helpers/classCallCheck.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}

module.exports = _classCallCheck;
13 changes: 13 additions & 0 deletions demos/@babel/runtime/helpers/createClass.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function _defineProperties(e, r) {
for (var t = 0; t < r.length; t++) {
var n = r[t];
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0),
Object.defineProperty(e, n.key, n);
}
}

function _createClass(e, r, t) {
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), e;
}

module.exports = _createClass;
15 changes: 15 additions & 0 deletions demos/@babel/runtime/helpers/defineProperty.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}

module.exports = _defineProperty;
7 changes: 7 additions & 0 deletions demos/@babel/runtime/helpers/interopRequireDefault.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}

module.exports = _interopRequireDefault;
17 changes: 17 additions & 0 deletions demos/@babel/runtime/helpers/typeof.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
function _typeof2(o) {
return (_typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
return typeof o;
} : function(o) {
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
})(o);
}

function _typeof(o) {
return "function" == typeof Symbol && "symbol" === _typeof2(Symbol.iterator) ? module.exports = _typeof = function(o) {
return _typeof2(o);
} : module.exports = _typeof = function(o) {
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : _typeof2(o);
}, _typeof(o);
}

module.exports = _typeof;
Loading

0 comments on commit ee7f208

Please sign in to comment.