小程序编译0.0.0

This commit is contained in:
魏啾
2024-11-13 09:25:34 +08:00
parent 1fbf346aec
commit 2147f86b93
65 changed files with 3745 additions and 852 deletions

View File

@@ -1,6 +1,7 @@
<template>
<view class="Box">
<view class="Box_top"><input placeholder="请输入开票服务名称" :showAction='false' :focus='true' v-model="keyword"
<navseat :opacity='false' :title='"行业列表"' :titleshow='true' :namecolor='"#fff"' iconcolor='#fff'></navseat>
<view class="Box_top"><input placeholder="请输入开票服务名称" :showAction='false' :focus='true' v-model="modelkeyword"
@input="onInput" />
</view>
<view class="nav">
@@ -16,14 +17,18 @@
</view>
<view class="empty-wrap">
<!-- <view class="empty" v-if="!subCategoryList.length && loadStatus == 'nomore'"><u-empty text="暂无数据"
:icon="require('@/static/notice/icon_empty.png')"></u-empty></view>
:icon="require('https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/notice/icon_empty.png')"></u-empty></view>
<u-loadmore color="#999" :status="loadStatus" v-else></u-loadmore> -->
</view>
</view>
</template>
<script>
// import category from '@/components/qiyue-category/qiyue-category.vue';
import navseat from '@/components/navseat.vue'
export default {
components: {
navseat
},
// components: {
// category
// },
@@ -32,7 +37,7 @@
current: 1,
size: 20,
page: 1,
keyWord: '',
modelkeyword: '',
subCategoryList: [],
loadStatus: 'nomore',
h: null,
@@ -52,9 +57,7 @@
},
methods: {
onInput(e) {
// 【不用v-model绑定表单,直接时间获取值】这种方式是uni-app官方的方式,测试结果正确!
console.log(e.detail)
this.keyword = e.detail.value
this.modelkeyword = e.detail.value
if (e.detail.value) {
uni.$u.debounce(this.getOrder(), 500)
} else {
@@ -76,6 +79,7 @@
}
},
categorySubClick(category) {
console.log(11,category)
uni.cache.set('keyword', category)
uni.$emit("businesscategorys", category)
uni.pro.navigateBack();
@@ -95,7 +99,7 @@
},
async getOrder() {
let res = await this.api.storeindustrylist({
name: this.keyword,
name: this.modelkeyword,
page: this.page
})
if (res) {