Commit 3af34f83 authored by 汪欢's avatar 汪欢
parents e4ddb1e5 8513b008
...@@ -5,22 +5,19 @@ self.__appxInited = 1; ...@@ -5,22 +5,19 @@ 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'); self.getCurrentPages = AFAppX.getCurrentPages;
var AFAppX = self.AFAppX; self.getApp = AFAppX.getApp;
} self.Page = AFAppX.Page;
self.getCurrentPages = AFAppX.getCurrentPages; self.App = AFAppX.App;
self.getApp = AFAppX.getApp; self.my = AFAppX.bridge || AFAppX.abridge;
self.Page = AFAppX.Page; self.abridge = self.my;
self.App = AFAppX.App; self.Component = AFAppX.WorkerComponent || function(){};
self.my = AFAppX.bridge || AFAppX.abridge; self.$global = AFAppX.$global;
self.abridge = self.my; self.requirePlugin = AFAppX.requirePlugin;
self.Component = AFAppX.WorkerComponent || function(){};
self.$global = AFAppX.$global;
self.requirePlugin = AFAppX.requirePlugin;
if(AFAppX.registerApp) { if(AFAppX.registerApp) {
AFAppX.registerApp({ AFAppX.registerApp({
......
...@@ -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