feat(home): 品牌更名「优匠优服」+ 首页 UI 升级
- 名称:奇兵到家 → 优匠优服(页面 / pages.json / manifest.json) - 头部:三段式橙金渐变 + 光斑装饰 + 双层头像环 + 时段问候 - 搜索:100rpx 白胶囊悬浮压盖橙白交界,内嵌渐变按钮 - 新增:服务保障条、全部服务面板标题栏、平台实力三栏分栏、品牌页脚 - Banner:双标签 + 副标题 + 日期胶囊 + 立即抢购 CTA - 图标:15 个服务图标改为数据驱动纯 CSS 图元(零图片依赖)
这个提交包含在:
13
uni.promisify.adaptor.js
普通文件
13
uni.promisify.adaptor.js
普通文件
@@ -0,0 +1,13 @@
|
||||
uni.addInterceptor({
|
||||
returnValue (res) {
|
||||
if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) {
|
||||
return res;
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
res.then((res) => {
|
||||
if (!res) return resolve(res)
|
||||
return res[0] ? reject(res[0]) : resolve(res[1])
|
||||
});
|
||||
});
|
||||
},
|
||||
});
|
||||
在新工单中引用
屏蔽一个用户