Commit f6efac92 authored by shenyangnan's avatar shenyangnan

1

parent 3d42a078
No preview for this file type
...@@ -16,6 +16,9 @@ App({ ...@@ -16,6 +16,9 @@ App({
tbcc, tbcc,
onLaunch(options) { onLaunch(options) {
this.handleQuery(options.query || {}); this.handleQuery(options.query || {});
var pages = getCurrentPages()
console.log(pages)
}, },
onShow(options) { onShow(options) {
// 从后台被 scheme 重新打开 // 从后台被 scheme 重新打开
......
{ {
"pages": [ "pages": [
"pages/pagecanvas/pagecanvas", "pages/pageshou_ye/pageshou_ye",
"pages/pageshop/pageshop", "pages/pageren_wu_shang_pin_ye/pageren_wu_shang_pin_ye",
"pages/index/index", "pages/pagewo_de_qia_pai/pagewo_de_qia_pai"
"pages/pageshop/pageshop",
"pages/tbccDemo/tbccDemo",
"pages/goodsPage/goodsPage",
"pages/myprize/myprize"
], ],
"window": { "window": {
"enableSkia": "true", "enableSkia": "true",
"allowsBounceVertical": "NO" "allowsBounceVertical": "NO"
} }
} }
<view class="catbackbed1 modal-animate-zoom-in">
<view class="catbackbed">
<image class="catbackbedbgaccident" a:if="{{backType==2}}" src={{resList['98a3f684-846b-479c-91ac-75b588e2b51b'].url}} />
<image class="catbackbedbgsurprise" a:if="{{backType==1}}" src={{resList['98a3f684-846b-479c-91ac-75b588e2b51b'].url}} />
<image class="catbackbedbgunluck" a:if="{{backType==3}}" src={{resList['3fa827d6-e333-4b56-a5d9-5f3ae2089127'].url}} />
<image class="catbackbedok" onTap="onModalClose" src="{{okBtnImg}}" />
<label class="catbackbedtip2"><text>{{getTypeText}}</text> <text style="color:{{getColor}}">{{getText}}</text> </label>
<label class="catbackbedtip">
{{desc}}
</label>
<image class="catbackbedclose" onTap="onModalClose" src={{resList['29e80fbb-98ed-40fb-a11b-e14b45fee158'].url}} />
<image class="catbackbedcatimg" src="{{catImg}}" />
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
const app = getApp();
const {
tbcc
} = app;
const {
commonToast,
getAuthUserInfo,
navigateToOutside,
getSystemInfo
} = tbcc.tb;
Component({
props: {
catImgArr: { //回归猫的图片,1:惊喜欢乐币,2:意外精力值,3:倒霉
'1': [
"36279db8-3376-4710-bb1f-89e69130e6dd", "6dc7422e-d6bf-4b03-9fd3-637b71e5e88e",
"5c01ebd0-dac7-4ff9-89a5-054ea7214f62", "e7156f22-22f6-45f5-8002-898c142ba6ae"
],
'2': [
"51c97f4c-1f39-48cf-8865-c1c2fec500d8", "0a80398a-972a-4ea2-a9d1-604fe54a9d62",
"32f6f1ff-1ad7-4296-a922-d9073b31a921", "377e50f3-cbec-45a5-9bcd-d4923b9873a6"
],
'3': [
"e143c361-01b3-488f-b213-7a97040e245b", "a1a5d4a5-8039-4a6f-a620-8fb465eec68f",
"61869bae-f55f-46e3-be58-23ed6485b18e", "cfc54c6d-4233-478a-ae00-ef42d58718c1"
],
},
//收下按钮,0是倒霉的按钮,1是惊喜与意外的按钮
okBtnImgArr: ["c8c50400-1d65-4971-8be5-e4fb2eecfcd5","b701826c-63c5-4490-a380-52f273dad9af"],
//从召回猫接口中拿到的信息
recallCatInfo: null,
mydata: null, //mydata.catType 猫的类型
},
data: {
resList: resList,
backType: 0, //回归类型,1:惊喜欢乐币,2:意外精力值,3:倒霉
value: 0, //对应的具体值
prizeType: 0, //奖品类型 4:精力,6:欢乐币
catImg: '',
desc: '恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜恭喜', //描述
getText: '+100欢乐币', //获取或减少收益文本
getColor: 'red', //获取或减少收益文本颜色
getTypeText: '获得', //获取或减少收益类型文本
okBtnImg: '' //收下按钮
},
methods: {
onModalClose() {
const { message } = this.props.recallCatInfo;
if(message){
commonToast(message);
}
const {
onModalClose
} = this.props;
onModalClose && onModalClose();
my.__updateUserInfo__();
// onUpdateUserInfo&&onUpdateUserInfo();
},
},
didMount() {
console.log(this.props.catImgArr,this.props.recallCatInfo)
const { value, type, backType, tips } = this.props.recallCatInfo;
let getText = '';
let getTextColor = '';
let getTypeText = '';
let okBtnImg = '';
if (type == 4) {
getText = '精力值';
} else if (type == 6) {
getText = '欢乐币'
}
switch (backType) {
case 1:
getText = '+' + value + getText;
getTextColor = 'red';
getTypeText = '获得';
okBtnImg = this.props.okBtnImgArr[1];
break;
case 2:
getText = '+' + value + getText;
getTextColor = 'red';
getTypeText = '意外获得';
okBtnImg = this.props.okBtnImgArr[1];
break;
case 3:
getText = '-' + value + getText;
getTextColor = 'black';
getTypeText = '损失';
okBtnImg = this.props.okBtnImgArr[0];
break;
}
console.log("mm" + this.props.mydata.catType - 1)
console.log(this.props.catImgArr['' + backType][this.props.mydata.catType - 1]);
this.setData({
catImg: resList[this.props.catImgArr[backType][this.props.mydata.catType - 1]].url,
getText: getText,
getColor: getTextColor,
getTypeText:getTypeText,
backType:backType,
desc:tips[Math.floor(Math.random()*tips.length)],
okBtnImg:resList[okBtnImg].url
})
},
});
\ No newline at end of file
<view class="catname">
<image class="catnamecatimg" src="{{catImg}}" />
<view class="catnamedialog">
<image class="catnamedialogbg" src={{resList['50779aee-069e-4dd9-b2ff-88beda9f43d1'].url}} />
<label class="catnamedialoglabel">铲屎官~帮我取个名字吧!喵~</label>
</view>
<image class="catnamesure btn" a:if="{{btnV}}" onTap="catNameSure" src={{resList['c7916d41-ea9d-4f8e-b5aa-e2060d6ae265'].url}} />
<image class="catnameNo" a:if="{{!btnV}}" src={{resList['3fe9ac60-f1aa-4da3-93da-c67e5a9dc3a6'].url}} />
<view class="catnameinput">
<image class="catnameinputbg" src={{resList['947d970f-52bf-4319-82f0-a3e65620ed75'].url}} />
<input class="catnameinputlabel" maxlength="6" onInput="getCatName" controlled="true" value="{{catNameText}}" placeholder="请输入不超过3个中文或6个英文" name="" ></input>
<text class="catnameinputrandom" onTap="randomName" >随机名字</text>
</view>
</view>
\ No newline at end of file
'use strict';
import API from '../../api';
import resList from '../../resconfig/resList';
const app = getApp();
const {
tbcc
} = app;
const {
textRiskIdentification,
commonToast
} = tbcc.tb;
const nameArr = [
'Edwise',
'爱德',
'MrW'
];
const regEn = /[`~!@#$%^&*()_+<>?:"{},.\/;'[\]]/im;
const regCn = /[·!#¥(——):;“”‘、,|《。》?、【】[\]]/im;
Component({
props: {
//catImgArr: ["90b114e6-83cb-46f1-b607-f88c50077b05", "4e471df6-01ab-421d-ba0b-084b2110dc6d", "003e9904-aee4-4b8d-8d5d-fb4b1188bec1", "90283bd3-4b18-4535-97a8-90318f068781"],
catImgArr: ["3e6311fd-15ab-4656-bb84-1c49f4ad4ed9", "bbb10ff2-f4fb-43a8-83d8-abbb04949f2d", "9fc6517e-debe-4457-88ef-9c733d5bc072", "ecb49f23-2e65-4507-8be6-1eee021a3b35"],
catName: ""
},
data: {
resList: resList,
catNameText: "",
catImg: "",
btnV: false,
isControlled: false
},
methods: {
/**获取字符串字符长度 */
getlen(str) {
var strlen = 0;
console.log("名称长度", str.length)
console.log("charChodeAt", str.charCodeAt)
for (var i = 0; i < str.length; i++) {
if (str.charCodeAt(i) > 255) //如果是汉字,则字符串长度加2
strlen += 2;
else
strlen++;
}
return strlen;
},
onModalClose() {
const {
onModalClose
} = this.props;
onModalClose && onModalClose();
},
onSelectCatOk() {
const {
onSelectCatOk
} = this.props;
onSelectCatOk && onSelectCatOk(this.props.catName);
},
/**随机名字,需要根据运营数据可配置 */
randomName() {
console.log("随即名字")
let index = Math.floor(Math.random() * nameArr.length)
let name = nameArr[index];
this.setData({
catNameText: name
})
this.setCatName(name);
},
/**获取名字 */
getCatName(e) {
this.setData({
catNameText: e.detail.value
})
console.log("input", e)
this.setCatName(e.detail.value)
},
/**设置名字 */
setCatName(name) {
this.props.catName = name;
if (this.props.catName && this.props.catName.length > 0) {
this.setData({
btnV: true
})
} else {
this.setData({
btnV: false
})
}
},
/**检测空格 */
isSqure(str) {
var regu = "^[ ]+$";
var re = new RegExp(regu);
return re.test(str);
},
/**检测emoji */
haveEmoji(str) {
// var regRule = /\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g;
var char=/^[\u4e00-\u9fa5_a-zA-Z0-9]+$/;
return str.match(char)
},
/**确认领养 */
async catNameSure() {
let name = this.props.catName;
if (this.isSqure(name)||!this.haveEmoji(name)) {
my.showToast({
content: "您输入的昵称不可用",
});
return;
}
let len = this.getlen(name);
console.log("名称字符长度", len)
if (len <= 0) {
my.showToast({
content: "您输入的昵称不可用",
});
} else if (len > 6) {
my.showToast({
content: "您输入的昵称不可用",
});
} else if (regEn.test(name) || regCn.test(name)) {
my.showToast({
content: "您输入的昵称不可用",
});
} else {
/**检查敏感词 */
console.log('检查敏感词', name)
const success = await textRiskIdentification(name).catch(err => {
commonToast(err)
console.log('textRiskIdentification error', err);
});
console.log('敏感词校验结果', success)
if (!success) {
commonToast("您输入的昵称不可用")
console.log('敏感词校验失败.')
return;
} else {
my.showLoading();
/**调用领养接口 */
const adoptCat = await API.adoptCat({
catName: name,
catType: this.props.selectType,
// invitedId: 'openId:AAHVNvjuAMaJc3uyPjeHlCEF'//honingwon
invitedId: app.inviteId
});
console.log("aaaa", adoptCat)
if (adoptCat && adoptCat.success) {
// my.showToast({content:'邀请成功'+app.inviteId})
my.hideLoading();
this.onModalClose();
this.onSelectCatOk();
} else {
console.log("ergerg")
my.hideLoading();
my.showToast({
content: adoptCat.message || '网络异常,请稍后重试~'
})
}
}
}
console.log(this.props.catName)
}
},
didMount() {
console.log(this.props.catImgArr[this.props.selectType - 1].url)
this.setData({
catImg: resList[this.props.catImgArr[this.props.selectType - 1]].url
})
console.log("类型" + this.props.selectType + "起名")
}
});
\ No newline at end of file
<view class="catrule modal-animate-zoom-in">
<image class="catrulebg" src={{resList['716ced79-de7f-40ca-ac98-46a5adf13db0'].url}} />
<!-- <image class="catrulep" src={{resList['617927a2-2dd6-456a-9d92-1f607a137dbc'].url}} /> -->
<view class="catrulelabel" onTouchMove="touchMove" >
<label class="catruleText" >{{rule}}</label>
</view>
<image class="catrulebtnclose" onTap="onModalClose" src={{resList['29e80fbb-98ed-40fb-a11b-e14b45fee158'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {
resList: resList,
rule:''
},
methods: {
onModalClose() {
const {
onModalClose
} = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
},
touchMove(e){
console.log(e)
}
},
didMount(){
const {rule} = this.props;
console.log("规则",rule);
this.setData({
rule:rule.rule
})
}
});
\ No newline at end of file
.catname { .cheng_gong_yao_qing {
width: 500rpx; width: 739rpx;
height: 842rpx; height: 846rpx;
opacity: 1; opacity: 1;
left: 126rpx; left: 7rpx;
top: 378rpx; top: 181rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.catname .catnamecatimg { .cheng_gong_yao_qing .di_m81 {
width: 421rpx; width: 739rpx;
height: 301rpx; height: 846rpx;
opacity: 1; opacity: 1;
left: 38rpx;
top: 202rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.catname .catnamedialog { .cheng_gong_yao_qing .wen_an_80 {
width: 466rpx; width: 399rpx;
height: 177rpx; height: 50rpx;
opacity: 1; opacity: 1;
left: 5rpx; left: 164rpx;
top: 332rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.catname .catnamedialog .catnamedialogbg { .cheng_gong_yao_qing .wen_an_80 .cheng_gong_yao_qing_xming_hao_you {
width: 466rpx; width: 399rpx;
height: 177rpx; height: 50rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.93899rpx;
color: #ffffff;
} }
.catname .catnamedialog .catnamedialoglabel { .cheng_gong_yao_qing .an_niu_m79 {
width: 359rpx; width: 351rpx;
height: 72rpx; height: 111rpx;
opacity: 1; opacity: 1;
left: 59rpx; left: 189rpx;
top: 38rpx; top: 638rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #574b45;
} }
.catname .catnamesure { .cheng_gong_yao_qing .xiao_biao_ti_77 {
width: 282rpx; width: 213rpx;
height: 106rpx; height: 264rpx;
opacity: 1; opacity: 1;
left: 111rpx; left: 250rpx;
top: 736rpx; top: 528rpx;
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 0rpx 0rpx 0rpx;
}
.catname .catnameNo {
width: 282rpx;
height: 106rpx;
opacity: 1;
left: 111rpx;
top: 736rpx;
position: absolute;
transform-origin: 50% 50% 0rpx;
} }
.catname .catnameinput { .cheng_gong_yao_qing .xiao_biao_ti_77 .fan_pai_ci_shu {
width: 500rpx; width: 128rpx;
height: 147rpx; height: 32rpx;
opacity: 1; opacity: 1;
top: 538rpx; top: 5rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
} }
.catname .catnameinput .catnameinputbg { .cheng_gong_yao_qing .xiao_biao_ti_77 .chi_da_jiang_jin_yi_bu_zhi_yao_78 {
width: 500rpx; width: 179rpx;
height: 102rpx; height: 24rpx;
opacity: 1; opacity: 1;
left: 20rpx;
top: 240rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 22.13021rpx;
color: #ae6cb4;
} }
.catname .catnameinput .catnameinputlabel { .cheng_gong_yao_qing .xiao_biao_ti_77 .x {
width: 420rpx; width: 71rpx;
height: 47rpx; height: 42rpx;
opacity: 1; opacity: 1;
left: 33rpx; left: 142rpx;
top: 25rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx; font-size: 31.35113rpx;
color: #685b4e; color: #ff1200;
background-color: rgba(0, 0, 0, 0);
} }
.catname .catnameinput .catnameinputrandom { .cheng_gong_yao_qing .guan_bi_m76 {
width: 150rpx; width: 49rpx;
height: 26rpx; height: 48rpx;
opacity: 1; opacity: 0.50196078;
left: 175rpx; left: 604rpx;
top: 121rpx; top: 235rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx;
color: #f8f1eb;
text-align: center
} }
<view class="cheng_gong_yao_qing ">
<image class="di_m81 " src={{resList['111c9125-e420-4da8-8a2a-ece402a8407d'].url}} />
<view class="wen_an_80 ">
<span class="cheng_gong_yao_qing_xming_hao_you ">成功邀请X名好友</span>
</view>
<image class="an_niu_m79 " src={{resList['464252af-98b7-4451-8331-b3d5f9be3a5d'].url}} />
<view class="xiao_biao_ti_77 ">
<span class="fan_pai_ci_shu ">翻牌次数 </span>
<span class="chi_da_jiang_jin_yi_bu_zhi_yao_78 ">离大奖仅一步之遥</span>
<span class="x ">+ X</span>
</view>
<image class="guan_bi_m76 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.thanksmodal { .duan_nei_zhu_li_ye {
width: 721rpx; width: 750rpx;
height: 452rpx; height: 799rpx;
opacity: 1; opacity: 1;
left: 18rpx; top: 347rpx;
top: 562rpx;
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.thanksmodal .thanksbg { .duan_nei_zhu_li_ye .di_m13312 {
width: 721rpx; width: 750rpx;
height: 452rpx; height: 799rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.thanksmodal .thanksclose { .duan_nei_zhu_li_ye .bang_ta_zhu_li_an_niu_m12 {
width: 43rpx; width: 434rpx;
height: 43rpx; height: 118rpx;
opacity: 1; opacity: 1;
left: 624rpx; left: 164rpx;
top: 41rpx; top: 616rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
<view class="duan_nei_zhu_li_ye ">
<image class="di_m13312 " src={{resList['855ea4d3-b407-4396-abcb-0eeeff27f6b0'].url}} />
<image class="bang_ta_zhu_li_an_niu_m12 " src={{resList['2fea2f5b-cd74-4de1-a0cd-d829e1ca8c3a'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.getcat { .duan_wai_suo_yao_fen_xiang_ye {
width: 465rpx; width: 750rpx;
height: 671rpx; height: 799rpx;
opacity: 1; opacity: 1;
left: 130rpx; top: 347rpx;
top: 378rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.getcat .getcatimg { .duan_wai_suo_yao_fen_xiang_ye .di_m6 {
width: 421rpx; width: 750rpx;
height: 301rpx; height: 799rpx;
opacity: 1; opacity: 1;
left: 34rpx;
top: 202rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.getcat .getcatdialog { .duan_wai_suo_yao_fen_xiang_ye .bang_ta_zhu_li_an_niu_m5 {
width: 465rpx; width: 434rpx;
height: 176rpx; height: 118rpx;
opacity: 1; opacity: 1;
left: 164rpx;
top: 646rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.getcat .getcatdialog .getcatdialogbg { .duan_wai_suo_yao_fen_xiang_ye .wowkao_bei {
width: 465rpx; width: 356rpx;
height: 176rpx; height: 81rpx;
opacity: 1; opacity: 1;
left: 195rpx;
top: 227rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.getcat .getcatdialog .getcatdialogtext { .duan_wai_suo_yao_fen_xiang_ye .qia_pai_4 {
width: 326rpx; width: 225rpx;
height: 73rpx; height: 302rpx;
opacity: 1; opacity: 1;
left: 69rpx; left: 267rpx;
top: 39rpx; top: 315rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #574b45;
}
.getcat .getcatgo {
width: 282rpx;
height: 106rpx;
opacity: 1;
left: 107rpx;
top: 565rpx;
position: absolute;
transform-origin: 50% 50% 0rpx;
} }
<view class="duan_wai_suo_yao_fen_xiang_ye ">
<image class="di_m6 " src={{resList['3474c828-84f0-4513-b32d-d1987a7d5e58'].url}} />
<image class="bang_ta_zhu_li_an_niu_m5 " src={{resList['d3f306d2-fe7d-4167-8ce4-912b1e1f0782'].url}} />
<image class="wowkao_bei " src={{resList['81c19179-8097-44d0-a296-5f89f3f77f70'].url}} />
<image class="qia_pai_4 " src={{resList['a6454fc5-1d34-4a29-9c0a-18cbe5454f19'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
<view class="exchanged">
<image class="exchanged_bg " src={{resList['65d97f17-4b35-4ba7-b21b-7ec0bfac6639'].url}} />
<image class="exchanged_imgbg " src={{resList['e0ce2abf-64d3-40f3-a016-c7fb7772b3f6'].url}} />
<image class="exchanged_imgbg " src={{mydata.image}} />
<image class="exchanged_close " onTap="onModalClose" src={{resList['06f8e9d0-f0bf-41d3-bbc2-8a782eacae59'].url}} />
<label class="exchanged_title ">{{mydata.name}}</label>
<image class="exchanged_btn " onTap="onModalClose" src={{resList['923ae629-84ed-406d-b3cb-258742ffa2ba'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: { mydata:null},
data: {
resList: resList,
},
methods: {
// onBtnClick() {
// console.log('onBtnClick');
// this.onModalClose();
// },
onModalClose() {
const { onModalClose } = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
}
}
});
\ No newline at end of file
.levelup-modal { .fan_pai_pu_tong_qia {
position: fixed; width: 748rpx;
top: 0; height: 944rpx;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
}
.levelup__shade {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
}
.levelup {
position: absolute;
width: 750rpx;
height: 1093rpx;
opacity: 1;
transform-origin: 50% 50% 0rpx;
top:50%;
margin-top: -546rpx;
}
.levelup .levelup_light {
width: 750rpx;
height: 1093rpx;
opacity: 1; opacity: 1;
top: 266rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_pu_tong_qia .an_niu_m44 {
.levelup .levelup_bg { width: 351rpx;
width: 584rpx; height: 111rpx;
height: 715rpx;
opacity: 1; opacity: 1;
left: 85rpx; left: 196rpx;
top: 200rpx; top: 833rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_pu_tong_qia .di_m43 {
.levelup .levelup_closebtn { width: 748rpx;
width: 45rpx; height: 779rpx;
height: 45rpx;
opacity: 1; opacity: 1;
left: 584rpx; top: 71rpx;
top: 236rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_pu_tong_qia .qia_pai_42 {
.levelup .levelup_bg2 { width: 302rpx;
width: 651rpx; height: 457rpx;
height: 784rpx;
opacity: 1; opacity: 1;
left: 52rpx; left: 221rpx;
top: 182rpx; top: 258rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_pu_tong_qia .gong_xi_ni_huo_de_yi_xia_qia_pai {
.levelup .levelup_txt { width: 550rpx;
width: 750rpx; height: 59rpx;
height: 26rpx;
opacity: 1; opacity: 1;
left: 0rpx; left: 96rpx;
top: 711rpx; top: 75rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 26rpx; font-size: 52.84626rpx;
color: #574738; color: #ffffff;
text-align: center;
} }
.fan_pai_pu_tong_qia .fu_biao_ti_40 {
.levelup .levelup_title { width: 398rpx;
width: 206rpx; height: 42rpx;
height: 35rpx;
opacity: 1; opacity: 1;
left: 274rpx; left: 176rpx;
top: 314rpx; top: 163rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_pu_tong_qia .fu_biao_ti_40 .yuan_jiao_ju_xing_3688 {
.levelup .levelup_imgbg { width: 398rpx;
width: 360rpx; height: 42rpx;
height: 299rpx;
opacity: 1; opacity: 1;
left: 197rpx;
top: 377rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_pu_tong_qia .fu_biao_ti_40 .zai_chou_qu_nzhang_bu_tong_qia_pai_ji_ke_ling_qu_jiang_li_41 {
.levelup .levelup_prizeView { width: 348rpx;
width: 350rpx; height: 24rpx;
height: 293rpx;
opacity: 1; opacity: 1;
left: 202rpx; left: 25rpx;
top: 380rpx; top: 9rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
overflow: hidden; font-size: 20.58945rpx;
/* border: 3rpx solid black; */ color: #ffd801;
border-radius: 10rpx;
} }
.fan_pai_pu_tong_qia .guan_bi_m39 {
.levelup .levelup_prizeImg { width: 49rpx;
width: 356rpx; height: 48rpx;
height: 299rpx; opacity: 0.50196078;
opacity: 1; left: 611rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
left: -1rpx;
top: -3rpx;
}
.levelup .levelup_btn {
width: 351rpx;
height: 105rpx;
opacity: 1;
left: 201rpx;
top: 773rpx;
position: absolute;
transform-origin: 50% 50% 0rpx;
} }
<view class="fan_pai_pu_tong_qia ">
<image class="an_niu_m44 " src={{resList['48d28917-741f-45d4-bcc9-322f29bcf5d8'].url}} />
<image class="di_m43 " src={{resList['a9da2de9-c1c9-4381-a820-d041e858e1a4'].url}} />
<image class="qia_pai_42 " src={{resList['d4b26426-b671-4658-acf4-94bebb980199'].url}} />
<span class="gong_xi_ni_huo_de_yi_xia_qia_pai ">恭喜你获得以下卡牌</span>
<view class="fu_biao_ti_40 ">
<image class="yuan_jiao_ju_xing_3688 " src={{resList['d7329665-f4f6-42bc-ab46-0af63a0837eb'].url}} />
<span class="zai_chou_qu_nzhang_bu_tong_qia_pai_ji_ke_ling_qu_jiang_li_41 ">
再抽取n张不同卡牌即可领取奖励
</span>
</view>
<image class="guan_bi_m39 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.shop-page { .fan_pai_suo_you_qia {
width: 100vw; top: 0rpx;
height: 100vh; left: 0rpx;
opacity: 1; width: 750rpx;
height: 1624rpx;
display: block;
position: absolute; position: absolute;
top: 0;
left: 0;
overflow: hidden;
/* background: url('') no-repeat center top/cover; */
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang {
.shop-wrap { width: 748rpx;
width: 100%; height: 944rpx;
opacity: 1;
top: 266rpx;
position: absolute; position: absolute;
bottom: 0; transform-origin: 0rpx 0rpx 0rpx;
top: 254rpx;
padding-left: 54rpx;
right:0;
overflow-x: auto;
}
.shop-list {
width: 100%;
height: auto;
/* background-color: black; */
display: flex;
flex-flow: row wrap;
align-content: flex-start;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .an_niu_m38 {
.shop .shopbg { width: 351rpx;
width: 750rpx; height: 111rpx;
height: 1624rpx;
opacity: 1; opacity: 1;
left: 196rpx;
top: 833rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .di_m21 {
.shop .shopitem { width: 748rpx;
position: relative; height: 779rpx;
/* display: flex;
justify-content: center;
align-items: center; */
box-sizing: border-box;
width: 309rpx;
height: 324rpx;
opacity: 1; opacity: 1;
margin: 0 30rpx 30rpx 0; top: 71rpx;
/* left: 54rpx; position: absolute;
top: 254rpx; */ transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .xi_you_qia_di_m18 {
.shop .shopitem .shopitem_bg2 { width: 463rpx;
width: 309rpx; height: 575rpx;
height: 324rpx;
opacity: 1; opacity: 1;
left: 135rpx;
top: 198rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .qia_pai_16 {
.shop .shopitem .shopitem_bg1 { width: 281rpx;
display: none; height: 436rpx;
width: 224rpx;
height: 161rpx;
opacity: 1; opacity: 1;
left: 45rpx; left: 231rpx;
top: 29rpx; top: 267rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.shop .shopitem .shopitem_avatar { .fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .qia_pai_16 .dai_shu_qia_xue_xi {
width: 161rpx; width: 281rpx;
height: 161rpx; height: 436rpx;
opacity: 1; opacity: 1;
left: 76.5rpx;
top: 29rpx;
position: absolute; position: absolute;
border-radius: 10rpx;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .gong_xi_ni_jie_suo_xzhang_qia_pai_huo_de_1ci_ling_jiang_ji_hui {
.shop .shopitem .shopitem_disabledbtn { width: 526rpx;
width: 209rpx; height: 134rpx;
height: 60rpx;
opacity: 1; opacity: 1;
left: 49rpx; left: 108rpx;
top: 241rpx; top: 10rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 52.84626rpx;
color: #ffffff;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .guan_bi_m15 {
.shop .shopitem .shopitem_buybtn { width: 49rpx;
width: 217rpx; height: 48rpx;
height: 68rpx; opacity: 0.50196078;
opacity: 1; left: 611rpx;
left: 45rpx;
top: 237rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .gong_xi_ni_jie_suo_xzhang_qia_pai {
.shop .shopitem .shopitem_txt { width: 526rpx;
pointer-events: none; height: 59rpx;
width: 122rpx;
font-weight: bold;
letter-spacing: 1rpx;
text-align: center;
/* height: 20rpx; */
opacity: 1; opacity: 1;
left: 120rpx; left: 108rpx;
top: 253rpx; top: 77rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 21.79723rpx; font-size: 52.84626rpx;
color: #474543; color: #ffffff;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .fu_biao_ti_kao_bei {
.shop .shopitem .shopitem_name { width: 398rpx;
width: 200rpx; height: 42rpx;
/* height: 23rpx; */
opacity: 1; opacity: 1;
left: 51rpx; left: 176rpx;
top: 200rpx; top: 163rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 20.12052rpx;
color: #474543;
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .fu_biao_ti_kao_bei .yuan_jiao_ju_368814 {
.shop .shop_gold { width: 398rpx;
height: 42rpx;
opacity: 1; opacity: 1;
left: 348rpx;
top: 140rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 23.47394rpx;
color: #7b644e;
} }
.fan_pai_suo_you_qia .fan_pai_suo_you_qia_kuang .fu_biao_ti_kao_bei .huo_de_1ci_ling_jiang_ji_hui {
.shop .shop_backbtn { width: 180rpx;
width: 67rpx; height: 24rpx;
height: 67rpx;
opacity: 1; opacity: 1;
left: 48rpx; left: 109rpx;
top: 41rpx; top: 9rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 20.58945rpx;
color: #ffd801;
} }
<view class="fan_pai_suo_you_qia ">
<view class="fan_pai_suo_you_qia_kuang ">
<image class="an_niu_m38 " src={{resList['65d0f064-2527-4aef-8563-858eaf7ccf1e'].url}} />
<image class="di_m21 " src={{resList['468745a5-60dd-4f8f-bb12-12eb0e7264ef'].url}} />
<image class="xi_you_qia_di_m18 " src={{resList['6c708f3c-4716-4789-93d4-8f677a595446'].url}} />
<view class="qia_pai_16 ">
<image class="dai_shu_qia_xue_xi " src={{resList['7cd30461-36df-4a39-9e14-7e1c70999452'].url}} />
</view>
<span class="gong_xi_ni_jie_suo_xzhang_qia_pai_huo_de_1ci_ling_jiang_ji_hui ">
恭喜你解锁X张卡牌 获得1次领奖机会
</span>
<image class="guan_bi_m15 " src={{resList['50aaeef4-ecb8-4a3f-9782-46ca780a52c2'].url}} />
<span class="gong_xi_ni_jie_suo_xzhang_qia_pai ">恭喜你解锁X张卡牌</span>
<view class="fu_biao_ti_kao_bei ">
<image class="yuan_jiao_ju_368814 " src={{resList['fe6fd8bc-732b-4bfe-89f4-5318f5cb090a'].url}} />
<span class="huo_de_1ci_ling_jiang_ji_hui ">获得1次领奖机会</span>
</view>
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.catbackbed1 { .fan_pai_xi_you_qia {
width: 750rpx; width: 750rpx;
height: 1093rpx; height: 944rpx;
opacity: 1; opacity: 1;
top: 266rpx;
position: absolute; position: absolute;
top:265rpx; transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 50% 50% 0rpx;
} }
.catbackbed1 .catbackbed { .fan_pai_xi_you_qia .an_niu_m52 {
width: 750rpx; width: 351rpx;
height: 1093rpx; height: 111rpx;
opacity: 1; opacity: 1;
left: 198rpx;
top: 833rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.catbackbed1 .catbackbed .catbackbedbgaccident { .fan_pai_xi_you_qia .di_m51 {
width: 750rpx; width: 750rpx;
height: 1093rpx; height: 779rpx;
opacity: 1; opacity: 1;
top: 71rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
display: block;
} }
.catbackbed1 .catbackbed .catbackbedbgsurprise { .fan_pai_xi_you_qia .xi_you_qia_di_m50 {
width: 750rpx; width: 463rpx;
height: 1093rpx; height: 575rpx;
opacity: 1; opacity: 1;
left: 137rpx;
top: 198rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
display: block;
} }
.catbackbed1 .catbackbed .catbackbedbgunluck { .fan_pai_xi_you_qia .qia_pai_49 {
width: 584rpx; width: 281rpx;
height: 715rpx; height: 436rpx;
opacity: 1; opacity: 1;
left: 233rpx;
top: 267rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
display: block;
top: 196rpx;
left: 84rpx;
} }
.catbackbed1 .catbackbed .catbackbedok { .fan_pai_xi_you_qia .yun_qi_bao_peng_jie_suo_yi_zhang_xin_qia_pai {
width: 351rpx; width: 427rpx;
height: 105rpx; height: 133rpx;
opacity: 1; opacity: 1;
left: 201rpx; left: 160rpx;
top: 773rpx; top: 10rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 52.84626rpx;
color: #ffffff;
} }
.catbackbed1 .catbackbed .catbackbedtip2 { .fan_pai_xi_you_qia .guan_bi_m48 {
width: 750rpx; width: 49rpx;
height: 32rpx; height: 48rpx;
opacity: 1; opacity: 0.50196078;
left: 0rpx; left: 613rpx;
top: 706rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 32rpx;
color: #685b4e;
text-align: center;
font-weight: bold
} }
.catbackbed1 .catbackbed .catbackbedtip { .fan_pai_xi_you_qia .fu_biao_ti_45 {
width: 447rpx; width: 398rpx;
height: 111rpx; height: 42rpx;
opacity: 1; opacity: 1;
left: 152rpx; left: 178rpx;
top: 563rpx; top: 163rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #685b4e;
} }
.catbackbed1 .catbackbed .catbackbedclose { .fan_pai_xi_you_qia .fu_biao_ti_45 .yuan_jiao_ju_368847 {
width: 44rpx; width: 398rpx;
height: 44rpx; height: 42rpx;
opacity: 1; opacity: 1;
display: block;
left: 586rpx;
top: 238rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.catbackbed1 .catbackbed .catbackbedcatimg { .fan_pai_xi_you_qia .fu_biao_ti_45 .zai_chou_qu_nzhang_bu_tong_qia_pai_ji_ke_ling_qu_jiang_li_46 {
width: 494rpx; width: 348rpx;
height: 262rpx; height: 24rpx;
opacity: 1; opacity: 1;
display: block; left: 25rpx;
left: 128rpx; top: 9rpx;
top: 290rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 20.58945rpx;
color: #ffd801;
} }
<view class="fan_pai_xi_you_qia ">
<image class="an_niu_m52 " src={{resList['48d28917-741f-45d4-bcc9-322f29bcf5d8'].url}} />
<image class="di_m51 " src={{resList['8c31274b-1016-4b8c-b413-9fc98174e118'].url}} />
<image class="xi_you_qia_di_m50 " src={{resList['a47a9645-1d0d-482b-af10-154def15e9f9'].url}} />
<image class="qia_pai_49 " src={{resList['71612c2a-b0dc-463b-82dd-24a427e58ca1'].url}} />
<span class="yun_qi_bao_peng_jie_suo_yi_zhang_xin_qia_pai "> 运气爆棚! 解锁一张新卡牌</span>
<image class="guan_bi_m48 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
<view class="fu_biao_ti_45 ">
<image class="yuan_jiao_ju_368847 " src={{resList['d7329665-f4f6-42bc-ab46-0af63a0837eb'].url}} />
<span class="zai_chou_qu_nzhang_bu_tong_qia_pai_ji_ke_ling_qu_jiang_li_46 ">
再抽取n张不同卡牌即可领取奖励
</span>
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.fan_pai_yi_yong_wan {
width: 571rpx;
height: 553rpx;
opacity: 1;
left: 89rpx;
top: 417rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.fan_pai_yi_yong_wan .di_m109 {
width: 567rpx;
height: 502rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.fan_pai_yi_yong_wan .an_niu_m108 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.fan_pai_yi_yong_wan .nin_de_fan_pai_ci_shu_yi_yong_wan {
width: 300rpx;
height: 32rpx;
opacity: 1;
left: 125rpx;
top: 278rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.fan_pai_yi_yong_wan .guan_bi_m107 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="fan_pai_yi_yong_wan ">
<image class="di_m109 " src={{resList['32da4042-3a54-409d-90ef-cb8320f41622'].url}} />
<image class="an_niu_m108 " src={{resList['fd0c8bee-3d1d-4042-a326-84483c175dad'].url}} />
<span class="nin_de_fan_pai_ci_shu_yi_yong_wan ">您的翻牌次数已用完</span>
<image class="guan_bi_m107 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
<view class="getcat">
<image class="getcatimg" src="{{catImg}}" />
<view class="getcatdialog">
<image class="getcatdialogbg" src={{resList['24b7d459-41d6-408c-9829-4768fe38abf5'].url}} />
<label class="getcatdialogtext">好了,现在你就是{{catName}}的铲屎官了~</label>
</view>
<image class="getcatgo btn" onTap="onPostSelectCat" src={{resList['97484cf2-5146-4287-b104-ed1f43c71ee0'].url}} />
</view>
\ No newline at end of file
'use strict';
import API from '../../api';
import resList from '../../resconfig/resList';
Component({
props: {
//catImgArr: ["90b114e6-83cb-46f1-b607-f88c50077b05", "4e471df6-01ab-421d-ba0b-084b2110dc6d" , "003e9904-aee4-4b8d-8d5d-fb4b1188bec1","90283bd3-4b18-4535-97a8-90318f068781"],
catImgArr:["3e6311fd-15ab-4656-bb84-1c49f4ad4ed9","bbb10ff2-f4fb-43a8-83d8-abbb04949f2d","9fc6517e-debe-4457-88ef-9c733d5bc072","ecb49f23-2e65-4507-8be6-1eee021a3b35"],
catName: ''
},
data: {
resList: resList,
catImg:''
},
methods: {
onModalClose() {
const {
onModalClose
} = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
},
async onPostSelectCat() {
const userInfo = await API.getUserInfo().catch(res=>{
my.showToast({content:res?res.message:null})
});
if(userInfo&&userInfo.success){
console.log("aaa",userInfo)
const {
onPostSelectCat
} = this.props;
console.log("领养完毕")
this.onModalClose();
// my.__updateUserInfo__();
onPostSelectCat && onPostSelectCat(userInfo);
}
}
},
didMount(){
this.setData({
catImg: resList[this.props.catImgArr[this.props.selectType - 1]].url
})
}
});
\ No newline at end of file
.recallcat { .gong_xi_ni {
width: 721rpx; width: 739rpx;
height: 562rpx; height: 954rpx;
opacity: 1; opacity: 1;
left: 18rpx; left: 7rpx;
top: 500rpx; top: 181rpx;
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.recallcat .recallcatbg { .gong_xi_ni .di_m97 {
width: 721rpx; width: 739rpx;
height: 562rpx; height: 954rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.recallcat .recallcatbacklabel { .gong_xi_ni .an_niu_m96 {
width: 615rpx; width: 322rpx;
height: 25rpx; height: 112rpx;
opacity: 1; opacity: 1;
left: 52rpx; left: 196rpx;
top: 335rpx; top: 797rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 26rpx;
color: #685b4e;
text-align: center;
} }
.recallcat .recallcathappycoin { .gong_xi_ni .xiao_biao_ti_94 {
width: 119rpx; width: 365rpx;
height: 29rpx; height: 317rpx;
opacity: 1; opacity: 1;
left: 265rpx; left: 175rpx;
top: 235rpx; top: 459rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 36rpx;
color: #e74846;
text-align: center;
} }
.recallcat .recallbtngroup { .gong_xi_ni .xiao_biao_ti_94 .gong_xi_huo_de_yi_xia_jiang_li {
width: 608rpx; width: 255rpx;
height: 105rpx; height: 32rpx;
opacity: 1; opacity: 1;
left: 54rpx; left: 55rpx;
top: 421rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
} }
.recallcat .recallbtngroup .recallbtncancel { .gong_xi_ni .xiao_biao_ti_94 .jiang_pin_yi_fa_fang_ke_zai_jiang_pin_zhong_cha_kan_95 {
width: 281rpx; width: 365rpx;
height: 105rpx; height: 26rpx;
opacity: 1; opacity: 1;
top: 291rpx;
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 23.97439rpx;
color: #ae6cb4;
} }
.recallcat .recallbtngroup .recallbtngo { .gong_xi_ni .jiang_pin_tu_93 {
width: 281rpx; width: 215rpx;
height: 105rpx; height: 215rpx;
opacity: 1; opacity: 1;
left: 327rpx; left: 249rpx;
top: 515rpx;
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.recallcat .recallbtnclose { .gong_xi_ni .guan_bi_m92 {
width: 44rpx; width: 49rpx;
height: 44rpx; height: 48rpx;
opacity: 1; opacity: 0.50196078;
display: block; left: 604rpx;
left: 624rpx; top: 235rpx;
top: 38rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
<view class="gong_xi_ni ">
<image class="di_m97 " src={{resList['76a9cc41-7074-45cc-ab2f-c5dd47e07058'].url}} />
<image class="an_niu_m96 " src={{resList['d1ef5d28-4bb0-4e36-b4cd-f03032b5c15e'].url}} />
<view class="xiao_biao_ti_94 ">
<span class="gong_xi_huo_de_yi_xia_jiang_li ">恭喜获得以下奖励</span>
<span class="jiang_pin_yi_fa_fang_ke_zai_jiang_pin_zhong_cha_kan_95 ">
奖品已发放,可在【奖品】中查看
</span>
</view>
<image class="jiang_pin_tu_93 " src={{resList['944dc7c0-cd64-4901-a9aa-e85f3d8e97a8'].url}} />
<image class="guan_bi_m92 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.exchanged { .gong_xi_ni_huo_de_qia_pai {
width: 750rpx; width: 739rpx;
height: 1093rpx; height: 954rpx;
opacity: 1; opacity: 1;
top: 50%; left: 7rpx;
margin-top: -550rpx; top: 181rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.exchanged .exchanged_bg { .gong_xi_ni_huo_de_qia_pai .di_m66 {
width: 750rpx; width: 739rpx;
height: 1093rpx; height: 954rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.exchanged .exchanged_imgbg { .gong_xi_ni_huo_de_qia_pai .an_niu_m65 {
width: 299rpx; width: 322rpx;
height: 299rpx; height: 112rpx;
opacity: 1; opacity: 1;
left: 227rpx; left: 196rpx;
top: 377rpx; top: 797rpx;
border-radius: 10rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.exchanged .exchanged_close { .gong_xi_ni_huo_de_qia_pai .xiao_biao_ti_64 {
width: 45rpx; width: 319rpx;
height: 45rpx; height: 32rpx;
opacity: 1; opacity: 1;
left: 584rpx; left: 198rpx;
top: 236rpx; top: 459rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.exchanged .exchanged_title { .gong_xi_ni_huo_de_qia_pai .qia_pai_63 {
width: 750rpx; width: 204rpx;
text-align: center; height: 274rpx;
/* height: 35rpx; */
opacity: 1; opacity: 1;
/* left: 295rpx; */ left: 257rpx;
top: 300rpx; top: 504rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 36rpx;
color: #e74846;
} }
.exchanged .exchanged_btn { .gong_xi_ni_huo_de_qia_pai .guan_bi_m62 {
width: 351rpx; width: 49rpx;
height: 105rpx; height: 48rpx;
opacity: 1; opacity: 0.50196078;
left: 201rpx; left: 604rpx;
top: 773rpx; top: 235rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
<view class="gong_xi_ni_huo_de_qia_pai ">
<image class="di_m66 " src={{resList['76a9cc41-7074-45cc-ab2f-c5dd47e07058'].url}} />
<image class="an_niu_m65 " src={{resList['c83cb68d-c685-4a21-987d-f374d903c006'].url}} />
<image class="xiao_biao_ti_64 " src={{resList['71cc94bd-5822-4f37-9824-94634cceacfe'].url}} />
<image class="qia_pai_63 " src={{resList['4d109fea-6c5b-457a-af9a-1630f3d9d6a1'].url}} />
<image class="guan_bi_m62 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.hao_you_zhu_li_huo_de_jiang_pin {
width: 739rpx;
height: 954rpx;
opacity: 1;
left: 7rpx;
top: 181rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.hao_you_zhu_li_huo_de_jiang_pin .di_m91 {
width: 739rpx;
height: 954rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.hao_you_zhu_li_huo_de_jiang_pin .an_niu_m90 {
width: 351rpx;
height: 111rpx;
opacity: 1;
left: 189rpx;
top: 797rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.hao_you_zhu_li_huo_de_jiang_pin .xiao_biao_ti_88 {
width: 365rpx;
height: 317rpx;
opacity: 1;
left: 175rpx;
top: 459rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.hao_you_zhu_li_huo_de_jiang_pin .xiao_biao_ti_88 .gong_xi_ni_huo_de_yi_xia_jiang_li {
width: 286rpx;
height: 32rpx;
opacity: 1;
left: 39rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.hao_you_zhu_li_huo_de_jiang_pin .xiao_biao_ti_88 .jiang_pin_yi_fa_fang_ke_zai_jiang_pin_zhong_cha_kan_89 {
width: 365rpx;
height: 26rpx;
opacity: 1;
top: 291rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 23.97439rpx;
color: #af6ab6;
}
.hao_you_zhu_li_huo_de_jiang_pin .jiang_pin_tu_87 {
width: 215rpx;
height: 215rpx;
opacity: 1;
left: 249rpx;
top: 511rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.hao_you_zhu_li_huo_de_jiang_pin .guan_bi_m86 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 604rpx;
top: 235rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="hao_you_zhu_li_huo_de_jiang_pin ">
<image class="di_m91 " src={{resList['12e4a261-7106-4bec-b9e9-6df026fcd440'].url}} />
<image class="an_niu_m90 " src={{resList['27a7f1d2-f272-4f12-8ff5-2cde96d149fd'].url}} />
<view class="xiao_biao_ti_88 ">
<span class="gong_xi_ni_huo_de_yi_xia_jiang_li ">恭喜你获得以下奖励</span>
<span class="jiang_pin_yi_fa_fang_ke_zai_jiang_pin_zhong_cha_kan_89 ">
奖品已发放,可在【奖品】中查看
</span>
</view>
<image class="jiang_pin_tu_87 " src={{resList['944dc7c0-cd64-4901-a9aa-e85f3d8e97a8'].url}} />
<image class="guan_bi_m86 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.catrule { .hao_you_zhu_li_wu_jiang {
width: 721rpx; width: 739rpx;
height: 559rpx; height: 846rpx;
opacity: 1; opacity: 1;
left: 18rpx; left: 7rpx;
top: 442rpx; top: 181rpx;
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 0rpx 0rpx 0rpx;
display: block;
} }
.catrule .catrulebg { .hao_you_zhu_li_wu_jiang .di_m85 {
width: 721rpx; width: 739rpx;
height: 559rpx; height: 846rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.catrule .catrulep { .hao_you_zhu_li_wu_jiang .an_niu_m84 {
width: 13rpx; width: 351rpx;
height: 69rpx; height: 111rpx;
opacity: 1; opacity: 1;
left: 667rpx; left: 189rpx;
top: 168rpx; top: 677rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.catrule .catrulelabel { .hao_you_zhu_li_wu_jiang .xiao_biao_ti_83 {
width: 574rpx; width: 256rpx;
height: 279rpx; height: 77rpx;
opacity: 1; opacity: 1;
left: 76rpx; left: 230rpx;
top: 167rpx; top: 519rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx;
color: #685b4e;
overflow-y: scroll
} }
.catrule.catrulelabel.catruleText{ .hao_you_zhu_li_wu_jiang .xiao_biao_ti_83 .hen_yi_han_ni_lai_wan_la_jiang_pin_liu_zou_la {
width: 574rpx; width: 256rpx;
height: 279rpx; height: 77rpx;
font-size: 24rpx; opacity: 1;
color: #685b4e;
transform-origin: 0rpx 0rpx 0rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
} }
.catrule .catrulebtnclose { .hao_you_zhu_li_wu_jiang .guan_bi_m82 {
width: 44rpx; width: 49rpx;
height: 44rpx; height: 48rpx;
opacity: 1; opacity: 0.50196078;
display: block; left: 604rpx;
left: 624rpx; top: 235rpx;
top: 38rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
<view class="hao_you_zhu_li_wu_jiang ">
<image class="di_m85 " src={{resList['c22d4fcc-ebd6-463b-82d7-fb5b872b79da'].url}} />
<image class="an_niu_m84 " src={{resList['cedeaa81-51f0-488f-a1de-92d14c84cffc'].url}} />
<view class="xiao_biao_ti_83 ">
<span class="hen_yi_han_ni_lai_wan_la_jiang_pin_liu_zou_la ">很遗憾,你来晚啦 奖品溜走啦......</span>
</view>
<image class="guan_bi_m82 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.huo_dong_gui_ze {
width: 633rpx;
height: 840rpx;
opacity: 1;
left: 27rpx;
top: 306rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.huo_dong_gui_ze .di_m1131 {
width: 631rpx;
height: 799rpx;
opacity: 1;
top: 41rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.huo_dong_gui_ze .huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui {
width: 432rpx;
height: 565rpx;
opacity: 1;
left: 141rpx;
top: 213rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 26rpx;
color: #bc6e3e;
}
.huo_dong_gui_ze .guan_bi_m10 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 584rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="huo_dong_gui_ze ">
<image class="di_m1131 " src={{resList['603034bb-2c7d-42c4-9be4-60aea30e0820'].url}} />
<span class="huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui_ze_huo_dong_gui ">
活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则活动规则
</span>
<image class="guan_bi_m10 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.ji_qi_suo_you_qia_pai_kai_he {
width: 1250rpx;
height: 1559rpx;
opacity: 1;
left: -331rpx;
top: 82rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ji_qi_suo_you_qia_pai_kai_he .hao_yun_jiang_lin_gong_xi_ni_ji_qi_suo_you_qia_pai {
width: 481rpx;
height: 132rpx;
opacity: 1;
left: 458rpx;
top: 254rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 51.47363rpx;
color: #ffffff;
}
.ji_qi_suo_you_qia_pai_kai_he .li_he_1 {
width: 453rpx;
height: 456rpx;
opacity: 1;
left: 472rpx;
top: 426rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ji_qi_suo_you_qia_pai_kai_he .li_he_2 {
width: 481rpx;
height: 504rpx;
opacity: 1;
left: 451rpx;
top: 378rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ji_qi_suo_you_qia_pai_kai_he .li_he_3 {
width: 518rpx;
height: 570rpx;
opacity: 1;
left: 451rpx;
top: 312rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ji_qi_suo_you_qia_pai_kai_he .li_he_4 {
width: 580rpx;
height: 436rpx;
opacity: 1;
left: 451rpx;
top: 446rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ji_qi_suo_you_qia_pai_kai_he .an_niu_m3 {
width: 351rpx;
height: 111rpx;
opacity: 1;
left: 531rpx;
top: 954rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="ji_qi_suo_you_qia_pai_kai_he ">
<span class="hao_yun_jiang_lin_gong_xi_ni_ji_qi_suo_you_qia_pai "> 好运降临! 恭喜你集齐所有卡牌!</span>
<image class="li_he_1 " src={{resList['dc40dab4-0745-4c64-af9a-d2e729852f9a'].url}} />
<image class="li_he_2 " src={{resList['d6dd2033-f0ba-4427-8c20-644e09b56298'].url}} />
<image class="li_he_3 " src={{resList['56568fc6-9f9a-4786-8abd-74c8e05a60de'].url}} />
<image class="li_he_4 " src={{resList['a1f8ca57-ebcb-41c2-925b-45fa7695ee23'].url}} />
<image class="an_niu_m3 " src={{resList['47454f5f-ef97-4cc7-ad07-9a11ef1cdcb4'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
.jia_ru_hui_yuan {
width: 571rpx;
height: 554rpx;
opacity: 1;
left: 89rpx;
top: 415rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan .di_m106 {
width: 567rpx;
height: 503rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan .an_niu_m105 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan .jia_ru_hui_yuan_cai_neng_can_yu_huo_dong_ying_da_jiang_e {
width: 367rpx;
height: 80rpx;
opacity: 1;
left: 92rpx;
top: 259rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.jia_ru_hui_yuan .guan_bi_m104 {
width: 49rpx;
height: 49rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="jia_ru_hui_yuan ">
<image class="di_m106 " src={{resList['11de08fa-6456-4123-8aba-ef9b3d980eb5'].url}} />
<image class="an_niu_m105 " src={{resList['3b7870b4-578d-4781-9a56-58916f02c376'].url}} />
<span class="jia_ru_hui_yuan_cai_neng_can_yu_huo_dong_ying_da_jiang_e ">
加入会员 才能参与活动赢大奖哦~
</span>
<image class="guan_bi_m104 " src={{resList['17952009-08e1-4439-b51f-3e4e1e66333f'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
.jia_ru_hui_yuan_bu_shi_hui_yuan {
width: 571rpx;
height: 554rpx;
opacity: 1;
left: 89rpx;
top: 415rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan_bu_shi_hui_yuan .di_m100 {
width: 567rpx;
height: 503rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan_bu_shi_hui_yuan .an_niu_m99 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan_bu_shi_hui_yuan .nin_huan_bu_shi_hui_yuan_qing_xian_jia_ru_hui_yuan_e {
width: 266rpx;
height: 80rpx;
opacity: 1;
left: 142rpx;
top: 259rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.jia_ru_hui_yuan_bu_shi_hui_yuan .guan_bi_m98 {
width: 49rpx;
height: 49rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="jia_ru_hui_yuan_bu_shi_hui_yuan ">
<image class="di_m100 " src={{resList['11de08fa-6456-4123-8aba-ef9b3d980eb5'].url}} />
<image class="an_niu_m99 " src={{resList['3b7870b4-578d-4781-9a56-58916f02c376'].url}} />
<span class="nin_huan_bu_shi_hui_yuan_qing_xian_jia_ru_hui_yuan_e ">您还不是会员 请先加入会员哦~</span>
<image class="guan_bi_m98 " src={{resList['17952009-08e1-4439-b51f-3e4e1e66333f'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
.jia_ru_hui_yuan_zhu_li {
width: 571rpx;
height: 554rpx;
opacity: 1;
left: 89rpx;
top: 415rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan_zhu_li .di_m103 {
width: 567rpx;
height: 503rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan_zhu_li .an_niu_m102 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jia_ru_hui_yuan_zhu_li .jia_ru_hui_yuan_cai_neng_can_yu_zhu_li_e {
width: 266rpx;
height: 80rpx;
opacity: 1;
left: 142rpx;
top: 259rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.jia_ru_hui_yuan_zhu_li .guan_bi_m101 {
width: 49rpx;
height: 49rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="jia_ru_hui_yuan_zhu_li ">
<image class="di_m103 " src={{resList['11de08fa-6456-4123-8aba-ef9b3d980eb5'].url}} />
<image class="an_niu_m102 " src={{resList['3b7870b4-578d-4781-9a56-58916f02c376'].url}} />
<span class="jia_ru_hui_yuan_cai_neng_can_yu_zhu_li_e ">加入会员 才能参与助力哦~</span>
<image class="guan_bi_m101 " src={{resList['17952009-08e1-4439-b51f-3e4e1e66333f'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
.jiang_pin_ti_shi {
width: 564rpx;
height: 575rpx;
opacity: 1;
left: 96rpx;
top: 314rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jiang_pin_ti_shi .zheng_zai_jin_xing_zhong {
width: 350rpx;
height: 58rpx;
opacity: 1;
left: 110rpx;
top: 67rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 51.47363rpx;
color: #ffffff;
}
.jiang_pin_ti_shi .sheng_yu_nzhang_jie_suo_jiang_li {
width: 247rpx;
height: 29rpx;
opacity: 1;
left: 147rpx;
top: 149rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 25.73682rpx;
color: #ffffff;
}
.jiang_pin_ti_shi .jiang_pin_biao_ti_jiang_pin_biao_ti_shu_liang_you_xian_xian_dao_xian_de {
width: 191rpx;
height: 59rpx;
opacity: 1;
left: 30rpx;
top: 516rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 20.58945rpx;
color: #ffdb63;
}
.jiang_pin_ti_shi .jiang_pin_biao_ti_jiang_pin_biao_ti {
width: 191rpx;
height: 24rpx;
opacity: 1;
left: 342rpx;
top: 516rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 20.58945rpx;
color: #ffdb63;
}
.jiang_pin_ti_shi .guan_bi_m2 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 515rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jiang_pin_ti_shi .ju_3390 {
width: 250rpx;
height: 250rpx;
opacity: 1;
top: 232rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.jiang_pin_ti_shi .ju_3390kao_bei {
width: 250rpx;
height: 250rpx;
opacity: 1;
left: 312rpx;
top: 232rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="jiang_pin_ti_shi ">
<span class="zheng_zai_jin_xing_zhong ">正在进行中...</span>
<span class="sheng_yu_nzhang_jie_suo_jiang_li ">(剩余n张解锁奖励)</span>
<span class="jiang_pin_biao_ti_jiang_pin_biao_ti_shu_liang_you_xian_xian_dao_xian_de ">
奖品标题奖品标题 数量有限,先到先得
</span>
<span class="jiang_pin_biao_ti_jiang_pin_biao_ti ">奖品标题奖品标题</span>
<image class="guan_bi_m2 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
<image class="ju_3390 " src={{resList['5f6be607-9f63-4603-8f12-acbee3d95d46'].url}} />
<image class="ju_3390kao_bei " src={{resList['5f6be607-9f63-4603-8f12-acbee3d95d46'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="levelup-modal">
<view class="levelup__shade modal-animate-fade-in" />
<view class="levelup modal-animate-zoom-in">
<image class="levelup_light " src={{resList['a158cbff-9dcd-49df-bb91-16213d58036e'].url}} />
<image class="levelup_bg " src={{resList['b027d194-0fad-45ea-8b1c-3502f7869d2d'].url}} />
<image class="levelup_bg2 " src={{resList['f88dfc75-c9f1-4e9d-8826-8a1d0e513259'].url}} />
<label class="levelup_txt ">{{levelupTxt}}</label>
<image class="levelup_title " src={{resList['69bff61a-b5a6-4979-ba8d-9e008aed737a'].url}} />
<image class="levelup_imgbg " src={{resList['f56872e2-5e79-4906-99a2-576231f153af'].url}} />
<view class="levelup_prizeView">
<image class="levelup_prizeImg" src="{{prizeImg}}"/>>
</view>
<image class="levelup_btn btn" onTap="onBtnClick" src={{resList['95520b55-9655-4988-a833-3907978dbffb'].url}} />
<image class="levelup_closebtn " onTap="onModalClose" src={{resList['d33bbf87-ed39-4959-8673-02a4c31dca77'].url}} />
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {
mydata:{}
},
// {prizeData:r.data,energyMax1:Ins.userInfo.energyMax,energyMax2:r.data.energyMax}
data: {
resList: resList,
levelupTxt:'精力上限1200 → 精力上限1500',
prizeImg:''
},
methods: {
onBtnClick() {
console.log('onBtnClick');
this.onModalClose();
},
onModalClose() {
const { onModalClose } = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
}
},
didMount(){
console.log("升级弹窗"+this.props.mydata);
var txt = '精力上限'+this.props.mydata.energyMax1+' → 精力上限'+this.props.mydata.energyMax2;
this.setData({
levelupTxt:txt,
prizeImg:this.props.mydata.prizeData.image||'//yun.duiba.com.cn/aurora/assets/00b4b751939da230055889445f00f22990ff5f88.png'
})
}
});
\ No newline at end of file
.ling_qu_shi_bai_bei_ling_zou_la {
width: 571rpx;
height: 553rpx;
opacity: 1;
left: 89rpx;
top: 417rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ling_qu_shi_bai_bei_ling_zou_la .di_m72 {
width: 567rpx;
height: 502rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ling_qu_shi_bai_bei_ling_zou_la .an_niu_m71 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ling_qu_shi_bai_bei_ling_zou_la .shou_su_tai_man_la_gai_qia_pai_yi_bei_qi_ta_hao_you_jie_hu_ling_zou_la {
width: 496rpx;
height: 79rpx;
opacity: 1;
left: 28rpx;
top: 256rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 29.50695rpx;
color: #f46d00;
}
.ling_qu_shi_bai_bei_ling_zou_la .guan_bi_m70 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="ling_qu_shi_bai_bei_ling_zou_la ">
<image class="di_m72 " src={{resList['32da4042-3a54-409d-90ef-cb8320f41622'].url}} />
<image class="an_niu_m71 " src={{resList['3c6dd474-9224-4776-96ae-ed0cc94ba7d7'].url}} />
<span class="shou_su_tai_man_la_gai_qia_pai_yi_bei_qi_ta_hao_you_jie_hu_ling_zou_la ">
手速太慢啦 该卡牌已被其他好友截胡领走啦......
</span>
<image class="guan_bi_m70 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
.ling_qu_shi_bai_bu_neng_ling_qu_zi_ji_de {
width: 571rpx;
height: 553rpx;
opacity: 1;
left: 89rpx;
top: 417rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ling_qu_shi_bai_bu_neng_ling_qu_zi_ji_de .di_m69 {
width: 567rpx;
height: 502rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ling_qu_shi_bai_bu_neng_ling_qu_zi_ji_de .an_niu_m68 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.ling_qu_shi_bai_bu_neng_ling_qu_zi_ji_de .bu_neng_ling_qu_zi_ji_de_qia_pai_e {
width: 367rpx;
height: 32rpx;
opacity: 1;
left: 93rpx;
top: 279rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.ling_qu_shi_bai_bu_neng_ling_qu_zi_ji_de .guan_bi_m67 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="ling_qu_shi_bai_bu_neng_ling_qu_zi_ji_de ">
<image class="di_m69 " src={{resList['32da4042-3a54-409d-90ef-cb8320f41622'].url}} />
<image class="an_niu_m68 " src={{resList['3c6dd474-9224-4776-96ae-ed0cc94ba7d7'].url}} />
<span class="bu_neng_ling_qu_zi_ji_de_qia_pai_e ">不能领取自己的卡牌哦~</span>
<image class="guan_bi_m67 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.message-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
}
.message__shade {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
}
.message {
width: 676rpx;
height: 650rpx;
opacity: 1;
left: 40rpx;
top:50%;
margin-top: -325rpx;
/* top: 418rpx; */
position: absolute;
transform-origin: 50% 50% 0rpx;
}
.message .message_bg {
width: 676rpx;
height: 650rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.message .message_txt {
width: 676rpx;
height: 25rpx;
opacity: 1;
left: 0rpx;
top: 355rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 26rpx;
color: #685b4e;
text-align: center;
}
.message .message_backTime {
width: 578rpx;
height: 58rpx;
opacity: 1;
display: block;
left: 60rpx;
top: 211rpx;
position: absolute;
font-size: 28rpx;
color: rgba(104, 91, 78, 1);
transform-origin: 0rpx 0rpx 0rpx;
text-align: center;
font-weight: bold;
}
.message .message_btn {
width: 45rpx;
height: 45rpx;
opacity: 1;
left: 577rpx;
top: 24rpx;
position: absolute;
transform-origin: 50% 50% 0rpx;
}
.message .message_closebtn {
width: 352rpx;
height: 106rpx;
opacity: 1;
left: 161rpx;
top: 510rpx;
position: absolute;
transform-origin: 50% 50% 0rpx;
}
<view class="message-modal">
<view class="message__shade modal-animate-fade-in" />
<view class="message modal-animate-zoom-in">
<image class="message_bg " src={{resList['fc1fd3ee-e606-46de-9bb6-ea5fb41567df'].url}} />
<label class="message_txt ">{{mydata.catName+" 留"}}</label>
<label class="message_backTime ">{{backTime}}</label>
<image class="message_btn" onTap="onModalClose" src={{resList['3ad6a924-dda8-49f4-b8fc-0e796347e802'].url}} />
<image class="message_closebtn btn" onTap="onModalClose" src={{resList['5488b126-f520-496f-ace6-010a89eb108f'].url}} />
</view>
</view>
\ No newline at end of file
'use strict';
import API from '../../api';
import resList from '../../resconfig/resList';
const app = getApp();
const { tbcc } = app;
const { commonToast } = tbcc.tb;
Component({
props: {
mydata: null
},
data: {
resList: resList,
backTime: ''
},
methods: {
onModalClose() {
const { onModalClose } = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
},
/**根据时间戳获取日期-月-日 */
getDateDayMonthByTime(time) {
let date = new Date(time);
let hours = date.getHours();
let minutes = date.getMinutes();
minutes = minutes <= 0 ? '' : minutes + '分'
date = hours + "点" + minutes;
return date;
},
async getBackTime() {
// my.showLoading();
// const recall = await API.recallInfo().catch(r=>{
// commonToast(r&&r.message)
// my.hideLoading();
// })||{};
// if (recall && recall.success) {
// my.hideLoading();
this.setData({
backTime: this.getDateDayMonthByTime(this.props.mydata.recallInfo.backTime)
})
// }
}
},
didMount() {
this.getBackTime();
}
});
\ No newline at end of file
.common-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
}
.common-modal__shade {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.75);
}
.common-modal__container {
position: absolute;
width: 500rpx;
height: 300rpx;
background: #4eafd7;
background-size: 100% 100%;
left: 50%;
top: 50%;
margin-left: -250rpx;
margin-top: -150rpx;
padding: 30rpx;
}
.common-modal__bd {
font-size: 28rpx;
text-align: center;
color: #fff;
padding: 50rpx 0;
}
.common-modal__close {
position: absolute;
right: -20rpx;
top: -80rpx;
height: 86rpx;
width: 86rpx;
background: url('../../assets/modal_close_btn.png') center center no-repeat;
background-size: 48rpx 48rpx;
z-index: 9;
}
.common-modal__confirm-btn {
margin: 0 auto;
text-align: center;
width: 341rpx;
height: 77rpx;
line-height: 77rpx;
background: #FFF;
background-size: 100% 100%;
font-size: 30rpx;
color: #0077a9;
font-weight: bold;
}
<view class="common-modal">
<view class="common-modal__shade modal-animate-fade-in" />
<view class="common-modal__container modal-animate-zoom-in">
<view class="common-modal__close" onTap="onModalClose" />
<view class="common-modal__bd">
<text>{{data.content}}</text>
</view>
<view class="common-modal__ft" a:if="{{data.btnText}}">
<view onTap="onModalConfirm" class="common-modal__confirm-btn">{{data.btnText}}</view>
</view>
</view>
</view>
Component({
methods: {
onModalClose() {
const { onModalClose } = this.props;
onModalClose && onModalClose();
},
onModalConfirm () {
const { onModalConfirm } = this.props;
onModalConfirm && onModalConfirm();
}
}
});
\ No newline at end of file
{
"component": true
}
\ No newline at end of file
<view class="recallcat modal-animate-zoom-in">
<image class="recallcatbg" src={{resList['40cac443-7998-4c2a-8f9c-38121b2385e3'].url}} />
<label class="recallcatbacklabel">{{timeText}}</label>
<label class="recallcathappycoin">{{happyCoinCnt}}</label>
<view class="recallbtngroup">
<image class="recallbtncancel btn" onTap="onModalClose" src={{resList['6957d9f3-9aa4-4ed6-9b83-57cc68f16512'].url}} />
<image class="recallbtngo btn" disabled="{{btnEnable}}" onTap="onRecallCat" src={{resList['6d8cdd11-fbc5-4e84-b5ef-1f74c9070738'].url}} />
</view>
<image class="recallbtnclose" onTap="onModalClose" src={{resList['29e80fbb-98ed-40fb-a11b-e14b45fee158'].url}} />
</view>
\ No newline at end of file
'use strict';
import API from '../../api';
import resList from '../../resconfig/resList';
const app = getApp();
const {
tbcc
} = app;
const {
commonToast
} = tbcc.tb;
Component({
props: {
mydata: null
},
data: {
resList: resList,
timeText: '',
happyCoinCnt: '',
btnEnable: true
},
methods: {
onModalClose() {
const {
onModalClose
} = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
},
/**根据时间戳获取日期-月-日 */
getDateDayMonthByTime(time) {
let date = new Date(time);
let year = date.getFullYear();
let month = date.getMonth() + 1;
let day = date.getDate();
let hours = date.getHours();
let minutes = date.getMinutes();;
let seconds = date.getSeconds();
if (hours <= 0) {
if (minutes <= 0) {
// if (seconds <= 0) {
date = 0 + '小时' + 0 + '分';
// } else {
// date = seconds + "秒"
// }
} else {
date = hours + '小时' + minutes + '分';
}
} else {
date = hours + '小时' + minutes + '分';
}
console.log(hours);
return date;
},
/**计算两个时间戳相差的时间,小时,分,秒 */
compareTime(startTime, endTime) {
let between = (endTime - startTime) / 1000;
let hours = Math.floor(between % (24 * 36000) / 3600);
let minutes = Math.floor(between % 3600 / 60);
let seconds = Math.floor(between % 60 / 60);
let date;
if (hours <= 0) {
if (minutes <= 0) {
// if (seconds <= 0) {
date = 0 + '小时' + 0 + '分';
// } else {
// date = seconds + "秒"
// }
} else {
date = hours + '小时' + minutes + '分';
}
} else {
date = hours + '小时' + minutes + '分';
}
return date;
},
/**召回猫,打开召回猫的奖励弹窗 */
async onRecallCat() {
// if (!this.data.btnEnable) return;
console.log("召回猫")
// my.__clickDelay__(this);
my.showLoading();
const recallCat = await API.recallCat().catch(r => {
my.hideLoading();
commonToast(r && r.message);
}) || {};
if (recallCat && recallCat.success) {
my.hideLoading();
this.onModalClose();
const {
onRecallCat
} = this.props;
onRecallCat && onRecallCat(recallCat.data);
}
}
},
async didMount() {
// const recall = await API.recallInfo().catch(r=>{
// commonToast(r&&r.message)
// })||{};
// console.log(recall);
// if (recall && recall.success) {
var text = "猫咪预计" + this.compareTime(this.props.mydata.recallInfo.serverTime, this.props.mydata.recallInfo.backTime) + "后回寝";
this.setData({
timeText: text,
happyCoinCnt: this.props.mydata.recallInfo.value + ''
})
// }
}
});
\ No newline at end of file
.taskcontainer { .ren_wu_zhong_xin {
position: fixed; width: 716rpx;
top: 0; height: 939rpx;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
background: rgba(0, 0, 0, 0.5);
}
.task {
width: 750rpx;
height: 792rpx;
opacity: 1; opacity: 1;
top: 100%; top: 685rpx;
margin-top: -792rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_bg { .ren_wu_zhong_xin .di_m9 {
width: 750rpx; width: 716rpx;
height: 792rpx; height: 939rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_close { .ren_wu_zhong_xin .ren_wu_1 {
width: 57rpx; width: 594rpx;
height: 57rpx; height: 117rpx;
opacity: 1; opacity: 1;
left: 684rpx; left: 103rpx;
top: 53rpx; top: 153rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.ren_wu_zhong_xin .ren_wu_1 .di_m8 {
.task_list { width: 594rpx;
width: 100%; height: 117rpx;
height: 620rpx;
/* background-color: black; */
display: flex;
flex-flow: row wrap;
align-content: flex-start;
margin-top: 162rpx;
padding: 0rpx 0 0 41rpx;
overflow-x: auto;
}
.task .task_item {
width: 668rpx;
height: 141rpx;
opacity: 1; opacity: 1;
margin: 0 0rpx 16rpx 0; position: absolute;
position: relative;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_itembg { .ren_wu_zhong_xin .ren_wu_1 .tu_biao_m {
width: 668rpx; width: 86rpx;
height: 141rpx; height: 86rpx;
opacity: 1; opacity: 1;
left: 14rpx;
top: 16rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_receivebtn { .ren_wu_zhong_xin .ren_wu_1 .qu_gou_mai_m {
width: 165rpx; width: 134rpx;
height: 61rpx; height: 53rpx;
opacity: 1; opacity: 1;
left: 479rpx; left: 435rpx;
top: 25rpx; top: 31rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_gobtn { .ren_wu_zhong_xin .ren_wu_1 .qu_wan_cheng_m {
width: 165rpx; width: 134rpx;
height: 61rpx; height: 53rpx;
opacity: 1; opacity: 1;
left: 479rpx; left: 435rpx;
top: 25rpx; top: 31rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_disabedbtn { .ren_wu_zhong_xin .ren_wu_1 .yi_wan_cheng_m {
width: 165rpx; width: 134rpx;
height: 61rpx; height: 53rpx;
opacity: 1; opacity: 1;
left: 479rpx; left: 435rpx;
top: 26rpx; top: 31rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_sginicon { .ren_wu_zhong_xin .ren_wu_1 .dai_ling_qu_m {
width: 90rpx; width: 134rpx;
height: 91rpx; height: 53rpx;
opacity: 1; opacity: 1;
left: 25rpx; left: 435rpx;
top: 25rpx; top: 31rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_inviteicon { .ren_wu_zhong_xin .ren_wu_1 .qu_guan_zhu_m {
width: 90rpx; width: 134rpx;
height: 91rpx; height: 53rpx;
opacity: 1; opacity: 1;
left: 25rpx; left: 435rpx;
top: 25rpx; top: 31rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_focusicon { .ren_wu_zhong_xin .ren_wu_1 .qu_liu_lan_m {
width: 90rpx; width: 134rpx;
height: 91rpx; height: 53rpx;
opacity: 1; opacity: 1;
left: 25rpx; left: 435rpx;
top: 25rpx; top: 31rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_readicon { .ren_wu_zhong_xin .ren_wu_1 .ming_ri_zai_lai_m {
width: 90rpx; width: 134rpx;
height: 91rpx; height: 53rpx;
opacity: 1; opacity: 1;
left: 25rpx; left: 435rpx;
top: 25rpx; top: 31rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.task .task_item .task_title { .ren_wu_zhong_xin .ren_wu_1 .wen_an_7 {
/* width: 52rpx; */ width: 154rpx;
height: 26rpx; height: 65rpx;
opacity: 1; opacity: 1;
left: 139rpx; left: 115rpx;
top: 36rpx; top: 24rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #685b4e;
} }
.task .task_item .task_award { .ren_wu_zhong_xin .ren_wu_1 .wen_an_7 .guan_zhu_dian_pu {
width: 118rpx; width: 110rpx;
height: 24rpx; height: 27rpx;
opacity: 1; opacity: 1;
left: 138rpx; left: 1rpx;
top: 78rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 26rpx; font-size: 28rpx;
color: #39abed; color: #4b2a0a;
} }
.task .task_item .task_progress { .ren_wu_zhong_xin .ren_wu_1 .wen_an_7 .fan_pai_ci_shu_10 {
width: 200rpx; width: 154rpx;
/* height: 22rpx; */ height: 23rpx;
text-align: center;
opacity: 1; opacity: 1;
left: 465rpx; top: 42rpx;
top: 90rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx; font-size: 24rpx;
color: #685b4e; color: #9d8a7b;
} }
<view class="ren_wu_zhong_xin ">
<image class="di_m9 " src={{resList['c6f83af8-a064-426a-bb3c-60d7e9dd1c0b'].url}} />
<view class="ren_wu_1 ">
<image class="di_m8 " src={{resList['e670f6a8-3dee-493b-a55f-c61229c85cb5'].url}} />
<image class="tu_biao_m " src={{resList['6ec4da36-beba-4eea-ba56-e5d59c1e77dd'].url}} />
<image class="qu_gou_mai_m " src={{resList['befa9414-7e21-4e4a-a4d6-d42324525cd2'].url}} />
<image class="qu_wan_cheng_m " src={{resList['f4a40fdc-4ac7-4917-bdca-704ac6e293d6'].url}} />
<image class="yi_wan_cheng_m " src={{resList['60e755c5-16de-469e-b54b-d1254d4fdd13'].url}} />
<image class="dai_ling_qu_m " src={{resList['00c28c88-7e7c-4c9b-a708-f0254dab619a'].url}} />
<image class="qu_guan_zhu_m " src={{resList['ba2793d6-94cd-4fe1-ae3d-11278e0a66f8'].url}} />
<image class="qu_liu_lan_m " src={{resList['8473ab9f-df8e-4c4e-b249-8d1cad9f04ae'].url}} />
<image class="ming_ri_zai_lai_m " src={{resList['a3b76ef9-f877-4aa1-b07a-b1c971fd8c6d'].url}} />
<view class="wen_an_7 ">
<span class="guan_zhu_dian_pu ">关注店铺</span>
<span class="fan_pai_ci_shu_10 ">翻牌次数 +10</span>
</view>
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="selectcat modal-animate-zoom-in">
<image class="selectcatbg" src={{resList['db53267d-4141-4d3e-afda-9b523c89be3e'].url}} />
<view class="selectcatblue" id="cat_1" onTap="changeSelectCat">
<image class="bluebg" src={{resList['02183198-f4da-4ac2-8bf3-d6b7a07d3279'].url}} />
<image class="blueimg" src={{resList['95a6b0a9-3e7a-4a0b-82b6-6742e2a8bddf'].url}} />
<label class="bluename">蓝猫</label>
<image class="bluesure" a:if="{{curSelect==1}}" src={{resList['f956cda2-5eef-4942-8737-742d171527bd'].url}} />
</view>
<view class="selectcatsh" id="cat_3" onTap="changeSelectCat">
<image class="shbg" src={{resList['02183198-f4da-4ac2-8bf3-d6b7a07d3279'].url}} />
<image class="shimg" src={{resList['fe52ffae-fadd-40f3-97b5-d3d56fd04781'].url}} />
<label class="shname">三花</label>
<image class="shsure" a:if="{{curSelect==3}}" src={{resList['f956cda2-5eef-4942-8737-742d171527bd'].url}} />
</view>
<view class="selectcatxl" id="cat_4" onTap="changeSelectCat">
<image class="xlbg" src={{resList['02183198-f4da-4ac2-8bf3-d6b7a07d3279'].url}} />
<image class="xlimg" src={{resList['193f6955-d754-4b9f-80ca-b9b9a72e8a8b'].url}} />
<label class="xlname">暹罗</label>
<image class="xlsure" a:if="{{curSelect==4}}" src={{resList['f956cda2-5eef-4942-8737-742d171527bd'].url}} />
</view>
<view class="selectcatorge" id="cat_2" onTap="changeSelectCat">
<image class="orgebg" src={{resList['02183198-f4da-4ac2-8bf3-d6b7a07d3279'].url}} />
<image class="orgeimg" src={{resList['e28e5250-c740-4e4f-a855-c415c557e77e'].url}} />
<label class="orgename">橘猫</label>
<image class="orgesure" a:if="{{curSelect==2}}" src={{resList['f956cda2-5eef-4942-8737-742d171527bd'].url}} />
</view>
<image class="selectcattrue btn" onTap="selectSure" src={{resList['628fc38b-7dc0-4c69-aac1-279d60c8f1ed'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {
},
data: {
resList: resList,
curSelect: 1 //1:蓝猫,2:橘猫,3:三花,4:暹罗
},
methods: {
onModalClose() {
const {
onModalClose
} = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
},
changeSelectCat(e) {
// console.log(e.currentTarget.id);
let type = parseInt(e.currentTarget.id.split("_")[1]);
this.setData({
curSelect: type
})
console.log(type);
},
selectSure() {
console.log(this.props);
this.onModalClose();
const {
onSelectCat
} = this.props;
console.log(onSelectCat)
onSelectCat && onSelectCat(this.data.curSelect);
}
},
didMount() {
console.log(this.data.curSelect)
this.setData({
curSelect: 2
})
},
});
\ No newline at end of file
<task-list
list="{{list}}"
onHandleTapReceiveBtn="handleTapReceiveBtn"
onHandleTapGoBtn="handleTapGoBtn"
onModalClose="onModalClose"
></task-list>
'use strict';
import resList from '../../resconfig/resList';
import API from '../../api';
const app = getApp();
const { tbcc } = app;
const { commonToast, favorShop, navigateToOutside } = tbcc.tb;
let flag = 0;
const findTask = (key, list) => {
const result = list.filter(i => i.taskType == key);
if (!result || result.length == 0) throw new Error(`不存在key=${key}的任务,请检查接口`)
return result[0]
};
const findFollowTask = (key, list) => {
const result = list.filter(i => i.taskType == key);
if (!result || result.length == 0) throw new Error(`不存在key=${key}的任务,请检查接口`)
return result;
};
Component({
props: {},
data: {
resList: resList, list: []
},
async didMount() {
my.showLoading();
await this.getTaskList();
my.hideLoading();
},
methods: {
async getTaskList() {
const { success, data, message } = await API.getTaskList().catch(res => {
commonToast(res && res.message);
}) || {};
if (success && data) {
//签到邀请关注浏览
let list = [
findTask('sign', data),
findTask('invites', data)
];
list.push(findTask('browseGoods', data));
list = list.concat(findFollowTask('follow', data));
list.forEach(element => {
if(element.taskType =='follow'){
element.title='关注'+element.name+'店铺';
}
});
this.setData({ list })
}
},
async handleTapReceiveBtn(e) {
if (flag) return;
// my.showLoading();
flag = 1;
const { item } = e.target.dataset;
const { taskType, sellerId } = item;
const { success, data, message } = await API.receiveTaskRewards({ taskType, sellerId }).catch(res => {
commonToast(res && res.message);
}) || {};
// my.hideLoading();
if (success && data) {
let str;
// switch (taskType) {
// case 'sign':
// break;
// case 'browseGoods':
// break;
// case 'follow':
// break;
// case 'invites':
// break;
// default:
// break;
// }
console.log('taskType',taskType)
if (taskType == 'invites')
str = `成功邀请${data.times}名好友,奖励为精力值+${data.energy}`
commonToast(str || '领取成功');
}
my.__updateUserInfo__();
await this.getTaskList()
flag = 0;
},
async handleTapGoBtn(e) {
if (flag) return;
flag = 1;
const { item } = e.target.dataset;
const { taskType, sellerId, itemId, url } = item;
switch (taskType) {
case 'browseGoods':
navigateToOutside(url);
await this.handleGoBrowseGoods();
await this.getTaskList();
break;
case 'follow':
setTimeout(() => { flag = 0;}, 1000);
await this.handleGoFollow(sellerId);
await this.getTaskList();
break;
case 'invites':
API.doStat({type:9})
my.showSharePanel();
break;
case 'sign':
await this.handleGoSign();
await this.getTaskList();
break;
default:
console.log('handleTapGoBtn', taskType);
break;
}
flag = 0;
},
async handleGoSign() {
await API.doSignTask( ).catch(res => {
commonToast(res && res.message);
}) || {};
},
async handleGoBrowseGoods(itemId) {
await API.doBrowseGoodsTask({ itemId }).catch(res => {
commonToast(res && res.message);
}) || {};
},
async handleGoFollow(sellerId) {
console.log('handleGoFollow',sellerId)
let favorStatus = await favorShop(sellerId).catch(err => {
console.log('关注店铺失败', err);
});
favorStatus=true;
commonToast(favorStatus ? '关注成功' : '关注失败');
console.log("关注结束")
if (favorStatus) {
await API.doFollowTask({ sellerId }).catch(res => {
commonToast(res && res.message);
}) || {};
}
},
onModalClose() {
const { onModalClose } = this.props;
onModalClose && onModalClose();
// console.log('com task onModalClose')
}
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {
"task-list": "/components/comtasklist/comtasklist"
}
}
\ No newline at end of file
<view class="taskcontainer ">
<view class="task ">
<image class="task_bg " src={{resList['7d24398f-622f-4f20-9d7e-2d7237d7bc6b'].url}} />
<image class="task_close " onTap="onModalClose" src={{resList['33778cbf-8c4f-4d6f-a8e8-9ebc6f0c5cd0'].url}} />
<view class="task_list">
<view class="task_item " a:for="{{list}}">
<image class="task_itembg " src={{resList['b44bac8c-652f-496d-9bc1-165e30d71b02'].url}} />
<image class="task_receivebtn " data-item="{{item}}" onTap="handleTapReceiveBtn" a:if="{{item.status==2}}" src={{resList['b9f1cc3f-4620-44d8-85ae-187be0745ace'+(item.taskType=='sign' ? '':'')].url}} />
<image class="task_gobtn " data-item="{{item}}" onTap="handleTapGoBtn" a:if="{{item.status==1}}" src={{resList['9ee176ed-5204-4524-97f9-bf17ee698aa8-'+item.taskType].url}} />
<image class="task_disabedbtn " a:if="{{item.status==3}}" src={{resList['0e0684af-21c7-48e2-9114-8599c1de33f1'+ (item.taskType=='follow' ? '-follow':'') ].url}} />
<image class="task_sginicon " a:if="{{item.taskType=='sign'}}" src={{resList['ca4c78b3-caf5-435b-ba32-f187f24d1795'].url}} />
<image class="task_inviteicon " a:if="{{item.taskType=='invites'}}" src={{resList['61cf4c2c-54e4-4cde-aa16-78ee5d17ab06'].url}} />
<image class="task_focusicon " a:if="{{item.taskType=='follow'}}" src={{resList['7f6ab236c2c0d17c38f1bfb5260d258ebf1cb630'].url}} />
<image class="task_readicon " a:if="{{item.taskType=='browseGoods'}}" src={{resList['91ef2cf1a80e41f9eeed67259f8e57ae5783afa6'].url}} />
<label class="task_title ">{{item.title}}</label>
<label class="task_award ">精力 +{{item.rewards}}</label>
<block>
<label class="task_progress " a:if="{{item.taskType=='invites'}}">(不限次数)</label>
<label class="task_progress " a:elif="{{item.taskType!='follow'}}">({{item.todayCompleteTimes}}/{{item.times}})</label>
<label class="task_progress " a:else>({{item.completeTimes}}/1)</label>
</block>
</view>
</view>
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {
list: null,
},
data: {
resList: resList
},
methods: {
handleTapReceiveBtn(e) {
this.props.onHandleTapReceiveBtn(e);
},
handleTapGoBtn(e) {
this.props.onHandleTapGoBtn(e);
},
onModalClose() {
this.props.onModalClose();
}
}
});
\ No newline at end of file
<view class="thanksmodal modal-animate-zoom-in">
<image class="thanksbg " src={{resList['255668e8-739f-41a5-9f83-207def3aa3fd'].url}} />
<image class="thanksclose " onTap="onModalClose" src={{resList['29e80fbb-98ed-40fb-a11b-e14b45fee158'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {
resList: resList
},
methods: {
onModalClose() {
const {
onModalClose
} = this.props;
onModalClose && onModalClose();
console.log('onModalClose')
},
},
});
\ No newline at end of file
.wei_zhong_jiang {
width: 571rpx;
height: 608rpx;
opacity: 1;
left: 89rpx;
top: 417rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wei_zhong_jiang .di_m56 {
width: 567rpx;
height: 557rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wei_zhong_jiang .an_niu_m55 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wei_zhong_jiang .hen_yi_han_jiang_li_yu_ni_ca_jian_er_guo {
width: 437rpx;
height: 34rpx;
opacity: 1;
left: 68rpx;
top: 288rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.wei_zhong_jiang .guan_bi_m54 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wei_zhong_jiang .chi_da_jiang_jin_yi_bu_zhi_yao_53 {
width: 179rpx;
height: 23rpx;
opacity: 1;
left: 188rpx;
top: 532rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 22.13021rpx;
color: #ae6cb4;
}
<view class="wei_zhong_jiang ">
<image class="di_m56 " src={{resList['d9dff4ee-9718-43f2-8197-e752b1a91028'].url}} />
<image class="an_niu_m55 " src={{resList['9d618b16-4a1c-448f-b30d-80996f64e4cb'].url}} />
<span class="hen_yi_han_jiang_li_yu_ni_ca_jian_er_guo ">很遗憾,奖励与你擦肩而过…</span>
<image class="guan_bi_m54 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
<span class="chi_da_jiang_jin_yi_bu_zhi_yao_53 ">离大奖仅一步之遥</span>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
.zhu_li_shi_bai {
width: 571rpx;
height: 553rpx;
opacity: 1;
left: 89rpx;
top: 417rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.zhu_li_shi_bai .di_m75 {
width: 567rpx;
height: 502rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.zhu_li_shi_bai .an_niu_m74 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.zhu_li_shi_bai .zhu_li_shi_bai_xin_ru_hui_de_hui_yuan_cai_neng_zhu_li_cheng_gong_e {
width: 468rpx;
height: 80rpx;
opacity: 1;
left: 42rpx;
top: 255rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.zhu_li_shi_bai .guan_bi_m73 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="zhu_li_shi_bai ">
<image class="di_m75 " src={{resList['32da4042-3a54-409d-90ef-cb8320f41622'].url}} />
<image class="an_niu_m74 " src={{resList['3c6dd474-9224-4776-96ae-ed0cc94ba7d7'].url}} />
<span class="zhu_li_shi_bai_xin_ru_hui_de_hui_yuan_cai_neng_zhu_li_cheng_gong_e ">
助力失败! 新入会的会员才能助力成功哦~
</span>
<image class="guan_bi_m73 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
.zi_ji_bu_neng_gei_zi_ji_zhu_li_e_57 {
width: 571rpx;
height: 553rpx;
opacity: 1;
left: 89rpx;
top: 417rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.zi_ji_bu_neng_gei_zi_ji_zhu_li_e_57 .di_m61 {
width: 567rpx;
height: 502rpx;
opacity: 1;
top: 51rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.zi_ji_bu_neng_gei_zi_ji_zhu_li_e_57 .an_niu_m60 {
width: 321rpx;
height: 112rpx;
opacity: 1;
left: 115rpx;
top: 383rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.zi_ji_bu_neng_gei_zi_ji_zhu_li_e_57 .zi_ji_bu_neng_gei_zi_ji_zhu_li_e_59 {
width: 363rpx;
height: 32rpx;
opacity: 1;
left: 97rpx;
top: 279rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 31.35113rpx;
color: #f46d00;
}
.zi_ji_bu_neng_gei_zi_ji_zhu_li_e_57 .guan_bi_m58 {
width: 49rpx;
height: 48rpx;
opacity: 0.50196078;
left: 522rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="zi_ji_bu_neng_gei_zi_ji_zhu_li_e_57 ">
<image class="di_m61 " src={{resList['32da4042-3a54-409d-90ef-cb8320f41622'].url}} />
<image class="an_niu_m60 " src={{resList['3c6dd474-9224-4776-96ae-ed0cc94ba7d7'].url}} />
<span class="zi_ji_bu_neng_gei_zi_ji_zhu_li_e_59 ">自己不能给自己助力哦~</span>
<image class="guan_bi_m58 " src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {},
methods: {},
onInit(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
.countdown {
position: fixed;
width: 144rpx;
height: 162rpx;
right: 0;
top: 600rpx;
}
.countdown-box-clock {
position: absolute;
top: 0;
left: 50%;
margin-left: -41rpx;
width: 82rpx;
height: 88rpx;
background-size: 100% 100%;
z-index: 10;
}
.countdown-box-clock__time {
position: absolute;
top: 5rpx;
left: 0;
width: 82rpx;
height: 88rpx;
display: flex;
align-items: center;
justify-content: center;
}
.countdown-box-clock image {
width: 100%;
height: 100%;
}
.countdown-box {
position: absolute;
width: 130rpx;
height: 18rpx;
border-radius: 10rpx;
border: 1px solid #a6fffe;
background: #111192;
box-shadow: 0 0 4rpx 1rpx #7fd5ff;
top: 25rpx;
bottom: 20rpx;
left: 0;
right: 0;
margin: auto;
overflow: hidden;
z-index: 11;
}
@keyframes countdownAnimation {
to {
transform: translateX(0);
}
}
.countdown-box .countdown-time {
height: 100%;
width: 100%;
background: linear-gradient(#3996f8, #19dffd);
}
.countdown-txt {
position: absolute;
width: 147rpx;
height: 91rpx;
bottom: 0rpx;
z-index: 1;
}
.countdown-txt image {
width: 100%;
height: 100%;
}
.countdown-txt__content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
line-height: 25rpx;
color: #2A2A2A;
text-align: center;
font-size: 20rpx;
}
.countdown-txt .txt:first-child{
margin-top: 25rpx;
}
.countdown-two {
position: absolute;
width: 554rpx;
height: 104rpx;
left: 50%;
margin-left: -277rpx;
bottom: 70rpx;
}
.countdown-two-clock {
position: absolute;
right: -10rpx;
bottom: 10rpx;
width: 104rpx;
height: 95rpx;
z-index: 15;
}
.countdown-two-clock image {
width: 100%;
height: 100%;
}
.countdown-two-clock .countdown-box-clock__time {
position: absolute;
top: 5rpx;
left: 0;
width: 104rpx;
height: 95rpx;
display: flex;
align-items: center;
justify-content: center;
}
.countdown-two-clock .countdown-box{
position: absolute;
left: 0;
bottom: -20rpx;
}
.countdown-two-txt {
position: absolute;
right: 90rpx;
top: 5rpx;
width: 323rpx;
height: 60rpx;
z-index: 14;
background: url('//yun.dui88.com/taobaomini/clientCTest/count_bg_02@2x.png');
background-size: 100% 100%;
color: #2A2A2A;
text-align: center;
font-size: 20rpx;
line-height: 60rpx;
}
.countdown-two-txt image {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 14;
}
.countdown-two__content {
position: absolute;
left: 0;
top: 0;
width: 323rpx;
height: 60rpx;
color: #2A2A2A;
text-align: center;
font-size: 20rpx;
}
\ No newline at end of file
<view class="countdown" a:if="{{styleType == '01'}}">
<view class="countdown-box-clock">
<image mode="scaleToFill" src="{{data.clock_bg}}"/>
<view class="countdown-box-clock__time" style="{{{'color':data.countTxtColor,'fontSize':data.countTxtSize+'rpx'}}}">{{countTime}}</view>
</view>
<view class="countdown-box" style="{{{'height':data.progressHeight+'rpx','width':data.progressWidth+'rpx'}}}">
<view class="countdown-time" style="transform: translateX({{percent*10 -100}}%);animation: countdownAnimation {{countTime-percent}}s forwards linear;"></view>
</view>
<view class="countdown-txt">
<image mode="scaleToFill" src="{{data.textBg}}"/>
<view class="countdown-txt__content">
<view class="txt">{{data.text.split('\n')[0]}}</view>
<view class="txt">{{data.text.split('\n')[1]}}</view>
</view>
</view>
</view>
<view class="countdown-two" a:else>
<view class="countdown-two-clock">
<image mode="scaleToFill" src="{{data.clock_bg}}"/>
<view class="countdown-box-clock__time" style="{{{'color':data.countTxtColor,'fontSize':42+'rpx'}}}">{{countTime}}</view>
</view>
<view class="countdown-box" style="{{{'height':55+'rpx','width':490+'rpx'}}}">
<view class="countdown-time" style="transform: translateX({{percent*10 -100}}%);animation: countdownAnimation {{countTime-percent}}s forwards linear;"></view>
</view>
<view class="countdown-two-txt" style="{{{'background':`url(${data.textBg}) no-repeat`,'backgroundSize': '100% 100%'}}}">
{{data.text}}
</view>
</view>
/**
* data: {
* text: //文案描述
* textBg: //文案背景
* progressWidth: //进度条宽
* progressHeight: //进度条高
* clock_bg: //时钟icon
* countTxt: //时钟文案
* countTxtColor: //时钟文字颜色
* countTxtSize: //时钟文字大小
* }
* usePercent: //已执行时长
* countTime: //倒计时长
* styleType: //样式(01——右对齐,02—底部)
*/
Component({
mixins: [],
data: {},
props: {
percent: 10,
usePercent:0,
countTime: 10,
styleType: '01',//browse_txt_bg count_bg_02
data: {
text: '浏览商品10s,获得任务奖励',
textBg: '//yun.dui88.com/taobaomini/clientCTest/count_bg_02@2x.png',
progressWidth:'130',
progressHeight:'18',
clock_bg: '//yun.dui88.com/taobaomini/clientCTest/clock@2x.png',
countTxt: '10',
countTxtColor: '#1CA4ED',
countTxtSize: '32'
}
},
didMount() { },
didUpdate() {},
didUnmount() { },
methods: {},
});
.end-modal-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
min-height: 100vh;
/* background: url('//yun.dui88.com/taobaomini/clientCTest/end_bg@2x.png') no-repeat; */
background-size: 750rpx 1624rpx;
overflow: hidden;
z-index: 20;
}
.end-modal-container-content {
position: absolute;
width: 750rpx;
height: 480rpx;
top: 50%;
left: 0;
margin-top: -240rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.end-modal-container-content__icon {
width: 478rpx;
height: 340rpx;
}
.end-modal-container-content__icon image {
width: 100%;
height: 100%;
}
.end-modal-container-content__desc {
font-size: 36rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #ADADAD;
}
\ No newline at end of file
<view class="end-modal-container" style="{{{'background':`url(${data.image.bg}) no-repeat`}}}">
<view class="end-modal-container-content">
<view class="end-modal-container-content__icon">
<image mode="scaleToFill" src="{{data.image.end_icon}}"/>
</view>
<view class="end-modal-container-content__desc">{{data.text}}</view>
</view>
</view>
\ No newline at end of file
Component({
mixins: [],
data: {},
props: {
data: {
image: {
bg: '//yun.dui88.com/taobaomini/clientCTest/end_bg@2x.png',
end_icon: '//yun.dui88.com/taobaomini/clientCTest/end_icon@2x.png',
},
text: '活动未开始'
}
},
didMount() {},
didUpdate() {},
didUnmount() {},
methods: {},
});
{
"component": true
}
\ No newline at end of file
.goods-modal-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
min-height: 100vh;
/* background: url('//yun.dui88.com/taobaomini/clientCTestgoods_bg@2x.png') no-repeat; */
background-size: 750rpx 1624rpx;
overflow: hidden;
z-index: 20;
}
.goods-modal-container__title {
width: 750rpx;
height: 120rpx;
margin: 29rpx 0 11rpx;
}
.goods-modal-container__banner {
width: 750rpx;
height: 400rpx;
margin-bottom: 30rpx;
background: #E1E1E1;
}
.goods-modal-container__content {
position: absolute;
top: 190rpx;
left: 0;
bottom: 0;
padding-top: 41rpx;
padding: 41rpx 25rpx 0;
width: 750rpx;
/* height: inherit; */
}
.goods-modal-container__scroll {
height: 100%;
}
.goods-modal-container__content-list {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.goods-modal-container__content-item {
width: 340rpx;
height: 510rpx;
background: #fff;
margin-bottom: 20rpx;
}
.goods-modal-container__content-item:nth-child(even) {
margin-left: 20rpx;
}
.goods-modal-container__content-item__img {
width: 340rpx;
height: 340rpx;
background: #E1E1E1;
}
.goods-modal-container__content-item__img image {
width: 100%;
height: 100%;
}
.goods-modal-container__content-item__name {
margin: 25rpx 0 31rpx 21rpx;
width:310rpx;
height:60rpx;
font-size:24rpx;
font-family:PingFang SC;
font-weight:400;
color:rgba(24,24,24,1);
line-height:30rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.goods-modal-container__content-item__price {
padding: 0 31rpx 0 24rpx;
display: flex;
justify-content: space-between;
}
.goods-modal-container__content-item__price-num {
font-size:32rpx;
font-family:PingFang SC;
font-weight:600;
color:rgba(255,42,0,1);
}
.goods-modal-container__content-item__price-num text {
font-size: 24rpx;
margin-right: 2rpx;
}
.goods-modal-container__content-item__price-collect {
width: 118rpx;
height: 31rpx;
background-size: 100% 100%;
}
.goods-modal-container__content-item__price-collect image {
width: 100%;
height: 100%;
}
.goods-modal-container__content-item__price-no-collect {
width: 30rpx;
height: 30rpx;
}
.goods-modal-container__content-item__price-no-collect image {
width: 100%;
height: 100%;
}
.goods-modal-timer {
width: 147rpx;
height: 223rpx;
position: absolute;
top: 502rpx;
right: 19rpx;
background: #eee;
}
.goods-modal-timer__clock {
}
\ No newline at end of file
<view class="goods-modal-container" style="{{{'background':`url(${task.image.bg}) no-repeat`}}}">
<view a:if="{{task.type == '01'}}"
style="{{{'background':`url(${task.image.title}) no-repeat`,'backgroundSize': '100% 100%'}}}" class="goods-modal-container__title"></view>
<view a:else class="goods-modal-container__banner" style="{{{'background':`url(${task.image.banner}) no-repeat`,'backgroundSize': '100% 100%','height':task.bannerHeight+'rpx'}}}"></view>
<view class="goods-modal-container__content" style="{{{'top':task.type == '02'?task.bannerHeight+'rpx':'149rpx'}}}">
<scroll-view scroll-y="{{true}}" class="goods-modal-container__scroll">
<view class="goods-modal-container__content-list">
<view class="goods-modal-container__content-item" a:for="{{goodsList}}" a:for-item="item">
<view class="goods-modal-container__content-item__img" data-item="{{item}}" onTap="goToGoodsDetail">
<image mode="scaleToFill" src="{{item.image}}"/>
</view>
<view class="goods-modal-container__content-item__name" style="{{{'color':task.color}}}">{{item.name}}</view>
<view class="goods-modal-container__content-item__price">
<view class="goods-modal-container__content-item__price-num"><text>¥</text>{{item.price}}</view>
<view a:if="{{task.taskType == 'collectGoods'}}"
data-item="{{item}}"
onTap="goToCollectGoods"
class="{{item.collected ? 'goods-modal-container__content-item__price-collect' : 'goods-modal-container__content-item__price-no-collect'}}"
>
<image mode="scaleToFill" src="{{item.collected?task.image.collect:task.image.no_collect}}"/>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<!-- 倒计时 -->
<count-down-modal a:if="{{isShowCountdown && task.taskType == 'browseGoods'}}" percent="{{percent}}" usePercent="{{usePercent}}" styleType="{{'01'}}" />
</view>
\ No newline at end of file
/**
* 任务类型(taskType):collectGoods、orderGoods、browseGoods、exchangeCredits
*/
const app = getApp();
const { tbcc } = app;
const { openDetail, collectGoods, checkGoodsCollectedStatus } = tbcc.tb;
Component({
mixins: [],
timer: null,
data: {
usePercent: 0, // 已进行的进度条
percent: 0,// 进度条
isShowCountdown: true, // 是否显示倒计时
isFlag: 1
},
props: {
isBackFlag: 0,
goodsList: [1,2,3],
task: {
itemId: '617724147979,617724563528,617300295119,614139753189',
taskType: 'browseGoods',
type: '02',
bannerHeight: 430,
image: {
bg: '//yun.dui88.com/taobaomini/clientCTest/goods_bg@2x.png',
banner: '//yun.dui88.com/taobaomini/clientCTest/goods_banner@2x.png',
title: '//yun.dui88.com/taobaomini/clientCTest/goods_title@2x.png',
collect: '//yun.dui88.com/taobaomini/clientCTest/goods_collection@2x.png',
no_collect: '//yun.dui88.com/taobaomini/clientCTest/collection_no_collect@2x.png',
img: '//yun.dui88.com/taobaomini/clientCTest/goods_img@2x.png',
},
color: '#181818'
},
onCompleteTask: () => {}
},
didMount() {
const { taskType } = this.props.task
this.setData({ isFlag: this.props.isBackFlag })
console.log(this.props.goodsList)
if(taskType == 'browseGoods') {
this.browseGoodsTimes()
}
},
didUpdate(prevProps,prevData) {
if(prevData.isFlag && prevProps.isBackFlag != prevData.isFlag) {
console.log(3)
if(!this.timer) {
this.setData({ usePercent: this.data.percent })
this.browseGoodsTimes()
console.log(10 - this.usePercent)
}
}
},
didUnmount() {
clearTimeout(this.timer)
},
methods: {
/**
* 跳转商品详情页
*/
async goToGoodsDetail(e) {
clearInterval(this.timer)
this.setData({
percent: this.data.usePercent,
})
const { itemId } = e.target.dataset.item
await openDetail(String(itemId))
},
/**
* 收藏商品
*/
async goToCollectGoods(e) {
const { itemId, collected } = e.target.dataset.item
const { taskType } = this.props.task
if(collected) return;
let result = await collectGoods(itemId)
if(result) {
this.props.onCompleteTask(taskType, itemId)
}
},
/**
* 浏览商品倒计时
*/
browseGoodsTimes() {
const { taskType } = this.props.task
this.timer = setInterval(() => {
this.setData({
usePercent: this.data.usePercent + 1
}, () => {
if (this.data.usePercent >= 10) {
console.log(this.data.usePercent)
this.props.onCompleteTask(taskType)
clearInterval(this.timer)
}
})
},1000)
}
},
});
{
"component": true,
"usingComponents": {
"count-down-modal": "/components/countDownModal/countDownModal"
}
}
\ No newline at end of file
@keyframes modalAnimation {
to {
opacity: 1;
}
}
.logistics-modal-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 20;
opacity: 0;
animation: modalAnimation .3s forwards;
}
@keyframes containerAnimation {
to {
transform: scale(1)
}
}
.logistics-modal-container__content {
width: 646rpx;
height: 244rpx;
padding: 0 46rpx;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: auto;
display: flex;
align-items: center;
transform: scale(0);
animation: containerAnimation .3s forwards;
}
.logistics-modal-container__close {
position: absolute;
right: -10rpx;
top: -70rpx;
height: 48rpx;
width: 48rpx;
background: url("//yun.duiba.com.cn/taobaomini/aupresViva/tc_close.png") no-repeat;
background-size: 100% 100%;
}
.logistics-modal-container__content-item {
border-radius: 10rpx;
display: flex;
}
.logistics-modal-container__content-left {
width: 144rpx;
height: 144rpx;
background: rgba(244, 244, 244, 1);
}
.logistics-modal-container__content-left image {
width: 100%;
height: 100%;
}
.logistics-modal-container__content-right {
height: 144rpx;
margin-left: 24rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
font-size: 20rpx;
color: #959595;
flex: 1;
overflow: hidden;
white-space: nowrap;
}
.logistics-modal-container__content-name {
font-size: 28rpx;
color: rgba(51, 51, 51, 1);
}
.logistics-modal-container__content-desc {
font-size: 20rpx;
}
.logistics-modal-container__content-ids {
margin-bottom: 20rpx;
}
.logistics-modal-container__content-copy {
display: flex;
align-items: center;
height: 30rpx;
}
.logistics-modal-container__content-copy__code {
font-size: 20rpx;
}
.logistics-modal-container__content-copy__img {
width: 20rpx;
height: 20rpx;
background-size: 100% 100%;
margin-left: 20rpx;
}
\ No newline at end of file
<view class="logistics-modal-container">
<view class="logistics-modal-container__content"
style="{{prizeItem.shipStatus == 3 ?`background: url(${task.shipped}) no-repeat;background-size: 100% 100%;`
:`background: url(${task.notShipped}) no-repeat;background-size: 100% 100%;`}}">
<view class="logistics-modal-container__close" onTap="closeModal"></view>
<view class="logistics-modal-container__content-item">
<view class="logistics-modal-container__content-left">
<image mode="scaleToFill" src="{{prizeItem.image}}"/>
</view>
<view class="logistics-modal-container__content-right">
<view class="logistics-modal-container__content-name">{{prizeItem.name}}</view>
<!-- <view class="logistics-modal-container__content-copy">
<view class="logistics-modal-container__content-copy__code">奖品编码:{{prizeItem._id}}</view>
<view class="logistics-modal-container__content-copy__img" onTap="copyPrizeId" style="{{`background: url(${task.copyIcon}) no-repeat;background-size: 100% 100%;`}}"></view>
</view> -->
<view class="logistics-modal-container__content-desc">{{prizeItem.shipStatus== 3?'发货状态:已发货':'发货状态:待发货'}}</view>
<view class="logistics-modal-container__content-desc" a:if="{{prizeItem.shipStatus == 2}}">温馨提示:奖品将在活动结束7天内陆续发出</view>
<view class="logistics-modal-container__content-copy" a:else>
<view class="logistics-modal-container__content-copy__code">{{'物流单号:'+prizeItem.shipNum}}</view>
<view class="logistics-modal-container__content-copy__img" style="{{`background: url(${task.copyIcon}) no-repeat;background-size: 100% 100%;`}}" onTap="copyCode"></view>
</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
const app = getApp();
const { tbcc } = app;
const { commonToast } = tbcc.tb;
Component({
mixins: [],
data: {},
props: {
prizeItem: {},
onCloseModal: () => { },
task: {
shipped: '',
notShipped: '',
}
},
didMount() { },
didUpdate() { },
didUnmount() { },
methods: {
closeModal() {
this.props.onCloseModal()
},
//复制运单号
copyCode() {
console.log('fuck copyCode')
let { shipNum } = this.props.prizeItem
my.setClipboard({
text: shipNum + '',
success: () => {
commonToast('复制成功')
}
});
},
copyPrizeId() {
let { _id } = this.props.prizeItem
my.setClipboard({
text: _id + '',
success: () => {
commonToast('复制成功')
}
});
}
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
.my-prize-page {
width: 100vw;
height: 100vh;
opacity: 1;
position: absolute;
top: 0;
left: 0;
overflow: hidden;
/* background: url('') no-repeat center top/cover; */
}
.my-prize-page .my-prize-wrap {
width: 100%;
height: 100%;
/* overflow: auto; */
overflow-x: auto;
}
.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;
background-size: 100% 100%;
}
.my-prize-page .my-prize-list {
width: 100%;
height: auto;
}
.my-prize-page .my-prize-empty {
text-align: center;
color: #fff;
margin-top: 30rpx;
}
.my-prize-page .my-prize-item {
display: flex;
justify-content: center;
align-items: center;
padding: 0 28rpx 0 26rpx;
margin: 0 auto 24rpx;
position: relative;
box-sizing: border-box;
width: 700rpx;
height: 161rpx;
background-color: #ffffff;
border-color:#7f674e;
border-width: 5rpx;
border-style: solid;
/* box-shadow: 2rpx 3rpx 18rpx 0 rgb(255, 63, 38); */
border-radius: 10rpx;
box-sizing: border-box;
}
.my-prize-page .my-prize-item .my-prize-avatar {
border-radius: 4rpx;
width: 120rpx;
height: 120rpx;
}
.my-prize-page .my-prize-item .my-prize-content {
flex: 1;
min-width: 0;
padding: 10rpx 20rpx 0;
display: flex;
flex-direction: column;
height: 130rpx;
}
.my-prize-page .my-prize-item .my-prize-subtitle {
display: flex;
justify-content: center;
align-items: center;
}
.my-prize-page .my-prize-item .my-prize-copy {
width: 20rpx;
height: 20rpx;
margin-left: 18rpx;
}
.my-prize-page .my-prize-item .prize-status {
width: 150rpx;
height: 41rpx;
}
.prize-status>image {
width: 100%;
height: 100%;
}
.my-prize-page .my-prize-item .my-prize-name {
width: 100%;
font-size: 28rpx;
color: #2d2d2d;
letter-spacing: -1rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.my-prize-page .my-prize-item .my-prize-tip {
margin-top: 16rpx;
font-size: 20rpx;
line-height: 20rpx;
letter-spacing: 0;
color: #8a8a8a;
}
.my-prize-page .my-prize-item .my-prize-code {
width: 290rpx;
font-family: PingFangSC-Regular;
font-size: 20rpx;
color: #8a8a8a;
letter-spacing: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
\ No newline at end of file
<view class="my-prize-page" style="{{{'background':`url(${task.image.bg}) no-repeat center top/cover`}}}">
<view class="my-prize-wrap">
<view class="my-prize-label"></view>
<view class="my-prize-list" a:if="{{myPrizeList && myPrizeList.length > 0}}">
<view class="my-prize-item" a:for="{{myPrizeList}}">
<image class="my-prize-avatar" src="{{item.image}}"/>
<view class="my-prize-content">
<label class="my-prize-name">{{item.name}}</label>
<!-- <view class="my-prize-subtitle"> -->
<!-- <label class="my-prize-code">奖品编码:{{item._id}}</label> -->
<!-- 复制按钮 -->
<!-- <image class="my-prize-copy" data-text="{{item._id}}" onTap="handleCopyId" src="{{task.image.copyIcon}}" /> -->
<!-- </view> -->
<view class="my-prize-tip" a:if="{{item.drawStatus === PRIZE_DRAW_STATUS_MAP.FAILURE}}">{{item.remark}}</view>
<view class="my-prize-tip" a:if="{{item.drawStatus === PRIZE_DRAW_STATUS_MAP.REPEAT || (item.drawStatus === PRIZE_DRAW_STATUS_MAP.RECEIVE)}}">请于{{endTime}}前领取</view>
<view class="my-prize-tip" a:if="{{item.drawStatus === PRIZE_DRAW_STATUS_MAP.FINISHED }}">奖品已过期失效</view>
</view>
<view class="prize-status" style="{{task.btnStyle}}">
<!-- 未领取 -->
<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:else onTap="handleClick" data-item="{{item}}" src="{{task.image.getBth}}" />
</block>
<!-- 已领取 -->
<block a:if="{{item.drawStatus===PRIZE_DRAW_STATUS_MAP.SUCCESS}}">
<!-- 实物查看物流 -->
<image a:if="{{item.type === PRIZE_TYPE_MAP.ENTITY}}" onTap="handleView" data-item="{{item}}" src="{{task.image.logisticsBth}}" />
<!-- 优惠券去使用 -->
<image a:else data-item="{{item}}" src="{{task.image.gotBtn}}" />
<!-- <image a:else onTap="handleTouse" data-item="{{item}}" src="{{task.image.useBtn}}" /> -->
</block>
<!-- 重新领取 -->
<image a:if="{{item.drawStatus===PRIZE_DRAW_STATUS_MAP.REPEAT}}" onTap="handleClick" data-item="{{item}}" src="{{task.image.getAgainBtn}}" />
<!-- 已失效 -->
<image a:if="{{item.drawStatus===PRIZE_DRAW_STATUS_MAP.FINISHED}}" src="{{task.image.invalidBtn}}" />
<!-- 领取失败 -->
<image a:if="{{item.drawStatus===PRIZE_DRAW_STATUS_MAP.FAILURE}}" src="{{task.image.failBth}}" />
</view>
</view>
</view>
<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
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
const app = getApp();
const { tbcc } = app;
const { commonToast, navigateToOutside, getUserAddress, setClipboard } = tbcc.tb;
const { PRIZE_TYPE_MAP, PRIZE_DRAW_STATUS_MAP } = tbcc.constants;
Component({
mixins: [],
data: {
PRIZE_TYPE_MAP,
PRIZE_DRAW_STATUS_MAP,
currentPrize: {},
isLogistic: false,
},
props: {
myPrizeList: null, //我的奖品
endTime: null,//到期时间
task: {
image: {},
logisticsImage: {},
btnStyle: {}
}
},
didMount() { },
didUpdate() { },
didUnmount() { },
onShareAppMessage() {
return SHARE_CONFIG;
},
methods: {
//领取奖品
handleClick(e) {
this.props.onHandleClick(e)
},
// 复制编码
handleCopyId(e) {
const { text } = e.target.dataset || {}
setClipboard({ text })
console.log(text)
commonToast('复制成功')
},
// 去使用
handleTouse(e) {
const { item } = e.target.dataset;
navigateToOutside(item.useUrl)
},
//查看物流
handleView(e) {
let { item } = e.target.dataset
this.setData({ currentPrize: item, isLogistic: true })
},
/**
* 关闭物流弹窗
*/
closeLogisticModal() {
this.setData({ isLogistic: false })
},
},
});
{
"component": true,
"usingComponents": {
"logistics-modal": "/components/logisticsModal/logisticsModal"
}
}
\ No newline at end of file
.rule-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
}
.rule-modal__shade {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.75);
}
.rule-modal__container {
position: absolute;
width: 500rpx;
height: 600rpx;
background: #4eafd7;
background-size: 100% 100%;
left: 50%;
top: 50%;
margin-left: -250rpx;
margin-top: -300rpx;
}
.rule-modal__bd {
position: absolute;
top: 40rpx;
left: 40rpx;
right: 40rpx;
bottom: 40rpx;
overflow-x: hidden;
font-size: 24rpx;
color: #fff;
line-height: 1.5;
}
.rule-modal__close {
position: absolute;
right: -20rpx;
top: -80rpx;
height: 86rpx;
width: 86rpx;
background: url('../../assets/modal_close_btn.png') center center no-repeat;
background-size: 48rpx 48rpx;
z-index: 9;
}
<view class="rule-modal">
<view class="rule-modal__shade modal-animate-fade-in" />
<view class="rule-modal__container modal-animate-zoom-in">
<view class="rule-modal__close" onTap="onModalClose" />
<view class="rule-modal__bd">
<slot />
</view>
</view>
</view>
Component({
methods: {
onModalClose() {
const { onModalClose } = this.props;
onModalClose && onModalClose();
}
}
});
\ No newline at end of file
<view class="shop">
<view class="shop-page" style="{{{'background':`url(${resList['da6bc001-768a-4b1c-95af-a9a8853ef6f9'].url}) no-repeat center top/cover`}}}">
<label class="shop_gold">{{happyCoin}}</label>
<image a:if={{false}} class="shop_backbtn" src={{resList['bdab9777-8a4d-4659-ba23-66aaddb7fa5b'].url}} />
<view class="shop-wrap">
<view class="shop-list">
<!--<image class="shopbg" src={{resList['da6bc001-768a-4b1c-95af-a9a8853ef6f9'].url}} /> -->
<view class="shopitem" a:for="{{list}}">
<image class="shopitem_bg2" src={{resList['a5230993-3870-4a91-bdd1-ffc4782770d0'].url}} />
<image class="shopitem_bg1" src={{resList['dd4ee407-16e4-4cb7-9eba-365b33f466a3'].url}} />
<image class="shopitem_avatar" src={{item.image}} />
<image onTap="handleClick" data-item="{{item}}" a:if="{{!item.exchanged}}" class="shopitem_buybtn" src={{resList['dd8ea96e-e33f-4f5d-b31f-29f332c3c867'].url}} />
<image a:if="{{item.exchanged}}" class="shopitem_disabledbtn" src={{resList['8d08152f-311a-446a-a15a-ff02ebed0139'].url}} />
<label a:if="{{!item.exchanged}}" class="shopitem_txt">{{item.value}}</label>
<label class="shopitem_name">{{item.name}}</label>
</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList';
Component({
props: {},
data: {
resList: resList
},
methods: {
handleClick(e) {
this.props.onHandleClick(e)
}
// onBtnClick() {
// console.log('onBtnClick');
// this.onModalClose();
// },
// onModalClose() {
// const { onModalClose } = this.props;
// onModalClose && onModalClose();
// console.log('onModalClose')
// }
}
});
\ No newline at end of file
.goods-modal-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
min-height: 100vh;
/* background: url('//yun.dui88.com/taobaomini/clientCTestgoods_bg@2x.png') no-repeat; */
background-size: 750rpx 1624rpx;
overflow: hidden;
z-index: 20;
}
.goods-modal-container__title {
width: 750rpx;
height: 120rpx;
margin: 29rpx 0 11rpx;
}
.goods-modal-container__banner {
width: 750rpx;
height: 400rpx;
margin-bottom: 30rpx;
background: #E1E1E1;
}
.goods-modal-container__content {
position: absolute;
top: 190rpx;
left: 0;
bottom: 0;
padding-top: 41rpx;
padding: 41rpx 25rpx 0;
width: 750rpx;
/* height: inherit; */
}
.goods-modal-container__scroll {
height: 100%;
}
.goods-modal-container__content-list {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.goods-modal-container__content-item {
width: 340rpx;
height: 510rpx;
background: #fff;
margin-bottom: 20rpx;
}
.goods-modal-container__content-item:nth-child(even) {
margin-left: 20rpx;
}
.goods-modal-container__content-item__img {
width: 340rpx;
height: 340rpx;
background: #E1E1E1;
}
.goods-modal-container__content-item__img image {
width: 100%;
height: 100%;
}
.goods-modal-container__content-item__name {
margin: 25rpx 0 31rpx 21rpx;
width:310rpx;
height:60rpx;
font-size:24rpx;
font-family:PingFang SC;
font-weight:400;
color:rgba(24,24,24,1);
line-height:30rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.goods-modal-container__content-item__price {
padding: 0 31rpx 0 24rpx;
display: flex;
justify-content: space-between;
}
.goods-modal-container__content-item__price-num {
font-size:32rpx;
font-family:PingFang SC;
font-weight:600;
color:rgba(255,42,0,1);
}
.goods-modal-container__content-item__price-num text {
font-size: 24rpx;
margin-right: 2rpx;
}
.goods-modal-container__content-item__price-collect {
width: 118rpx;
height: 31rpx;
background-size: 100% 100%;
}
.goods-modal-container__content-item__price-collect image {
width: 100%;
height: 100%;
}
.goods-modal-container__content-item__price-no-collect {
width: 30rpx;
height: 30rpx;
}
.goods-modal-container__content-item__price-no-collect image {
width: 100%;
height: 100%;
}
.goods-modal-timer {
width: 147rpx;
height: 223rpx;
position: absolute;
top: 502rpx;
right: 19rpx;
background: #eee;
}
.goods-modal-timer__clock {
}
\ No newline at end of file
<view class="goods-modal-container" style="{{{'background':`url(${task.image.bg}) no-repeat`}}}">
<view a:if="{{task.type == '01'}}"
style="{{{'background':`url(${task.image.title}) no-repeat`,'backgroundSize': '100% 100%'}}}" class="goods-modal-container__title"></view>
<view a:else class="goods-modal-container__banner" style="{{{'background':`url(${task.image.banner}) no-repeat`,'backgroundSize': '100% 100%','height':task.bannerHeight+'rpx'}}}"></view>
<view class="goods-modal-container__content" style="{{{'top':task.type == '02'?task.bannerHeight+'rpx':'149rpx'}}}">
<scroll-view scroll-y="{{true}}" class="goods-modal-container__scroll">
<view class="goods-modal-container__content-list">
<view class="goods-modal-container__content-item" a:for="{{goodsList}}" a:for-item="item">
<view class="goods-modal-container__content-item__img" data-item="{{item}}" onTap="goToGoodsDetail">
<image mode="scaleToFill" src="{{item.image}}"/>
</view>
<view class="goods-modal-container__content-item__name" style="{{{'color':task.color}}}">{{item.name}}</view>
<view class="goods-modal-container__content-item__price">
<view class="goods-modal-container__content-item__price-num"><text>¥</text>{{item.price}}</view>
<view a:if="{{task.taskType == 'collectGoods'}}"
data-item="{{item}}"
onTap="goToCollectGoods"
class="{{item.collected ? 'goods-modal-container__content-item__price-collect' : 'goods-modal-container__content-item__price-no-collect'}}"
>
<image mode="scaleToFill" src="{{item.collected?task.image.collect:task.image.no_collect}}"/>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<!-- 倒计时 -->
<count-down-modal a:if="{{isShowCountdown && task.taskType == 'browseGoods'}}" percent="{{percent}}" usePercent="{{usePercent}}" styleType="{{'01'}}" />
</view>
\ No newline at end of file
/**
* 任务类型(taskType):collectGoods、orderGoods、browseGoods、exchangeCredits
*/
const app = getApp();
const { tbcc } = app;
const { openDetail, collectGoods, checkGoodsCollectedStatus } = tbcc.tb;
Component({
mixins: [],
timer: null,
data: {
usePercent: 0, // 已进行的进度条
percent: 0,// 进度条
isShowCountdown: true, // 是否显示倒计时
isFlag: 1
},
props: {
isBackFlag: 0,
goodsList: [1,2,3],
task: {
itemId: '617724147979,617724563528,617300295119,614139753189',
taskType: 'browseGoods',
type: '02',
bannerHeight: 430,
image: {
bg: '//yun.dui88.com/taobaomini/clientCTest/goods_bg@2x.png',
banner: '//yun.dui88.com/taobaomini/clientCTest/goods_banner@2x.png',
title: '//yun.dui88.com/taobaomini/clientCTest/goods_title@2x.png',
collect: '//yun.dui88.com/taobaomini/clientCTest/goods_collection@2x.png',
no_collect: '//yun.dui88.com/taobaomini/clientCTest/collection_no_collect@2x.png',
img: '//yun.dui88.com/taobaomini/clientCTest/goods_img@2x.png',
},
color: '#181818'
},
onCompleteTask: () => {}
},
didMount() {
const { taskType } = this.props.task
this.setData({ isFlag: this.props.isBackFlag })
console.log(this.props.goodsList)
if(taskType == 'browseGoods') {
this.browseGoodsTimes()
}
},
didUpdate(prevProps,prevData) {
if(prevData.isFlag && prevProps.isBackFlag != prevData.isFlag) {
console.log(3)
if(!this.timer) {
this.setData({ usePercent: this.data.percent })
this.browseGoodsTimes()
console.log(10 - this.usePercent)
}
}
},
didUnmount() {
clearTimeout(this.timer)
},
methods: {
/**
* 跳转商品详情页
*/
async goToGoodsDetail(e) {
clearInterval(this.timer)
this.setData({
percent: this.data.usePercent,
})
const { itemId } = e.target.dataset.item
await openDetail(String(itemId))
},
/**
* 收藏商品
*/
async goToCollectGoods(e) {
const { itemId, collected } = e.target.dataset.item
const { taskType } = this.props.task
if(collected) return;
let result = await collectGoods(itemId)
if(result) {
this.props.onCompleteTask(taskType, itemId)
}
},
/**
* 浏览商品倒计时
*/
browseGoodsTimes() {
const { taskType } = this.props.task
this.timer = setInterval(() => {
this.setData({
usePercent: this.data.usePercent + 1
}, () => {
if (this.data.usePercent >= 10) {
console.log(this.data.usePercent)
this.props.onCompleteTask(taskType)
clearInterval(this.timer)
}
})
},1000)
}
},
});
{
"component": true,
"usingComponents": {
"count-down-modal": "/components/countDownModal/countDownModal"
}
}
\ No newline at end of file
<view class="goodsPage">
<goods-modal
isBackFlag="{{isBackFlag}}"
goodsList="{{goodsList}}"
task="{{task}}"
onCompleteTask="onCompleteTask" />
</view>
\ No newline at end of file
/**
* 任务类型(taskType):collectGoods、orderGoods、browseGoods、exchangeCredits
* task: {
* itemId: //商品ID
* taskType: //任务类型
* type: //头部样式(02——banner,01——标题)
* image: {//图片
* bg: //集合页背景
* banner: //头部banner
* title: //头部title
* collect: //商品以收藏
* no_collect: //商品未收藏
* }
* color: //商品名称:文字颜色
* }
*/
const app = getApp();
const { tbcc } = app;
const { openDetail, collectGoods, checkGoodsCollectedStatus, commonToast } = tbcc.tb;
import API from '../../api';
Page({
data: {
query: {},
task: {},
isBackFlag: 1,
goodsList: []
},
onLoad(query) {
this.query = query || {}
this.init()
},
onShow() {
//重新回到页面开启倒计时
this.setData({ isBackFlag: Math.floor((Math.random() * 100)) == this.data.isBackFlag ? 101 : Math.floor((Math.random() * 100)) })
},
init() {
const { itemId, taskType } = this.query
this.setData({
task: {
itemId,
taskType: 'browseGoods',
type: '01',
image: {
bg: '//yun.dui88.com/taobaomini/clientCTest/goods_bg@2x.png',
banner: '//yun.dui88.com/taobaomini/clientCTest/goods_banner@2x.png',
title: '//yun.dui88.com/taobaomini/clientCTest/goods_title@2x.png',
collect: '//yun.dui88.com/taobaomini/clientCTest/goods_collection@2x.png',
no_collect: '//yun.dui88.com/taobaomini/clientCTest/collection_no_collect@2x.png',
img: '//yun.dui88.com/taobaomini/clientCTest/goods_img@2x.png',
},
color: '#181818'
}
})
this.initPage()
},
async initPage() {
const { activityId } = app
const { taskType, itemIds } = this.query
let goodsList = [
{
image: '',
name: '商品名商品名商品名商品名商品名商品名商品名商品商品',
price: '388',
itemId: 617724147979,
collected: false
},
{
image: '',
name: '商品名商品名商品名商品名商品名商品名商品名商品商品',
price: '388',
collected: true,
itemId: 617724563528,
},
{
image: '',
name: '商品名商品名商品名商品名商品名商品名商品名商品商品',
price: '388',
collected: false,
itemId: 617300295119,
},
{
image: '',
name: '商品名商品名商品名商品名商品名商品名商品名商品商品',
price: '388',
collected: true,
itemId: 614139753189,
},
{
image: '',
name: '商品名商品名商品名商品名商品名商品名商品名商品商品',
price: '388',
itemId: 617724147979,
},
]
this.setData({ goodsList })
let handel = taskType == 'collectGoods' ? 'getCollectItemList' : 'getItemListByItemIds'
const { success, data } = await API[handel]({ activityId, itemIds }).catch(res => {
res && commonToast(res)
}) || {}
if(success) {
this.setData({ goodsList: data || [] })
}
},
//任务完成
async onCompleteTask(taskType,itemId) {
console.log(taskType,itemId)
const { activityId } = app
switch(taskType) {
case 'collectGoods':
let { success, data } = await API.doCollectGoodsTask({ activityId, taskType, itemId }).catch(res => {
res && commonToast(res)
}) || {}
if(success) {
this.initPage()
}
break;
case 'browseGoods':
let browsResult = await API.doCollectGoodsTask({ activityId, taskType, itemId }).catch(res => {
res && commonToast(res)
}) || {}
console.log(browsResult)
if(browsResult.success) {
commonToast('任务完成,请到任务中心查看奖励')
}
break;
}
}
});
{
"usingComponents": {
"goods-modal": "/components/goodsModal/goodsModal"
}
}
\ No newline at end of file
.index-page {
min-height: 100vh;
}
.index-rule-btn, .index-myprize-btn {
position: absolute;
top: 30rpx;
width: 126rpx;
height: 48rpx;
line-height: 48rpx;
font-size: 22rpx;
background: rgba(0, 0, 0, 0.8);
color: #FFF;
text-align: center;
z-index: 5;
}
.index-rule-btn {
left: 0;
border-radius: 0 48rpx 48rpx 0;
}
.index-myprize-btn {
right: 0;
border-radius: 48rpx 0 0 48rpx;
}
.index-page__title {
font-size: 50rpx;
text-align: center;
padding: 100rpx 0 50rpx 0;
}
.index-page__content {
text-align: center;
font-size: 30rpx;
}
.index-page__tips {
padding-top: 40rpx;
text-align: center;
font-size: 22rpx;
}
.index-start-btn {
background: #0077a9;
color: #FFF;
width: 300rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 10rpx;
margin: 100rpx auto 50rpx auto;
font-size: 30rpx;
}
.index-tbcc-btn {
background: #0077a9;
color: #FFF;
width: 300rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 10rpx;
margin: 0 auto;
font-size: 30rpx;
}
.index-link-btn {
text-align: center;
color: #333;
font-size: 26rpx;
}
\ No newline at end of file
<view class="index-page">
<view class="index-rule-btn" onTap="showRuleModal">活动规则</view>
<navigator open-type="navigate" url="/pages/myprize/myprize" class="index-myprize-btn">我的奖品</navigator>
<view class="index-page__title">{{title}}</view>
<view class="index-page__content">{{content}}</view>
<view class="index-page__tips">AM接口只支持PC端预览,手机淘宝预览需要使用云函数模式</view>
<view class="index-start-btn" onTap="doStart">开始</view>
<view class="index-start-btn" onTap="doExchange">doExchange</view>
<navigator open-type="navigate" url="/pages/tbccDemo/tbccDemo" class="index-tbcc-btn">tbcc demo</navigator>
</view>
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal>
<common-modal a:if="{{commonModalVisible}}" data="{{commonModalData}}" onModalClose="closeCommonModal" onModalConfirm="confirmCommonModal" />
<end-modal a:if="{{false}}" />
\ No newline at end of file
const app = getApp();
const { tbcc } = app;
const { SHARE_CONFIG, REDIRECT_URL } = tbcc.constants;
import API from '../../api';
const { commonToast, getAuthUserInfo, navigateToOutside } = tbcc.tb;
Page({
doExchange: () => {
my.navigateTo({
url: `/pages/pageshop/pageshop`
});
},
data: {
title: '',
content: '',
rule: '',
commonModalData: {
content: '',
btnText: ''
},
commonModalConfirm: null,
commonModalVisible: false,
ruleModalVisible: false
},
onLoad(query) {
// 页面加载
this.getAuth();
console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
},
init() {
console.log('do init')
},
onReady() {
// 页面加载完成
},
onShow() {
// 页面显示
},
onHide() {
// 页面隐藏
},
onUnload() {
// 页面被关闭
},
onTitleClick() {
// 标题被点击
},
onPullDownRefresh() {
// 页面被下拉
},
onReachBottom() {
// 页面被拉到底部
},
/**
* 获取用户授权信息
*/
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 getIndex() {
const { success, data } = await API.getIndex().catch(res => {
commonToast(res && res.message);
}) || {};
if (success && data) {
const { title, content, rule } = data;
this.setData({ title, content, rule });
}
},
/**
* 登录接口
*/
async login() {
const { nickName, avatar } = app;
const { success } = await API.login({ userNick: nickName, avatar }).catch(res => {
commonToast(res && res.message);
}) || {};
if (success) {
this.init();
}
},
/**
* 显示规则弹层
*/
showRuleModal() {
this.setData({
ruleModalVisible: true
});
},
/**
* 通用弹出确认按钮回调
*/
confirmCommonModal() {
const { commonModalConfirm } = this.data;
commonModalConfirm && commonModalConfirm();
},
/**
* 执行开始
*/
doStart() {
this.showCommonModal({
content: '活动还未开始\n请稍后',
btnText: '我知道了',
commonModalVisible: true,
confirmCallback: () => {
this.closeCommonModal();
}
});
},
/**
* 显示通用弹层
* @param {object} options content: 通用弹层内容 btnText:按钮文案 confirmCallback: 按钮确认回调
*/
showCommonModal({ content, btnText, confirmCallback }) {
this.setData({
commonModalConfirm: confirmCallback || null,
commonModalVisible: true,
commonModalData: { content, btnText }
});
},
/**
* 跳转到天猫页面
*/
goTmallPage() {
navigateToOutside(REDIRECT_URL['tmall']);
},
/**
* 关闭通用弹层
*/
closeCommonModal() {
this.setData({
commonModalVisible: false
});
},
/**
* 关闭活动规则弹层
*/
closeRuleModal() {
this.setData({
ruleModalVisible: false
});
},
onShareAppMessage() {
// 返回自定义分享信息
return SHARE_CONFIG;
},
});
{
"usingComponents": {
"rule-modal": "/components/ruleModal/ruleModal",
"common-modal": "/components/commonModal/commonModal",
"end-modal": "/components/endModal/endModal"
}
}
\ No newline at end of file
<view class="my-prize">
<prize-modal
myPrizeList="{{myPrizeList}}"
task="{{task}}"
endTime="{{endTime}}"
onHandleClick="handleClick"/>
</view>
\ No newline at end of file
'use strict';
import API from "/api";
import {
SHARE_CONFIG
} from '/tbcc-sdk/lib/constants';
const app = getApp();
const {
tbcc
} = app;
const {
commonToast,
navigateToOutside,
getUserAddress,
setClipboard
} = tbcc.tb;
const {
PRIZE_TYPE_MAP,
PRIZE_DRAW_STATUS_MAP
} = tbcc.constants;
let flag = false;
Page({
data: {
PRIZE_TYPE_MAP,
PRIZE_DRAW_STATUS_MAP,
myPrizeList: null, //我的奖品
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', //立即领取(除实物奖品外)
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', //领取失败
},
logisticsImage: {
shipped: '//yun.duiba.com.cn/aurora/assets/3a7b68ec171ee339ce619d19f6ae3f9c1e6d801a.png', // 已发货物理弹窗
notShipped: '//yun.duiba.com.cn/aurora/assets/ee0300d7b472c555ecf0b7b8d582fcf9189c2d19.png', // 待发货物流弹窗
copyIcon: '//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png', //复制
},
btnStyle: { // 按钮自定义样式
width: '154rpx',
height: '49rpx',
}
}
},
onShow() {
flag = false
this.getMyPrize();
},
onShareAppMessage() {
return SHARE_CONFIG;
},
// 到期时间
getEndTime(prizeList = []) {
if (!prizeList || !prizeList.length) return null
const endTime = prizeList[0].expiredTime
if (!endTime) return null;
const yy = new Date(endTime).getFullYear();
const mm = new Date(endTime).getMonth() + 1;
const dd = new Date(endTime).getDate();
const t1 = `${yy}${mm}${dd}日`;
// console.log(new Date(endTime).toLocaleDateString())
// const t1 = new Date(endTime).toLocaleDateString() + '';//获取年月日
const t2 = new Date(endTime).getHours() + ''; //获取时
const t3 = new Date(endTime).getMinutes() + ''; //获取分
const t4 = new Date(endTime).getSeconds() + ''; //获取秒
console.log(endTime, new Date(endTime + 48 * 60 * 60 * 1000).toLocaleString(), 'endTime');
console.log('endtime str', t1 + "" + t2.padStart(2, '0') + ":" + t3.padStart(2, '0') + ":" + t4.padStart(2, '0'))
this.setData({
endTime: t1 + "" + t2.padStart(2, '0') + ":" + t3.padStart(2, '0') + ":" + t4.padStart(2, '0')
})
},
/**
* 获取奖品列表
* @param {string} type 是否展示loading
*/
async getMyPrize(type) {
const {
activityId
} = app;
if (type != 'noLoading') {
my.showLoading();
}
const {
success,
data,
message
} = await API.getMyPrizeList({
activityId
}).catch(res => {
this.setData({
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) {
this.setData({
myPrizeList: data.list
})
this.getEndTime(data.list)
}
if (type != 'noLoading') {
my.hideLoading();
}
},
//领取奖品
async handleClick(e) {
const {
item
} = e.target.dataset;
// 领取权益
if (item.type === PRIZE_TYPE_MAP.EQUITY) return this.handleGetEquity(e)
// 领取实物
if (item.type === PRIZE_TYPE_MAP.ENTITY) return this.handleGetEntity(e)
// 领取积分
if (item.type === PRIZE_TYPE_MAP.INTEGRATION) return this.handleGetIntergation(e)
},
/**
* 发奖
*/
async cloudTBIssue(params) {
console.log('cloudTBIssue params', JSON.stringify(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");
commonToast('领取成功~')
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,
id
}
} = e.target.dataset;
this.cloudTBIssue({
strategyCode,
code,
channel
}).then(() => {
API.receivLaFeiPrize({ id }).then((res) => {
console.log('receivLaFeiPrize res', res)
this.getMyPrize()
})
.catch((error) => {
console.log('receivLaFeiPrize error', error)
})
})
.catch(err => {
API.receivLaFeiPrize({ result: err })
})
// 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()
// }
setTimeout(() => {
flag = false
}, 500)
},
// 领取实物前询问
async handleGetEntity(e) {
const text = 'inahcq9'
setClipboard({
text: `${text}`
}).then(() => {
commonToast('请前去钉钉领取,钉钉号为:' + text + '。钉钉号已经复制成功。', 3000);
}).catch(err=>{
console.log('handleGetEntity error',err)
})
// my.confirm({
// title: '领取奖品',
// content: '是否允许访问您的粘贴板',
// confirmButtonText: '确认',
// cancelButtonText: '取消',
// success: (result) => {
// if (result.confirm) {
// const text = 'zzzxxx'
// setClipboard({
// text: `${text}`
// })
// commonToast('请前去钉钉领取,钉钉号为:' + text + '。钉钉号已经复制成功。', 3000);
// }
// },
// fail: (result) =>{
// commonToast('访问剪贴板失败')
// }
// });
// 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 (confirm) {
// this.receiveObjectPrize(params);
// }
// },
// });
// flag = false
},
// 领取实物
async receiveObjectPrize(params) {
// commonToast('正在调用receiveObjectPrize'+JSON.stringify(params))
API.receiveObjectPrize(params).then((res) => {
// setTimeout(() => {
// commonToast(JSON.stringify(res))
// }, 5000);
const {
success,
data,
message
} = res;
if (success && data) {
commonToast('领取成功')
} else {
commonToast(message)
}
this.getMyPrize()
}, (rej) => {
commonToast(rej.message)
});
},
// 积分
async handleGetIntergation(e) {
if (flag) {
return
}
flag = true;
// 判断是否为会员
await this.getUserInfo()
const {
isVip,
vipLink
} = app;
if (!isVip) {
commonToast('立即加入会员,即可领取奖品', 2000);
setTimeout(() => {
navigateToOutside(vipLink)
}, 1000)
flag = false
return
}
const {
activityId
} = app;
const {
item
} = e.target.dataset;
console.log(item, '领取积分')
const {
success,
data,
message
} = await API.receiveEnamePrize({
activityId,
_id: item._id
}) || {};
if (success && data) {
commonToast('领取成功')
} else {
commonToast(message)
}
flag = false
this.getMyPrize()
},
//获取用户vip信息
async getUserInfo() {
const {
activityId
} = app;
const {
success,
data,
message
} = await API.getVipInfo({
activityId
}) || {};
console.log(data, '用户vip信息');
if (success && data) {
app.isVip = (data && data.isVip) || false;
app.vipLink = (data && data.url) || '';
} else {
commonToast(message)
}
},
});
\ No newline at end of file
{
"usingComponents": {
"prize-modal": "/components/prizeModal/prizeModal"
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
.canvas {
width:100%;
height:100%;
}
.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;
}
.testBg {
width:750rpx;
height:1624rpx;
position:fixed;
top:50%;
left:0rpx;
margin-top:-812rpx;
}
\ No newline at end of file
<view disable-scroll="true" class="page-game">
<canvas disable-scroll="true" id="canvas" class="canvas" onTouchStart="onMouseEvent" onTouchMove="onMouseEvent" onTouchEnd="onMouseEvent" onReady="onCanvasReady">
</canvas>
</view>
<image class="testBg" a:if="{{customValue==1}}" src={{resList['2ef3e6b8-e635-4007-ba62-36df45e096c1'].url}} />
<end-modal a:if="{{endModalVisible}}" ></end-modal>
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal>
<levelup-modal a:if="{{levelupModalVisible}}" mydata="{{levelupModalData}}" onModalClose="closeLevelupModal"></levelup-modal>
<message-modal a:if="{{messageModalVisible}}" mydata="{{messageModalData}}" onModalClose="closeMessageModal"></message-modal>
<view class="popcontainer" a:if="{{selectcatModalVisible}}"><selectcat-modal onModalClose="closeSelectcatModal" onSelectCat="selectCat"></selectcat-modal></view>
<view class="popcontainer" a:if="{{catnameModalVisible}}" ><catname-modal selectType="{{catType}}" onModalClose="closeCatnameModal" onSelectCatOk="selectCatOk" /></view>
<view class="popcontainer" a:if="{{recallcatModalVisible}}"><recallcat-modal mydata="{{recallcatModalData}}" onRecallCat="recallCat" onModalClose="closeRecallcatModal"></recallcat-modal></view>
<view class="popcontainer" a:if="{{getcatModalVisible}}"><getcat-modal selectType="{{catType}}" catName="{{catName}}" onPostSelectCat="postSelectCat" onModalClose="closeGetcatModal"></getcat-modal></view>
<view class="popcontainer" a:if="{{catbackbedModalVisible}}"><catbackbed-modal mydata="{{recallcatModalData}}" recallCatInfo="{{recallCatInfo}}" onUpdateUserInfo="updateUserInfo" onModalClose="closeCatbackModal"></catbackbed-modal></view>
<task-modal a:if="{{taskModalVisible}}" onModalClose="closeTaskModal"></task-modal>
<view class="popcontainer" a:if="{{catruleModalVisible}}"><catrule-modal rule="{{activityBaseInfo}}" onModalClose="closeCatruleModal"></catrule-modal></view>
<view class="popcontainer" a:if="{{thanksModalVisible}}"><thanks-modal onModalClose="closeThanksModal"></thanks-modal></view>
'use strict';
import {
Main
} from './output';
import resList from '../../resconfig/resList'; //import API from '../../api';
import API from '../../api';
const app = getApp();
const {
tbcc
} = app;
const {
commonToast,
getAuthUserInfo,
navigateToOutside,
getSystemInfo,
getServerTime
} = tbcc.tb;
const SHARE_CONFIG = {
title: '一起养宠物吧~',
desc: '养宠物真好玩啊~',
imageUrl: "https://isv.alibabausercontent.com/00000000/imgextra/i2/2208492139886/O1CN01TaqaNV2Mtq8SChAX1_!!2208492139886-0-isvtu-00000000.jpg",
path: 'pages/pagecanvas/pagecanvas'
}
const checkSystem = async () => {
const {
version
} = await getSystemInfo();
console.log('version', version);
return tbcc.utils.versionCompare(version, '9.8.0');
}
Page({
data: {
resList: resList,
catType: 1,
catName: '',
activityBaseInfo: null,
recallCatInfo: {},
taskModalVisible: 0,
messageModalVisible: false,
endModalVisible: false,
messageModalData: {},
ruleModalVisible: false,
levelupModalVisible: 0,
levelupModalData: null,
selectcatModalVisible: false,
catnameModalVisible: false,
recallcatModalVisible: false,
recallcatModalData: {},
getcatModalVisible: false,
getcatModalData: {},
catbackbedModalVisible: false,
catruleModalVisible: 0,
thanksModalVisible:false,
customValue:1
},
async doHelp() {
if (!app.inviteId) return;
commonToast('正在发起助力~')
const {
success,
data,
message
} = await API.doHelp({
inviteId: app.inviteId
}).catch(res => {
commonToast(res && res.message);
}) || {};
if (success) {
commonToast('助力成功~');
}
},
onLoad(query) {
this.setData({});
if (query) app.inviteId = query.openId;
console.log('onload=>query', query);
// my.showToast({
// content: "query " + JSON.stringify(query),
// duration: 5000
// });
checkSystem().then(r => {
if (!r) {
my.showToast({
content: "请升级最新版本的淘宝",
duration: 5000
});
}
});
},
async onReady() {
console.log('on ready')
//授权和登录先搞
// await this.getAuth();
// this.initCanvas();
my.__onMessage__ = (e) => {
this.onMessage(e)
}
my.__getdata__ = (key) => {
my.__onMessage__({
data: {
netName: 'tmallCat.' + key
}
})
}
my.__showModal__ = (key, data) => {
this.onMessage({
data: {
netName: 'mine.showModal',
parameter: {
name: key + 'Modal',
data: data
}
}
});
}
my.__pageTo__ = (key, data) => {
this.onMessage({
data: {
netName: 'mine.navigateToPage',
parameter: {
name: key
}
}
});
}
my.__updateUserInfo__ = () => {
console.log("通知canvas刷新用户信息")
this.main && this.main.dispatchGlobalEvent("UPDATE_USERINFO")
}
my.__clickDelay__ = (obj) => {
obj.setData({
btnEnable:false
})
setTimeout(()=>{
if(obj){
obj.setData({
btnEnable:true
})
}
},2000)
}
// setTimeout(() => {
// my.__pageTo__('myprize')
// }, 100);
},
initCanvas() {
console.log('do init cavans');
this.spark_startEngine();
},
spark_startEngine() {
console.log('spark_startEngine', my)
var self = this;
my.createCanvas({
id: 'canvas',
success: ccc => {
console.log('createCanvas success');
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;
if (!this.main) {
this.main = new Main(ccc); //添加事件,为了和main里的通信
app.canvasMain = this.main;
this.main.addGlobalEvent("onMessage", self.onMessage, self);
this.main.addGlobalEvent("toast", self.showToastHandler, self);
this.main.addGlobalEvent("loading", self.showLoadingHandler, self);
this.main.addGlobalEvent("hideloading", self.hideLoadingHandler, self);
}
},
fail: () => {
console.log('createCanvas fail');
}
});
},
onCanvasReady(query) {
console.log('onCanvasReady', query)
//授权和登录先搞
checkSystem().then(r => {
if (r) {
this.getAuth();
}
});
},
showToastHandler(e) {
console.log("接受到消息展示canvas的toast")
my.showToast({
content: e.data || "网络异常,请稍后重试~",
duration: 2000
});
},
showLoadingHandler() {
my.showLoading();
},
hideLoadingHandler() {
my.hideLoading();
},
postMessage(netName, data) {
this.main && this.main.dispatchGlobalEvent({
type: netName
}, data); //以防复用事件event串了,就用这种方式
},
//和main通信的方法,接收main的信息
onMessage(e) {
//接口名字
let netName = e.data.netName; //接口参数
let parameter = e.data.parameter || {};
//定制的授权
if (netName.indexOf("mine") == 0) {
var data = {
success: true
};
switch (netName) {
case "mine.getAppData":
//获取信息
data = {
success: true,
data: {
activityId: app.activityId,
nickName: app.nickName,
avatar: app.avatar,
openId: app.openId,
inviteId: app.inviteId
}
};
break;
case "mine.navigateToPage": //切换page
data = {
success: true,
data: {}
};
my.navigateTo({
url: `/pages/${parameter.name}/${parameter.name}`
});
break;
case "mine.showModal": //切换page
data = {
success: true,
data: {}
};
const key = `${parameter.name}Visible`;
const datakey = `${parameter.name}Data`;
const toSetData = {};
toSetData[key] = true;
toSetData[datakey] = parameter.data;
this.setData(toSetData);
break;
case 'test':
console.log('测试一下', parameter.hint);
break;
}
this.postMessage(netName, data);
} else {
const {
function: fc
} = app.cloud;
const [myCloudName, handler] = netName.split("."); //待写,
if (app.requestType == 'yapi') {
// console.log('mock[handler]', mock[handler])
// this.postMessage(netName, mock[handler]);
return;
}
parameter.activityId = app.activityId;
fc.invoke(myCloudName, parameter, handler).then(res => {
this.postMessage(netName, res);
console.log('request Cloud callback=>', handler, res, JSON.stringify(res));
});
}
},
//鼠标事件
onMouseEvent(e) {
if (this.main) this.main.stage.onMouseEvent(e);
},
onShow() {
// 页面显示
if (this.main) {
this.main.run();
this.main.dispatchGlobalEvent("onShow");
this.showPageLogin();
}
},
onHide() {
// 页面隐藏
if (this.main) {
this.main.pause();
this.main.dispatchGlobalEvent("onHide");
}
},
/**
* 获取用户授权信息
*/
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() {
my.showLoading();
const {
nickName,
avatar
} = app;
const {
success,
data,
} = await API.login({
userNick: nickName,
avatar
}).catch(res => {
my.hideLoading();
commonToast(res && res.message);
}) || {};
if (success) {
my.hideLoading();
app.openId = data.openId;
if(data.customValue != 1){
this.initCanvas();
}
this.setData({
customValue:data.customValue
})
this.getActivityBaseInfoById();
}
},
/**
* 获取活动信息
*/
async getActivityBaseInfoById() {
my.showLoading();
const {
success,
data
} = await API.getActivityBaseInfoById().catch(r => {
my.hideLoading();
commonToast(r && r.message)
}) || {};
if (success) {
my.hideLoading();
this.setData({
activityBaseInfo: data
})
const nowTime = await getServerTime().catch(()=>{});
console.log("现在时间",nowTime)
if(nowTime < data.startTime){
this.setData({
endModalVisible:true
})
}else{
// this.initCanvas();
}
}
},
/**页面显示登录 */
async showPageLogin() {
const {
nickName,
avatar
} = app;
const {
success,
data,
} = await API.login({
userNick: nickName,
avatar
}).catch(res => {
// commonToast(res && res.message);
// commonToast("页面显示登录失败")
}) || {};
if (success) {
app.openId = data.openId;
my.__updateUserInfo__();
}
},
/**刷新用户信息 */
updateUserInfo() {
console.log("通知canvas刷新用户信息")
this.main && this.main.dispatchGlobalEvent("UPDATE_USERINFO")
},
/**选择猫咪,打开取名弹窗 */
selectCat(type) {
// this.catType = type;
this.setData({
catType: type,
catnameModalVisible: true
})
console.log("选择了", type)
},
/**选择好猫咪后打开getCat弹窗 */
selectCatOk(name) {
this.setData({
catName: name,
getcatModalVisible: true
})
},
/**领养完猫咪之后传输消息给主页 */
postSelectCat(r) {
this.main.dispatchGlobalEvent("selectEnd", r);
},
/**召回猫 */
recallCat(r) {
this.main.dispatchGlobalEvent("RECALL_CAT");
this.setData({
recallCatInfo: r,
catbackbedModalVisible: true
})
},
closeLevelupModal() {
this.setData({
levelupModalVisible: false
});
},
closeRuleModal() {
this.setData({
ruleModalVisible: false
});
},
closeMessageModal() {
this.setData({
messageModalVisible: false
});
},
closeCatnameModal() {
this.setData({
catnameModalVisible: false
})
},
closeSelectcatModal() {
this.setData({
selectcatModalVisible: false
})
},
closeRecallcatModal() {
this.setData({
recallcatModalVisible: false
})
},
closeTaskModal() {
console.log('onModalClose')
this.setData({
taskModalVisible: false
})
},
closeGetcatModal() {
this.setData({
getcatModalVisible: false
})
},
closeCatbackModal() {
this.setData({
catbackbedModalVisible: false
})
},
closeCatruleModal() {
this.setData({
catruleModalVisible: false
})
},
closeThanksModal() {
this.setData({
thanksModalVisible: false
})
},
onShareAppMessage() {
// 返回自定义分享信息
let {
path,
...rest
} = SHARE_CONFIG;
console.log('app.openId', app.openId);
if (app.openId) {
path = '/pages/pagecanvas/pagecanvas' + '?openId=' + app.openId;
}
console.log('path', path)
return {
...rest,
path
}
}
});
{
"usingComponents": {
"end-modal": "/components/endModal/endModal",
"task-modal": "/components/comtask/comtask",
"rule-modal": "/components/ruleModal/ruleModal",
"levelup-modal": "/components/comlevelup/comlevelup",
"message-modal": "/components/commessage/commessage",
"selectcat-modal":"/components/comselectcat/comselectcat",
"catname-modal":"/components/comcatname/comcatname",
"recallcat-modal":"/components/comrecallcat/comrecallcat",
"getcat-modal":"/components/comgetcat/comgetcat",
"catbackbed-modal":"/components/comcatbackbed/comcatbackbed",
"catrule-modal":"/components/comcatrule/comcatrule",
"thanks-modal":"/components/comthanks/comthanks"
}
}
.ren_wu_shang_pin_ye {
.selectcat {
width: 721rpx;
height: 943rpx;
opacity: 1;
left: 15rpx;
top: 320rpx;
/* margin-top: -472.5rpx; */
position: absolute;
transform-origin: 50% 50% 0rpx;
}
.selectcat .selectcatbg {
width: 721rpx;
height: 943rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
left: 0rpx;
top: 0rpx; top: 0rpx;
} left: 0rpx;
.selectcat .selectcatblue { width: 750rpx;
width: 303rpx; height: 1624rpx;
height: 272rpx; display: block;
opacity: 1;
left: 377rpx;
top: 501rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatblue .bluebg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 {
width: 303rpx; width: 750rpx;
height: 272rpx; height: 1624rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatblue .blueimg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .di_m {
width: 161rpx; width: 750rpx;
height: 145rpx; height: 1624rpx;
opacity: 1; opacity: 1;
left: 68rpx;
top: 32rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatblue .bluename { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .fan_hui_m {
width: 244rpx; width: 54rpx;
height: 26rpx; height: 54rpx;
opacity: 1; opacity: 1;
left: 26rpx; left: 17rpx;
top: 198rpx; top: 226rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #685b4e;
text-align: center;
} }
.selectcat .selectcatblue .bluesure { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian {
width: 68rpx; width: 304rpx;
height: 53rpx; height: 406rpx;
opacity: 1; opacity: 1;
left: 224rpx; left: 54rpx;
top: 172rpx; top: 310rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatsh { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .tu_ceng_3387 {
width: 302rpx; width: 304rpx;
height: 272rpx; height: 406rpx;
opacity: 1; opacity: 1;
left: 43rpx;
top: 501rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatsh .shbg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .wen_an {
width: 302rpx; width: 251rpx;
height: 272rpx; height: 65rpx;
opacity: 1; opacity: 1;
left: 18rpx;
top: 322rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatsh .shimg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .wen_an .tu_ceng {
width: 173rpx; width: 13rpx;
height: 138rpx; height: 17rpx;
opacity: 1; opacity: 1;
left: 59rpx; top: 47rpx;
top: 43rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 13.32043rpx;
color: #fc430e;
} }
.selectcat .selectcatsh .shname { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .wen_an .tu_ceng_388 {
width: 244rpx; width: 56rpx;
height: 26rpx; height: 26rpx;
opacity: 1; opacity: 1;
left: 26rpx; left: 16rpx;
top: 198rpx; top: 39rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx; font-size: 19.98064rpx;
color: #685b4e; color: #fc430e;
text-align: center;
} }
.selectcat .selectcatsh .shsure { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .wen_an .bai_cao_wei_ba_dan_mu_ren_chao_hao_chi {
width: 68rpx; width: 251rpx;
height: 53rpx; height: 23rpx;
opacity: 1; opacity: 1;
left: 224rpx;
top: 172rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 14.37029rpx;
color: #181818;
} }
.selectcat .selectcatxl { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .shou_cang_an_niu_zhuang_tai {
width: 303rpx; width: 32rpx;
height: 271rpx; height: 32rpx;
opacity: 1; opacity: 1;
left: 377rpx; left: 246rpx;
top: 197rpx; top: 357rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatxl .xlbg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .shou_cang_an_niu_zhuang_tai .shou_cang_m {
width: 303rpx; width: 32rpx;
height: 271rpx; height: 32rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatxl .xlimg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .shou_cang_an_niu_zhuang_tai .wei_shou_cang {
width: 157rpx; width: 32rpx;
height: 153rpx; height: 32rpx;
opacity: 1; opacity: 1;
left: 72rpx;
top: 29rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatxl .xlname { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shang_pin_zu_jian .qu_gou_mai_m12 {
width: 244rpx; width: 96rpx;
height: 26rpx; height: 34rpx;
opacity: 1; opacity: 1;
left: 26rpx; left: 187rpx;
top: 198rpx; top: 357rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #685b4e;
text-align: center;
} }
.selectcat .selectcatxl .xlsure { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .shou_cang_shang_pin_de_fan_pai_ci_shu {
width: 68rpx; width: 393rpx;
height: 53rpx; height: 43rpx;
opacity: 1; opacity: 1;
left: 224rpx; left: 178rpx;
top: 172rpx; top: 237rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 44rpx;
color: #ffffff;
} }
.selectcat .selectcatorge { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .dao_ji_shi {
width: 302rpx; width: 72rpx;
height: 271rpx; height: 82rpx;
opacity: 1; opacity: 1;
left: 43rpx; left: 647rpx;
top: 197rpx; top: 216rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatorge .orgebg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .dao_ji_shi .tuo_yuan_1444kao_bei {
width: 302rpx; width: 72rpx;
height: 271rpx; height: 82rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.selectcat .selectcatorge .orgeimg { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .dao_ji_shi .tu_ceng_15 {
width: 164rpx; width: 32rpx;
height: 141rpx; height: 23rpx;
opacity: 1; opacity: 1;
left: 67rpx; left: 20rpx;
top: 36rpx; top: 34rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 23.07692rpx;
color: #ffffff;
} }
.selectcat .selectcatorge .orgename { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .liu_lan_shang_pin_di_fan_pai_ci_shu {
width: 244rpx; width: 394rpx;
height: 26rpx; height: 43rpx;
opacity: 1; opacity: 1;
left: 26rpx; left: 177rpx;
top: 198rpx; top: 237rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx; font-size: 44rpx;
color: #685b4e; color: #ffffff;
text-align: center;
} }
.selectcat .selectcatorge .orgesure { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .xia_ding_jin_de_fan_pai_ci_shu {
width: 68rpx; width: 349rpx;
height: 53rpx; height: 43rpx;
opacity: 1; opacity: 1;
left: 224rpx; left: 200rpx;
top: 172rpx; top: 237rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 44rpx;
color: #ffffff;
} }
.selectcat .selectcattrue { .ren_wu_shang_pin_ye .ren_wu_shang_pin_ye_1 .xia_dan_shang_pin_de_fan_pai_ci_shu {
width: 352rpx; width: 393rpx;
height: 106rpx; height: 43rpx;
opacity: 1; opacity: 1;
left: 185rpx; left: 178rpx;
top: 804rpx; top: 237rpx;
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 44rpx;
color: #ffffff;
} }
<view class="ren_wu_shang_pin_ye ">
<view class="ren_wu_shang_pin_ye_1 ">
<image class="di_m " src={{resList['c7704758-ff9f-4b37-a1f3-fbe3a7cc6163'].url}} />
<image class="fan_hui_m " src={{resList['d3a9cb74-5e52-471a-9a01-a4a59bec714c'].url}} />
<view class="shang_pin_zu_jian ">
<image class="tu_ceng_3387 " src={{resList['e5da32b2-69b5-4d8d-af78-3f785e159507'].url}} />
<view class="wen_an ">
<span class="tu_ceng ">¥</span>
<span class="tu_ceng_388 ">388</span>
<span class="bai_cao_wei_ba_dan_mu_ren_chao_hao_chi ">百草味巴旦木仁超好吃...</span>
</view>
<view class="shou_cang_an_niu_zhuang_tai ">
<image class="shou_cang_m " src={{resList['de7f5d13-9e81-4bcc-9410-a0f9b231d2cc'].url}} />
<image class="wei_shou_cang " src={{resList['16510214-5533-4a8c-a10a-1f93cf008460'].url}} />
</view>
<image class="qu_gou_mai_m12 " src={{resList['83b04cc4-3acf-4102-abd4-5363679c7fac'].url}} />
</view>
<span class="shou_cang_shang_pin_de_fan_pai_ci_shu ">收藏商品得翻牌次数</span>
<view class="dao_ji_shi ">
<image class="tuo_yuan_1444kao_bei " src={{resList['2959f04c-59e5-4a8f-89af-62cd884f0788'].url}} />
<span class="tu_ceng_15 ">15</span>
</view>
<span class="liu_lan_shang_pin_di_fan_pai_ci_shu ">浏览商品地翻牌次数 </span>
<span class="xia_ding_jin_de_fan_pai_ci_shu ">下定金得翻牌次数 </span>
<span class="xia_dan_shang_pin_de_fan_pai_ci_shu ">下单商品得翻牌次数</span>
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList'; //import API from '../../api';
Page({
data: {},
onLoad(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<view class="fuck-shop">
<shop-modal
list ="{{list}}"
happyCoin ="{{happyCoin}}"
onHandleClick="handleClick" />
</view>
<view class="popcontainer" a:if="{{exchangedModalVisible}}"><exchanged-modal mydata="{{exchangedModalData}}" onModalClose="closeExchangedModal"></message-modal></view>
'use strict';
const EXCHANGE_STATUS = {
NO_EXCHANGE: 1,
DONE: 2
};
import resList from '../../resconfig/resList'; //import API from '../../api';
import API from '../../api';
const app = getApp();
const {
tbcc
} = app;
const {
commonToast
} = tbcc.tb;
let flag = 0;
Page({
data: {
exchangedModalVisible: false,
exchangedModalData: null,
list: [],
happyCoin: null
},
async onLoad(props) {
this.setData({
resList: resList
});
this.getExchangeGoodList();
},
async handleClick(e) {
if (flag) return;
// my.showLoading();
API.doStat({type:6})
flag = 1;
const {
item
} = e.target.dataset;
const {
_id,
code,
type
} = item;
const params = {
id: _id
};
if (type == 1) params.code = code;
const {
success,
data,
message
} = await API.exchangeGood(params).catch(res => {
commonToast(res && res.message);
}) || {};
my.__updateUserInfo__();
// my.hideLoading();
if (success && data) {
this.setData({
exchangedModalVisible: 1,
exchangedModalData: item
})
}
await this.getExchangeGoodList();
flag = 0;
},
async getExchangeGoodList() {
const {
success,
data: {
list,
happyCoin
}
} = await API.exchangeGoodList().catch(res => {
commonToast(res && res.message);
}) || {};
if (success) {
list.forEach(item => {
item.exchanged = item.status == EXCHANGE_STATUS.DONE;
item.image = item.image || '//yun.duiba.com.cn/aurora/assets/00b4b751939da230055889445f00f22990ff5f88.png';
});
this.setData({
list,
happyCoin
});
}
},
closeExchangedModal() {
this.setData({
exchangedModalVisible: false
})
}
});
\ No newline at end of file
{
"usingComponents": {
"shop-modal": "/components/shopModal/shopModal",
"exchanged-modal": "/components/comexchanged/comexchanged"
}
}
\ No newline at end of file
.shou_ye {
top: 0rpx;
left: 0rpx;
width: 750rpx;
height: 100vh;
overflow: hidden;
display: block;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang {
width: 750rpx;
height: 1624rpx;
top: 50%;
transform: translateY(-50%);
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_di_kuang {
width: 750rpx;
height: 1624rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_di_kuang .shou_ye_kuang_di_kuang_bei_jing {
width: 750rpx;
height: 1624rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_di_kuang .shou_ye_kuang_di_kuang_zhuan_pan {
width: 578rpx;
height: 578rpx;
opacity: 1;
left: 82rpx;
top: 419rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_di_kuang .shou_ye_kuang_di_kuang_bei_jing_shang {
width: 725rpx;
height: 515rpx;
opacity: 1;
top: 220rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
display: block;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_di_kuang .shou_ye_kuang_di_kuang_bei_jing_xia {
width: 750rpx;
height: 621rpx;
opacity: 1;
top: 1003rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
display: block;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_qia_pai_kuang {
width: 450rpx;
height: 510rpx;
opacity: 1;
left: 149rpx;
top: 453rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_qia_pai_kuang .shou_ye_kuang_qia_pai_kuang_pai_5m {
width: 412rpx;
height: 464rpx;
opacity: 1;
top: 46rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_qia_pai_kuang .shou_ye_kuang_qia_pai_kuang_pai_4m {
width: 345rpx;
height: 439rpx;
opacity: 1;
left: 43rpx;
top: 47rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_qia_pai_kuang .shou_ye_kuang_qia_pai_kuang_pai_3m {
width: 272rpx;
height: 397rpx;
opacity: 1;
left: 86rpx;
top: 57rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_qia_pai_kuang .shou_ye_kuang_qia_pai_kuang_pai_2m {
width: 359rpx;
height: 445rpx;
opacity: 1;
left: 49rpx;
top: 20rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_kuang_qia_pai_kuang .shou_ye_kuang_qia_pai_kuang_pai_m {
width: 421rpx;
height: 465rpx;
opacity: 1;
left: 29rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang {
width: 154rpx;
height: 80rpx;
opacity: 1;
left: 91rpx;
top: 1016rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_qian_dao {
width: 74rpx;
height: 80rpx;
opacity: 1;
left: 7rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang {
width: 89rpx;
height: 77rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang_dian_liang {
width: 86rpx;
height: 77rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang_di {
width: 28rpx;
height: 28rpx;
opacity: 1;
left: 61rpx;
top: 3rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang_shu_liang {
width: 28rpx;
height: 25rpx;
opacity: 1;
left: 62rpx;
top: 5rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 20rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang {
width: 87rpx;
height: 76rpx;
opacity: 1;
left: 1rpx;
top: 1rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
display: none;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang_fu_li_zhi_hui {
width: 86rpx;
height: 76rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
left: 0rpx;
top: 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang_di {
width: 28rpx;
height: 28rpx;
opacity: 1;
left: 59rpx;
top: 2rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang .shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang_shu_liang {
width: 30rpx;
height: 35rpx;
opacity: 1;
left: 60rpx;
top: 1rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 20rpx;
color: #000000;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_sheng_lue_hao_dian_liang {
width: 66rpx;
height: 7rpx;
opacity: 1;
left: 88rpx;
top: 38rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jie_suo_fu_li_kuang .shou_ye_jie_suo_fu_li_kuang_sheng_lue_hao_zhi_hui {
width: 66rpx;
height: 7rpx;
opacity: 1;
left: 88rpx;
top: 38rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang {
width: 550rpx;
height: 256rpx;
opacity: 1;
left: 85rpx;
top: 1137rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_huo_dong_qi_jian_da_dao_lei_ji_fan_pai_ci_shu_ke_can_yu_chou_jiang {
width: 408rpx;
height: 24rpx;
opacity: 1;
left: 86rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_mu_qian_lei_ji_fan_pai_ci_shu {
width: 241rpx;
height: 23rpx;
opacity: 1;
left: 166rpx;
top: 233rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 23rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 {
width: 528rpx;
height: 74rpx;
opacity: 1;
left: 22rpx;
top: 148rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 {
width: 528rpx;
height: 74rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 .shou_ye_xia_m {
width: 521rpx;
height: 51rpx;
opacity: 1;
left: 3rpx;
top: 13rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 .shou_ye_zhong_m {
width: 528rpx;
height: 74rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
background-color: #ffe500;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 .shou_ye_shang_m8 {
width: 506rpx;
height: 36rpx;
opacity: 1;
left: 11rpx;
top: 20rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 .shou_ye_shang_m8 .shou_ye_tuo_yuan_4 {
width: 36rpx;
height: 36rpx;
opacity: 1;
left: 470rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 .shou_ye_shang_m8 .shou_ye_tuo_yuan_3 {
width: 36rpx;
height: 36rpx;
opacity: 1;
left: 313rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 .shou_ye_shang_m8 .shou_ye_tuo_yuan_2 {
width: 36rpx;
height: 36rpx;
opacity: 1;
left: 156rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_jin_du_tiao_7 .shou_ye_shang_m8 .shou_ye_tuo_yuan_1 {
width: 36rpx;
height: 36rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_shu_liang_1 {
width: 32rpx;
height: 15rpx;
opacity: 1;
left: 12rpx;
top: 32rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 15rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_shu_liang_2 {
width: 32rpx;
height: 15rpx;
opacity: 1;
left: 169rpx;
top: 32rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 15rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_shu_liang_3 {
width: 32rpx;
height: 15rpx;
opacity: 1;
left: 325rpx;
top: 32rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 15rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_jin_du_tiao_6 .shou_ye_shu_liang_4 {
width: 32rpx;
height: 15rpx;
opacity: 1;
left: 483rpx;
top: 32rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 15rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_li_he_dian_liang_m {
width: 110rpx;
height: 98rpx;
opacity: 1;
left: 1rpx;
top: 50rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_jiang .shou_ye_li_he_zhi_hui_m {
width: 111rpx;
height: 98rpx;
opacity: 1;
top: 50rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_wo_de_qia_pai {
width: 126rpx;
height: 147rpx;
opacity: 1;
left: 15rpx;
top: 833rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_wo_de_qia_pai .shou_ye_di_m5 {
width: 126rpx;
height: 147rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_wo_de_qia_pai .shou_ye_wo_de_qia_pai_612 {
width: 54rpx;
height: 36rpx;
opacity: 1;
left: 23rpx;
top: 81rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 25rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_xin_shou_li_m {
width: 126rpx;
height: 123rpx;
opacity: 1;
left: 611rpx;
top: 833rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_pai_an_niu {
width: 149rpx;
height: 168rpx;
opacity: 1;
left: 299rpx;
top: 800rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_pai_an_niu .shou_ye_an_niu_m {
width: 149rpx;
height: 158rpx;
opacity: 1;
top: 10rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_pai_an_niu .shou_ye_ci_shu {
width: 44rpx;
height: 44rpx;
opacity: 1;
left: 97rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_pai_an_niu .shou_ye_ci_shu .shou_ye_di_m4 {
width: 44rpx;
height: 44rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_chou_pai_an_niu .shou_ye_ci_shu .shou_ye_chou_jiang_ci_shu_11 {
width: 22rpx;
height: 15rpx;
opacity: 1;
left: 11rpx;
top: 14rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 13.09217rpx;
color: #4b2b0a;
}
.shou_ye .shou_ye_kuang .shou_ye_xiao_ti_shi {
width: 348rpx;
height: 50rpx;
opacity: 1;
left: 194rpx;
top: 972rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_xiao_ti_shi .shou_ye_di_m3 {
width: 348rpx;
height: 50rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_xiao_ti_shi .shou_ye_shou_ji_bu_tong_qia_pai_jie_suo_geng_duo_fu_li_wen_an {
width: 284rpx;
height: 23rpx;
opacity: 1;
left: 34rpx;
top: 11rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 21rpx;
color: #4b2a0a;
}
.shou_ye .shou_ye_kuang .shou_ye_dan_chuang {
width: 289rpx;
height: 82rpx;
opacity: 1;
left: 16rpx;
top: 700rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_dan_chuang .shou_ye_dan_chuang_di_m2 {
width: 289rpx;
height: 82rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_dan_chuang .shou_ye_dan_chuang_tou_xiang_kuang {
width: 70rpx;
height: 70rpx;
opacity: 1;
left: 6rpx;
top: 6rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_dan_chuang .shou_ye_dan_chuang_tou_xiang_kuang .shou_ye_dan_chuang_tou_xiang {
width: 70rpx;
height: 70rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_dan_chuang .shou_ye_dan_chuang_ji_ge_huo_de_tian_he_zuo_qia_pian_wen_an {
width: 179rpx;
height: 31rpx;
opacity: 1;
left: 81rpx;
top: 15rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 20rpx;
color: #ffffff;
}
.shou_ye .shou_ye_kuang .shou_ye_dan_chuang .shou_ye_dan_chuang_wen_an_2 {
width: 184rpx;
height: 40rpx;
opacity: 1;
display: block;
left: 78rpx;
top: 40rpx;
position: absolute;
font-size: 22rpx;
color: white;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_huo_dong_gui_ze_m {
width: 92rpx;
height: 34rpx;
opacity: 1;
left: 21rpx;
top: 228rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .shou_ye_kuang .shou_ye_jiang_pin_m {
width: 92rpx;
height: 34rpx;
opacity: 1;
left: 636rpx;
top: 228rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="shou_ye ">
<view class="shou_ye_kuang ">
<view class="shou_ye_kuang_di_kuang ">
<image class="shou_ye_kuang_di_kuang_bei_jing " src={{resList['9a441973-a87c-4723-a797-1d18622ba791'].url}} />
<image class="shou_ye_kuang_di_kuang_zhuan_pan " src={{resList['1f29c5f6-3252-464f-814d-507f6e65536e'].url}} />
<image class="shou_ye_kuang_di_kuang_bei_jing_shang " src={{resList['d28cb7a9-c1e9-4024-b2c5-24a302e5d139'].url}} />
<image class="shou_ye_kuang_di_kuang_bei_jing_xia " src={{resList['467f8042-27bd-4579-aa4a-5b7e5c4b4323'].url}} />
</view>
<view class="shou_ye_kuang_qia_pai_kuang ">
<image class="shou_ye_kuang_qia_pai_kuang_pai_5m " src={{resList['4b6a73a1-9e03-4ed6-9f37-4353f4eb715d'].url}} />
<image class="shou_ye_kuang_qia_pai_kuang_pai_4m " src={{resList['aefe5049-0ec7-4978-9f99-61520c6aa546'].url}} />
<image class="shou_ye_kuang_qia_pai_kuang_pai_3m " src={{resList['582957e3-5fb8-4079-a2a3-78e40bb8950b'].url}} />
<image class="shou_ye_kuang_qia_pai_kuang_pai_2m " src={{resList['beb35066-2901-44e7-a8ec-9c4a46a2d972'].url}} />
<image class="shou_ye_kuang_qia_pai_kuang_pai_m " src={{resList['a00a69b3-130e-438c-bfb4-e283b553c499'].url}} />
</view>
<view class="shou_ye_jie_suo_fu_li_kuang ">
<image class="shou_ye_jie_suo_fu_li_kuang_qian_dao " src={{resList['26336845-54c5-4a6f-a97e-f3f13d3fef27'].url}} />
<view class="shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang ">
<image class="shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang_dian_liang " src={{resList['a2bdbf64-229d-46a1-89df-43b3537ab255'].url}} />
<image class="shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang_di " src={{resList['cbed0e02-fb26-4b19-a121-8b7d24310652'].url}} />
<label class="shou_ye_jie_suo_fu_li_kuang_fu_li_dian_liang_kuang_shu_liang ">11</label>
</view>
<view class="shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang ">
<image class="shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang_fu_li_zhi_hui " src={{resList['ba1b637e-d3e6-444d-b065-f1793f1ed520'].url}} />
<image class="shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang_di " src={{resList['111beab6-495a-49ab-9802-757ef04da86a'].url}} />
<label class="shou_ye_jie_suo_fu_li_kuang_fu_li_zhi_hui_kuang_shu_liang ">11</label>
</view>
<image class="shou_ye_jie_suo_fu_li_kuang_sheng_lue_hao_dian_liang " src={{resList['416ab4f7-4021-4a1c-be41-a48b6cfa8a3d'].url}} />
<image class="shou_ye_jie_suo_fu_li_kuang_sheng_lue_hao_zhi_hui " src={{resList['9bf3875b-78f1-4dd0-b04d-5f565b6e20b8'].url}} />
</view>
<view class="shou_ye_chou_jiang ">
<label class="shou_ye_huo_dong_qi_jian_da_dao_lei_ji_fan_pai_ci_shu_ke_can_yu_chou_jiang ">
活动期间达到累计翻牌次数可参与抽奖
</label>
<label class="shou_ye_mu_qian_lei_ji_fan_pai_ci_shu ">目前累计翻牌次数:25</label>
<view class="shou_ye_jin_du_tiao_6 ">
<view class="shou_ye_jin_du_tiao_7 ">
<image class="shou_ye_xia_m " src={{resList['dedb0c42-9d35-4c45-816f-6ca32e1448a9'].url}} />
<view class="shou_ye_zhong_m " />
<view class="shou_ye_shang_m8 ">
<image class="shou_ye_tuo_yuan_4 " src={{resList['87212c92-46ad-4dba-8e58-c7d9aeacb26c'].url}} />
<image class="shou_ye_tuo_yuan_3 " src={{resList['87212c92-46ad-4dba-8e58-c7d9aeacb26c'].url}} />
<image class="shou_ye_tuo_yuan_2 " src={{resList['87212c92-46ad-4dba-8e58-c7d9aeacb26c'].url}} />
<image class="shou_ye_tuo_yuan_1 " src={{resList['87212c92-46ad-4dba-8e58-c7d9aeacb26c'].url}} />
</view>
</view>
<label class="shou_ye_shu_liang_1 ">125</label>
<label class="shou_ye_shu_liang_2 ">125</label>
<label class="shou_ye_shu_liang_3 ">125</label>
<label class="shou_ye_shu_liang_4 ">125</label>
</view>
<image class="shou_ye_li_he_dian_liang_m " src={{resList['5d8bf336-cef9-4f9f-8824-6d40e64c673e'].url}} />
<image class="shou_ye_li_he_zhi_hui_m " src={{resList['9dbbe0b5-a157-40f0-8d13-9f8165e57246'].url}} />
</view>
<view class="shou_ye_wo_de_qia_pai ">
<image class="shou_ye_di_m5 " src={{resList['0f9fe800-6f3a-4a3d-a76c-93378a58e261'].url}} />
<label class="shou_ye_wo_de_qia_pai_612 ">6/12 </label>
</view>
<image class="shou_ye_xin_shou_li_m " src={{resList['ddece383-122a-4ed6-b035-dc695987650d'].url}} />
<view class="shou_ye_chou_pai_an_niu ">
<image class="shou_ye_an_niu_m " src={{resList['1f2538c3-c2fb-4792-9c6d-7cd756ed64ba'].url}} />
<view class="shou_ye_ci_shu ">
<image class="shou_ye_di_m4 " src={{resList['c7838e10-23c7-4127-b5c6-c137c88aa26e'].url}} />
<label class="shou_ye_chou_jiang_ci_shu_11 ">11</label>
</view>
</view>
<view class="shou_ye_xiao_ti_shi ">
<image class="shou_ye_di_m3 " src={{resList['56a14158-6000-4af4-85ec-d664ac69e769'].url}} />
<label class="shou_ye_shou_ji_bu_tong_qia_pai_jie_suo_geng_duo_fu_li_wen_an ">
收集不同卡牌,解锁更多福利
</label>
</view>
<view class="shou_ye_dan_chuang ">
<image class="shou_ye_dan_chuang_di_m2 " src={{resList['6339ed53-138d-44ff-944a-ba6999851277'].url}} />
<view class="shou_ye_dan_chuang_tou_xiang_kuang ">
<image class="shou_ye_dan_chuang_tou_xiang " src={{resList['3c94c72e-6ac6-428b-bc09-bfd271a26fb3'].url}} />
</view>
<label class="shou_ye_dan_chuang_ji_ge_huo_de_tian_he_zuo_qia_pian_wen_an ">机**哥</label>
<label class="shou_ye_dan_chuang_wen_an_2 ">获得天蝎座卡片… </label>
</view>
<image class="shou_ye_huo_dong_gui_ze_m " src={{resList['abc5f112-fa04-42fa-bfec-f633567807c8'].url}} />
<image class="shou_ye_jiang_pin_m " src={{resList['5a6679e0-89f7-4582-a89b-116a35e9750a'].url}} />
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList'; //import API from '../../api';
const { commonToast, getAuthUserInfo, navigateToOutside, ConsoleStyle, checkShopFavoredStatus, debounce, getSystemInfo } = tbcc.tb;
Page({
data: {},
onLoad(props) {
this.setData({
resList: resList
});
},
onReady() {
console.log(1111);
this.isStart();
},
isStart() {
console.log(112);
}
});
\ No newline at end of file
{
"usingComponents": {
"task_com": "/components/comren_wu_zhong_xin/comren_wu_zhong_xin"
}
}
\ No newline at end of file
.wo_de_qia_pai {
top: 0rpx;
left: 0rpx;
width: 750rpx;
height: 1624rpx;
display: block;
position: absolute;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 {
width: 750rpx;
height: 1624rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .bei_jing_15 {
width: 750rpx;
height: 1624rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 {
width: 260rpx;
height: 420rpx;
opacity: 1;
left: 90rpx;
top: 352rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 {
width: 260rpx;
height: 420rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .hui_di_14 {
width: 239rpx;
height: 325rpx;
opacity: 1;
left: 8rpx;
top: 28rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .di_13 {
width: 239rpx;
height: 325rpx;
opacity: 1;
left: 8rpx;
top: 28rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .hui_an_niu_12 {
width: 208rpx;
height: 56rpx;
opacity: 1;
left: 17rpx;
top: 364rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .an_niu_11 {
width: 207rpx;
height: 55rpx;
opacity: 1;
left: 17rpx;
top: 365rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .qia_pai_10 {
width: 239rpx;
height: 326rpx;
opacity: 1;
top: 20rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .wo_de_qia_pai_shu_liang_huang_7 {
width: 51rpx;
height: 51rpx;
opacity: 1;
left: 209rpx;
top: 1rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .wo_de_qia_pai_shu_liang_huang_7 .wo_de_qia_pai_shu_liang_bei_jing_huang_9 {
width: 51rpx;
height: 51rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .wo_de_qia_pai_shu_liang_huang_7 .qia_pai_shu_liang_huang_8 {
width: 16rpx;
height: 27rpx;
opacity: 1;
left: 18rpx;
top: 11rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #ffd801;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .wo_de_qia_pai_shu_liang_hui_4 {
width: 51rpx;
height: 50rpx;
opacity: 1;
left: 208rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .wo_de_qia_pai_shu_liang_hui_4 .wo_de_qia_pai_shu_liang_bei_jing_hui_6 {
width: 51rpx;
height: 50rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_wo_de_qia_pian_2 .wo_de_qia_pai_3 .wo_de_qia_pai_shu_liang_hui_4 .qia_pai_shu_liang_hui_5 {
width: 18rpx;
height: 27rpx;
opacity: 1;
left: 17rpx;
top: 11rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx;
color: #d4d4d4;
}
.wo_de_qia_pai .wo_de_qia_pai_ye_321 .wo_de_qia_pai_ye_fan_hui_an_niu_1 {
width: 54rpx;
height: 54rpx;
opacity: 1;
left: 17rpx;
top: 226rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
<view class="wo_de_qia_pai ">
<view class="wo_de_qia_pai_ye_321 ">
<image class="bei_jing_15 " src={{resList['6dd68f2c-4a65-4107-92f2-29464c469803'].url}} />
<view class="wo_de_qia_pai_ye_wo_de_qia_pian_2 ">
<view class="wo_de_qia_pai_3 ">
<image class="hui_di_14 " src={{resList['baba4718-16a8-4a77-a052-53af708bbb21'].url}} />
<image class="di_13 " src={{resList['8b2f6c1d-1fbd-4c64-b9a9-43549adbb472'].url}} />
<image class="hui_an_niu_12 " src={{resList['776b0825-6538-4ea4-8814-50149644f3bc'].url}} />
<image class="an_niu_11 " src={{resList['9d853465-431f-407e-963c-97a0e2ce74da'].url}} />
<image class="qia_pai_10 " src={{resList['e30a641f-f2ee-463c-b3da-55b888b9068a'].url}} />
<view class="wo_de_qia_pai_shu_liang_huang_7 ">
<image class="wo_de_qia_pai_shu_liang_bei_jing_huang_9 " src={{resList['f75d533c-113b-4717-8411-ea37d224a9c0'].url}} />
<span class="qia_pai_shu_liang_huang_8 ">1</span>
</view>
<view class="wo_de_qia_pai_shu_liang_hui_4 ">
<image class="wo_de_qia_pai_shu_liang_bei_jing_hui_6 " src={{resList['da2354dd-25cf-4c6c-b0ea-757fd2aeaa6d'].url}} />
<span class="qia_pai_shu_liang_hui_5 ">0</span>
</view>
</view>
</view>
<image class="wo_de_qia_pai_ye_fan_hui_an_niu_1 " src={{resList['4d74c7bc-4af0-494d-809a-73090d99ff25'].url}} />
</view>
</view>
\ No newline at end of file
'use strict';
import resList from '../../resconfig/resList'; //import API from '../../api';
Page({
data: {},
onLoad(props) {
this.setData({
resList: resList
});
}
});
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
.tbcc-demo-page {
text-align: center;
padding: 60rpx 20rpx 20rpx;
}
.tbcc-demo-page button {
margin-bottom: 10rpx;
}
.tbcc-demo-page .upload-image {
width: 200rpx;
height: 200rpx;
}
.tbcc-demo-page .input-item {
width: 684rpx;
height: 80rpx;
}
.text-risk-item {
margin: 30rpx auto;
}
.tbcc-demo__title {
padding: 20rpx;
font-weight: bold;
font-size: 36rpx;
}
\ No newline at end of file
<view class="tbcc-demo-page">
<view class="tbcc-demo__title">常用tb方法</view>
<button onTap="showCommomToast">弱提示</button>
<button onTap="showCommomConfirm">通用确认弹层</button>
<button onTap="getAuth">获取用户授权</button>
<button onTap="getSystemInfo">获取系统信息</button>
<button onTap="getServerTime">获取系统时间</button>
<button onTap="favorShop">关注店铺(百草味为例需预览)</button>
<button onTap="checkShopFavoredStatus">店铺关注状态(百草味为例需预览)</button>
<button onTap="getUserAddress">获取收货地址(需预览)</button>
<button onTap="collectGoods">收藏商品(iPad Pro为例)</button>
<button onTap="checkGoodsCollectedStatus">商品收藏状态(iPad Pro为例)</button>
<button onTap="openDetail">跳转淘宝商品页(iPad Pro为例)</button>
<button onTap="navigateToOutside">跳转外部链接(需预览)</button>
<button onTap="navigateTo">跳转内部链接(新开窗口)</button>
<button onTap="redirectTo">跳转内部链接(不新开窗口)</button>
<button onTap="uploadImage">选择上传图片</button>
<view a:if="{{uploadImgUrl}}">
<image mode="aspectFit" src="{{uploadImgUrl}}" class="upload-image"></image>
</view>
<button onTap="chattingSendCard">分享到群聊卡片(需预览)</button>
<view class="text-risk-item">
<input type="text" onInput="bindKeyInput" data-name="riskInput" placeholder="请输入校验文本" class="input-item" />
<button onTap="textRiskIdentification">文本风险检测(需预览)</button>
</view>
<view class="tbcc-demo__title">通用API方法</view>
<button onTap="receiveObjectPrize">领取实物奖励</button>
<button onTap="receiveEnamePrize">领取权益奖励</button>
</view>
import API from '../../api';
const app = getApp();
const { tbcc } = app;
const {
commonToast,
simpleAlert,
commonConfirm,
getAuthUserInfo,
getSystemInfo,
getServerTime,
favorShop,
checkShopFavoredStatus,
getUserAddress,
collectGoods,
checkGoodsCollectedStatus,
openDetail,
navigateToOutside,
navigateTo,
redirectTo,
uploadImage,
chattingSendCard,
textRiskIdentification
} = tbcc.tb;
const { dateFormatter, versionCompare } = tbcc.utils;
Page({
data: {
uploadImgUrl: '',
riskInput: ''
},
onLoad() {},
bindKeyInput(e) {
const { value } = e.detail;
const { name } = e.target.dataset;
this.setData({
[name]: value,
});
},
/**
* toast提示
*/
showCommomToast() {
commonToast('tbcc', 3000, () => {
console.log('tbcc toast loaded');
});
},
/**
* confirm弹窗
*/
showCommomConfirm() {
commonConfirm('提示', '内容', () => {
commonToast('保存成功');
});
},
/**
* 获取用户授权信息
*/
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;
simpleAlert(nickName);
}
},
/**
* 获取系统信息
*/
async getSystemInfo() {
const systemInfo = await getSystemInfo().catch(err => {
console.log('获取系统信息失败', err);
});
if (systemInfo) {
console.log('systemInfo', systemInfo);
const { version } = systemInfo;
const compareVersion = '9.8.0';
const isNewVersion = versionCompare(version, compareVersion);
simpleAlert('当前版本:' + version + `${isNewVersion ? '为新版本': '为老版本'}`);
}
},
/**
* 获取系统时间
*/
async getServerTime() {
const severTime = await getServerTime().catch(err => {
console.log('获取系统时间失败', err);
});
simpleAlert('系统时间:' + dateFormatter(severTime, 'yyyy/MM/dd hh:mm:ss'));
},
/**
* 关注店铺
*/
async favorShop() {
const sellerId = 628189716; // 百草味sellerId
const favorStatus = await favorShop(sellerId).catch(err => {
console.log('关注店铺失败', err);
});
commonToast(favorStatus ? '关注成功' : '关注失败');
},
/**
* 查询店铺关注状态
*/
async checkShopFavoredStatus() {
const sellerId = 628189716; // 百草味sellerId
const favoredStatus = await checkShopFavoredStatus(sellerId).catch(err => {
console.log('查询关注店铺状态失败', err);
});
simpleAlert(favoredStatus ? '已关注店铺' : '未关注店铺');
},
/**
* 获取用户收货地址
*/
async getUserAddress() {
const userAddress = await getUserAddress().catch(err => {
commonToast(err.errorMessage);
});
if (userAddress) {
console.log('userAddress', userAddress);
const { name, phone, address } = userAddress.duibaAddress;
commonConfirm('提示', '确认使用该收货地址:' + name + phone + address, () => {
// TODO 保存接口
commonToast('保存成功');
});
}
},
/**
* 收藏商品
*/
async collectGoods() {
const itemId = 622499363381; // iPad Pro 为例
const collectGoodsStatus = await collectGoods(itemId).catch(err => {
console.log('收藏商品失败', err);
});
commonToast(collectGoodsStatus ? '收藏商品成功' : '收藏商品失败');
},
/**
* 收藏商品
*/
async checkGoodsCollectedStatus() {
const itemId = 622499363381; // iPad Pro 为例
const goodscollectedStatus = await checkGoodsCollectedStatus(itemId).catch(err => {
console.log('查询商品收场状态失败', err);
});
simpleAlert(goodscollectedStatus ? '商品已收藏' : '商品未收藏');
},
/**
* 跳转到淘宝商品页
*/
async openDetail() {
const itemId = '622499363381'; // iPad Pro 为例
await openDetail(itemId).catch(err => {
console.log('打开淘宝商品页失败', err);
});
},
/**
* 跳转到外部链接
*/
navigateToOutside() {
const url = 'https://www.tmall.com';
navigateToOutside(url);
},
/**
* 跳转到小程序内部链接(新开窗口)
*/
navigateTo() {
const url = '/pages/index/index';
navigateTo(url);
},
/**
* 跳转到小程序内部链接(不新开窗口)
*/
redirectTo() {
const url = '/pages/index/index';
redirectTo(url);
},
/**
* 选择上传图片
*/
async uploadImage() {
const uploadImageResultUrl = await uploadImage().catch(err => {
commonToast(err && (err.errorMessage || '上传图片失败'));
});
if (uploadImageResultUrl) {
this.setData({
uploadImgUrl: uploadImageResultUrl
});
}
},
/**
* 分享到群聊卡片
*/
async chattingSendCard() {
// 测试请求参数(格式示例)
const requestInfo = {
"biz_ext_map": "{\"activityId\":\"028fe748-9413-4df1-ad15-7d21d9ca16c9\",\"shareId\":\"AAGrFC1BALWl0Axwb3svqUyd\"}",
"card_template_id": 1588754547060,
"group_id": "0_G_2207623078795_1591670473134",
"weex_data_json": "{\"url\":\"https://m.duanqu.com?_ariver_appid=3000000005188064&nbsv=0.1.2007151634.12&nbsource=debug&nbsn=DEBUG&_mp_code=tb&query=activityId%3D028fe748-9413-4df1-ad15-7d21d9ca16c9%26groupId%3D0_G_2207623078795_1591670473134%26shareId%3DAAGrFC1BALWl0Axwb3svqUyd\",\"act_title\":\"一起出道赢大奖\",\"share\":\"@pilee0827 多度\",\"picture3\":\"https://yun.duiba.com.cn/upload/ltuwhbf39x.jpg\"}",
"message_id": "5f0fcdfeef507182be6c2247",
"app_secret": "appSecret",
"app_code": "30123678"
};
const messageResult = await chattingSendCard(requestInfo).catch(err => {
commonToast(err && err.errorMessage);
});
if (messageResult) {
const { result: { value, success } } = messageResult;
commonToast(value && success ? '分享到群聊成功' : '分享到群聊失败');
}
},
/**
* 文本风险校验
*/
async textRiskIdentification() {
const { riskInput } = this.data;
const success = await textRiskIdentification(riskInput).catch(err => {
console.log(err);
});
simpleAlert(`检测文本"${riskInput}",校验结果${success ? '通过' : '不通过'}`);
},
/**
* 领取实物奖励
*/
async receiveObjectPrize() {
const _id = '123'; // 测试奖品ID
const success = await API.fn.receiveObjectPrize({ _id });
if (success) {
commonToast('保存成功');
}
},
/**
* 领取权益奖励
*/
async receiveEnamePrize() {
const _id = '123'; // 测试奖品ID
const success = await API.fn.receiveEnamePrize({ _id });
if (success) {
commonToast('领取成功');
}
}
});
const resList = { const resList = {
'7d24398f-622f-4f20-9d7e-2d7237d7bc6b': { '9a441973-a87c-4723-a797-1d18622ba791': {
name: 'task_bg', name: '背景m',
ext: '.png', ext: '.png',
uuid: '7d24398f-622f-4f20-9d7e-2d7237d7bc6b', uuid: '9a441973-a87c-4723-a797-1d18622ba791',
url: '//yun.duiba.com.cn/spark/assets/2496ec79630fa723bd4ee3768f1089c894c0e781.png' url: '//yun.duiba.com.cn/spark/assets/bd40dc26018211c59d937ad8e1ddd7ae1de09db6.png',
}, },
'33778cbf-8c4f-4d6f-a8e8-9ebc6f0c5cd0': { '1f29c5f6-3252-464f-814d-507f6e65536e': {
name: 'task_close', name: '转盘',
ext: '.png', ext: '.png',
uuid: '33778cbf-8c4f-4d6f-a8e8-9ebc6f0c5cd0', uuid: '1f29c5f6-3252-464f-814d-507f6e65536e',
url: '//yun.duiba.com.cn/spark/assets/365b58d675f15a2da5b01bbcb359376522a42f87.png' url: '//yun.duiba.com.cn/spark/assets/538518c762a447e1a715d17d83e6e0d9f0128ee8.png',
}, },
'b44bac8c-652f-496d-9bc1-165e30d71b02': { 'd28cb7a9-c1e9-4024-b2c5-24a302e5d139': {
name: 'task_itembg', name: '上m15',
ext: '.png', ext: '.png',
uuid: 'b44bac8c-652f-496d-9bc1-165e30d71b02', uuid: 'd28cb7a9-c1e9-4024-b2c5-24a302e5d139',
url: '//yun.duiba.com.cn/spark/assets/daff3974526eeb55e9ccb079541a88171eac1974.png' url: '//yun.duiba.com.cn/spark/assets/330e42a7783ac2c5057f3c8f7e8455df9900d453.png',
}, },
'b9f1cc3f-4620-44d8-85ae-187be0745ace': { '467f8042-27bd-4579-aa4a-5b7e5c4b4323': {
name: 'task_receivebtn', name: '云m',
ext: '.png', ext: '.png',
uuid: 'b9f1cc3f-4620-44d8-85ae-187be0745ace', uuid: '467f8042-27bd-4579-aa4a-5b7e5c4b4323',
url: '//yun.duiba.com.cn/spark/assets/58527ff02cd996f196deade9cf46ed252e2791f6.png' url: '//yun.duiba.com.cn/spark/assets/e60a2237a406c1fe998f74128fc5df83326a85b5.png',
}, },
'b9f1cc3f-4620-44d8-85ae-187be0745ace-sign': { '4b6a73a1-9e03-4ed6-9f37-4353f4eb715d': {
name: 'task_receivebtn', name: '牌5m',
ext: '.png', ext: '.png',
uuid: 'b9f1cc3f-4620-44d8-85ae-187be0745ace-sign', uuid: '4b6a73a1-9e03-4ed6-9f37-4353f4eb715d',
url: '//yun.duiba.com.cn/aurora/assets/83ee636c40fe4437e632b8ce1197afbb47123edf.png' url: '//yun.duiba.com.cn/spark/assets/9e87767c2b1a2532e0241ee9a2b2aa6491822b52.png',
}, },
'9ee176ed-5204-4524-97f9-bf17ee698aa8': { 'aefe5049-0ec7-4978-9f99-61520c6aa546': {
name: 'task_gobtn', name: '牌4m',
ext: '.png', ext: '.png',
uuid: '9ee176ed-5204-4524-97f9-bf17ee698aa8', uuid: 'aefe5049-0ec7-4978-9f99-61520c6aa546',
url: '//yun.duiba.com.cn/spark/assets/f33d667af53b09f154259c209fc0c41454dfca8a.png' url: '//yun.duiba.com.cn/spark/assets/8c48ba9f728c388728ac2998479cb9fce7300ebb.png',
}, },
'9ee176ed-5204-4524-97f9-bf17ee698aa8-sign': { '582957e3-5fb8-4079-a2a3-78e40bb8950b': {
name: 'task_gobtn', name: '牌3m',
ext: '.png', ext: '.png',
uuid: '9ee176ed-5204-4524-97f9-bf17ee698aa8-sign', uuid: '582957e3-5fb8-4079-a2a3-78e40bb8950b',
url: '//yun.duiba.com.cn/aurora/assets/83ee636c40fe4437e632b8ce1197afbb47123edf.png' url: '//yun.duiba.com.cn/spark/assets/0500bfcbafb1562ea0b048fced0bf6d7b2cfe894.png',
}, },
'9ee176ed-5204-4524-97f9-bf17ee698aa8-follow': { 'beb35066-2901-44e7-a8ec-9c4a46a2d972': {
name: 'task_gobtn', name: '牌2m',
ext: '.png', ext: '.png',
uuid: '9ee176ed-5204-4524-97f9-bf17ee698aa8-follow', uuid: 'beb35066-2901-44e7-a8ec-9c4a46a2d972',
url: '//yun.duiba.com.cn/aurora/assets/b30cdc10518b7cbd68875e1a5ec8b5db4d6458cc.png' url: '//yun.duiba.com.cn/spark/assets/91c2786743133e978697943c60df488fad47e31f.png',
}, },
'9ee176ed-5204-4524-97f9-bf17ee698aa8-browseGoods': { 'a00a69b3-130e-438c-bfb4-e283b553c499': {
name: 'task_gobtn', name: '牌m',
ext: '.png', ext: '.png',
uuid: '9ee176ed-5204-4524-97f9-bf17ee698aa8-browseGoods', uuid: 'a00a69b3-130e-438c-bfb4-e283b553c499',
url: '//yun.duiba.com.cn/aurora/assets/50886651a4b369800cad1e9b958b9edc86150533.png' url: '//yun.duiba.com.cn/spark/assets/0ca1301d5eac4c98225e1b5c9e373d290b3e2641.png',
}, },
'9ee176ed-5204-4524-97f9-bf17ee698aa8-invites': { '26336845-54c5-4a6f-a97e-f3f13d3fef27': {
name: 'task_gobtn', name: '签到',
ext: '.png', ext: '.png',
uuid: '9ee176ed-5204-4524-97f9-bf17ee698aa8-invites', uuid: '26336845-54c5-4a6f-a97e-f3f13d3fef27',
url: '//yun.duiba.com.cn/aurora/assets/76116db5fc5039831f3e266f9b9d1d8e5c0ece7b.png' url: '//yun.duiba.com.cn/spark/assets/2a2c8ae49213782aefa252ebbba0e7563700baab.png',
}, },
'0e0684af-21c7-48e2-9114-8599c1de33f1': { 'a2bdbf64-229d-46a1-89df-43b3537ab255': {
name: 'task_disabedbtn', name: '点亮m14',
ext: '.png', ext: '.png',
uuid: '0e0684af-21c7-48e2-9114-8599c1de33f1', uuid: 'a2bdbf64-229d-46a1-89df-43b3537ab255',
url: '//yun.duiba.com.cn/spark/assets/2ef2430ab9ec9d0bde4bc1e12f396456578cf3f7.png' url: '//yun.duiba.com.cn/spark/assets/410725a5daa7c65c65c83f8413921ace983c64e4.png',
}, },
'0e0684af-21c7-48e2-9114-8599c1de33f1-follow': { 'cbed0e02-fb26-4b19-a121-8b7d24310652': {
name: 'task_disabedbtn_follow', name: '底m13',
ext: '.png', ext: '.png',
uuid: '0e0684af-21c7-48e2-9114-8599c1de33f1-follow', uuid: 'cbed0e02-fb26-4b19-a121-8b7d24310652',
url: '//yun.duiba.com.cn/aurora/assets/70da64eedbc8b631e546185950cca481f775edea.png' url: '//yun.duiba.com.cn/spark/assets/3a2614736d0b029e2b0e7a564904810ebfe37002.png',
}, },
'ca4c78b3-caf5-435b-ba32-f187f24d1795': { 'ba1b637e-d3e6-444d-b065-f1793f1ed520': {
name: 'task_sginicon', name: '福利置灰m',
ext: '.png', ext: '.png',
uuid: 'ca4c78b3-caf5-435b-ba32-f187f24d1795', uuid: 'ba1b637e-d3e6-444d-b065-f1793f1ed520',
url: '//yun.duiba.com.cn/spark/assets/42fa2493af07abbeb8d4630e2d5527f504bf1000.png' url: '//yun.duiba.com.cn/spark/assets/8699f4adf01558a71580cb4d4a55f7920dcd8280.png',
}, },
'61cf4c2c-54e4-4cde-aa16-78ee5d17ab06': { '111beab6-495a-49ab-9802-757ef04da86a': {
name: 'task_inviteicon', name: '底m11',
ext: '.png', ext: '.png',
uuid: '61cf4c2c-54e4-4cde-aa16-78ee5d17ab06', uuid: '111beab6-495a-49ab-9802-757ef04da86a',
url: '//yun.duiba.com.cn/spark/assets/47eae016fe3e9e31f63b8c60324f33114e009117.png' url: '//yun.duiba.com.cn/spark/assets/b57b1385da11f11eea4ec0740c462a4dc57dc085.png',
}, },
'7f6ab236c2c0d17c38f1bfb5260d258ebf1cb630': { '416ab4f7-4021-4a1c-be41-a48b6cfa8a3d': {
name: 'task_followicon', name: '点亮m9',
ext: '.png', ext: '.png',
uuid: '7f6ab236c2c0d17c38f1bfb5260d258ebf1cb630', uuid: '416ab4f7-4021-4a1c-be41-a48b6cfa8a3d',
url: '//yun.duiba.com.cn/aurora/assets/7f6ab236c2c0d17c38f1bfb5260d258ebf1cb630.png' url: '//yun.duiba.com.cn/spark/assets/d4c65fbb1bdb13b776b2b0dbf891f47c1520cf48.png',
}, },
'91ef2cf1a80e41f9eeed67259f8e57ae5783afa6': { '9bf3875b-78f1-4dd0-b04d-5f565b6e20b8': {
name: 'task_readicon', name: '置灰m',
ext: '.png', ext: '.png',
uuid: '91ef2cf1a80e41f9eeed67259f8e57ae5783afa6', uuid: '9bf3875b-78f1-4dd0-b04d-5f565b6e20b8',
url: '//yun.duiba.com.cn/aurora/assets/91ef2cf1a80e41f9eeed67259f8e57ae5783afa6.png' url: '//yun.duiba.com.cn/spark/assets/a9fdaa6612a2ae6a33d21ff2066b93823a7213d1.png',
}, },
'dedb0c42-9d35-4c45-816f-6ca32e1448a9': {
name: '下m',
'65d97f17-4b35-4ba7-b21b-7ec0bfac6639': {
name: 'exchanged_bg',
ext: '.png', ext: '.png',
uuid: '65d97f17-4b35-4ba7-b21b-7ec0bfac6639', uuid: 'dedb0c42-9d35-4c45-816f-6ca32e1448a9',
url: '//yun.duiba.com.cn/spark/assets/a41d27b9305ec1a4ee6c94837400fd1393e5fd31.png' url: '//yun.duiba.com.cn/spark/assets/f429f954172b258f7c5f92428a53fa0a6ed98178.png',
}, },
'e0ce2abf-64d3-40f3-a016-c7fb7772b3f6': { '87212c92-46ad-4dba-8e58-c7d9aeacb26c': {
name: 'exchanged_imgbg', name: '椭圆3040',
ext: '.png', ext: '.png',
uuid: 'e0ce2abf-64d3-40f3-a016-c7fb7772b3f6', uuid: '87212c92-46ad-4dba-8e58-c7d9aeacb26c',
url: '//yun.duiba.com.cn/spark/assets/adbbe665822e7e67c405ee5a62b56859521ab715.png' url: '//yun.duiba.com.cn/spark/assets/d4986e29f855e10470c92691845d531c6421e339.png',
}, },
'06f8e9d0-f0bf-41d3-bbc2-8a782eacae59': { '5d8bf336-cef9-4f9f-8824-6d40e64c673e': {
name: 'exchanged_close', name: '礼盒点亮m',
ext: '.png', ext: '.png',
uuid: '06f8e9d0-f0bf-41d3-bbc2-8a782eacae59', uuid: '5d8bf336-cef9-4f9f-8824-6d40e64c673e',
url: '//yun.duiba.com.cn/spark/assets/2b22fec0227db9f7df6ee42e5161939aa4f9a06f.png' url: '//yun.duiba.com.cn/spark/assets/904dd150ebf738a5c92f28187a2a246ac53a7c69.png',
}, },
'923ae629-84ed-406d-b3cb-258742ffa2ba': { '9dbbe0b5-a157-40f0-8d13-9f8165e57246': {
name: 'exchanged_btn', name: '礼盒置灰m',
ext: '.png', ext: '.png',
uuid: '923ae629-84ed-406d-b3cb-258742ffa2ba', uuid: '9dbbe0b5-a157-40f0-8d13-9f8165e57246',
url: '//yun.duiba.com.cn/spark/assets/5193855f40ff72dea9f48022083a6a35240b6dc6.png' url: '//yun.duiba.com.cn/spark/assets/635dc271d8a00b950560a44411a5c9eaeb03d110.png',
}, },
'0f9fe800-6f3a-4a3d-a76c-93378a58e261': {
name: '底m5',
'0c446868-16d2-47f1-a0d6-27dadff681f2': {
name: 'message_bg',
ext: '.png', ext: '.png',
uuid: '0c446868-16d2-47f1-a0d6-27dadff681f2', uuid: '0f9fe800-6f3a-4a3d-a76c-93378a58e261',
url: '//yun.duiba.com.cn/spark/assets/3b954e2265924a7fd5250a5b2b48627360a0b905.png' url: '//yun.duiba.com.cn/spark/assets/5644e1ed02ec71b370a869c4bfe09e7e246d8f83.png',
}, },
'ed31e83e-535d-45bf-ba5b-20827a4cd104': { 'ddece383-122a-4ed6-b035-dc695987650d': {
name: 'catMessageBg', name: '新手礼m',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/catMessageBg.da96302fead094c1d868dc0edc62f9c3e4085472.png', uuid: 'ddece383-122a-4ed6-b035-dc695987650d',
uuid: 'ed31e83e-535d-45bf-ba5b-20827a4cd104' url: '//yun.duiba.com.cn/spark/assets/fb89c7888ecb30a34f2d80603013457cafebb57c.png',
}, },
'3ad6a924-dda8-49f4-b8fc-0e796347e802': { '1f2538c3-c2fb-4792-9c6d-7cd756ed64ba': {
name: 'message_btn', name: '按钮m',
ext: '.png', ext: '.png',
uuid: '3ad6a924-dda8-49f4-b8fc-0e796347e802', uuid: '1f2538c3-c2fb-4792-9c6d-7cd756ed64ba',
url: '//yun.duiba.com.cn/spark/assets/2b22fec0227db9f7df6ee42e5161939aa4f9a06f.png' url: '//yun.duiba.com.cn/spark/assets/92cf1e2d5c9aa30a0a474ef428c502fc21810e7c.png',
}, },
'5488b126-f520-496f-ace6-010a89eb108f': { 'c7838e10-23c7-4127-b5c6-c137c88aa26e': {
name: 'message_closebtn', name: '底m4',
ext: '.png', ext: '.png',
uuid: '5488b126-f520-496f-ace6-010a89eb108f', uuid: 'c7838e10-23c7-4127-b5c6-c137c88aa26e',
url: '//yun.duiba.com.cn/spark/assets/23ede9d65dea3267e4f46ca010c593e5a825f3e9.png' url: '//yun.duiba.com.cn/spark/assets/42377329353e2d5ec0010c133213badd7be56784.png',
}, },
'56a14158-6000-4af4-85ec-d664ac69e769': {
name: '底m3',
'a158cbff-9dcd-49df-bb91-16213d58036e': {
name: 'levelup_light',
ext: '.png', ext: '.png',
uuid: 'a158cbff-9dcd-49df-bb91-16213d58036e', uuid: '56a14158-6000-4af4-85ec-d664ac69e769',
url: '//yun.duiba.com.cn/spark/assets/87bdbe797ad68e59540e0f5ab3984b6b7e79894d.png' url: '//yun.duiba.com.cn/spark/assets/f7d6eee94455c560b45ec41b4eda9ace915945cc.png',
}, },
'b027d194-0fad-45ea-8b1c-3502f7869d2d': { '6339ed53-138d-44ff-944a-ba6999851277': {
name: 'levelup_bg', name: '底m2',
ext: '.png', ext: '.png',
uuid: 'b027d194-0fad-45ea-8b1c-3502f7869d2d', uuid: '6339ed53-138d-44ff-944a-ba6999851277',
url: '//yun.duiba.com.cn/spark/assets/2b70fadb540ea098ab1305551d4fdc4d96b050ed.png' url: '//yun.duiba.com.cn/spark/assets/506fbce48498f472b46afe18dde69a36d13c5d4f.png',
}, },
'd33bbf87-ed39-4959-8673-02a4c31dca77': { '3c94c72e-6ac6-428b-bc09-bfd271a26fb3': {
name: 'levelup_closebtn', name: '椭圆546',
ext: '.png', ext: '.png',
uuid: 'd33bbf87-ed39-4959-8673-02a4c31dca77', uuid: '3c94c72e-6ac6-428b-bc09-bfd271a26fb3',
url: '//yun.duiba.com.cn/spark/assets/2b22fec0227db9f7df6ee42e5161939aa4f9a06f.png' url: '//yun.duiba.com.cn/spark/assets/d48cba2f073a1140711a01eb669c8afa86e74d21.png',
}, },
'f88dfc75-c9f1-4e9d-8826-8a1d0e513259': { 'abc5f112-fa04-42fa-bfec-f633567807c8': {
name: 'levelup_bg2', name: '活动规则m',
ext: '.png', ext: '.png',
uuid: 'f88dfc75-c9f1-4e9d-8826-8a1d0e513259', uuid: 'abc5f112-fa04-42fa-bfec-f633567807c8',
url: '//yun.duiba.com.cn/spark/assets/3626273026f000df09d73b2b37a92aca68ed7feb.png' url: '//yun.duiba.com.cn/spark/assets/acb8ecf050630f74b203313fa3bbc7c83992ecf8.png',
}, },
'69bff61a-b5a6-4979-ba8d-9e008aed737a': { '5a6679e0-89f7-4582-a89b-116a35e9750a': {
name: 'levelup_title', name: '奖品m',
ext: '.png', ext: '.png',
uuid: '69bff61a-b5a6-4979-ba8d-9e008aed737a', uuid: '5a6679e0-89f7-4582-a89b-116a35e9750a',
url: '//yun.duiba.com.cn/spark/assets/f88ebf9dad3fb309575d72f91ab0a8704291574f.png' url: '//yun.duiba.com.cn/spark/assets/d2284693762678d1a7bd94dc4307f57abceb0b46.png',
}, },
'f56872e2-5e79-4906-99a2-576231f153af': { '32da4042-3a54-409d-90ef-cb8320f41622': {
name: 'levelup_imgbg', name: '底m109',
ext: '.png', ext: '.png',
uuid: 'f56872e2-5e79-4906-99a2-576231f153af', uuid: '32da4042-3a54-409d-90ef-cb8320f41622',
url: '//yun.duiba.com.cn/spark/assets/adbbe665822e7e67c405ee5a62b56859521ab715.png' url: '//yun.duiba.com.cn/spark/assets/2e12f6a66baddeaf9beeab249ce8de7d7f074162.png',
}, },
'95520b55-9655-4988-a833-3907978dbffb': { 'fd0c8bee-3d1d-4042-a326-84483c175dad': {
name: 'levelup_btn', name: '按钮m108',
ext: '.png', ext: '.png',
uuid: '95520b55-9655-4988-a833-3907978dbffb', uuid: 'fd0c8bee-3d1d-4042-a326-84483c175dad',
url: '//yun.duiba.com.cn/spark/assets/5193855f40ff72dea9f48022083a6a35240b6dc6.png' url: '//yun.duiba.com.cn/spark/assets/17a260c2a4ccc85f7d0661244f0f282f50e624a7.png',
}, },
'878b3751-e6b3-4ae6-9811-77e938801873': {
name: '关闭m107',
'137b39ef-0c25-4991-a57e-0308daaec2dd': {
name: 'levelup_light',
ext: '.png', ext: '.png',
uuid: '137b39ef-0c25-4991-a57e-0308daaec2dd', uuid: '878b3751-e6b3-4ae6-9811-77e938801873',
url: '//yun.duiba.com.cn/spark/assets/0928fc8aa144851335f0588f4418df0a12f4e232.png' url: '//yun.duiba.com.cn/spark/assets/543380a479d6df9b84cf4dc03ce05bdf14c01420.png',
}, },
'bca418af-89d1-4fe0-90a8-ae8581ad328c': { '11de08fa-6456-4123-8aba-ef9b3d980eb5': {
name: 'levelup_bg', name: '底m106',
ext: '.png', ext: '.png',
uuid: 'bca418af-89d1-4fe0-90a8-ae8581ad328c', uuid: '11de08fa-6456-4123-8aba-ef9b3d980eb5',
url: '//yun.duiba.com.cn/spark/assets/2b70fadb540ea098ab1305551d4fdc4d96b050ed.png' url: '//yun.duiba.com.cn/spark/assets/f96408e558cd49f617fdf7fa8e3f38bc32087dda.png',
}, },
'c2adf081-7720-4814-ad9e-e28d13522ee0': { '3b7870b4-578d-4781-9a56-58916f02c376': {
name: 'levelup_closebtn', name: '按钮m105',
ext: '.png', ext: '.png',
uuid: 'c2adf081-7720-4814-ad9e-e28d13522ee0', uuid: '3b7870b4-578d-4781-9a56-58916f02c376',
url: '//yun.duiba.com.cn/spark/assets/2b22fec0227db9f7df6ee42e5161939aa4f9a06f.png' url: '//yun.duiba.com.cn/spark/assets/0173318e65804512ea79a1b561488700c54f7a37.png',
}, },
'9de58772-9830-4e72-aba8-b07802266b5d': { '17952009-08e1-4439-b51f-3e4e1e66333f': {
name: 'levelup_bg2', name: '关闭m104',
ext: '.png', ext: '.png',
uuid: '9de58772-9830-4e72-aba8-b07802266b5d', uuid: '17952009-08e1-4439-b51f-3e4e1e66333f',
url: '//yun.duiba.com.cn/spark/assets/3626273026f000df09d73b2b37a92aca68ed7feb.png' url: '//yun.duiba.com.cn/spark/assets/7cbe1e9edc93e0d07e661e81ddc8ef5ac24724ef.png',
}, },
'be93e436-d2eb-4c29-922c-577810ed6571': { '76a9cc41-7074-45cc-ab2f-c5dd47e07058': {
name: 'levelup_title', name: '底m97',
ext: '.png', ext: '.png',
uuid: 'be93e436-d2eb-4c29-922c-577810ed6571', uuid: '76a9cc41-7074-45cc-ab2f-c5dd47e07058',
url: '//yun.duiba.com.cn/spark/assets/f88ebf9dad3fb309575d72f91ab0a8704291574f.png' url: '//yun.duiba.com.cn/spark/assets/5d378c37c56702a82720f980d92d3bc829a2d77e.png',
}, },
'b1c40894-4d50-45e6-8fc8-118ef6d9d598': { 'd1ef5d28-4bb0-4e36-b4cd-f03032b5c15e': {
name: 'levelup_imgbg', name: '按钮m96',
ext: '.png', ext: '.png',
uuid: 'b1c40894-4d50-45e6-8fc8-118ef6d9d598', uuid: 'd1ef5d28-4bb0-4e36-b4cd-f03032b5c15e',
url: '//yun.duiba.com.cn/spark/assets/adbbe665822e7e67c405ee5a62b56859521ab715.png' url: '//yun.duiba.com.cn/spark/assets/02fb417e35321323f589d8d9541b237c4a8f172e.png',
}, },
'8da5fe13-41a3-4b5b-b079-938e0c7eef5a': { '944dc7c0-cd64-4901-a9aa-e85f3d8e97a8': {
name: 'levelup_btn', name: '奖品图93',
ext: '.png', ext: '.png',
uuid: '8da5fe13-41a3-4b5b-b079-938e0c7eef5a', uuid: '944dc7c0-cd64-4901-a9aa-e85f3d8e97a8',
url: '//yun.duiba.com.cn/spark/assets/5193855f40ff72dea9f48022083a6a35240b6dc6.png' url: '//yun.duiba.com.cn/spark/assets/52c971c43993d05a54470b66abd7e339b605f27a.png',
}, },
'12e4a261-7106-4bec-b9e9-6df026fcd440': {
name: '底m91',
'da6bc001-768a-4b1c-95af-a9a8853ef6f9': {
name: 'shopbg',
ext: '.png', ext: '.png',
uuid: 'da6bc001-768a-4b1c-95af-a9a8853ef6f9', uuid: '12e4a261-7106-4bec-b9e9-6df026fcd440',
url: '//yun.duiba.com.cn/spark/assets/6a461b8ff4f9b24bc90fe9e17dc3391dbfd420e6.png' url: '//yun.duiba.com.cn/spark/assets/fcf1059a4b8ae58ebf9b3b957d430a64da19c2e7.png',
}, },
'a5230993-3870-4a91-bdd1-ffc4782770d0': { '27a7f1d2-f272-4f12-8ff5-2cde96d149fd': {
name: 'shopitem_bg2', name: '按钮m90',
ext: '.png', ext: '.png',
uuid: 'a5230993-3870-4a91-bdd1-ffc4782770d0', uuid: '27a7f1d2-f272-4f12-8ff5-2cde96d149fd',
url: '//yun.duiba.com.cn/spark/assets/e1a7446456bb22488dcc42bb94a3961c470cf442.png' url: '//yun.duiba.com.cn/spark/assets/3632b430db85c512b66a4fdc5346c9a1ba0a1e16.png',
}, },
'dd4ee407-16e4-4cb7-9eba-365b33f466a3': { 'c22d4fcc-ebd6-463b-82d7-fb5b872b79da': {
name: 'shopitem_bg1', name: '底m85',
ext: '.png', ext: '.png',
uuid: 'dd4ee407-16e4-4cb7-9eba-365b33f466a3', uuid: 'c22d4fcc-ebd6-463b-82d7-fb5b872b79da',
url: '//yun.duiba.com.cn/spark/assets/f90a0b8ea796bfeb62e7e9e3e9bdb3352f0141be.png' url: '//yun.duiba.com.cn/spark/assets/02fc477202ffe6778ab7b1ca9831e80b9684502c.png',
}, },
'8d08152f-311a-446a-a15a-ff02ebed0139': { 'cedeaa81-51f0-488f-a1de-92d14c84cffc': {
name: 'shopitem_disabledBtn', name: '按钮m84',
ext: '.png', ext: '.png',
uuid: '8d08152f-311a-446a-a15a-ff02ebed0139', uuid: 'cedeaa81-51f0-488f-a1de-92d14c84cffc',
url: '//yun.duiba.com.cn/spark/assets/f2a7998fe41e2645e019d30ee9605c5dadb024c5.png' url: '//yun.duiba.com.cn/spark/assets/a733a1e1657ca28cda4b1d56344c4491f8c4a4fd.png',
}, },
'dd8ea96e-e33f-4f5d-b31f-29f332c3c867': { '111c9125-e420-4da8-8a2a-ece402a8407d': {
name: 'shopitem_buybtn', name: '底m81',
ext: '.png', ext: '.png',
uuid: 'dd8ea96e-e33f-4f5d-b31f-29f332c3c867', uuid: '111c9125-e420-4da8-8a2a-ece402a8407d',
url: '//yun.duiba.com.cn/spark/assets/7a18d8117c5fed8975ebc31d60771c52bb1f1f8d.png' url: '//yun.duiba.com.cn/spark/assets/1c53efd8881f8be30ccf3c59c60b6a16d8a0ea61.png',
}, },
'bdab9777-8a4d-4659-ba23-66aaddb7fa5b': { '464252af-98b7-4451-8331-b3d5f9be3a5d': {
name: 'shop_backbtn', name: '按钮m79',
ext: '.png', ext: '.png',
uuid: 'bdab9777-8a4d-4659-ba23-66aaddb7fa5b', uuid: '464252af-98b7-4451-8331-b3d5f9be3a5d',
url: '//yun.duiba.com.cn/spark/assets/368892ca025f9fc6100cc5e7da22675a814db39f.png' url: '//yun.duiba.com.cn/spark/assets/76885ac1d11531ff4cfd266e65ec95a3c0ed0e76.png',
}, },
'3c6dd474-9224-4776-96ae-ed0cc94ba7d7': {
name: '按钮m74',
'02183198-f4da-4ac2-8bf3-d6b7a07d3279': {
name: '底18',
ext: '.png', ext: '.png',
uuid: '02183198-f4da-4ac2-8bf3-d6b7a07d3279', uuid: '3c6dd474-9224-4776-96ae-ed0cc94ba7d7',
url: '//yun.duiba.com.cn/spark/assets/38c8d93cf305d0b4c9ec17aaa7aaca754ac7c33b.png' url: '//yun.duiba.com.cn/spark/assets/9c2c4b9d33d831650b398b44d95a8f9f6d0a42a7.png',
}, },
'95a6b0a9-3e7a-4a0b-82b6-6742e2a8bddf': { 'c83cb68d-c685-4a21-987d-f374d903c006': {
name: '脸17', name: '按钮m65',
ext: '.png', ext: '.png',
uuid: '95a6b0a9-3e7a-4a0b-82b6-6742e2a8bddf', uuid: 'c83cb68d-c685-4a21-987d-f374d903c006',
url: '//yun.duiba.com.cn/spark/assets/ef2d52a9b45b94e4166b27df2bb381648453d9aa.png' url: '//yun.duiba.com.cn/spark/assets/fc49141988b3df6c85d9a38fcf9eedc6b81e6a30.png',
}, },
'fe52ffae-fadd-40f3-97b5-d3d56fd04781': { '71cc94bd-5822-4f37-9824-94634cceacfe': {
name: '脸13', name: '小标题64',
ext: '.png', ext: '.png',
uuid: 'fe52ffae-fadd-40f3-97b5-d3d56fd04781', uuid: '71cc94bd-5822-4f37-9824-94634cceacfe',
url: '//yun.duiba.com.cn/spark/assets/643a3ebab02f202846efc2488ffd5c99252a210f.png' url: '//yun.duiba.com.cn/spark/assets/d3448c1a7f17e795aa987557e1400ecb5857b231.png',
}, },
'193f6955-d754-4b9f-80ca-b9b9a72e8a8b': { '4d109fea-6c5b-457a-af9a-1630f3d9d6a1': {
name: '脸9', name: '卡牌63',
ext: '.png', ext: '.png',
uuid: '193f6955-d754-4b9f-80ca-b9b9a72e8a8b', uuid: '4d109fea-6c5b-457a-af9a-1630f3d9d6a1',
url: '//yun.duiba.com.cn/spark/assets/b1992c528b36c2d26942e9c83941242e59481475.png' url: '//yun.duiba.com.cn/spark/assets/dcf80347d49323a630c5a08f1b96f78e11f50d3c.png',
}, },
'e28e5250-c740-4e4f-a855-c415c557e77e': { 'd9dff4ee-9718-43f2-8197-e752b1a91028': {
name: '脸5', name: '底m56',
ext: '.png', ext: '.png',
uuid: 'e28e5250-c740-4e4f-a855-c415c557e77e', uuid: 'd9dff4ee-9718-43f2-8197-e752b1a91028',
url: '//yun.duiba.com.cn/spark/assets/5e5e85d3745031ccb7004e04a188a3f7a42fbaa0.png' url: '//yun.duiba.com.cn/spark/assets/7bc673864f3ea2ad988debfd33a23ee887d16c91.png',
}, },
'f956cda2-5eef-4942-8737-742d171527bd': { '9d618b16-4a1c-448f-b30d-80996f64e4cb': {
name: '', name: '按钮m55',
ext: '.png', ext: '.png',
uuid: 'f956cda2-5eef-4942-8737-742d171527bd', uuid: '9d618b16-4a1c-448f-b30d-80996f64e4cb',
url: '//yun.duiba.com.cn/spark/assets/b8a22520aeb4c118f3ca52e37ea38961631bbb05.png' url: '//yun.duiba.com.cn/spark/assets/440fb488ea11da3f4af7bccf452d7031595229b5.png',
}, },
'628fc38b-7dc0-4c69-aac1-279d60c8f1ed': { '48d28917-741f-45d4-bcc9-322f29bcf5d8': {
name: '按钮2', name: '按钮m52',
ext: '.png', ext: '.png',
uuid: '628fc38b-7dc0-4c69-aac1-279d60c8f1ed', uuid: '48d28917-741f-45d4-bcc9-322f29bcf5d8',
url: '//yun.duiba.com.cn/spark/assets/248191d2099fd413fcb4ced176942523b65dee87.png' url: '//yun.duiba.com.cn/spark/assets/77c289ad3e718d2a267d968386f4358ee9e70db1.png',
}, },
'db53267d-4141-4d3e-afda-9b523c89be3e': { '8c31274b-1016-4b8c-b413-9fc98174e118': {
name: '选择猫咪背景', name: '底m51',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/选择猫咪背景.380e7b102d2288cfd03900177d662d8f5f38f400.png', uuid: '8c31274b-1016-4b8c-b413-9fc98174e118',
uuid: 'db53267d-4141-4d3e-afda-9b523c89be3e' url: '//yun.duiba.com.cn/spark/assets/3b4687553862d8d3fff1c4f71d16a89bb604a026.png',
}, },
'a47a9645-1d0d-482b-af10-154def15e9f9': {
name: '稀有卡底m50',
'02aacfd1-3347-40a7-8a3a-9f20c1b5706b': {
name: '说话猫30',
ext: '.png', ext: '.png',
uuid: '02aacfd1-3347-40a7-8a3a-9f20c1b5706b', uuid: 'a47a9645-1d0d-482b-af10-154def15e9f9',
url: '//yun.duiba.com.cn/spark/assets/d668bfa5e8f20d360058f1ce301622f028320e8e.png' url: '//yun.duiba.com.cn/spark/assets/99913429cff0ca6a5dd487de2afe96e60e318e09.png',
}, },
'24b7d459-41d6-408c-9829-4768fe38abf5': { '71612c2a-b0dc-463b-82dd-24a427e58ca1': {
name: '底29', name: '卡牌49',
ext: '.png', ext: '.png',
uuid: '24b7d459-41d6-408c-9829-4768fe38abf5', uuid: '71612c2a-b0dc-463b-82dd-24a427e58ca1',
url: '//yun.duiba.com.cn/spark/assets/44e5ec770784008cbde2036987d786ad10179074.png' url: '//yun.duiba.com.cn/spark/assets/7424e84888eaaf983ca7cdb8b653d154d8a92edb.png',
}, },
'97484cf2-5146-4287-b104-ed1f43c71ee0': { 'd7329665-f4f6-42bc-ab46-0af63a0837eb': {
name: '按钮27', name: '圆角矩368847',
ext: '.png', ext: '.png',
uuid: '97484cf2-5146-4287-b104-ed1f43c71ee0', uuid: 'd7329665-f4f6-42bc-ab46-0af63a0837eb',
url: '//yun.duiba.com.cn/spark/assets/ccc2315a56a4886cdffd32311d57583c870963d0.png' url: '//yun.duiba.com.cn/spark/assets/dc7e11481af1aff25c2e15af66d1d75a95174ad6.png',
}, },
'50779aee-069e-4dd9-b2ff-88beda9f43d1': { 'a9da2de9-c1c9-4381-a820-d041e858e1a4': {
name: '底25', name: '底m43',
ext: '.png', ext: '.png',
uuid: '50779aee-069e-4dd9-b2ff-88beda9f43d1', uuid: 'a9da2de9-c1c9-4381-a820-d041e858e1a4',
url: '//yun.duiba.com.cn/spark/assets/5f8647eb5032613a6116f3cefc00d4448e24becc.png' url: '//yun.duiba.com.cn/spark/assets/ac28c1a42102197652e4764b1372306a40ea6af0.png',
}, },
'c7916d41-ea9d-4f8e-b5aa-e2060d6ae265': { 'd4b26426-b671-4658-acf4-94bebb980199': {
name: '按钮23', name: '卡牌42',
ext: '.png', ext: '.png',
uuid: 'c7916d41-ea9d-4f8e-b5aa-e2060d6ae265', uuid: 'd4b26426-b671-4658-acf4-94bebb980199',
url: '//yun.duiba.com.cn/spark/assets/5411d96c77b95fddfd2a42d08d1522d992bff210.png' url: '//yun.duiba.com.cn/spark/assets/528ee60b31fcb3995358af187076756d37ad6a2f.png',
}, },
'947d970f-52bf-4319-82f0-a3e65620ed75': { '855ea4d3-b407-4396-abcb-0eeeff27f6b0': {
name: '底22', name: '底m13312',
ext: '.png', ext: '.png',
uuid: '947d970f-52bf-4319-82f0-a3e65620ed75', uuid: '855ea4d3-b407-4396-abcb-0eeeff27f6b0',
url: '//yun.duiba.com.cn/spark/assets/b29d45b60af4e4daecce521a84896cb4d276e2a5.png' url: '//yun.duiba.com.cn/spark/assets/2f0dd6cb414211b0ec776827235fc886ad85574b.png',
}, },
'2fea2f5b-cd74-4de1-a0cd-d829e1ca8c3a': {
name: '帮他助力按钮m12',
// '90b114e6-83cb-46f1-b607-f88c50077b05': {
// name: 'bluCat',
// ext: '.png',
// url: '//yun.duiba.com.cn/spark/assets/bluCat.57cf00351ffde1985720a877d2e1384390970cd6.png',
// uuid: '90b114e6-83cb-46f1-b607-f88c50077b05'
// },
// '4e471df6-01ab-421d-ba0b-084b2110dc6d': {
// name: 'orengeCat',
// ext: '.png',
// url: '//yun.duiba.com.cn/spark/assets/orengeCat.c664a89d9d7f63895c5460144098a5bac5fc31f5.png',
// uuid: '4e471df6-01ab-421d-ba0b-084b2110dc6d'
// },
// '003e9904-aee4-4b8d-8d5d-fb4b1188bec1': {
// name: 'sanhuaCat',
// ext: '.png',
// url: '//yun.duiba.com.cn/spark/assets/sanhuaCat.b58ed1a3960ecd123ff0b0ff38b9cb8ad44c1b4d.png',
// uuid: '003e9904-aee4-4b8d-8d5d-fb4b1188bec1'
// },
// '90283bd3-4b18-4535-97a8-90318f068781': {
// name: 'xianluoCat',
// ext: '.png',
// url: '//yun.duiba.com.cn/spark/assets/xianluoCat.c28961a75753d2d6ffe788a3ae38e7f3c3937344.png',
// uuid: '90283bd3-4b18-4535-97a8-90318f068781'
// },
'3e6311fd-15ab-4656-bb84-1c49f4ad4ed9': {
name: 'bluCat',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/bluCat.57cf00351ffde1985720a877d2e1384390970cd6.png', uuid: '2fea2f5b-cd74-4de1-a0cd-d829e1ca8c3a',
uuid: '3e6311fd-15ab-4656-bb84-1c49f4ad4ed9' url: '//yun.duiba.com.cn/spark/assets/577898860432eb62a4f37137bb1069b30d13c8c9.png',
}, },
'bbb10ff2-f4fb-43a8-83d8-abbb04949f2d': { '603034bb-2c7d-42c4-9be4-60aea30e0820': {
name: 'orengeCat', name: '底m1131',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/orengeCat.179c6c1a961466d5004f80e3ca7962a44acfb3cd.png', uuid: '603034bb-2c7d-42c4-9be4-60aea30e0820',
uuid: 'bbb10ff2-f4fb-43a8-83d8-abbb04949f2d' url: '//yun.duiba.com.cn/spark/assets/ab124d6bb6ebc6713eca4fade62c56968c772f85.png',
}, },
'9fc6517e-debe-4457-88ef-9c733d5bc072': { 'c6f83af8-a064-426a-bb3c-60d7e9dd1c0b': {
name: 'sanhuaCat', name: '底m9',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/sanhuaCat.f188241d6a2d867b7eb527c60c428ddb2c1b5417.png', uuid: 'c6f83af8-a064-426a-bb3c-60d7e9dd1c0b',
uuid: '9fc6517e-debe-4457-88ef-9c733d5bc072' url: '//yun.duiba.com.cn/spark/assets/161d6a385b8d8e02ab0a0a1fcf4ae001dd9d9512.png',
}, },
'ecb49f23-2e65-4507-8be6-1eee021a3b35': { 'e670f6a8-3dee-493b-a55f-c61229c85cb5': {
name: 'xianluoCat', name: '底m8',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/xianluoCat.982316c7b355e65adee931652158a01db7f0c29e.png', uuid: 'e670f6a8-3dee-493b-a55f-c61229c85cb5',
uuid: 'ecb49f23-2e65-4507-8be6-1eee021a3b35' url: '//yun.duiba.com.cn/spark/assets/867c357779cb92b0326f41662cccf907c5f9329d.png',
}, },
'6ec4da36-beba-4eea-ba56-e5d59c1e77dd': {
name: '图标m',
'40cac443-7998-4c2a-8f9c-38121b2385e3': {
name: 'recallCatBg',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/recallCatBg.adb5325fab0c5387d334fe66dc24c98b5cfb39ca.png', uuid: '6ec4da36-beba-4eea-ba56-e5d59c1e77dd',
uuid: '40cac443-7998-4c2a-8f9c-38121b2385e3' url: '//yun.duiba.com.cn/spark/assets/42532b81ed255b9e6c0f18bc110a109f9d439e95.png',
}, },
'6957d9f3-9aa4-4ed6-9b83-57cc68f16512': { 'befa9414-7e21-4e4a-a4d6-d42324525cd2': {
name: '', name: '去购买m',
ext: '.png', ext: '.png',
uuid: '6957d9f3-9aa4-4ed6-9b83-57cc68f16512', uuid: 'befa9414-7e21-4e4a-a4d6-d42324525cd2',
url: '//yun.duiba.com.cn/spark/assets/dbc32e22d1df97f18aa30e4da22c13d10ee95a9e.png' url: '//yun.duiba.com.cn/spark/assets/2ad2fc3a616c3231efc72ae2135a1dceff5da992.png',
}, },
'6d8cdd11-fbc5-4e84-b5ef-1f74c9070738': { 'f4a40fdc-4ac7-4917-bdca-704ac6e293d6': {
name: '', name: '去完成m',
ext: '.png', ext: '.png',
uuid: '6d8cdd11-fbc5-4e84-b5ef-1f74c9070738', uuid: 'f4a40fdc-4ac7-4917-bdca-704ac6e293d6',
url: '//yun.duiba.com.cn/spark/assets/a55c324b7e8b1560204abe2a60dd1880b2dda47c.png' url: '//yun.duiba.com.cn/spark/assets/4274a62240850ae052e5a740ae14fc22b46cf21a.png',
}, },
'29e80fbb-98ed-40fb-a11b-e14b45fee158': { '60e755c5-16de-469e-b54b-d1254d4fdd13': {
name: 'X', name: '已完成m',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/X.ae6442265f9321c6a127197988053c0714963acd.png', uuid: '60e755c5-16de-469e-b54b-d1254d4fdd13',
uuid: '29e80fbb-98ed-40fb-a11b-e14b45fee158' url: '//yun.duiba.com.cn/spark/assets/e7a357dacdb6eb39a6fe1a0d730d21c02a6d2f6d.png',
}, },
'00c28c88-7e7c-4c9b-a708-f0254dab619a': {
'98a3f684-846b-479c-91ac-75b588e2b51b': { name: '待领取m',
name: 'luckyrewardBg',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/luckyrewardBg.4c0bc5edd46b364eb6b645dde728d1db9be504e2.png', uuid: '00c28c88-7e7c-4c9b-a708-f0254dab619a',
uuid: '98a3f684-846b-479c-91ac-75b588e2b51b' url: '//yun.duiba.com.cn/spark/assets/934bdc2a1bcdd9156051b70741e6802b5a7d1e51.png',
}, },
'3fa827d6-e333-4b56-a5d9-5f3ae2089127': { 'ba2793d6-94cd-4fe1-ae3d-11278e0a66f8': {
name: 'unluckBg', name: '去关注m',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/unluckBg.c4adcfdcf29f5f1d3994869aebbac5850cd29616.png', uuid: 'ba2793d6-94cd-4fe1-ae3d-11278e0a66f8',
uuid: '3fa827d6-e333-4b56-a5d9-5f3ae2089127' url: '//yun.duiba.com.cn/spark/assets/498aade2a844bd0a60ecaf776d7c5eb3152a491c.png',
}, },
'51c97f4c-1f39-48cf-8865-c1c2fec500d8': { '8473ab9f-df8e-4c4e-b249-8d1cad9f04ae': {
name: 'bcEnergy', name: '去浏览m',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/bcEnergy.8a91691d9195705595e42fa80b7f1eb9143e27f2.png', uuid: '8473ab9f-df8e-4c4e-b249-8d1cad9f04ae',
uuid: '51c97f4c-1f39-48cf-8865-c1c2fec500d8' url: '//yun.duiba.com.cn/spark/assets/1ff09a238b863e51d7f96d60beb170e04ecb3fb3.png',
}, },
'36279db8-3376-4710-bb1f-89e69130e6dd': { 'a3b76ef9-f877-4aa1-b07a-b1c971fd8c6d': {
name: 'bcHappyCoin', name: '明日再来m',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/bcHappyCoin.1a4685f550e88c0b34322d4d975522eafdda5555.png', uuid: 'a3b76ef9-f877-4aa1-b07a-b1c971fd8c6d',
uuid: '36279db8-3376-4710-bb1f-89e69130e6dd' url: '//yun.duiba.com.cn/spark/assets/57425ba5e0734a826723128d598c8f4d7d4d37e6.png',
}, },
'e143c361-01b3-488f-b213-7a97040e245b': { '3474c828-84f0-4513-b32d-d1987a7d5e58': {
name: 'bcSleep', name: '底m6',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/bcSleep.b432b66593b18881cc6b19e59f30e67d2c053102.png', uuid: '3474c828-84f0-4513-b32d-d1987a7d5e58',
uuid: 'e143c361-01b3-488f-b213-7a97040e245b' url: '//yun.duiba.com.cn/spark/assets/933db4e79736c2cdad6ac637d6bc4a05ebab2fba.png',
}, },
'0a80398a-972a-4ea2-a9d1-604fe54a9d62': { 'd3f306d2-fe7d-4167-8ce4-912b1e1f0782': {
name: 'ocEnergy', name: '帮他助力按钮m5',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/ocEnergy.4c6a2f512b9220dfbcc39ee1fd16316ec0a49a68.png', uuid: 'd3f306d2-fe7d-4167-8ce4-912b1e1f0782',
uuid: '0a80398a-972a-4ea2-a9d1-604fe54a9d62' url: '//yun.duiba.com.cn/spark/assets/fc2d51244a71528a7ee56294ca3d5428af74924b.png',
}, },
'6dc7422e-d6bf-4b03-9fd3-637b71e5e88e': { '81c19179-8097-44d0-a296-5f89f3f77f70': {
name: 'ocHappyCoin', name: 'wow拷贝',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/ocHappyCoin.dea37104ac8403660bdd947f4906e6f9b23d085f.png', uuid: '81c19179-8097-44d0-a296-5f89f3f77f70',
uuid: '6dc7422e-d6bf-4b03-9fd3-637b71e5e88e' url: '//yun.duiba.com.cn/spark/assets/662df96de26233a0d31722142fb5d5257805f765.png',
}, },
'a1a5d4a5-8039-4a6f-a620-8fb465eec68f': { 'a6454fc5-1d34-4a29-9c0a-18cbe5454f19': {
name: 'ocSleep', name: '卡牌4',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/ocSleep.042656a3bd29c0f2c82f2667300288f0a3a0ba62.png', uuid: 'a6454fc5-1d34-4a29-9c0a-18cbe5454f19',
uuid: 'a1a5d4a5-8039-4a6f-a620-8fb465eec68f' url: '//yun.duiba.com.cn/spark/assets/073f45a47e4c9c19517127c3096f5506d148b495.png',
}, },
'32f6f1ff-1ad7-4296-a922-d9073b31a921': { 'dc40dab4-0745-4c64-af9a-d2e729852f9a': {
name: 'shEnergy', name: '礼盒1',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/shEnergy.81d4b12fc07fb9733f8f358afe5587f78a4a2e25.png', uuid: 'dc40dab4-0745-4c64-af9a-d2e729852f9a',
uuid: '32f6f1ff-1ad7-4296-a922-d9073b31a921' url: '//yun.duiba.com.cn/spark/assets/31d3798bdca154b33742794db612558049c20176.png',
}, },
'5c01ebd0-dac7-4ff9-89a5-054ea7214f62': { 'd6dd2033-f0ba-4427-8c20-644e09b56298': {
name: 'shHappyCoin', name: '礼盒2',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/shHappyCoin.1e228aeb955c78cfe8cf8513313314728a88c99c.png', uuid: 'd6dd2033-f0ba-4427-8c20-644e09b56298',
uuid: '5c01ebd0-dac7-4ff9-89a5-054ea7214f62' url: '//yun.duiba.com.cn/spark/assets/5b7e50b355ee3b45483c401924a5045b2d0db92a.png',
}, },
'61869bae-f55f-46e3-be58-23ed6485b18e': { '56568fc6-9f9a-4786-8abd-74c8e05a60de': {
name: 'shSleep', name: '礼盒3',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/shSleep.fcd3b6c29c68df42570492a69d07f1aaed25910a.png', uuid: '56568fc6-9f9a-4786-8abd-74c8e05a60de',
uuid: '61869bae-f55f-46e3-be58-23ed6485b18e' url: '//yun.duiba.com.cn/spark/assets/c3fcaad93160ec63c19b5345a1e42e74eebe7f2e.png',
}, },
'377e50f3-cbec-45a5-9bcd-d4923b9873a6': { 'a1f8ca57-ebcb-41c2-925b-45fa7695ee23': {
name: 'xlEnergy', name: '礼盒4',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/xlEnergy.04bb169743fd6a2a195427778b447daeb59c3c2c.png', uuid: 'a1f8ca57-ebcb-41c2-925b-45fa7695ee23',
uuid: '377e50f3-cbec-45a5-9bcd-d4923b9873a6' url: '//yun.duiba.com.cn/spark/assets/d83f3d10653a8b8202df8a62ead066d1bc556898.png',
}, },
'e7156f22-22f6-45f5-8002-898c142ba6ae': { '47454f5f-ef97-4cc7-ad07-9a11ef1cdcb4': {
name: 'xlHappyCoin', name: '按钮m3',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/xlHappyCoin.f9405671034006f5175fbab34ed5086a3bdc801e.png', uuid: '47454f5f-ef97-4cc7-ad07-9a11ef1cdcb4',
uuid: 'e7156f22-22f6-45f5-8002-898c142ba6ae' url: '//yun.duiba.com.cn/spark/assets/59d1c48b8f188a2dfbaafadd9869d0c89c732f6b.png',
}, },
'cfc54c6d-4233-478a-ae00-ef42d58718c1': { '5f6be607-9f63-4603-8f12-acbee3d95d46': {
name: 'xlSleep', name: '矩3390',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/xlSleep.85ef68b7d875a9cb70d30cfe809abbbc8c6ca8ad.png', uuid: '5f6be607-9f63-4603-8f12-acbee3d95d46',
uuid: 'cfc54c6d-4233-478a-ae00-ef42d58718c1' url: '//yun.duiba.com.cn/spark/assets/a63c665278dc1244ccea75b2383a40906206de40.png',
}, },
'b701826c-63c5-4490-a380-52f273dad9af': { '6dd68f2c-4a65-4107-92f2-29464c469803': {
name: '按钮44', name: '背景15',
ext: '.png', ext: '.png',
uuid: 'b701826c-63c5-4490-a380-52f273dad9af', uuid: '6dd68f2c-4a65-4107-92f2-29464c469803',
url: '//yun.duiba.com.cn/spark/assets/5193855f40ff72dea9f48022083a6a35240b6dc6.png' url: '//yun.duiba.com.cn/spark/assets/6267ec5b9a2cccc9e59b67de63f5a5febac8b39b.png',
}, },
'baba4718-16a8-4a77-a052-53af708bbb21': {
'716ced79-de7f-40ca-ac98-46a5adf13db0': { name: '灰底14',
name: 'catruleBg',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/catruleBg.8b265a49b5fef7d4020ba60884868be6d772b72d.png', uuid: 'baba4718-16a8-4a77-a052-53af708bbb21',
uuid: '716ced79-de7f-40ca-ac98-46a5adf13db0' url: '//yun.duiba.com.cn/spark/assets/5e8217324d8ac63597004432b357e8fbcfd74d4e.png',
}, },
'617927a2-2dd6-456a-9d92-1f607a137dbc': { '8b2f6c1d-1fbd-4c64-b9a9-43549adbb472': {
name: '进度条', name: '底13',
ext: '.png', ext: '.png',
uuid: '617927a2-2dd6-456a-9d92-1f607a137dbc', uuid: '8b2f6c1d-1fbd-4c64-b9a9-43549adbb472',
url: '//yun.duiba.com.cn/spark/assets/a67137c922a0d539215aed739676aa7636e3c4d8.png' url: '//yun.duiba.com.cn/spark/assets/799d17d30a8fc736ca7859b607be5964bbe695eb.png',
}, },
'776b0825-6538-4ea4-8814-50149644f3bc': {
'c8c50400-1d65-4971-8be5-e4fb2eecfcd5': { name: '灰按钮12',
name: 'unluckyBtn',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/unluckyBtn.e57fc34e49370d30a6942fb835395377a9cf4721.png', uuid: '776b0825-6538-4ea4-8814-50149644f3bc',
uuid: 'c8c50400-1d65-4971-8be5-e4fb2eecfcd5' url: '//yun.duiba.com.cn/spark/assets/7eb96ced45e637e01aa33acf2837d5e90f3914da.png',
}, },
'fc1fd3ee-e606-46de-9bb6-ea5fb41567df': { '9d853465-431f-407e-963c-97a0e2ce74da': {
name: 'catMessageBg', name: '按钮11',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/catMessageBg.e74d2bf93254933a994d05aa9ce29f9e3914c149.png', uuid: '9d853465-431f-407e-963c-97a0e2ce74da',
uuid: 'fc1fd3ee-e606-46de-9bb6-ea5fb41567df' url: '//yun.duiba.com.cn/spark/assets/9000f99e694b87c7b7066da879e73ecb69058e68.png',
}, },
'3fe9ac60-f1aa-4da3-93da-c67e5a9dc3a6': { 'e30a641f-f2ee-463c-b3da-55b888b9068a': {
name: 'catNameBtnGray', name: '卡牌10',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/catNameBtnGray.954587775085edff2210de9ab0d7ca1ef9e34e4e.png', uuid: 'e30a641f-f2ee-463c-b3da-55b888b9068a',
uuid: '3fe9ac60-f1aa-4da3-93da-c67e5a9dc3a6' url: '//yun.duiba.com.cn/spark/assets/72270cb58f72d256bde1d20efeafc518a1ce1630.png',
}, },
'255668e8-739f-41a5-9f83-207def3aa3fd': { 'f75d533c-113b-4717-8411-ea37d224a9c0': {
name: 'thanksBg', name: '我的卡牌数量背景黄9',
ext: '.png', ext: '.png',
uuid: '255668e8-739f-41a5-9f83-207def3aa3fd', uuid: 'f75d533c-113b-4717-8411-ea37d224a9c0',
url: '//yun.duiba.com.cn/spark/assets/cf23d4ed33f7fa384c206ba3f4c1c965f3aaa000.png' url: '//yun.duiba.com.cn/spark/assets/1b5eebc77b10a9b8fd9c118eea8989408937795f.png',
}, },
'2ef3e6b8-e635-4007-ba62-36df45e096c1': { 'da2354dd-25cf-4c6c-b0ea-757fd2aeaa6d': {
name: 'lodingFake', name: '我的卡牌数量背景灰6',
ext: '.png', ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/lodingFake.1897ec11d95b52aecae8a6771a1d8b838583ab7b.png', uuid: 'da2354dd-25cf-4c6c-b0ea-757fd2aeaa6d',
uuid: '2ef3e6b8-e635-4007-ba62-36df45e096c1' url: '//yun.duiba.com.cn/spark/assets/cb5b190958332ea86bcbb804467b272746599c7c.png',
} },
'4d74c7bc-4af0-494d-809a-73090d99ff25': {
name: '我的卡牌页返回按钮1',
ext: '.png',
uuid: '4d74c7bc-4af0-494d-809a-73090d99ff25',
url: '//yun.duiba.com.cn/spark/assets/e3304ec6bd5e0b22f7221b15bf5d06a1974ffc83.png',
},
'65d0f064-2527-4aef-8563-858eaf7ccf1e': {
name: '按钮m38',
ext: '.png',
uuid: '65d0f064-2527-4aef-8563-858eaf7ccf1e',
url: '//yun.duiba.com.cn/spark/assets/629efe0e5ab8a23b1b74195b37d16e797608d41e.png',
},
'468745a5-60dd-4f8f-bb12-12eb0e7264ef': {
name: '底m21',
ext: '.png',
uuid: '468745a5-60dd-4f8f-bb12-12eb0e7264ef',
url: '//yun.duiba.com.cn/spark/assets/5de07bcda49fbe967315cc197d65d49860dcf7a3.png',
},
'6c708f3c-4716-4789-93d4-8f677a595446': {
name: '稀有卡底m18',
ext: '.png',
uuid: '6c708f3c-4716-4789-93d4-8f677a595446',
url: '//yun.duiba.com.cn/spark/assets/99913429cff0ca6a5dd487de2afe96e60e318e09.png',
},
'7cd30461-36df-4a39-9e14-7e1c70999452': {
name: '袋鼠卡学习',
ext: '.png',
uuid: '7cd30461-36df-4a39-9e14-7e1c70999452',
url: '//yun.duiba.com.cn/spark/assets/7424e84888eaaf983ca7cdb8b653d154d8a92edb.png',
},
'50aaeef4-ecb8-4a3f-9782-46ca780a52c2': {
name: '关闭m15',
ext: '.png',
uuid: '50aaeef4-ecb8-4a3f-9782-46ca780a52c2',
url: '//yun.duiba.com.cn/spark/assets/543380a479d6df9b84cf4dc03ce05bdf14c01420.png',
},
'fe6fd8bc-732b-4bfe-89f4-5318f5cb090a': {
name: '圆角矩368814',
ext: '.png',
uuid: 'fe6fd8bc-732b-4bfe-89f4-5318f5cb090a',
url: '//yun.duiba.com.cn/spark/assets/dc7e11481af1aff25c2e15af66d1d75a95174ad6.png',
},
'c7704758-ff9f-4b37-a1f3-fbe3a7cc6163': {
name: '底m',
ext: '.png',
uuid: 'c7704758-ff9f-4b37-a1f3-fbe3a7cc6163',
url: '//yun.duiba.com.cn/spark/assets/21ae8becfdabb9b3fb38efa3f9ae09d77ed10b4d.png',
},
'd3a9cb74-5e52-471a-9a01-a4a59bec714c': {
name: '返回m',
ext: '.png',
uuid: 'd3a9cb74-5e52-471a-9a01-a4a59bec714c',
url: '//yun.duiba.com.cn/spark/assets/e3304ec6bd5e0b22f7221b15bf5d06a1974ffc83.png',
},
'e5da32b2-69b5-4d8d-af78-3f785e159507': {
name: '图层3387',
ext: '.png',
uuid: 'e5da32b2-69b5-4d8d-af78-3f785e159507',
url: '//yun.duiba.com.cn/spark/assets/3e9e7e5abaca0473017f5571159e8ef0784fea6c.png',
},
'de7f5d13-9e81-4bcc-9410-a0f9b231d2cc': {
name: '收藏m',
ext: '.png',
uuid: 'de7f5d13-9e81-4bcc-9410-a0f9b231d2cc',
url: '//yun.duiba.com.cn/spark/assets/ddabbc8c4ef2ce3165c2dbe3c9ade79e04df2f0c.png',
},
'16510214-5533-4a8c-a10a-1f93cf008460': {
name: '未收藏',
ext: '.png',
uuid: '16510214-5533-4a8c-a10a-1f93cf008460',
url: '//yun.duiba.com.cn/spark/assets/3982cbcd262f60d8edd96fb40957a068af80fc2a.png',
},
'83b04cc4-3acf-4102-abd4-5363679c7fac': {
name: '去购买m12',
ext: '.png',
uuid: '83b04cc4-3acf-4102-abd4-5363679c7fac',
url: '//yun.duiba.com.cn/spark/assets/ba138e561bc18ce1370399d8695ac10c47126b1b.png',
},
'2959f04c-59e5-4a8f-89af-62cd884f0788': {
name: '椭圆1444拷贝',
ext: '.png',
uuid: '2959f04c-59e5-4a8f-89af-62cd884f0788',
url: '//yun.duiba.com.cn/spark/assets/72a96420c22c07468602525c524a0cb4c374eb91.png',
},
}; };
export default resList; export default resList;
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