zhaojs
2023-07-20 fc9bd6378d3bfbde6d5c71535757a3d44de8d8ff
uniapp/pages/search/search.vue
@@ -27,7 +27,7 @@
            <view class="onlineStore-container rowCen" v-if="searchText==''">
               <view class="onlineStoreList rowSta">
                  <block v-for="(items,index) in onlineStoreList" :key="index">
                     <view class="store-items colCen" :class="storeCurrent==index?'store-items-active':''" @click="checkstore(index)">
                     <view class="store-items colCen" :class="storeCurrent==items.inde?'store-items-active':''" @click="checkstore(items.inde)">
                        <view class="store-name">
                           {{items.name}}
                        </view>
@@ -166,24 +166,30 @@
         return {
            onlineStoreList: [{
                  name: '淘宝',
                  type: 'tb'
                  type: 'tb',
                  inde:0
               },
               {
                  name: '京东',
                  type: 'jd'
                  type: 'jd',
                  inde:1
               },
               {
                  name: '拼多多',
                  type: 'pdd'
               },
               {
                  name: '唯品会',
                  type: 'vph'
                  type: 'pdd',
                  inde:2
               },
               {
                  name: '抖音',
                  type: 'dy'
                  type: 'dy',
                  inde:4
               },
               {
                  name: '唯品会',
                  type: 'vph',
                  inde:3
               }
            ],
            searchText: '',
            storeCurrent: 0,
@@ -206,6 +212,11 @@
            this.storeCurrent = options.type
         }else{
            this.storeCurrent = 0;
         }
         if(options.searchText)
         {
            this.searchText=options.searchText;
            this.searchInput(null);
         }
         this.appinfo = getApp().globalData.appinfo.iosExamine;
         this.platform = getApp().globalData.platform
@@ -685,7 +696,7 @@
                              width: 60rpx;
                              height: 24rpx;
                              margin-right: 5rpx;
                              margin-top: 8rpx;
                           }
                           .tradename {
@@ -702,7 +713,7 @@
                        .price-saleNums-container {
                           width: 100%;
                           margin-top: 30rpx;
                           margin-top: 10rpx;
                           .left-price-box {
                              .greytxt {