diff --git a/resources/views/material/user/bought.tpl b/resources/views/material/user/bought.tpl index e16d35e9..45cb6591 100755 --- a/resources/views/material/user/bought.tpl +++ b/resources/views/material/user/bought.tpl @@ -58,8 +58,7 @@ renew==0}disabled{else}href="javascript:void(0);" - onClick="delete_modal_show('{$shop->id}')"{/if}>关闭自动续费 + {if $shop->renew==0}disabled{else}href="javascript:void(0);" onClick="delete_modal_show('{$shop->id}')"{/if}>关闭自动续费 @@ -112,18 +111,18 @@