Commit 6f9f8772 authored by Edwise's avatar Edwise 🍷

1112

parent 45ac73a7
......@@ -50,7 +50,7 @@ page {
.modal-animate-zoom-in {
transform: scale(0);
animation: modalAnimateZoomIn .4s forwards;
animation: modalAnimateZoomIn .3s forwards;
}
.modal-animate-fly-in {
......
{
"pages": [
"pages/pagepageindex/pagepageindex",
"pages/pagepagerank/pagepagerank",
"pages/tbccDemo/tbccDemo",
"pages/goodsPage/goodsPage",
"pages/myprize/myprize"
"pages/myprize/myprize"
],
"window": {
"enableSkia": "true",
......
......@@ -91,5 +91,5 @@
opacity: 1;
left: 596rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 50% 50% 0rpx;
}
<view class="invitelistmodal ">
<image class="invitelistbg " src={{resList['fe67e0c4-26fa-4f08-bf4a-5128b65a7fdd'].url}} />
<view class="invitelisttext ">
<span class="tb23512544 ">tb235***1214</span>
<span class="tu_ceng20200433 ">2020.09.15 23:56</span>
<span class="tb23512322 ">tb235***1214</span>
<span class="tu_ceng20200211 ">2020.09.15 23:56</span>
<span class="invitelistid ">淘宝id</span>
<span class="invitelisttime ">成功入会时间</span>
<view class="invitelisttext " >
<view class="inviteItem">
<label class="tb23512544 ">tb235***1214</label>
<label class="tu_ceng20200433 ">2020.09.15 23:56</label>
</view>
<label class="invitelistid ">淘宝id</label>
<label class="invitelisttime ">成功入会时间</label>
</view>
<image class="invitelistclose " src={{resList['db42e12e-c495-4526-9dbf-1e435614119c'].url}} />
<image class="invitelistclose btn" onTap="onCloseModal" src={{resList['db42e12e-c495-4526-9dbf-1e435614119c'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
import API from '../../api';
Component({
props: {},
data: {},
methods: {},
data: {
resList: resList
},
methods: {
onCloseModal(){
const {onCloseModal} = this.props;
onCloseModal&&onCloseModal();
}
},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
......@@ -5,7 +5,7 @@
left: 111rpx;
top: 341rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 50% 50% 50%;
}
.rulemodal .rulemadolbg {
width: 527rpx;
......@@ -52,5 +52,5 @@
opacity: 1;
left: 467rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 50% 50% 0rpx;
}
<view class="rulemodal ">
<view class="rulemodal modal-animate-zoom-in">
<image class="rulemadolbg " src={{resList['3e979239-2524-4a98-8a37-7025df15d997'].url}} />
<view class="ruletextgroup ">
<span class="ruletitle ">活动规则</span>
<span class="ruletext ">
1.活动规则文本内容活动规则文本内容活动规则文本内容活动规则文本内容活动规则文本内容
2.活动规则文本内容活动规则文本内容活动规则文本内容活动规则文本内容
3.活动规则文本内容活动规则文本内容活动规则文本内容活动规则文本内容
4.活动规则文本内容活动规则文本内容活动规则文本内容
</span>
<label class="ruletitle ">活动规则</label>
<label class="ruletext ">
{{rule}}
</label>
</view>
<image class="rulecolse " src={{resList['bf606fdb-a499-4bb3-94be-868ec373b2a4'].url}} />
<image class="rulecolse btn" onTap="onCloseModal" src={{resList['bf606fdb-a499-4bb3-94be-868ec373b2a4'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
import API from '../../api';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
props: {},
data: {
resList: resList,
rule:''
},
methods: {
onCloseModal() {
const {
onCloseModal
} = this.props;
onCloseModal && onCloseModal();
},
/**
* 获取活动信息
*/
async getActivityBaseInfoById() {
my.showLoading();
const {
success,
data
} = await API.getActivityBaseInfoById().catch(r => {
my.hideLoading();
commonToast(r && r.message)
}) || {};
if (success) {
my.hideLoading();
this.setData({
rule: data.rule
})
}
},
},
didMount(){
this.getActivityBaseInfoById();
}
});
\ No newline at end of file
......@@ -105,4 +105,4 @@
height: 20rpx;
background-size: 100% 100%;
margin-left: 20rpx;
}
\ No newline at end of file
}
......@@ -22,4 +22,4 @@
</view>
</view>
</view>
</view>
\ No newline at end of file
</view>
......@@ -17,10 +17,10 @@
}
.my-prize-page .my-prize-label {
width: 171rpx;
height: 50rpx;
margin: 40rpx auto;
background: url('//yun.duiba.com.cn/aurora/assets/2f075d102e58cd42fa938d6e23cb6ffd4a2a9486.png') no-repeat;
width: 286rpx;
height: 49rpx;
margin: 140rpx auto 40rpx;
background: url('//yun.duiba.com.cn/aurora/assets/a15fe07a819f3f6deb271725b37468030523dc05.png') no-repeat;
background-size: 100% 100%;
}
......@@ -46,8 +46,8 @@
width: 700rpx;
height: 161rpx;
background-color: #ffffff;
border-color:#7f674e;
border-width: 5rpx;
border-color:rgb(255, 63, 38);
border-width: 1rpx;
border-style: solid;
/* box-shadow: 2rpx 3rpx 18rpx 0 rgb(255, 63, 38); */
border-radius: 10rpx;
......@@ -55,7 +55,6 @@
}
.my-prize-page .my-prize-item .my-prize-avatar {
border-radius: 4rpx;
width: 120rpx;
height: 120rpx;
}
......@@ -118,4 +117,4 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
\ No newline at end of file
}
......@@ -19,8 +19,7 @@
<!-- 未领取 -->
<block a:if="{{item.drawStatus===PRIZE_DRAW_STATUS_MAP.RECEIVE}}">
<!-- 实物填写地址 -->
<image a:if="{{item.type === PRIZE_TYPE_MAP.ENTITY}}" onTap="handleClick" data-item="{{item}}" src="{{task.image.getBth}}" />
<!--<image a:if="{{item.type === PRIZE_TYPE_MAP.ENTITY}}" onTap="handleClick" data-item="{{item}}" src="{{task.image.addressBth}}" />-->
<image a:if="{{item.type === PRIZE_TYPE_MAP.ENTITY}}" onTap="handleClick" data-item="{{item}}" src="{{task.image.addressBth}}" />
<!-- 优惠券立即领取 -->
<image a:else onTap="handleClick" data-item="{{item}}" src="{{task.image.getBth}}" />
</block>
......@@ -44,4 +43,4 @@
<view a:if="{{myPrizeList && myPrizeList.length === 0}}" class="my-prize-empty">暂无奖品</view>
</view>
<logistics-modal a:if="{{isLogistic}}" prizeItem="{{currentPrize}}" onCloseModal="closeLogisticModal" task="{{task.logisticsImage}}"/>
</view>
\ No newline at end of file
</view>
......@@ -4,4 +4,4 @@
task="{{task}}"
endTime="{{endTime}}"
onHandleClick="handleClick"/>
</view>
\ No newline at end of file
</view>
......@@ -16,16 +16,16 @@ Page({
endTime: null,//到期时间
task: {
image: {
bg: '//yun.duiba.com.cn/aurora/assets/8fa7cea57cc7071bcc1cbada32f5bfaeb2203981.jpg', //背景图
copyIcon: '//yun.duiba.com.cn/aurora/assets/721e5319d26a4edbb0282558fb87d9bda1de4887.png', //复制
addressBth: '//yun.duiba.com.cn/aurora/assets/7ff6342492c2ce1a94ccfce39c88983b296b35fb.png', //填写地址(实物奖品)
getBth: '//yun.duiba.com.cn/aurora/assets/0725f0f5569ad12d37853ad5c40d163fbe247abf.png', //立即领取(除实物奖品外)
bg: '//yun.duiba.com.cn/aurora/assets/7283d715cc5c7d13a5f498d15f5f5b9f4d9c29e5.jpg', //背景图
copyIcon: '//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png', //复制
addressBth: '//yun.duiba.com.cn/aurora/assets/82cc3c6d8861334ebaf128c98e3341b687bdc007.png', //填写地址(实物奖品)
getBth: '//yun.dui88.com/duiba-components-c-myprizeget_now.png', //立即领取(除实物奖品外)
logisticsBth: '//yun.duiba.com.cn/aurora/assets/661f86ff3392cb3b56922b048acf74bebc07bb23.png', //查看物流
useBtn: '//yun.duiba.com.cn/aurora/assets/0829f92f771c5e9fdb05a258a46b2d038d3a9997.png', //去使用(除实物奖品外)
gotBtn: '//yun.duiba.com.cn/aurora/assets/30fa200ba1dcd345247f957c16a03a9706895112.png', //已领取(优惠券)
getAgainBtn: '//yun.duiba.com.cn/aurora/assets/f2bc6220c3b210a4b315ab1bfcc4ebeffcf854ba.png', //重新领取
invalidBtn: '//yun.duiba.com.cn/aurora/assets/2790bbc504bd94bd7914771e5ba1202e9f011a1a.png', //已失效
failBth: '//yun.duiba.com.cn/aurora/assets/7bdd43b0b86094c3cf121abb204824985a13035b.png', //领取失败
gotBtn: '//yun.duiba.com.cn/aurora/assets/1120dd6b6ce4abe2666e877e3ae33eb99a778009.png', //已领取(优惠券)
getAgainBtn: '//yun.duiba.com.cn/aurora/assets/716f0a388144945b169554a30ff4a16f7bcb95ab.png', //重新领取
invalidBtn: '//yun.duiba.com.cn/spark/assets/914ba8643c8abb8d710a3126ec312aecf6c4daf0.png', //已失效
failBth: '//yun.duiba.com.cn/spark/assets/8267375232058a6d0140270b1594427fb08d6ae3.png', //领取失败
},
logisticsImage: {
shipped: '//yun.duiba.com.cn/aurora/assets/3a7b68ec171ee339ce619d19f6ae3f9c1e6d801a.png', // 已发货物理弹窗
......@@ -33,8 +33,8 @@ Page({
copyIcon: '//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png', //复制
},
btnStyle: { // 按钮自定义样式
width: '154rpx',
height: '49rpx',
width: '150rpx',
height: '41rpx',
}
}
},
......@@ -79,15 +79,11 @@ Page({
myPrizeList: []
})
}) || {};
data.list.forEach(i => {
// console.log('data list item', i);
i.image = i.image || '//yun.duiba.com.cn/aurora/assets/00b4b751939da230055889445f00f22990ff5f88.png';
});
if (success && data && data.list) {
if (success && data) {
this.setData({
myPrizeList: data.list
myPrizeList: data
})
this.getEndTime(data.list)
this.getEndTime(data)
}
if (type != 'noLoading') {
my.hideLoading();
......@@ -104,122 +100,76 @@ Page({
// 领取积分
if (item.type === PRIZE_TYPE_MAP.INTEGRATION) return this.handleGetIntergation(e)
},
/**
* 发奖
*/
async cloudTBIssue(params) {
const { cloud } = app;
return new Promise((resolve, reject) => {
my.authorize({
scopes: "scope.latourBenefit",
success: async () => {
const result = await cloud.topApi
.invoke({
api: "alibaba.latour.strategy.issue",
data: {
channel: params.channel || "",
strategy_code: params.strategyCode || "",
selected_benefit_code: params.code || "",
},
})
.catch((err) => {
commonToast('领取失败~')
console.log("alibaba.latour.strategy.issue------catch", err);
});
console.log(result, "result");
resolve(result);
},
fail: (err) => {
console.log("scope.latourBenefit----fail", err);
commonToast('领取失败~')
reject(err);
},
});
})
},
// 优惠券
async handleGetEquity(e) {
if (flag) {
return
}
flag = true;
const { item: { strategyCode, code, channel } } = e.target.dataset;
this.cloudTBIssue({ strategyCode, code, channel })
// const { activityId } = app;
// console.log(item, '领取权益')
// const { success, data, message } = await API.receiveEnamePrize({ activityId, _id: item._id }).catch(res => {
// this.getMyPrize('noLoading')
// commonToast(res && res.message)
// }) || {};
// if (success && data) {
// commonToast('领取成功')
// this.getMyPrize()
// }
const { activityId } = app;
const { item } = e.target.dataset;
console.log(item, '领取权益')
const { success, data, message } = await API.receiveEnamePrize({ activityId, _id: item._id }).catch(res => {
this.getMyPrize('noLoading')
commonToast(res && res.message)
}) || {};
if (success && data) {
commonToast('领取成功')
this.getMyPrize()
}
setTimeout(() => {
flag = false
}, 500)
},
// 领取实物前询问
async handleGetEntity(e) {
const text = 'zzzxxx'
commonToast('请前去钉钉领取,钉钉号为:'+text+'。钉钉号已经复制成功。',3000);
setClipboard({ text:`${text}` })
// if (flag) {
// return
// }
// // my.showLoading();
// flag = true;
// const { activityId } = app;
// const { item } = e.target.dataset;
// const userAddress = await getUserAddress({ joinTag: " " }).catch((data) => {
// flag = false
// console.log('getUserAddress出错了,错误信息是', data);
// })
// // my.hideLoading();
// if (!userAddress) return
// // commonToast(' getUserAddress =>'+JSON.stringify( userAddress))
// const { name, telNumber, provinceName, cityName, cityCode, countyName, detailInfo, streetName } = userAddress || {};
// const params = {
// activityId,
// area: countyName,
// addressdetail: detailInfo,
// name,
// phone: telNumber,
// detailInfo,
// cityCode,
// cityName,
// city: cityName,
// province: provinceName,
// provinceName,
// countyName,
// streetName,
// _id: item._id
// }
// my.confirm({
// title: '提示',
// content: '确认使用该收货地址:' + name + telNumber + userAddress.duibaAddress.address,
// confirmButtonText: '确定',
// cancelButtonText: '取消',
// success: (result) => {
// console.log(result)
// const { confirm } = result;
if (flag) {
return
}
// my.showLoading();
flag = true;
const { activityId } = app;
const { item } = e.target.dataset;
const userAddress = await getUserAddress({ joinTag: " " }).catch((data)=>{
flag = false
console.log('getUserAddress出错了,错误信息是',data);
})
// my.hideLoading();
if (!userAddress) return
// commonToast(' getUserAddress =>'+JSON.stringify( userAddress))
const { name, telNumber, provinceName, cityName, cityCode, countyName, detailInfo, streetName } = userAddress || {};
const params = {
activityId,
area:countyName,
addressdetail:detailInfo,
name,
phone: telNumber,
detailInfo,
cityCode,
cityName,
city:cityName,
province:provinceName,
provinceName,
countyName,
streetName,
_id: item._id
}
// if (confirm) {
// this.receiveObjectPrize(params);
// }
// },
// });
// flag = false
my.confirm({
title: '提示',
content: '确认使用该收货地址:' + name + telNumber + userAddress.duibaAddress.address,
confirmButtonText: '确定',
cancelButtonText: '取消',
success: (result) => {
console.log(result)
const { confirm } = result;
if (confirm) {
this.receiveObjectPrize(params);
}
},
});
flag = false
},
// 领取实物
async receiveObjectPrize(params) {
......@@ -236,7 +186,7 @@ Page({
commonToast(message)
}
this.getMyPrize()
}, (rej) => {
},(rej)=>{
commonToast(rej.message)
});
},
......@@ -282,4 +232,4 @@ Page({
commonToast(message)
}
},
});
\ No newline at end of file
});
.canvas {
width:100%;
height:100%;
z-index: 999;
pointer-events: none;
}
.page-game {
/* position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
min-height: 100vh; */
width:100%;
height:100vh;
flex: 1;
display: flex;
flex-direction: column;
z-index: 999;
pointer-events: none;
}
.pageindex {
width: 750rpx;
height: 1624rpx;
opacity: 1;
position: absolute;
left: 50%;
top: 50%;
margin-left: -375rpx;
margin-top: -812rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
.pageindex .bg {
......@@ -11,6 +38,7 @@
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
z-index: 0;
}
.pageindex .sai_duan {
width: 568rpx;
......@@ -61,7 +89,7 @@
left: 264rpx;
top: 1385rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 50% 50% 0rpx;
}
.pageindex .rankbtn {
width: 120rpx;
......@@ -70,7 +98,7 @@
left: 529rpx;
top: 945rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 50% 50% 0rpx;
}
.pageindex .unlockbtn2 {
width: 94rpx;
......@@ -90,6 +118,24 @@
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.pageindex .unlockbtn3 {
width: 94rpx;
height: 81rpx;
opacity: 1;
left: 517rpx;
top: 459rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.pageindex .lockbtn3 {
width: 36rpx;
height: 43rpx;
opacity: 1;
left: 546rpx;
top: 493rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.pageindex .wen_zi2 {
width: 542rpx;
height: 985rpx;
......@@ -106,7 +152,7 @@
left: -93rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 18.15145rpx;
font-size: 36rpx;
color: #000000;
text-align: center;
}
......@@ -119,23 +165,23 @@
transform-origin: 0rpx 0rpx 0rpx;
}
.pageindex .wen_zi2 .lei_ji_sheng_chang .curtemp {
width: 155rpx;
width: 265rpx;
height: 30rpx;
opacity: 1;
top: 3rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 8.59851rpx;
font-size: 26rpx;
color: #000000;
}
.pageindex .wen_zi2 .lei_ji_sheng_chang .currank {
width: 244rpx;
width: 350rpx;
height: 33rpx;
opacity: 1;
left: 298rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 8.59851rpx;
font-size: 26rpx;
color: #000000;
}
.pageindex .rule {
......@@ -153,5 +199,5 @@
left: 678rpx;
top: 238rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 100% 0rpx 0rpx;
}
<view class="pageindex ">
<image class="bg " src={{resList['3fb6a231-82b5-4d37-8447-7438d998f49c'].url}} />
<image class="bg " src={{resList['3ee62d6c-3e44-470b-b2a5-fb805ec6a6c3'].url}} />
<view class="sai_duan ">
<image class="battle7 " src={{resList['bc577ab5-4214-43b4-93ff-e9e24c9cec62'].url}} />
<image class="battle5 " src={{resList['64d76df1-a48b-4d97-9c94-07164242403f'].url}} />
<image class="battle3 " src={{resList['1b34bd2c-8a88-4a4a-9e9f-9cccc1ef0a97'].url}} />
</view>
<image class="pkbtn " src={{resList['bf922d14-54e9-41d2-8c47-281963554715'].url}} />
<image class="assisdebtn " src={{resList['3ed92e80-21fa-4557-aaf1-92519d445f97'].url}} />
<image class="rankbtn " src={{resList['c57b33fc-8a26-4f7c-9a62-d0d16cae3406'].url}} />
<image class="assisdebtn btn" onTap="openModal" data-item="inviteList" src={{resList['3ed92e80-21fa-4557-aaf1-92519d445f97'].url}} />
<image class="unlockbtn2 " src={{resList['b167ddb3-23b8-4290-ba90-196bbe63daba'].url}} />
<image class="lockbtn2 " src={{resList['62f291e9-e8c8-40f8-9d4d-a0445f085fdc'].url}} />
<image class="unlockbtn3 " src={{resList['b167ddb3-23b8-4290-ba90-196bbe63daba'].url}} />
<image class="lockbtn3 " src={{resList['62f291e9-e8c8-40f8-9d4d-a0445f085fdc'].url}} />
<view class="wen_zi2 ">
<span class="superise ">赢XXX元惊喜礼包</span>
<label class="superise ">赢XXX元惊喜礼包</label>
<view class="lei_ji_sheng_chang ">
<span class="curtemp ">当前温暖值:0</span>
<span class="currank ">排名位于第 500+位</span>
<label class="curtemp ">当前温暖值:0</label>
<label class="currank ">排名位于第 500+位</label>
</view>
</view>
<image class="rule " src={{resList['8bc27234-3326-4564-9697-31beca682da8'].url}} />
<image class="myprize " src={{resList['49f550d3-50eb-492a-9fe3-79014e2c42a4'].url}} />
</view>
\ No newline at end of file
<image class="rankbtn btn" onTap="navigateTo" data-item="pagepagerank" src={{resList['c57b33fc-8a26-4f7c-9a62-d0d16cae3406'].url}} />
<image class="rule btn" onTap="openModal" data-item="rule" src={{resList['8bc27234-3326-4564-9697-31beca682da8'].url}} />
<image class="myprize btn" onTap="navigateTo" data-item="myprize" src={{resList['49f550d3-50eb-492a-9fe3-79014e2c42a4'].url}} />
</view>
<view disable-scroll="true" class="page-game">
<canvas disable-scroll="true" id="canvas" class="canvas" onReady="canvasOnReady">
</canvas>
</view>
<view class="popcontainer" a:if="{{modalStatus}}">
<rule-modal a:if="{{modalStatus==1}}" onCloseModal="closeModal"></rule-modal>
<invitelist-modal a:if="{{modalStatus==2}}" onCloseModal="closeModal"></invitelist-modal>
</view>
'use strict';
import resList from '../../resconfig/resList'; //import API from '../../api';
import resList from '../../resconfig/resList';
import API from '../../api';
import * as FYGE from "fyge-tbmini";
import * as SvgaParser from "svga-parser";
import {
modalType
} from '../../tbcc-sdk/lib/constants';
const app = getApp();
const {
tbcc
} = app;
const {
commonToast,
getAuthUserInfo,
navigateToOutside,
getSystemInfo
} = tbcc.tb;
const snowSrc = "cloud://A261ECB81B02B03525F9150249E43073//snow.svga";
const fireSrc = "cloud://7C78D5F72134804930A61B03665091AF//fire.svga"
Page({
data: {},
data: {
modalStatus: 0
},
onLoad(props) {
this.setData({
resList: resList
});
},
onReady() {
// this.openModal("inviteList")
this.getAuth();
},
canvasOnReady() {
console.log("onCanvas Ready")
this.createMain();
},
/**添加canvas,用来显示svga */
async createMain() {
console.log(123)
var canvas = await new Promise((r) => {
my.createCanvas({
id: 'canvas',
success: (ccc) => {
const dpr = my.getSystemInfoSync().pixelRatio
const windowWidth = my.getSystemInfoSync().windowWidth;
const windowHeight = my.getSystemInfoSync().windowHeight;
ccc.width = windowWidth * dpr + dpr;//重新修改会有误差
ccc.height = windowHeight * dpr + dpr;
r(ccc);
}
})
})
console.log(111)
FYGE.initedByCanvas(canvas)
var sysInfo = my.getSystemInfoSync()
//建舞台
var stage = new FYGE.Stage(
canvas,
750,//设计宽度,按设计搞给的就行
1624,//设计高度
sysInfo && sysInfo.windowWidth || document.body.clientWidth,
sysInfo && sysInfo.windowHeight || document.body.clientHeight,
FYGE.RENDERER_TYPE.CANVAS
);
//stage初始化
stage.addEventListener(FYGE.Event.INIT_STAGE, () => {
SvgaParser.loadSvga(
fireSrc,
(v) => {
console.log("svga"+v);
var mv =stage.addChild(new FYGE.MovieClip(v));
mv.x = 275;
mv.y = 785;
console.log("svgmv",mv)
},
(err) => {
console.log(err);
}
)
SvgaParser.loadSvga(
snowSrc,
(v) => {
console.log("svga"+v);
var mv =stage.addChild(new FYGE.MovieClip(v));
mv.x = 175;
mv.y = 585;
console.log("svgmv",mv)
},
(err) => {
console.log(err);
}
)
}, this);
//循环
loop();
function loop() {
FYGE.Tween.flush()
stage.flush();
FYGE.getRequestAnimationFrame()(loop);
}
},
/**
* 获取用户授权信息
*/
async getAuth() {
const userInfo = await getAuthUserInfo().catch(err => {
console.log('未授权成功', err);
});
if (userInfo) {
console.log('userInfo', userInfo);
const {
nickName,
avatar
} = userInfo;
app.nickName = nickName;
app.avatar = avatar;
this.login();
}
},
/**
* 登录接口
*/
async login() {
const {
nickName,
avatar
} = app;
const {
success
} = await API.login({
userNick: nickName,
avatar
}).catch(res => {
commonToast(res && res.message);
}) || {};
if (success) {
// this.init();
}
},
onLoad(props) {
this.setData({
resList: resList
});
}
/**打开弹窗 */
openModal(e) {
console.log(e);
const {
item
} = e.target.dataset;
this.setData({
modalStatus: modalType[item] || 0
});
},
/**关闭弹窗 */
closeModal(type) {
this.setData({
modalStatus: 0
})
},
/**点击跳转页面 */
navigateTo(e){
const {
item
} = e.target.dataset;
my.navigateTo({
url: `/pages/${item}/${item}`
});
}
});
\ No newline at end of file
{
"usingComponents": {}
"usingComponents": {
"rule-modal": "/components/comrulemodal/comrulemodal",
"invitelist-modal": "/components/cominvitelistmodal/cominvitelistmodal"
}
}
\ No newline at end of file
......@@ -3,6 +3,10 @@
height: 1624rpx;
opacity: 1;
position: absolute;
left: 50%;
top: 50%;
margin-left: -375rpx;
margin-top: -812rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
.pagerank .rankbg {
......
......@@ -3,19 +3,19 @@
<image class="rankreturnbtn " src={{resList['071da23d-ca97-4979-91d1-533fe386eef7'].url}} />
<view class="ranktex ">
<view class="myrank ">
<span class="rankid ">tb235***1214</span>
<span class="ranktemp ">3</span>
<span class="rank ">150</span>
<label class="rankid ">tb235***1214</label>
<label class="ranktemp ">3</label>
<label class="rank ">150</label>
</view>
<view class="bang_dan_xin_xi ">
<span class="tao_baoid ">淘宝id</span>
<span class="lei_ji_ji_bai_ren_shu ">累计击败人数</span>
<span class="pai_ming ">排名</span>
<label class="tao_baoid ">淘宝id</label>
<label class="lei_ji_ji_bai_ren_shu ">累计击败人数</label>
<label class="pai_ming ">排名</label>
</view>
<view class="ranktit2 ">
<span class="ranktit4 ">抱团取暖冲榜赢大奖</span>
<span class="ranktit3 ">赢取清空购物车终极大奖</span>
<span class="ranktim ">活动时间:2020.10.01-2020.11.11</span>
<label class="ranktit4 ">抱团取暖冲榜赢大奖</label>
<label class="ranktit3 ">赢取清空购物车终极大奖</label>
<label class="ranktim ">活动时间:2020.10.01-2020.11.11</label>
</view>
</view>
</view>
\ No newline at end of file
const resList = {
'3fb6a231-82b5-4d37-8447-7438d998f49c': {
name: 'BG',
ext: '.png',
uuid: '3fb6a231-82b5-4d37-8447-7438d998f49c',
url: '//yun.duiba.com.cn/spark/assets/ab406077a70bbb5048bf6d69ffaa667ad676232e.png',
name: 'BG',
ext: '.png',
uuid: '3fb6a231-82b5-4d37-8447-7438d998f49c',
url: '//yun.duiba.com.cn/spark/assets/ab406077a70bbb5048bf6d69ffaa667ad676232e.png',
},
'bc577ab5-4214-43b4-93ff-e9e24c9cec62': {
name: 'battle7',
ext: '.png',
uuid: 'bc577ab5-4214-43b4-93ff-e9e24c9cec62',
url: '//yun.duiba.com.cn/spark/assets/b8d1339c8cc55aef50c4ef2405313f19bcf317ec.png',
name: 'battle7',
ext: '.png',
uuid: 'bc577ab5-4214-43b4-93ff-e9e24c9cec62',
url: '//yun.duiba.com.cn/spark/assets/b8d1339c8cc55aef50c4ef2405313f19bcf317ec.png',
},
'64d76df1-a48b-4d97-9c94-07164242403f': {
name: 'battle5',
ext: '.png',
uuid: '64d76df1-a48b-4d97-9c94-07164242403f',
url: '//yun.duiba.com.cn/spark/assets/86acabd35861aa3cfe3cccdda0aa3e366a383d46.png',
name: 'battle5',
ext: '.png',
uuid: '64d76df1-a48b-4d97-9c94-07164242403f',
url: '//yun.duiba.com.cn/spark/assets/86acabd35861aa3cfe3cccdda0aa3e366a383d46.png',
},
'1b34bd2c-8a88-4a4a-9e9f-9cccc1ef0a97': {
name: 'battle3',
ext: '.png',
uuid: '1b34bd2c-8a88-4a4a-9e9f-9cccc1ef0a97',
url: '//yun.duiba.com.cn/spark/assets/39527c2d921e242026950ed71f9c81ecb92bc577.png',
name: 'battle3',
ext: '.png',
uuid: '1b34bd2c-8a88-4a4a-9e9f-9cccc1ef0a97',
url: '//yun.duiba.com.cn/spark/assets/39527c2d921e242026950ed71f9c81ecb92bc577.png',
},
'bf922d14-54e9-41d2-8c47-281963554715': {
name: 'pkBtn',
ext: '.png',
uuid: 'bf922d14-54e9-41d2-8c47-281963554715',
url: '//yun.duiba.com.cn/spark/assets/b6c959e185aa0d482bbee160ab8fefda3c4df6fb.png',
name: 'pkBtn',
ext: '.png',
uuid: 'bf922d14-54e9-41d2-8c47-281963554715',
url: '//yun.duiba.com.cn/spark/assets/b6c959e185aa0d482bbee160ab8fefda3c4df6fb.png',
},
'3ed92e80-21fa-4557-aaf1-92519d445f97': {
name: 'assisdeBtn',
ext: '.png',
uuid: '3ed92e80-21fa-4557-aaf1-92519d445f97',
url: '//yun.duiba.com.cn/spark/assets/986d4df5a62ec7043659f314735345f12f54ee54.png',
name: 'assisdeBtn',
ext: '.png',
uuid: '3ed92e80-21fa-4557-aaf1-92519d445f97',
url: '//yun.duiba.com.cn/spark/assets/986d4df5a62ec7043659f314735345f12f54ee54.png',
},
'c57b33fc-8a26-4f7c-9a62-d0d16cae3406': {
name: 'rankBtn',
ext: '.png',
uuid: 'c57b33fc-8a26-4f7c-9a62-d0d16cae3406',
url: '//yun.duiba.com.cn/spark/assets/ccda7273658ec693a10034c8b723d01eb7388779.png',
name: 'rankBtn',
ext: '.png',
uuid: 'c57b33fc-8a26-4f7c-9a62-d0d16cae3406',
url: '//yun.duiba.com.cn/spark/assets/ccda7273658ec693a10034c8b723d01eb7388779.png',
},
'b167ddb3-23b8-4290-ba90-196bbe63daba': {
name: 'UnlockBtn2',
ext: '.png',
uuid: 'b167ddb3-23b8-4290-ba90-196bbe63daba',
url: '//yun.duiba.com.cn/spark/assets/aa4c6d7e3aedb18698a6e936421103ca1cee0e0a.png',
name: 'UnlockBtn2',
ext: '.png',
uuid: 'b167ddb3-23b8-4290-ba90-196bbe63daba',
url: '//yun.duiba.com.cn/spark/assets/aa4c6d7e3aedb18698a6e936421103ca1cee0e0a.png',
},
'62f291e9-e8c8-40f8-9d4d-a0445f085fdc': {
name: 'lockBtn2',
ext: '.png',
uuid: '62f291e9-e8c8-40f8-9d4d-a0445f085fdc',
url: '//yun.duiba.com.cn/spark/assets/d0fc0856271b544d940859b083e54e3a44eacc4d.png',
name: 'lockBtn2',
ext: '.png',
uuid: '62f291e9-e8c8-40f8-9d4d-a0445f085fdc',
url: '//yun.duiba.com.cn/spark/assets/d0fc0856271b544d940859b083e54e3a44eacc4d.png',
},
'8bc27234-3326-4564-9697-31beca682da8': {
name: 'rule',
ext: '.png',
uuid: '8bc27234-3326-4564-9697-31beca682da8',
url: '//yun.duiba.com.cn/spark/assets/4608e5256338c87e7494df7c51c8f9689c48ac0e.png',
name: 'rule',
ext: '.png',
uuid: '8bc27234-3326-4564-9697-31beca682da8',
url: '//yun.duiba.com.cn/spark/assets/4608e5256338c87e7494df7c51c8f9689c48ac0e.png',
},
'49f550d3-50eb-492a-9fe3-79014e2c42a4': {
name: 'myPrize',
ext: '.png',
uuid: '49f550d3-50eb-492a-9fe3-79014e2c42a4',
url: '//yun.duiba.com.cn/spark/assets/6d17756e2b16b3dbf69a046059f3e9bfd8eae0af.png',
name: 'myPrize',
ext: '.png',
uuid: '49f550d3-50eb-492a-9fe3-79014e2c42a4',
url: '//yun.duiba.com.cn/spark/assets/6d17756e2b16b3dbf69a046059f3e9bfd8eae0af.png',
},
'fe67e0c4-26fa-4f08-bf4a-5128b65a7fdd': {
name: 'inviteListBg',
ext: '.png',
uuid: 'fe67e0c4-26fa-4f08-bf4a-5128b65a7fdd',
url: '//yun.duiba.com.cn/spark/assets/66262c72cdb42045098476736667f0128095697c.png',
name: 'inviteListBg',
ext: '.png',
uuid: 'fe67e0c4-26fa-4f08-bf4a-5128b65a7fdd',
url: '//yun.duiba.com.cn/spark/assets/66262c72cdb42045098476736667f0128095697c.png',
},
'db42e12e-c495-4526-9dbf-1e435614119c': {
name: 'inviteListClose',
ext: '.png',
uuid: 'db42e12e-c495-4526-9dbf-1e435614119c',
url: '//yun.duiba.com.cn/spark/assets/8614c823cf8a5ea66cdfcd942b62b390f52c19ab.png',
name: 'inviteListClose',
ext: '.png',
uuid: 'db42e12e-c495-4526-9dbf-1e435614119c',
url: '//yun.duiba.com.cn/spark/assets/8614c823cf8a5ea66cdfcd942b62b390f52c19ab.png',
},
'eb407995-cc98-4846-bf45-d7ac37e9037e': {
name: 'rankBg',
ext: '.png',
uuid: 'eb407995-cc98-4846-bf45-d7ac37e9037e',
url: '//yun.duiba.com.cn/spark/assets/8a41e07c094ebe8250468d8052e5934e3451c88c.png',
name: 'rankBg',
ext: '.png',
uuid: 'eb407995-cc98-4846-bf45-d7ac37e9037e',
url: '//yun.duiba.com.cn/spark/assets/8a41e07c094ebe8250468d8052e5934e3451c88c.png',
},
'071da23d-ca97-4979-91d1-533fe386eef7': {
name: 'rankreturnBtn',
ext: '.png',
uuid: '071da23d-ca97-4979-91d1-533fe386eef7',
url: '//yun.duiba.com.cn/spark/assets/c9bb54407e0175581aa002ac2b7502bc8b01cc42.png',
name: 'rankreturnBtn',
ext: '.png',
uuid: '071da23d-ca97-4979-91d1-533fe386eef7',
url: '//yun.duiba.com.cn/spark/assets/c9bb54407e0175581aa002ac2b7502bc8b01cc42.png',
},
'3e979239-2524-4a98-8a37-7025df15d997': {
name: 'ruleMadolBg',
ext: '.png',
uuid: '3e979239-2524-4a98-8a37-7025df15d997',
url: '//yun.duiba.com.cn/spark/assets/412d4ff606d86dab17c13b3a3780c138b736f1e8.png',
name: 'ruleMadolBg',
ext: '.png',
uuid: '3e979239-2524-4a98-8a37-7025df15d997',
url: '//yun.duiba.com.cn/spark/assets/412d4ff606d86dab17c13b3a3780c138b736f1e8.png',
},
'bf606fdb-a499-4bb3-94be-868ec373b2a4': {
name: 'ruleColse',
ext: '.png',
uuid: 'bf606fdb-a499-4bb3-94be-868ec373b2a4',
url: '//yun.duiba.com.cn/spark/assets/de596d7ec8a4e3ebc8bf376d3de31f5cb07dd215.png',
name: 'ruleColse',
ext: '.png',
uuid: 'bf606fdb-a499-4bb3-94be-868ec373b2a4',
url: '//yun.duiba.com.cn/spark/assets/de596d7ec8a4e3ebc8bf376d3de31f5cb07dd215.png',
},
'4a5648a9-d67b-483d-9631-23e18bb33d49': {
name: 'inviteFailModalBg',
ext: '.png',
uuid: '4a5648a9-d67b-483d-9631-23e18bb33d49',
url: '//yun.duiba.com.cn/spark/assets/9885b26022d84a989e7b1be1bb2c6ee5be5059c6.png',
name: 'inviteFailModalBg',
ext: '.png',
uuid: '4a5648a9-d67b-483d-9631-23e18bb33d49',
url: '//yun.duiba.com.cn/spark/assets/9885b26022d84a989e7b1be1bb2c6ee5be5059c6.png',
},
'40fc4243-5e70-4ee2-947c-67bdcebd2043': {
name: 'inviteFailModalBtn',
ext: '.png',
uuid: '40fc4243-5e70-4ee2-947c-67bdcebd2043',
url: '//yun.duiba.com.cn/spark/assets/dc997ba2857a4b243f114eab3933442890def60c.png',
name: 'inviteFailModalBtn',
ext: '.png',
uuid: '40fc4243-5e70-4ee2-947c-67bdcebd2043',
url: '//yun.duiba.com.cn/spark/assets/dc997ba2857a4b243f114eab3933442890def60c.png',
},
'87d16c24-8927-4be5-830a-e0a5cb56d145': {
name: 'inviteFailModalClose',
ext: '.png',
uuid: '87d16c24-8927-4be5-830a-e0a5cb56d145',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
name: 'inviteFailModalClose',
ext: '.png',
uuid: '87d16c24-8927-4be5-830a-e0a5cb56d145',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
},
'3c59fd89-56ba-4039-9305-c3ff9816789c': {
name: 'inviteSuccessModalBg',
ext: '.png',
uuid: '3c59fd89-56ba-4039-9305-c3ff9816789c',
url: '//yun.duiba.com.cn/spark/assets/28134973049140509d60aba290c9cac238c02fde.png',
name: 'inviteSuccessModalBg',
ext: '.png',
uuid: '3c59fd89-56ba-4039-9305-c3ff9816789c',
url: '//yun.duiba.com.cn/spark/assets/28134973049140509d60aba290c9cac238c02fde.png',
},
'76386658-f7a4-4eed-b2c2-90cfce4883d2': {
name: 'inviteModalText',
ext: '.png',
uuid: '76386658-f7a4-4eed-b2c2-90cfce4883d2',
url: '//yun.duiba.com.cn/spark/assets/c4beb9b2153cad7ef455e2c49a3a97a63439dd99.png',
name: 'inviteModalText',
ext: '.png',
uuid: '76386658-f7a4-4eed-b2c2-90cfce4883d2',
url: '//yun.duiba.com.cn/spark/assets/c4beb9b2153cad7ef455e2c49a3a97a63439dd99.png',
},
'c1d76db0-4d1b-4a0c-8b56-1dcfbf26e010': {
name: 'inviteModalBtn',
ext: '.png',
uuid: 'c1d76db0-4d1b-4a0c-8b56-1dcfbf26e010',
url: '//yun.duiba.com.cn/spark/assets/3441fa441830d2d603a82c46884c906cfbec3f95.png',
name: 'inviteModalBtn',
ext: '.png',
uuid: 'c1d76db0-4d1b-4a0c-8b56-1dcfbf26e010',
url: '//yun.duiba.com.cn/spark/assets/3441fa441830d2d603a82c46884c906cfbec3f95.png',
},
'96de1c81-6629-4226-830b-2a64ec3b54b0': {
name: 'tempItemTitle1',
ext: '.png',
uuid: '96de1c81-6629-4226-830b-2a64ec3b54b0',
url: '//yun.duiba.com.cn/spark/assets/0c1aa309c83f39573eead6e1c4b40f56e12591d2.png',
name: 'tempItemTitle1',
ext: '.png',
uuid: '96de1c81-6629-4226-830b-2a64ec3b54b0',
url: '//yun.duiba.com.cn/spark/assets/0c1aa309c83f39573eead6e1c4b40f56e12591d2.png',
},
'bb187403-c5fc-4c33-aea1-072bac77f32e': {
name: 'tempItemBtn',
ext: '.png',
uuid: 'bb187403-c5fc-4c33-aea1-072bac77f32e',
url: '//yun.duiba.com.cn/spark/assets/2357aae83bd34b144bf7dce3395a1a981b882591.png',
name: 'tempItemBtn',
ext: '.png',
uuid: 'bb187403-c5fc-4c33-aea1-072bac77f32e',
url: '//yun.duiba.com.cn/spark/assets/2357aae83bd34b144bf7dce3395a1a981b882591.png',
},
'cb276914-4e1e-4153-96a2-038ce9e6b89a': {
name: 'gameInviteBg',
ext: '.png',
uuid: 'cb276914-4e1e-4153-96a2-038ce9e6b89a',
url: '//yun.duiba.com.cn/spark/assets/18fa58f33b4efa9f7c7bb282db445175ac156eec.png',
name: 'gameInviteBg',
ext: '.png',
uuid: 'cb276914-4e1e-4153-96a2-038ce9e6b89a',
url: '//yun.duiba.com.cn/spark/assets/18fa58f33b4efa9f7c7bb282db445175ac156eec.png',
},
'bbbfb7af-4106-4835-b44e-d98b9b93b632': {
name: 'gameInviteBtn',
ext: '.png',
uuid: 'bbbfb7af-4106-4835-b44e-d98b9b93b632',
url: '//yun.duiba.com.cn/spark/assets/dc997ba2857a4b243f114eab3933442890def60c.png',
name: 'gameInviteBtn',
ext: '.png',
uuid: 'bbbfb7af-4106-4835-b44e-d98b9b93b632',
url: '//yun.duiba.com.cn/spark/assets/dc997ba2857a4b243f114eab3933442890def60c.png',
},
'5eee69bb-482c-4ce0-beb1-c7c38cdb6fe4': {
name: 'gameInviteClose',
ext: '.png',
uuid: '5eee69bb-482c-4ce0-beb1-c7c38cdb6fe4',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
name: 'gameInviteClose',
ext: '.png',
uuid: '5eee69bb-482c-4ce0-beb1-c7c38cdb6fe4',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
},
'af7e38d6-a227-4b0c-84af-57e698265204': {
name: 'pkFailBg',
ext: '.png',
uuid: 'af7e38d6-a227-4b0c-84af-57e698265204',
url: '//yun.duiba.com.cn/spark/assets/ca6195092fce370af71f705a8aa10983a881dc72.png',
name: 'pkFailBg',
ext: '.png',
uuid: 'af7e38d6-a227-4b0c-84af-57e698265204',
url: '//yun.duiba.com.cn/spark/assets/ca6195092fce370af71f705a8aa10983a881dc72.png',
},
'dddba513-ce7c-4498-baac-310d7e3fe549': {
name: 'pkFailText',
ext: '.png',
uuid: 'dddba513-ce7c-4498-baac-310d7e3fe549',
url: '//yun.duiba.com.cn/spark/assets/f036a5bc8083f82277d541f8eeede72cc861c265.png',
name: 'pkFailText',
ext: '.png',
uuid: 'dddba513-ce7c-4498-baac-310d7e3fe549',
url: '//yun.duiba.com.cn/spark/assets/f036a5bc8083f82277d541f8eeede72cc861c265.png',
},
'2132218d-4162-4f5f-aa5b-b2db9cbd8c5c': {
name: 'pkFailBtn',
ext: '.png',
uuid: '2132218d-4162-4f5f-aa5b-b2db9cbd8c5c',
url: '//yun.duiba.com.cn/spark/assets/591f599b7c6fc1563ab2fb13a0ad52e61a5293b1.png',
name: 'pkFailBtn',
ext: '.png',
uuid: '2132218d-4162-4f5f-aa5b-b2db9cbd8c5c',
url: '//yun.duiba.com.cn/spark/assets/591f599b7c6fc1563ab2fb13a0ad52e61a5293b1.png',
},
'f5900eb7-29e0-40e7-9828-79757bc25b18': {
name: 'pkFailClose',
ext: '.png',
uuid: 'f5900eb7-29e0-40e7-9828-79757bc25b18',
url: '//yun.duiba.com.cn/spark/assets/e277525ee0fc79fd8ba839f2787c58dc4c94421b.png',
name: 'pkFailClose',
ext: '.png',
uuid: 'f5900eb7-29e0-40e7-9828-79757bc25b18',
url: '//yun.duiba.com.cn/spark/assets/e277525ee0fc79fd8ba839f2787c58dc4c94421b.png',
},
'3f303d14-42ae-4007-9f98-b0eed2d2ff65': {
name: 'pkSuccessBg',
ext: '.png',
uuid: '3f303d14-42ae-4007-9f98-b0eed2d2ff65',
url: '//yun.duiba.com.cn/spark/assets/8e9f6230927721ed71e4bb4255de3f63ebac6d9d.png',
name: 'pkSuccessBg',
ext: '.png',
uuid: '3f303d14-42ae-4007-9f98-b0eed2d2ff65',
url: '//yun.duiba.com.cn/spark/assets/8e9f6230927721ed71e4bb4255de3f63ebac6d9d.png',
},
'75801bab-c16e-4814-ab19-081933e4abc5': {
name: 'pkSuccessModalBtn',
ext: '.png',
uuid: '75801bab-c16e-4814-ab19-081933e4abc5',
url: '//yun.duiba.com.cn/spark/assets/3404d954b4fd5fc233beee8636a03ba89df25ddc.png',
name: 'pkSuccessModalBtn',
ext: '.png',
uuid: '75801bab-c16e-4814-ab19-081933e4abc5',
url: '//yun.duiba.com.cn/spark/assets/3404d954b4fd5fc233beee8636a03ba89df25ddc.png',
},
'feaed213-a6d1-4e32-8444-5c823923f299': {
name: 'taskBg',
ext: '.png',
uuid: 'feaed213-a6d1-4e32-8444-5c823923f299',
url: '//yun.duiba.com.cn/spark/assets/18f459c0a3c102d73c1a1f6cb96efa2329535e5d.png',
name: 'taskBg',
ext: '.png',
uuid: 'feaed213-a6d1-4e32-8444-5c823923f299',
url: '//yun.duiba.com.cn/spark/assets/18f459c0a3c102d73c1a1f6cb96efa2329535e5d.png',
},
'a03d17c7-c4f0-42e0-9430-be61f5eb68d5': {
name: '收藏icon',
ext: '.png',
uuid: 'a03d17c7-c4f0-42e0-9430-be61f5eb68d5',
url: '//yun.duiba.com.cn/spark/assets/f4a899ca5e9dc9cb8adbff3a4b12159f4e38ec4a.png',
name: '收藏icon',
ext: '.png',
uuid: 'a03d17c7-c4f0-42e0-9430-be61f5eb68d5',
url: '//yun.duiba.com.cn/spark/assets/f4a899ca5e9dc9cb8adbff3a4b12159f4e38ec4a.png',
},
'e3bef9e1-07a4-408d-b387-a9ac08c4b7f0': {
name: '浏览icon',
ext: '.png',
uuid: 'e3bef9e1-07a4-408d-b387-a9ac08c4b7f0',
url: '//yun.duiba.com.cn/spark/assets/ba1b8c57f0111c00e809ccc0769fc72a88468e1a.png',
name: '浏览icon',
ext: '.png',
uuid: 'e3bef9e1-07a4-408d-b387-a9ac08c4b7f0',
url: '//yun.duiba.com.cn/spark/assets/ba1b8c57f0111c00e809ccc0769fc72a88468e1a.png',
},
'55bfd46b-b5d5-4942-aecb-ff63633cbbdc': {
name: '关注店铺ico',
ext: '.png',
uuid: '55bfd46b-b5d5-4942-aecb-ff63633cbbdc',
url: '//yun.duiba.com.cn/spark/assets/53556ca95aae334f2765b2d3b9a0e4ff45168b43.png',
name: '关注店铺ico',
ext: '.png',
uuid: '55bfd46b-b5d5-4942-aecb-ff63633cbbdc',
url: '//yun.duiba.com.cn/spark/assets/53556ca95aae334f2765b2d3b9a0e4ff45168b43.png',
},
'437257fe-ed18-4a3c-a428-5459ea4e9736': {
name: '按钮3',
ext: '.png',
uuid: '437257fe-ed18-4a3c-a428-5459ea4e9736',
url: '//yun.duiba.com.cn/spark/assets/369f40d6169f59b8b0229f65540278b05dd6cf61.png',
name: '按钮3',
ext: '.png',
uuid: '437257fe-ed18-4a3c-a428-5459ea4e9736',
url: '//yun.duiba.com.cn/spark/assets/369f40d6169f59b8b0229f65540278b05dd6cf61.png',
},
'24b5da2e-3b36-476a-9e74-090cc96542cf': {
name: 'goTask',
ext: '.png',
uuid: '24b5da2e-3b36-476a-9e74-090cc96542cf',
url: '//yun.duiba.com.cn/spark/assets/4dc8c703b85b159a62a36a72802e982eb3c24adf.png',
name: 'goTask',
ext: '.png',
uuid: '24b5da2e-3b36-476a-9e74-090cc96542cf',
url: '//yun.duiba.com.cn/spark/assets/4dc8c703b85b159a62a36a72802e982eb3c24adf.png',
},
'726bc3e9-0f05-4d3f-8812-d9cb87c5efd1': {
name: 'taskItemBg',
ext: '.png',
uuid: '726bc3e9-0f05-4d3f-8812-d9cb87c5efd1',
url: '//yun.duiba.com.cn/spark/assets/58e1dc705ae314cedcccde8d63cdc1caf461fa57.png',
name: 'taskItemBg',
ext: '.png',
uuid: '726bc3e9-0f05-4d3f-8812-d9cb87c5efd1',
url: '//yun.duiba.com.cn/spark/assets/58e1dc705ae314cedcccde8d63cdc1caf461fa57.png',
},
'4516b49c-476b-4358-a64b-acf4d33a9912': {
name: 'taskIsGet',
ext: '.png',
uuid: '4516b49c-476b-4358-a64b-acf4d33a9912',
url: '//yun.duiba.com.cn/spark/assets/69f52866e858d3529c7379cb182e14d67cac5d93.png',
name: 'taskIsGet',
ext: '.png',
uuid: '4516b49c-476b-4358-a64b-acf4d33a9912',
url: '//yun.duiba.com.cn/spark/assets/69f52866e858d3529c7379cb182e14d67cac5d93.png',
},
'8825062d-8f99-4eae-b961-e52ad9707a80': {
name: '每日登陆ico',
ext: '.png',
uuid: '8825062d-8f99-4eae-b961-e52ad9707a80',
url: '//yun.duiba.com.cn/spark/assets/42dc85cc46576e1df142e85c02a77c4851ddb5e1.png',
name: '每日登陆ico',
ext: '.png',
uuid: '8825062d-8f99-4eae-b961-e52ad9707a80',
url: '//yun.duiba.com.cn/spark/assets/42dc85cc46576e1df142e85c02a77c4851ddb5e1.png',
},
'8797382d-2b38-432e-85d3-6a2160304723': {
name: 'taskClose',
ext: '.png',
uuid: '8797382d-2b38-432e-85d3-6a2160304723',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
name: 'taskClose',
ext: '.png',
uuid: '8797382d-2b38-432e-85d3-6a2160304723',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
},
'26550a63-4fb6-4cb9-9e00-3cc6ff1bcc51': {
name: 'rankPrizeBg',
ext: '.png',
uuid: '26550a63-4fb6-4cb9-9e00-3cc6ff1bcc51',
url: '//yun.duiba.com.cn/spark/assets/eaa6a56f7a3edc487787709cc44b4b7d3a721205.png',
name: 'rankPrizeBg',
ext: '.png',
uuid: '26550a63-4fb6-4cb9-9e00-3cc6ff1bcc51',
url: '//yun.duiba.com.cn/spark/assets/eaa6a56f7a3edc487787709cc44b4b7d3a721205.png',
},
'760fb409-dced-46bb-ab1e-d488584c9eec': {
name: 'rankPrizeImg',
ext: '.png',
uuid: '760fb409-dced-46bb-ab1e-d488584c9eec',
url: '//yun.duiba.com.cn/spark/assets/f32ce691f8460b5e6123b7dd859c8f44bcb6fc67.png',
name: 'rankPrizeImg',
ext: '.png',
uuid: '760fb409-dced-46bb-ab1e-d488584c9eec',
url: '//yun.duiba.com.cn/spark/assets/f32ce691f8460b5e6123b7dd859c8f44bcb6fc67.png',
},
'6ec1ee81-67dd-4303-a201-f69644c658e9': {
name: 'rankPrizeBtn',
ext: '.png',
uuid: '6ec1ee81-67dd-4303-a201-f69644c658e9',
url: '//yun.duiba.com.cn/spark/assets/3404d954b4fd5fc233beee8636a03ba89df25ddc.png',
name: 'rankPrizeBtn',
ext: '.png',
uuid: '6ec1ee81-67dd-4303-a201-f69644c658e9',
url: '//yun.duiba.com.cn/spark/assets/3404d954b4fd5fc233beee8636a03ba89df25ddc.png',
},
'843f7959-252d-403d-8287-e212b46b1fc1': {
name: 'rankPrizeClose',
ext: '.png',
uuid: '843f7959-252d-403d-8287-e212b46b1fc1',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
name: 'rankPrizeClose',
ext: '.png',
uuid: '843f7959-252d-403d-8287-e212b46b1fc1',
url: '//yun.duiba.com.cn/spark/assets/e5d745b7b64877323cbe22be1c9e0f7ef00f145c.png',
},
'ae93d0a2-7c8b-48a5-96a2-49b819e5b2bf': {
name: 'rankNoPrizeBg',
ext: '.png',
uuid: 'ae93d0a2-7c8b-48a5-96a2-49b819e5b2bf',
url: '//yun.duiba.com.cn/spark/assets/7a5b8364dab7b84a8c9d7773933f258c62398293.png',
name: 'rankNoPrizeBg',
ext: '.png',
uuid: 'ae93d0a2-7c8b-48a5-96a2-49b819e5b2bf',
url: '//yun.duiba.com.cn/spark/assets/7a5b8364dab7b84a8c9d7773933f258c62398293.png',
},
'd0c616aa-c606-40dd-b6f1-e9d370f3d053': {
name: 'rankNoPrizeBtn',
ext: '.png',
uuid: 'd0c616aa-c606-40dd-b6f1-e9d370f3d053',
url: '//yun.duiba.com.cn/spark/assets/150316d17c7992d327a6b65c3993103fa0e959b1.png',
},
};
export default resList;
\ No newline at end of file
name: 'rankNoPrizeBtn',
ext: '.png',
uuid: 'd0c616aa-c606-40dd-b6f1-e9d370f3d053',
url: '//yun.duiba.com.cn/spark/assets/150316d17c7992d327a6b65c3993103fa0e959b1.png',
},
'efcd4cc7-b279-466c-b0d1-c6d67fc39dda': {
name: 'unlockBattle5',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/unlockBattle7.50b3d20ada96880e97e69ddacb56a375d2934123.png',
uuid: 'efcd4cc7-b279-466c-b0d1-c6d67fc39dda'
},
'837ea833-da23-46fd-ae6b-3d40489f5e19': {
name: 'unlockBattle7',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/unlockBattle5.5e08400d36c66987588d956d8240db47eca46ce7.png',
uuid: '837ea833-da23-46fd-ae6b-3d40489f5e19'
},
'3ee62d6c-3e44-470b-b2a5-fb805ec6a6c3': {
name: 'mainBG',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/mainBG.c7698e5dba4494258624138e18429842bb37e85f.png',
uuid: '3ee62d6c-3e44-470b-b2a5-fb805ec6a6c3'
}
};
export default resList;
\ No newline at end of file
......@@ -28,3 +28,8 @@ export const PRIZE_TYPE_MAP = {
ENTITY: 3, // 实物
THANKS: 5 // 谢谢参与
}
//弹窗类型
export const modalType = {
rule:1,
inviteList:2
}
This source diff could not be displayed because it is too large. You can view the blob instead.
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