Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
3462a90b
Commit
3462a90b
authored
May 13, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
e26e8a21
05fe970c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
273 additions
and
265 deletions
+273
-265
preview.vue
src/components/photo/preview.vue
+11
-3
complete.vue
src/pages/order/complete.vue
+1
-1
preview.vue
src/pages/photo/preview.vue
+261
-261
No files found.
src/components/photo/preview.vue
View file @
3462a90b
<
template
>
<view>
<view
class=
"topView"
:style=
"
{'height':navHeight/2 + 'px'}">
</view>
<view
class=
"contentView"
>
<!--
<u-image
class=
"pic"
:src=
"files[0]"
bg-color=
"transparent"
@
click=
"showPreviewFn"
></u-image>
-->
<image
class=
"pic"
:src=
"files[0]"
v-lazy
mode=
"aspectFit"
@
click=
"showPreviewFn"
></image>
...
...
@@ -29,12 +30,13 @@
keys
:
[],
token
:
''
,
product
:
''
,
allImages
:
[]
allImages
:
[],
navHeight
:
130
}
},
created
(
e
)
{
// 获取照片选项对象
console
.
log
(
getApp
().
globalData
.
photo
.
currentItem
)
this
.
navHeight
=
getApp
().
globalData
.
navHeight
const
product
=
app
.
globalData
.
photo
.
product
this
.
product
=
`?brandId=
${
product
.
brandId
}
&brand=
${
product
.
brandName
}
&classifyId=
${
product
.
classifyId
}
&systemId=
${
product
.
systemId
}
`
if
(
app
.
globalData
.
photo
.
currentItem
)
{
...
...
@@ -146,6 +148,12 @@
</
script
>
<
style
lang=
"scss"
>
.topView
{
background
:
#000
;
width
:
100%
;
position
:
fixed
;
top
:
0
;
}
.contentView
{
background-color
:
#333333
;
/* padding-top: 120rpx; */
...
...
@@ -155,7 +163,7 @@
flex-direction
:
column
;
}
/
deep
/
.u-image
{
height
:
100
vh
!
important
;
height
:
100
%
!
important
;
}
/
deep
/
.u-image__loading
{
background-color
:
transparent
!
important
;
...
...
src/pages/order/complete.vue
View file @
3462a90b
...
...
@@ -3,7 +3,7 @@
<complete-check
:show=
"completeCheckStatus"
:list-data=
"completeCheckResult"
:pass=
"pass"
@
close=
"closeCheckResult"
@
handle=
"handerProgrom"
@
change=
"confirm"
></complete-check>
<view
class=
"u-wrap"
>
<u-navbar
:background=
"
{background: '#2272FF'}" back-icon-color="#fff" :title-size="32" title-color="#fff" :border-bottom="false" title="完工信息">
</u-navbar>
<u-tabs
-swiper
class=
"order-tabs"
ref=
"tabs"
:current=
"tabIndex"
name=
"panelName"
:list=
"list"
@
change=
"tabsChange"
:is-scroll=
"false"
bg-color=
"#2272FF"
inactive-color=
"#a6c6ff"
active-color=
"#fff"
height=
"80"
font-size=
"32"
></u-tabs-swiper
>
<u-tabs
class=
"order-tabs"
ref=
"tabs"
:current=
"tabIndex"
name=
"panelName"
:list=
"list"
@
change=
"tabsChange"
:is-scroll=
"false"
bg-color=
"#2272FF"
inactive-color=
"#a6c6ff"
active-color=
"#fff"
height=
"80"
font-size=
"32"
></u-tabs
>
<view
class=
"u-menu-wrap"
>
<scroll-view
scroll-y
scroll-with-animation
class=
"u-tab-view menu-scroll-view"
:scroll-top=
"scrollTop"
:scroll-into-view=
"itemId"
v-if=
"list[tabIndex].items.length > 1"
>
<view
v-for=
"(item,index) in list[tabIndex].items"
:key=
"index"
class=
"u-tab-item"
...
...
src/pages/photo/preview.vue
View file @
3462a90b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment