页面优化

This commit is contained in:
“wanyongkang”
2024-02-24 13:58:39 +08:00
parent 95dc0c16be
commit abbef158af
16 changed files with 149 additions and 44 deletions

View File

@@ -239,7 +239,7 @@
<td v-if="site.nasname">{{site.status}}</td>
</tr>
</table>
<div v-if="!is_all && (product_id == 0)" class="text-center" style="margin-bottom: 20px;">
<div id="more" v-if="!is_all && (product_id == 0)" class="text-center" style="margin-bottom: 20px;">
<button @@click="get_index_data()" type="button" class="btn btn-link" style="font-size:25px;">
------------------------------------------更多
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-double-down" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
@@ -506,6 +506,7 @@
this.is_all = true;
},
search_all(){
$('#more').hide();
this.is_all = true;
if(!this.search_all_data){
this.select_product(0);
@@ -523,6 +524,7 @@
this.table_data = datalist;
},
search_product(){
$('#more').hide();
if(!this.search_product_data){
this.select_product(this.product_id);
return;