Commit dba6adba authored by wildfirecode13's avatar wildfirecode13

1

parent 4bfca2ee
...@@ -5,12 +5,9 @@ self.__appxInited = 1; ...@@ -5,12 +5,9 @@ self.__appxInited = 1;
require('./config$'); require('./config$');
if( navigator.userAgent && (navigator.userAgent.indexOf('LyraVM') > 0 || navigator.userAgent.indexOf('AlipayIDE') > 0) ) { var AFAppX = self.AFAppX.getAppContext
var AFAppX = self.AFAppX.getAppContext ? self.AFAppX.getAppContext().AFAppX : self.AFAppX; ? self.AFAppX.getAppContext().AFAppX
} else { : self.AFAppX;
importScripts('https://appx/af-appx.worker.min.js');
var AFAppX = self.AFAppX;
}
self.getCurrentPages = AFAppX.getCurrentPages; self.getCurrentPages = AFAppX.getCurrentPages;
self.getApp = AFAppX.getApp; self.getApp = AFAppX.getApp;
self.Page = AFAppX.Page; self.Page = AFAppX.Page;
......
...@@ -6,7 +6,7 @@ cloud.init({ ...@@ -6,7 +6,7 @@ cloud.init({
}); });
App({ App({
// requestType: 'cloud', // yapi,cloud: 云函数 requestType: 'cloud', // yapi,cloud: 云函数
requestType: 'yapi', // yapi,cloud: 云函数 requestType: 'yapi', // yapi,cloud: 云函数
cloudName: 'floor', // 主云函数项目名 base clientTemplate2C cloudName: 'floor', // 主云函数项目名 base clientTemplate2C
cloud, cloud,
......
...@@ -27,8 +27,8 @@ Page({ ...@@ -27,8 +27,8 @@ Page({
failBth: '//yun.duiba.com.cn/spark/assets/8267375232058a6d0140270b1594427fb08d6ae3.png', //领取失败 failBth: '//yun.duiba.com.cn/spark/assets/8267375232058a6d0140270b1594427fb08d6ae3.png', //领取失败
}, },
logisticsImage: { logisticsImage: {
shipped: '//yun.dui88.com/duiba-components-c-myprizeprize_shipped.png', // 已发货物理弹窗 shipped: '//yun.duiba.com.cn/aurora/assets/3a7b68ec171ee339ce619d19f6ae3f9c1e6d801a.png', // 已发货物理弹窗
notShipped: '//yun.dui88.com/duiba-components-c-myprizenotshipped.png', // 待发货物流弹窗 notShipped: '//yun.duiba.com.cn/aurora/assets/ee0300d7b472c555ecf0b7b8d582fcf9189c2d19.png', // 待发货物流弹窗
copyIcon: '//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png', //复制 copyIcon: '//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png', //复制
}, },
btnStyle: { // 按钮自定义样式 btnStyle: { // 按钮自定义样式
......
...@@ -33,7 +33,6 @@ Page({ ...@@ -33,7 +33,6 @@ Page({
gotoVipPage() { gotoVipPage() {
let {endTime,startTime} = this.data let {endTime,startTime} = this.data
API.getVipInfo().then(res => { API.getVipInfo().then(res => {
// res.data.isVip=true;
// 判断活动时间 // 判断活动时间
let currentTime = new Date().getTime(); let currentTime = new Date().getTime();
if(currentTime < startTime){ if(currentTime < startTime){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment