This commit is contained in:
zhouyanli
2026-05-30 17:00:53 +08:00
11 changed files with 66 additions and 26 deletions

View File

@@ -211,7 +211,9 @@ function preview(index) {
.image-list { .image-list {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 20rpx; }
.image-list > .image-item:not(:last-child) {
margin-right: 20rpx;
} }
.image-item { .image-item {

View File

@@ -223,7 +223,10 @@ function handleSelecthouse() {
.imgbox { .imgbox {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
gap: 20rpx; & > .img:not(:last-child) {
margin-right: 20rpx;
}
.img { .img {
width: 132rpx; width: 132rpx;
height: 132rpx; height: 132rpx;

View File

@@ -358,7 +358,9 @@ function previewImages(images, currentIndex) {
.showimagegrid { .showimagegrid {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 20rpx; & > .img:not(:last-child) {
margin-right: 20rpx;
}
width: 100%; width: 100%;
.img { .img {
width: 160rpx; width: 160rpx;

View File

@@ -24,6 +24,7 @@
</view> </view>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="房屋号"> <uni-forms-item label="房屋号">
<!-- #ifndef APP-IOS -->
<uni-easyinput <uni-easyinput
:inputBorder="false" :inputBorder="false"
@tap="handleClick" @tap="handleClick"
@@ -36,6 +37,22 @@
<uni-icons type="forward" color="#737373"></uni-icons> <uni-icons type="forward" color="#737373"></uni-icons>
</template> </template>
</uni-easyinput> </uni-easyinput>
<!-- #endif -->
<!-- #ifdef APP-IOS -->
<view @tap="handleClick" style="width: 100%">
<uni-easyinput
:inputBorder="false"
disabled
v-model="houseName"
placeholderStyle="color: #999999"
placeholder="请选择安装房屋"
>
<template #right>
<uni-icons type="forward" color="#737373"></uni-icons>
</template>
</uni-easyinput>
</view>
<!-- #endif -->
</uni-forms-item> </uni-forms-item>
</uni-forms> </uni-forms>

View File

@@ -313,7 +313,7 @@ onReady(() => {
color: #999; color: #999;
border: 2rpx solid #999; border: 2rpx solid #999;
border-radius: 198rpx; border-radius: 198rpx;
margin: 0 16rpx 0 0 margin: 0 16rpx 0 0;
} }
.type-tab-item.active { .type-tab-item.active {
@@ -376,9 +376,11 @@ onReady(() => {
/* 类型标签组 */ /* 类型标签组 */
.tag-group { .tag-group {
display: flex; display: flex;
gap: 15rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.tag-group > .tag-item:not(:last-child) {
margin-right: 15rpx;
}
.tag-item { .tag-item {
padding: 6rpx 20rpx; padding: 6rpx 20rpx;

View File

@@ -287,7 +287,9 @@ function handlePrivew(imgs) {
/* background-color: #fff; */ /* background-color: #fff; */
margin: 20rpx 0; margin: 20rpx 0;
justify-content: flex-start; justify-content: flex-start;
gap: 20rpx; }
.type-tabs > .type-tab-item:not(:last-child) {
margin-right: 20rpx;
} }
.type-tab-item { .type-tab-item {
@@ -387,9 +389,11 @@ function handlePrivew(imgs) {
/* 类型标签组 */ /* 类型标签组 */
.tag-group { .tag-group {
display: flex; display: flex;
gap: 20rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.tag-group > .tag-item:not(:last-child) {
margin-right: 20rpx;
}
.tag-item { .tag-item {
width: 112rpx; width: 112rpx;
@@ -417,11 +421,13 @@ function handlePrivew(imgs) {
.card-image { .card-image {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 20rpx;
min-width: 186rpx; min-width: 186rpx;
min-height: 104rpx; min-height: 104rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.card-image > .images:not(:last-child) {
margin-right: 20rpx;
}
.images { .images {
width: 186rpx; width: 186rpx;
height: 104rpx; height: 104rpx;

View File

@@ -286,7 +286,9 @@ function handlePrivew(imgs) {
/* background-color: #fff; */ /* background-color: #fff; */
margin: 20rpx 0; margin: 20rpx 0;
justify-content: flex-start; justify-content: flex-start;
gap: 20rpx; }
.type-tabs > .type-tab-item:not(:last-child) {
margin-right: 20rpx;
} }
.type-tab-item { .type-tab-item {
@@ -384,10 +386,11 @@ function handlePrivew(imgs) {
/* 类型标签组 */ /* 类型标签组 */
.tag-group { .tag-group {
display: flex; display: flex;
gap: 20rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.tag-group > .tag-item:not(:last-child) {
margin-right: 20rpx;
}
.tag-item { .tag-item {
width: 112rpx; width: 112rpx;
height: 42rpx; height: 42rpx;
@@ -414,14 +417,15 @@ function handlePrivew(imgs) {
.card-image { .card-image {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 20rpx;
min-width: 186rpx; min-width: 186rpx;
min-height: 104rpx; min-height: 104rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.images { .images {
width: 186rpx; width: 186rpx;
height: 104rpx; height: 104rpx;
margin-right: 20rpx;
} }
/* 底部信息 */ /* 底部信息 */

View File

@@ -103,9 +103,9 @@ function handleSelecthouse() {
.imageboxs { .imageboxs {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
gap: 20rpx;
.images { .images {
width: 160rpx; width: 160rpx;
margin-right: 20rpx;
height: 160rpx; height: 160rpx;
border-radius: 0rpx; border-radius: 0rpx;
} }

View File

@@ -81,12 +81,7 @@
</view> </view>
</view> </view>
<view <view class="info" v-if="currentStep >= 2">
class="info"
v-if="
(currentStep >= 2 && prevPath === 'hall') || (currentStep >= 2 && prevPath === 'myticket')
"
>
<view class="info_title"> <view class="info_title">
<text>维修信息</text> <text>维修信息</text>
</view> </view>
@@ -195,8 +190,12 @@ const repairImageUrl = ref([])
onLoad(options => { onLoad(options => {
queryParams.value.id = options.id queryParams.value.id = options.id
if (options.showbtn) {
Showbtn.value = JSON.parse(options.showbtn) Showbtn.value = JSON.parse(options.showbtn)
prevPath.value = options.path } else {
// 从通知那里 跳转过来 展示 维修完成
Showbtn.value = true
}
}) })
onShow(() => { onShow(() => {
getTicketById() getTicketById()

View File

@@ -251,7 +251,9 @@ function handlePrivew(imgs) {
/* background-color: #fff; */ /* background-color: #fff; */
margin: 20rpx 0; margin: 20rpx 0;
justify-content: flex-start; justify-content: flex-start;
gap: 20rpx; }
.type-tabs > .type-tab-item:not(:last-child) {
margin-right: 20rpx;
} }
.type-tab-item { .type-tab-item {
@@ -348,9 +350,11 @@ function handlePrivew(imgs) {
/* 类型标签组 */ /* 类型标签组 */
.tag-group { .tag-group {
display: flex; display: flex;
gap: 20rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.tag-group > .tag-item:not(:last-child) {
margin-right: 20rpx;
}
.tag-item { .tag-item {
width: 112rpx; width: 112rpx;
@@ -378,7 +382,6 @@ function handlePrivew(imgs) {
.card-image { .card-image {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 20rpx;
min-width: 186rpx; min-width: 186rpx;
min-height: 104rpx; min-height: 104rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
@@ -386,6 +389,7 @@ function handlePrivew(imgs) {
.images { .images {
width: 186rpx; width: 186rpx;
height: 104rpx; height: 104rpx;
margin-right: 20rpx;
} }
/* 底部信息 */ /* 底部信息 */

View File

@@ -121,9 +121,10 @@ const onItemClick = item => {
.user-info { .user-info {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 8rpx;
} }
.user-info > .user-name:not(:last-child) {
margin-right: 8rpx;
}
.user-name { .user-name {
font-size: 36rpx; font-size: 36rpx;
font-weight: 600; font-weight: 600;