|
@@ -11,7 +11,7 @@
|
|
|
<div style="display: inline;margin-top: 1vh;" id="myStatus"></div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="weui-flex__item">
|
|
|
+ <div class="weui-flex__item" id="tc1">
|
|
|
<div style="display: inline;align-items: flex-end">剩余套餐(份):</div>
|
|
|
<div style="display: inline;margin-top: 1vh;" id="tc"></div>
|
|
|
</div>
|
|
@@ -81,7 +81,7 @@
|
|
|
$("#myStatus").html(getStatus(data.data.tgStatus));
|
|
|
$("#myPhone").val(data.data.phone);
|
|
|
if (data.data.roleType == 1) {
|
|
|
- $("#tc")[0].style.display = 'none';
|
|
|
+ $("#tc1").toggle();
|
|
|
}else {
|
|
|
$("#tc").html(data.data.tgMaxNum - data.data.count);
|
|
|
}
|