6
0
Fork 0

修改样式

hui.zhou
h30830569 2022-05-26 13:44:55 +08:00
parent 2dd5d31ef6
commit 0b6ad57ce8
3 changed files with 12 additions and 7 deletions

View File

@ -18,8 +18,9 @@
<view class="font-semibold py-30rpx text-333333 text-30rpx"> {{ item.name }} </view>
<view class="-mr-24rpx">
<view class="inline-block mr-24rpx mb-16rpx" v-for="(spce,index2) in item.items" :key="index2">
<u-tag
<view
@tap="onChangeSku(spce, item.items)"
:class="spce.selected?'text-hex-FF0000 bg-hex-FDF2EC':'text-hex-333333 bg-hex-F8F8F8'"
:text="spce.name"
class="cu-tag"
:disabled="spce.sku_id == 0"
@ -27,7 +28,8 @@
:bg-color="spce.selected ? '#FDF2EC' : '#F8F8F8'"
:border-color="spce.selected ? '#FDF2EC' : '#F8F8F8'"
shape="circle"
/>
>{{spce.name}}
</view>
</view>
</view>
</view>
@ -188,8 +190,10 @@ export default {
},
};
</script>
<style>
<style lang="scss">
.cu-tag{
font-size: 28rpx;
font-size: 30rpx;
border-radius: 30rpx;
padding:10rpx 25rpx;
}
</style>

View File

@ -11,8 +11,9 @@
<view class="px-30rpx bg-white" v-if="goodItem.id">
<GoodsItem :isAdd="true" :goods="goodItem" @addGood="addGood" />
</view>
<view v-if="chooseList.length>0" class="py-20rpx text-32rpx font-extrabold text-center"></view>
<!-- 提货数量 -->
<view class="px-30rpx bg-white mt-20rpx ">
<view class="px-30rpx bg-white">
<view class="py-20rpx flex w-full items-start" v-for="(item,index) in chooseList" :key="index">
<view
class="w-38rpx mt-8rpx h-38rpx rounded-full border border-hex-ef4444 border-solid text-center leading-38rpx text-hex-ef4444">
@ -23,7 +24,7 @@
<view class="flex flex-1 items-center justify-between">
<view>默认已提货量</view>
<view>
<u-number-box :min="1" v-model="item.defaultNum" :max="item.num">
<u-number-box :min="0" v-model="item.defaultNum" :max="item.num">
</u-number-box>
</view>
</view>

View File

@ -3,7 +3,7 @@
<loading-view v-if="isFirstLoading"></loading-view>
<!-- 顶部tabbar -->
<view class="bg-white sticky w-full top-0 z-9999">
<u-tabs :list="tabbarList" :is-scroll="isScroll" active-color="#378264" inactive-color="#808080" :current="current" @change="change"></u-tabs>
<u-tabs font-size="35" :list="tabbarList" :is-scroll="isScroll" active-color="#378264" inactive-color="#808080" :current="current" @change="change"></u-tabs>
</view>
<mescroll-body :height="height" ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback"
:down="downOption" :up="upOption">