You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crmeb_html/pages/goods_details/applyPrice.vue

97 lines
1.9 KiB

<template>
<view>
<!-- 输入框示例 -->
<uni-popup ref="inputDialog" type="dialog">
<uni-popup-dialog ref="inputClose" mode="input" title="输入内容" value="对话框预置提示内容!"
placeholder="请输入内容" @confirm="dialogInputConfirm"></uni-popup-dialog>
</uni-popup>
</view>
</template>
<script>
export default {
props: {
specsInfo: {
type: Object,
default: () => {}
},
},
data() {
return {};
},
mounted() {},
methods: {
closeSpecs(){
this.$emit('myevent');
}
}
}
</script>
<style scoped lang="scss">
.specs{
position: fixed;
bottom: 0;
width: 100%;
left: 0;
background-color: #fff;
z-index: 280;
border-radius: 16rpx 16rpx 0 0;
transform: translate3d(0, 100%, 0);
transition: all .3s cubic-bezier(.25, .5, .5, .9);
padding-bottom: 22rpx;
padding-bottom: calc(22rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
padding-bottom: calc(22rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
.title{
font-size: 32rpx;
color: #282828;
text-align: center;
margin: 38rpx 0 36rpx 0;
position: relative;
font-weight: bold;
.iconfont{
position: absolute;
right: 30rpx;
top:0;
font-size: 36rpx;
font-weight: normal;
color: #999999;
}
}
.list{
height: 750rpx;
margin: 0 30rpx;
color: #999999;
overflow-x: hidden;
overflow-y: auto;
.item{
padding: 30rpx 0;
border-bottom: 1px solid #eee;
.name{
width: 160rpx;
margin-right: 10rpx;
word-break: break-all;
}
.val{
width: 510rpx;
word-break: break-all;
}
}
}
.bnt{
width: 690rpx;
height: 86rpx;
text-align: center;
line-height: 86rpx;
border-radius: 43rpx;
background-color: var(--view-theme);
font-size: 30rpx;
color: #fff;
margin: 0 auto;
}
}
.specs.on{
transform: translate3d(0, 0, 0);
}
</style>