diff --git a/pages/home/jl/index.js b/pages/home/jl/index.js
index fd37f0e..ee51741 100644
--- a/pages/home/jl/index.js
+++ b/pages/home/jl/index.js
@@ -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);
diff --git a/pages/home/xyc/index.wxml b/pages/home/xyc/index.wxml
index 4b14ee5..62a7c2a 100644
--- a/pages/home/xyc/index.wxml
+++ b/pages/home/xyc/index.wxml
@@ -24,7 +24,7 @@
-
+