修复问题

This commit is contained in:
aihe 2023-12-05 12:25:58 +08:00
parent 0d6efd17a7
commit 82cb7fe7f1
4 changed files with 24 additions and 10 deletions

View File

@ -57,7 +57,7 @@
</script> </script>
<style lang="scss"> <style lang="scss">
@import '@/uni_modules/uview-plus/theme.scss'; @import '@/uni_modules/uview-plus/index.scss';
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */ /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
@import '@/uni_modules/uni-scss/index.scss'; @import '@/uni_modules/uni-scss/index.scss';

View File

@ -159,7 +159,9 @@
background-color: $uni-color-primary; background-color: $uni-color-primary;
} }
} }
.smp-tag{
margin: 20rpx 20rpx 0 0;display: inline-block;
}
/************* 动画 /**************/ /************* 动画 /**************/
.animated{animation-duration: 0.5s;animation-fill-mode:both} .animated{animation-duration: 0.5s;animation-fill-mode:both}

View File

@ -1,5 +1,5 @@
<template> <template>
<view class="com-jianju pos-rlt" style="padding-top: 2rpx;"> <view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
<view class="blcok" style="background-color: #0E0708;"> <view class="blcok" style="background-color: #0E0708;">
<u-row> <u-row>
<image class="mr-20" style="height: 28rpx;width: 34rpx;" :src="getCdnUrl(`post/gangbo.png`)"></image> <image class="mr-20" style="height: 28rpx;width: 34rpx;" :src="getCdnUrl(`post/gangbo.png`)"></image>
@ -164,8 +164,14 @@
</view> </view>
<view class="com-section mt-30">给快递员捎话</view> <view class="com-section mt-30">给快递员捎话</view>
<view class="blcok-white"> <view class="blcok-white" style="padding-top: 10rpx;">
<view class="smp-tag" v-for="(item, index) in tipsList">
<u-tag :text="`${item.title}`" :plain="!item.checked" type="info" shape="circle" :bg-color="`${item.checked?'#de524e':''}`"
@click="handleCheckBoxClick(item)">
</u-tag>
</view>
{{submitParam.otherDes}}
<u-textarea v-model="submitParam.otherDes" border="surround" height="160" placeholder="其他说明" maxlength="50" count></u-textarea>
</view> </view>
</view> </view>
<!-- 日历 --> <!-- 日历 -->
@ -193,9 +199,15 @@
{ title: '仓库收货', val: 2}, { title: '仓库收货', val: 2},
{ title: '整柜提货', val: 3} { title: '整柜提货', val: 3}
], ],
tipsList: [
{ title: '请带纸箱', val: 3},
{ title: '需要爬楼', val: 3},
{ title: '来前电话', val: 3},
],
showCladar: false, showCladar: false,
submitParam: { submitParam: {
type: 1 type: 1,
otherDes: ''
} }
} }
}, },
@ -227,7 +239,10 @@
}, },
handleSendTypeChange(item) { handleSendTypeChange(item) {
} },
handleCheckBoxClick(item, key){
item.checked = !item.checked
},
} }
} }
</script> </script>

View File

@ -372,7 +372,4 @@
flex: 1; flex: 1;
position: relative; position: relative;
} }
.smp-tag{
margin: 20rpx 20rpx 0 0;display: inline-block;
}
</style> </style>