This commit is contained in:
曹辉 2023-02-22 10:24:18 +08:00
parent ee2c987670
commit 296c45ad0e
5 changed files with 47 additions and 13 deletions

View File

@ -172,7 +172,6 @@
.remarks {
width: 94%;
height: 382rpx;
margin: 10rpx auto;
padding: 3%;
font-size: 34rpx;
@ -184,7 +183,13 @@
span {
display: inline-block;
width: 20%;
width: 60%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: absolute;
top:50%;
transform: translateY(-50%);
}
input {
@ -295,10 +300,24 @@
margin-top: 20rpx;
position: relative;
padding-bottom: 40rpx;
::v-deep .u-checkbox__label{
width: 100% !important;
}
.detail {
width: 100%;
line-height: 100rpx;
// padding: 20rpx 0 0 40rpx;
position: relative;
.itemConsumabletitle{
width:55%;
position: absolute;
top:50%;
transform: translateY(-50%);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
}
/deep/ .u-checkbox{
margin: 40rpx 0 0;
position: relative;
@ -330,6 +349,9 @@
position: relative;
.detail {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 31rpx;
font-size: 32rpx;
color: #666666;
@ -337,6 +359,7 @@
position: absolute;
left: 10%;
top: 60%;
width: 90%;
}
}

View File

@ -67,7 +67,7 @@
<u-checkbox @change="checkboxChange(item)" v-model="item.radio"
v-for="(item, index) in orderlist.itemConsumableList" :key="index"
:name="item.consumableDetail">
<view style='display: inline-block;'> {{item.consumableDetail}}</view>
<view class='itemConsumabletitle'> {{item.consumableDetail}}</view>
<span>{{item.consumableCount}}{{item.consumableUnit}}/{{item.consumablePrice}}</span>
</u-checkbox>
</u-checkbox-group>

View File

@ -1,6 +1,6 @@
<template>
<view class="app">
<image src="../../static/kefuzx.jpg" mode=""></image>
<image src="../../static/kefuzx.jpg" mode="" @tap='lookImg'></image>
</view>
</template>
@ -8,8 +8,17 @@
export default {
data() {
return {
imageUrl: ['../../static/kefuzx.jpg']
};
},
methods: {
lookImg() {
console.log(1)
uni.previewImage({
current: 0,
urls: this.imageUrl
})
},
}
}
</script>
@ -17,11 +26,13 @@
<style lang="scss">
.app {
width: 100%;
height: 100vh;
padding: 0;
background-color: #1A191E;
background-color: #000000;
image {
width: 100%;
height: 100%;
height: 1300rpx;
}
}
</style>

View File

@ -66,7 +66,7 @@
}
.content {
font-size: 36rpx;
font-size: 34rpx;
padding-bottom: 10rpx;
// margin-top: -80rpx;
z-index: 999;
@ -125,7 +125,7 @@
text-align: center;
line-height: 52rpx;
position: absolute;
top:55%;
top:70%;
right:5%;
}
.buy{
@ -151,15 +151,15 @@
white-space: nowrap;
}
.day{
font-size: 26rpx;
font-size: 24rpx;
position: absolute;
top:45%;
top:53%;
left:35%;
width: 65%;
}
.huanyao {
position: absolute;
top:15%;
top:10%;
left:35%;
width: 45%;
line-height: 50rpx;

View File

@ -133,7 +133,7 @@
<!-- <view class="product" style="top:38%;font-size: 24rpx;color: #999999;">
{{item.attributeDetailsName}}
</view> -->
<view class="buy appointment" @tap="goCommodityDetails(item)">购买</view>
<view class="appointment" @tap="goCommodityDetails(item)">购买</view>
<view class="price">{{item.goodsPrice==null?'0':item.goodsPrice}}</view>
</view>
</view>