正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -143,7 +143,7 @@ class ShareController extends WeChatBaseController | @@ -143,7 +143,7 @@ class ShareController extends WeChatBaseController | ||
143 | ->save('./upload/poster/poster_'.$user_id.".png"); | 143 | ->save('./upload/poster/poster_'.$user_id.".png"); |
144 | } | 144 | } |
145 | $share_image = cmf_get_image_url('poster/poster_'.$user_id.".png"); | 145 | $share_image = cmf_get_image_url('poster/poster_'.$user_id.".png"); |
146 | - | 146 | + $this->assign('status',$my_user['status']); |
147 | $this->assign('share_image',$share_image); | 147 | $this->assign('share_image',$share_image); |
148 | return $this->fetch(); | 148 | return $this->fetch(); |
149 | } | 149 | } |
@@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
37 | </a> | 37 | </a> |
38 | <p style="color:white">ta的推广</p> | 38 | <p style="color:white">ta的推广</p> |
39 | </div> | 39 | </div> |
40 | -<div class="code_Box" style="background: #FE3A00;"> | 40 | +<div class="code_Box" style="<if condition='$status eq 2'>background-color: #FE3A00;<else />background-color: #fff;</if>margin-top: 0.88rem;"> |
41 | <img src="{:cmf_get_image_url($share_image)}" style="-webkit-background-size: 100%;background-size: 100%;height: auto;width: 100%;"/> | 41 | <img src="{:cmf_get_image_url($share_image)}" style="-webkit-background-size: 100%;background-size: 100%;height: auto;width: 100%;"/> |
42 | </div> | 42 | </div> |
43 | <script src="__TMPL__/public/assets/js/base.js"></script> | 43 | <script src="__TMPL__/public/assets/js/base.js"></script> |
-
请 注册 或 登录 后发表评论