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

View File

@ -67,7 +67,7 @@
<u-checkbox @change="checkboxChange(item)" v-model="item.radio" <u-checkbox @change="checkboxChange(item)" v-model="item.radio"
v-for="(item, index) in orderlist.itemConsumableList" :key="index" v-for="(item, index) in orderlist.itemConsumableList" :key="index"
:name="item.consumableDetail"> :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> <span>{{item.consumableCount}}{{item.consumableUnit}}/{{item.consumablePrice}}</span>
</u-checkbox> </u-checkbox>
</u-checkbox-group> </u-checkbox-group>

View File

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

View File

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

View File

@ -133,7 +133,7 @@
<!-- <view class="product" style="top:38%;font-size: 24rpx;color: #999999;"> <!-- <view class="product" style="top:38%;font-size: 24rpx;color: #999999;">
{{item.attributeDetailsName}} {{item.attributeDetailsName}}
</view> --> </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 class="price">{{item.goodsPrice==null?'0':item.goodsPrice}}</view>
</view> </view>
</view> </view>