#
whycq
2023-11-22 3913b3c5c8cde03f8c92d1c738d28c4a9bae7e55
pages/business/pricing/priQuote.vue
@@ -15,6 +15,11 @@
            </view>
         </block>
      </uni-nav-bar>
       <!-- 搜索框 -->
       <view class="search-bg">
          <u-search placeholder="输入" v-model="keyword" :clearabled="true" @custom="search()" @search="search()"></u-search>
       </view>
       
      <view class="main-box">
         <view class="box" v-for="item in list" @click="goDetl(item)">
@@ -31,6 +36,8 @@
            </view>
         </view>
      </view>
      <u-empty v-if="true" icon="../../../static/image/emptyList.png" v-show="list.length <= 0" />
   </view>
</template>
@@ -39,6 +46,7 @@
   export default {
      data() {
         return {
            keyword: '',
            user: {
               username: '',
               id: 0,
@@ -51,7 +59,6 @@
      onShow() {
         let that = this
         uni.$on('isRefresh',function(data){
            console.log(data);
            that.user.username = data.title
            that.user.id = data.id
            that.user.type = data.key
@@ -81,7 +88,6 @@
               data: param,
               success(res) {
                  res = res.data
                  console.log(res);
                  // return
                  if (res.code === 200) {
                     for (let k of res.data.records) {
@@ -110,7 +116,6 @@
         },
         async getDetail() {
            let res = await user.getDetail()
            console.log(res);
            if (res.code === 200) {
               this.user.username = res.data.username
               this.user.id = res.data.id