Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
computedRoomPad
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
computedRoomPad
Commits
00b6fab7
提交
00b6fab7
authored
3月 13, 2025
作者:
caodi\cd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:样式
上级
5ab24ae0
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
89 行增加
和
84 行删除
+89
-84
index.vue
pages/listingManagement/index.vue
+89
-84
没有找到文件。
pages/listingManagement/index.vue
浏览文件 @
00b6fab7
...
...
@@ -22,6 +22,7 @@
<view
class=
"selected-count"
>
已选择
{{
selectedCount
}}
张图片
</view>
<!-- 第三个模块:照片显示模块 -->
<view
class=
"photo-box"
>
<view
class=
"photo-list"
>
<view
v-for=
"(group, date) in photoGroups"
...
...
@@ -52,7 +53,9 @@
<view
class=
"check-icon"
@
click
.
stop=
"toggleSelect(photo)"
>
<text
v-if=
"photo.selected"
>
√
</text>
</view>
<view
class=
"delete-icon"
@
click
.
stop=
"deletePhoto(photo)"
>
×
</view>
<view
class=
"delete-icon"
@
click
.
stop=
"deletePhoto(photo)"
>
×
</view
>
<view
class=
"type"
>
{{
photo
.
synchronization
?
"已同步"
:
"待同步"
}}
</view>
...
...
@@ -69,7 +72,8 @@
</view>
</view>
</view>
</view>
</view></view
>
<view
v-if=
"selectedPhotos && selectedPhotos.length"
class=
"inspection-button"
...
...
@@ -135,12 +139,7 @@ export default {
onLoad
(
options
)
{
this
.
getDetails
();
},
mounted
()
{
const
systemInfo
=
uni
.
getSystemInfoSync
();
console
.
log
(
"设备逻辑宽度"
,
systemInfo
.
windowWidth
);
// 设备逻辑宽度
console
.
log
(
"设备像素比"
,
systemInfo
.
pixelRatio
);
// 设备像素比
},
mounted
()
{},
methods
:
{
back
()
{
uni
.
navigateBack
();
...
...
@@ -324,71 +323,66 @@ export default {
},
};
</
script
>
<
style
lang=
"less"
scoped
>
/* 导航栏样式--- */
.uni-nav-bar-text {
height:
36
px;
width:
36
px;
height:
28.8
px;
width:
28.8
px;
background: #ffffff;
border: 0.
4
px solid rgba(224, 224, 224, 1);
border-radius: 1
8
px;
border: 0.
32
px solid rgba(224, 224, 224, 1);
border-radius: 1
4.4
px;
border-radius: 50%;
color: #333;
text-align: center;
.iconfont {
font-size:
20
px;
line-height:
36
px;
font-size:
16
px;
line-height:
28.8
px;
}
}
.nav-right {
width:
240
px;
width:
192
px;
}
.header-buttons {
display: flex;
align-items: center;
margin-left: auto;
// 将按钮组推到最右侧
margin-left: auto;
.button {
width:
112
px;
height:
36
px;
width:
89.6
px;
height:
28.8
px;
background: #ffffff;
border-radius: 1
8
px;
margin-left: 1
6
px;
border-radius: 1
4.4
px;
margin-left: 1
2.8
px;
font-family: PingFangSC-Regular;
font-size: 1
6
px;
font-size: 1
2.8
px;
color: #000000;
line-height:
36
px;
line-height:
28.8
px;
font-weight: 400;
}
}
/* 导航栏样式--- */
.container {
background-image: linear-gradient(115deg, #e8f0fb 0%, #e1ebfa 100%);
// padding: 0 32px;
height: 100vh;
height: 100%;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1
6
px;
margin-bottom: 1
2.8
px;
.title {
display: flex;
align-items: center;
.blue-line {
width:
4
px;
height:
20
px;
width:
3.2
px;
height:
16
px;
background-color: blue;
margin-right:
8
px;
margin-right:
6.4
px;
}
}
...
...
@@ -396,38 +390,46 @@ export default {
display: flex;
.btn {
width:
112
px;
height:
36
px;
border-radius: 1
8
px;
margin-left:
8
px;
width:
89.6
px;
height:
28.8
px;
border-radius: 1
4.4
px;
margin-left:
6.4
px;
}
}
}
.selected-count {
background-color: #f0f0f0;
padding:
8
px;
border-radius:
8
px;
margin-bottom: 1
6
px;
padding:
6.4
px;
border-radius:
6.4
px;
margin-bottom: 1
2.8
px;
}
.photo-list {
padding: 24px 0;
.photo-box {
width: 100%;
height: 100%;
overflow: hidden;
.photo-list {
padding: 19.2px 0;
overflow: auto;
.photo-group {
margin-bottom: 16
px;
margin-bottom: 12.8
px;
.group-header {
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: 8px;
padding: 0 32px;
margin-bottom: 6.4px;
padding: 0 25.6px;
.date {
font-size: 26
px;
font-size: 20.8
px;
color: #000000;
line-height: 18
px;
line-height: 14.4
px;
font-weight: 500;
margin-left: 8
px;
margin-left: 6.4
px;
}
}
...
...
@@ -437,9 +439,9 @@ export default {
gap: 3.2px;
.card {
width: 168r
px;
height: 188.8r
px;
margin-bottom: 22
px;
width: 168
px;
height: 188.8
px;
margin-bottom: 17.6
px;
position: relative;
.photo {
...
...
@@ -449,12 +451,12 @@ export default {
.check-icon {
position: absolute;
top: 8
px;
left: 8
px;
top: 6.4
px;
left: 6.4
px;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 50%;
width: 24
px;
height: 24
px;
width: 19.2
px;
height: 19.2
px;
display: flex;
justify-content: center;
align-items: center;
...
...
@@ -462,91 +464,93 @@ export default {
.delete-icon {
position: absolute;
bottom: 8
px;
left: 8
px;
bottom: 6.4
px;
left: 6.4
px;
background-color: rgba(255, 0, 0, 0.8);
border-radius: 50%;
width: 24
px;
height: 24
px;
width: 19.2
px;
height: 19.2
px;
display: flex;
justify-content: center;
align-items: center;
color: white;
}
.type {
width: 52
px;
padding: 0 8
px;
width: 41.6
px;
padding: 0 6.4
px;
text-align: center;
background: rgba(0, 0, 0, 0.5);
border-radius: 11
px;
font-size: 12
px;
border-radius: 8.8
px;
font-size: 9.6
px;
color: #ffffff;
text-align: left;
line-height: 20
px;
line-height: 16
px;
font-weight: 400;
position: absolute;
right: 13.5
px;
top: 8
px;
right: 10.8
px;
top: 6.4
px;
}
.photo-info {
text-align: center;
text {
font-family: PingFangSC-Regular;
font-size: 14
px;
font-size: 11.2
px;
color: #000000;
line-height: 22
px;
line-height: 17.6
px;
font-weight: 400;
}
}
}
}
}
}
}
// 按钮
.inspection-button {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
bottom:
60
px;
width: 2
80
px;
height:
48
px;
bottom:
25.6
px;
width: 2
24
px;
height:
38.4
px;
left: 50%;
transform: translateX(-50%);
background-image: linear-gradient(180deg, #3773f6 0%, #2c57f6 99%);
box-shadow: 0px
10px 24
px 0px rgba(51, 104, 246, 0.24);
border-radius: 2
7
px;
box-shadow: 0px
8px 19.2
px 0px rgba(51, 104, 246, 0.24);
border-radius: 2
1.6
px;
font-family: PingFangSC-Regular;
font-size:
20
px;
line-height:
48
px;
font-size:
16
px;
line-height:
38.4
px;
color: #ffffff;
text-align: center;
font-weight: 400;
}
/* 圆形按钮样式 */
.circle-button {
width: 1
8
px;
height: 1
8
px;
width: 1
4.4
px;
height: 1
4.4
px;
border-radius: 50%;
border:
1.14
px solid rgba(199, 199, 199, 1);
border:
0.912
px solid rgba(199, 199, 199, 1);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
/* 选中状态样式 */
&.active {
border-color: #007aff;
background-color: #3774f6;
}
/* 内部小圆点 */
.inner-circle {
width: 1
8
px;
height: 1
8
px;
width: 1
4.4
px;
height: 1
4.4
px;
border-radius: 50%;
margin-right:
8
px;
margin-right:
6.4
px;
}
}
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论