Browse Source

样式调整

master
jiazhipeng 3 weeks ago
parent
commit
b0e5be2643
  1. 5
      subPackages/food/detail.vue
  2. 5
      subPackages/search/techanResult.vue
  3. 5
      subPackages/techan/detail.vue
  4. 5
      subPackages/techan/index.vue

5
subPackages/food/detail.vue

@ -133,7 +133,7 @@
<view> <view>
<view class="sp">规格</view> <view class="sp">规格</view>
<view class="sp-container" style=""> <view class="sp-container" style="">
<view style="position:relative;width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex"> <view style="position:relative;max-width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex">
<view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]" <view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]"
@click="changeProduct(botItem,botIndex)"> @click="changeProduct(botItem,botIndex)">
<image :src="showImg(botItem.headimg)"></image> <image :src="showImg(botItem.headimg)"></image>
@ -709,7 +709,7 @@
margin-bottom: 34rpx; margin-bottom: 34rpx;
max-width: 100%; max-width: 100%;
padding-right:15rpx; padding-right:15rpx;
min-width: 340rpx; min-width: 320rpx;
background: #EFEFEF; background: #EFEFEF;
display: flex; display: flex;
align-items: center; align-items: center;
@ -727,6 +727,7 @@
padding-left: 15rpx; padding-left: 15rpx;
white-space: normal; white-space: normal;
font-size: 27rpx; font-size: 27rpx;
word-break: break-all;
} }
} }
.noStore{ .noStore{

5
subPackages/search/techanResult.vue

@ -90,7 +90,7 @@
<view style="max-height: 600rpx;overflow-y: auto;"> <view style="max-height: 600rpx;overflow-y: auto;">
<view class="sp">规格</view> <view class="sp">规格</view>
<view class="sp-container"> <view class="sp-container">
<view style="position:relative;width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex"> <view style="position:relative;max-width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex">
<view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]" <view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]"
@click="changeProduct(botItem,botIndex)"> @click="changeProduct(botItem,botIndex)">
<image :src="showImg(botItem.headimg)"></image> <image :src="showImg(botItem.headimg)"></image>
@ -462,7 +462,7 @@
margin-bottom: 34rpx; margin-bottom: 34rpx;
max-width: 100%; max-width: 100%;
padding-right:15rpx; padding-right:15rpx;
min-width: 340rpx; min-width: 320rpx;
background: #EFEFEF; background: #EFEFEF;
display: flex; display: flex;
align-items: center; align-items: center;
@ -480,6 +480,7 @@
padding-left: 15rpx; padding-left: 15rpx;
white-space: normal; white-space: normal;
font-size: 27rpx; font-size: 27rpx;
word-break: break-all;
} }
} }
.noStore{ .noStore{

5
subPackages/techan/detail.vue

@ -144,7 +144,7 @@
<view> <view>
<view class="sp">规格</view> <view class="sp">规格</view>
<view class="sp-container" style=""> <view class="sp-container" style="">
<view style="position:relative;width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex"> <view style="position:relative;max-width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex">
<view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]" <view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]"
@click="changeProduct(botItem,botIndex)"> @click="changeProduct(botItem,botIndex)">
<image :src="showImg(botItem.headimg)"></image> <image :src="showImg(botItem.headimg)"></image>
@ -712,7 +712,7 @@
margin-bottom: 34rpx; margin-bottom: 34rpx;
max-width: 100%; max-width: 100%;
padding-right:15rpx; padding-right:15rpx;
min-width: 340rpx; min-width: 320rpx;
background: #EFEFEF; background: #EFEFEF;
display: flex; display: flex;
align-items: center; align-items: center;
@ -730,6 +730,7 @@
padding-left: 15rpx; padding-left: 15rpx;
white-space: normal; white-space: normal;
font-size: 27rpx; font-size: 27rpx;
word-break: break-all;
} }
} }
.noStore{ .noStore{

5
subPackages/techan/index.vue

@ -197,7 +197,7 @@
<view style="max-height: 600rpx;overflow-y: auto;"> <view style="max-height: 600rpx;overflow-y: auto;">
<view class="sp">规格</view> <view class="sp">规格</view>
<view class="sp-container"> <view class="sp-container">
<view style="position:relative;width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex"> <view style="position:relative;max-width: 100%;" v-for="(botItem,botIndex) in sku" :key="botIndex">
<view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]" <view :class="['botProduct','text-overflow',{'noStore':botItem.store==0},{'botProducts':productIndex==botIndex}]"
@click="changeProduct(botItem,botIndex)"> @click="changeProduct(botItem,botIndex)">
<image :src="showImg(botItem.headimg)"></image> <image :src="showImg(botItem.headimg)"></image>
@ -876,7 +876,7 @@
margin-bottom: 34rpx; margin-bottom: 34rpx;
max-width: 100%; max-width: 100%;
padding-right:15rpx; padding-right:15rpx;
min-width: 340rpx; min-width: 320rpx;
background: #EFEFEF; background: #EFEFEF;
display: flex; display: flex;
align-items: center; align-items: center;
@ -894,6 +894,7 @@
padding-left: 15rpx; padding-left: 15rpx;
white-space: normal; white-space: normal;
font-size: 27rpx; font-size: 27rpx;
word-break: break-all;
} }
} }
.noStore{ .noStore{

Loading…
Cancel
Save