Commit 1c57d17f by 冷斌

支付宝

parent a169f759
......@@ -47,6 +47,16 @@ class LevelController extends HomebaseController {
$this->assign("type",$type);
$this->assign('set', $set);
$anchor_certification = 0;
$auth=M("users_auth")->where("uid=?", $uid)->find();
if (!empty($auth)) {
if ($auth['status']==1) {
$anchor_certification = 1;
}
}
$this->assign('anchor_certification', $anchor_certification);
/* 主播等价 */
$Level_a=M("experlevel_anchor");
......
......@@ -13,10 +13,12 @@
<p>用户等级</p>
<div v-show="nav==1" class="hengx"></div>
</div>
<div class="navItem" @click="navMethod(2)" :class="{ selNav: nav == 2}">
<p>主播等级</p>
<div v-show="nav==2" class="hengx"></div>
</div>
<if condition="$anchor_certification eq '1'">
<div class="navItem" @click="navMethod(2)" :class="{ selNav: nav == 2}">
<p>主播等级</p>
<div v-show="nav==2" class="hengx"></div>
</div>
</if>
</div>
<!-- 用户等级 -->
<div class="userBox" v-if="nav==1">
......
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