master
wangxinglong 2022-05-06 14:01:48 +08:00
parent 8ef9c6f2de
commit 744485a3f3
2 changed files with 6 additions and 2 deletions

View File

@ -183,7 +183,7 @@ class User extends Base
$account->business->save(["model"=> Business::model_ordinary]); $account->business->save(["model"=> Business::model_ordinary]);
} }
} }
$businessRes = [ $businessRes = [
'avatar' => File::convertCompleteFileUrl($account['avatar_url']), 'avatar' => File::convertCompleteFileUrl($account['avatar_url']),

View File

@ -45,6 +45,10 @@
<!-- 自定义js --> <!-- 自定义js -->
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
jQuery(function($){ jQuery(function($){
//一分钟刷新一次页面
setTimeout(function () {
location.reload();
},60000);
monitorWindow(); monitorWindow();
// 窗体改变 // 窗体改变
$(window).resize(function(){ $(window).resize(function(){
@ -165,7 +169,7 @@
</div> </div>
<div class="content-box"> <div class="content-box">
<span>${couponMain[i].name}</span> <span>${couponMain[i].name}</span>
<span>${couponMain[i].business_name}</span> <span>${couponMain[i].business_subtitle}</span>
</div> </div>
</div>` </div>`
$('.swiper-wrapper').prepend(yspHtml); $('.swiper-wrapper').prepend(yspHtml);