main
Wkang921 2 years ago
parent 5d41aaa4a6
commit 379b369e1c

@ -75,9 +75,11 @@ Page({
getXxObj(){/**获取形象对应的图片 */
req.getRequest('/api/dict/value/horoscope-resource',{}).then((res)=>{
if(res.data.code==200){
console.log(res.data.data);
const horoscopes = res.data.data
const type = this.data.userInfo.birthdayConstellation
const type = this.data.userInfo.horoscope.name
this.setData({xingxiangtu: horoscopes[type].sprite})
console.log(this.data.xingxiangtu, '1111');
}
}).catch((err)=>{
console.log(err);

@ -295,54 +295,53 @@ font-family: SourceHanSansSC-medium;
position: absolute;
left: 250rpx;
top: 230rpx;
width: 196px;
height: 90px;
line-height: 20px;
border-radius: 10px;
width: 350rpx;
height: 180rpx;
line-height: 40rpx;
border-radius: 20rpx;
color: rgba(136, 136, 136, 1);
font-size: 14px;
font-size: 28rpx;
text-align: left;
font-family: Microsoft Yahei;
border: 1px solid rgba(187, 187, 187, 1);
}
.xyljt{
padding: 15rpx!important;
padding: 20rpx 0 0 20rpx !important;
position: absolute;
left: 250rpx;
top: 572rpx;
width: 196px!important;
width: 350rpx!important;
height: 80rpx!important;
line-height: 80rpx!important;
border-radius: 10px;
color: rgba(136, 136, 136, 1);
font-size: 14px;
text-align: left;
font-family: Microsoft Yahei;
border-radius: 20rpx;
font-size: 28rpx;
display: flex;
align-items: center;
justify-content: space-between;
border: 1px solid rgba(187, 187, 187, 1);
}
.t-textarea__wrapper-inner {
color: rgba(136, 136, 136, 1) !important;
}
.qwsjt{
padding: 15rpx!important;
position: absolute;
left: 250rpx;
top: 448rpx;
width: 196px!important;
padding: 20rpx 0 0 20rpx !important;
width: 350rpx!important;
height: 80rpx!important;
line-height: 80rpx!important;
border-radius: 20rpx;
color: rgba(136, 136, 136, 1);
font-size: 28rpx;
text-align: left;
font-family: Microsoft Yahei;
border: 1px solid rgba(187, 187, 187, 1);
}
.xltb{
position: absolute;
left:530rpx;
top:480rpx;
right: 130rpx;
top:478rpx;
width:26rpx;
height:26rpx;
background-repeat: no-repeat;

@ -5,45 +5,5 @@
"compileHotReLoad": true,
"urlCheck": false
},
"condition": {
"miniprogram": {
"list": [
{
"name": "",
"pathName": "pages/home/jl/index",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/home/xx/lindex/lxz/lxz",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/home/me/mydevice/device",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/home/xx/lindex/lxz/lxz",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/home/xx/xz/xz",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
}
"condition": {}
}
Loading…
Cancel
Save