Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
bfca366b
Commit
bfca366b
authored
Jul 26, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ccc02112
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
57 deletions
+71
-57
index.vue
components/navpage/index.vue
+5
-1
u-index-anchor.vue
...les/uview-ui/components/u-index-anchor/u-index-anchor.vue
+8
-0
u-index-list.vue
...modules/uview-ui/components/u-index-list/u-index-list.vue
+1
-1
ClassList.vue
pages/Luxury/ClassList.vue
+55
-51
ValuationDetails.vue
pages/Luxury/ValuationDetails.vue
+2
-4
No files found.
components/navpage/index.vue
View file @
bfca366b
...
...
@@ -19,6 +19,7 @@
<template
v-if=
"clickItem.ShowType==0"
>
<cats
v-if=
"clickItem.ComponentName == 'cats'"
></cats>
<activity
v-if=
"clickItem.ComponentName == 'activity'"
></activity>
</
template
>
<
template
v-else
>
<template
v-if=
"clickItem&&clickItem.TemplateData"
v-for=
"subItem in clickItem.TemplateData"
>
...
...
@@ -30,6 +31,7 @@
<rgoods
v-if=
"subItem.Id == 'educationCustom'"
:goods=
"subItem.data"
></rgoods>
<matchmaking
v-if=
"subItem.Id == 'miaiuser'"
:navs=
"subItem.data"
></matchmaking>
<pagetitle
v-if=
"subItem.Id == 'link'"
:ts=
"subItem.data"
></pagetitle>
<goods
v-if=
"subItem.Id == 'goods'"
:goods=
"subItem.data"
></goods>
</
template
>
</template>
</template>
...
...
@@ -70,6 +72,7 @@
import
rgoods
from
"@/components/study/index.vue"
;
import
matchmaking
from
"@/components/matchmaking/index"
;
import
pagetitle
from
"@/components/pagetitle/index"
;
import
goods
from
"@/components/goods/index"
;
export
default
{
components
:
{
cats
,
...
...
@@ -77,7 +80,8 @@
rubik
,
rgoods
,
matchmaking
,
pagetitle
pagetitle
,
goods
},
props
:
[
"navs"
],
data
()
{
...
...
node_modules/uview-ui/components/u-index-anchor/u-index-anchor.vue
View file @
bfca366b
...
...
@@ -46,6 +46,14 @@
}
},
inject
:
[
'UIndexList'
],
wacth
:{
index
:
{
handler
:
function
(
val
,
oldval
)
{
console
.
log
(
val
,
'----'
)
},
deep
:
true
,
},
},
mounted
()
{
this
.
UIndexList
.
children
.
push
(
this
);
this
.
UIndexList
.
updateData
();
...
...
node_modules/uview-ui/components/u-index-list/u-index-list.vue
View file @
bfca366b
...
...
@@ -287,7 +287,7 @@
.u-index-bar__index
{
font-weight
:
500
;
padding
:
8rpx
18
rpx
;
padding
:
8rpx
30
rpx
;
font-size
:
22rpx
;
line-height
:
1
}
...
...
pages/Luxury/ClassList.vue
View file @
bfca366b
...
...
@@ -3,21 +3,7 @@
<view
class=
"ctrl-box"
>
<u-searchB
action-text=
"搜索"
:focus=
"false"
:clearabled=
"true"
:show-action=
"false"
radius=
"40"
v-model=
"Keywords"
@
chang=
"changeHandler"
></u-searchB>
<!-- @search="searchHandler" @custom="searchHandler" @change="changeHandler" -->
</view>
<!--
<view
class=
"search-box"
:style=
"
{ background: bg }" @click="goSearch">
<u-search
:placeholder=
"styleStr.placeholder"
v-model=
"Keywords"
:input-align=
"styleStr.textPosition"
:value=
"Keywords"
:bg-color=
"styleStr.color"
:text-color=
"styleStr.textColor"
:radius=
"styleStr.radius"
:show-action=
"false"
:margin=
"marginStyle"
></u-search>
</view>
-->
<div
style=
"height: calc(100vh - 0px);width: calc(100vw);overflow: hidden;margin-top: 105rpx;"
>
<view
class=
"right-box"
>
...
...
@@ -26,45 +12,24 @@
<u-empty
text=
"没有找到相关品牌信息"
mode=
"order"
></u-empty>
</view>
</view>
<!--
<view
class=
"ClassList-form"
>
<view
class=
"form-left"
>
<view
v-for=
"(item,index) in classData"
:key=
"index"
class=
"name-box"
:class=
"
{'active':classObj.Name==item.Name}"
@click="chooseType(item)">
<view></view>
<text>
{{
item
.
Name
}}
</text>
</view>
</view>
<view
class=
"form-right"
>
<view
class=
"right-box"
>
<uni-indexed-list
:Image=
"classObj.Image"
:options=
"list"
:show-select=
"true"
@
click=
"bindClick"
/>
</view>
</view>
</view>
-->
</div>
<!--
<div
style=
'height: calc(100vh - 50px);'
>
<!--
<div
style=
'height: calc(100vh -
1
50px);'
>
<u-index-list
:scrollTop=
"scrollTop"
>
<view
v-for=
"(item,index) in indexList"
:key=
"index"
>
<u-index-anchor
:index=
"item.ti"
/>
{{
item
.
children
}}
<view
class=
"list-cell"
v-for=
"(x,y) in item.children"
:key=
'y'
@
click=
"goback(x,2)"
>
{{
x
.
Name
}}
<template
v-if=
"item.ti=='*'"
>
<view
class=
"imgList"
v-for=
"(i,indexs) in x"
:key=
"indexs"
>
<view
v-for=
"(b,k) in i.BrandImgList"
:key=
"k"
>
<image
:src=
"b.Path"
mode=
"scaleToFill"
/>
</view>
<u-index-anchor
:index=
"item.ti"
:customStyle=
"customStyle"
/>
<view
class=
"imgList"
>
<view
v-if=
"x.IsHot"
v-for=
"(x,y) in item.children"
:key=
'y'
@
click=
"goback(x,2)"
>
<image
:src=
"x.Logo"
mode=
"scaleToFill"
/>
</view>
</view>
<view
v-for=
"(x,y) in item.children"
:key=
'y'
@
click=
"goback(x,2)"
class=
"list-cel imgList-box"
>
<template
v-if=
"!x.IsHot"
>
<view
class=
"img"
>
<image
:src=
"x.Logo"
mode=
"scaleToFill"
/>
</view>
</
template
>
<
template
v-else
>
<view
v-for=
"(i,indexs) in x"
:key=
"indexs"
>
<view
v-for=
"(b,k) in x.BrandImgList"
:key=
"k"
>
<view
class=
"imgs"
style=
"margin-right: 20rpx;"
>
<image
:src=
"b.Path"
mode=
"scaleToFill"
/>
</view>
<text>
b.Name
</text>
</view>
<view
class=
"text"
>
{{
x
.
Name
}}
</view>
</
template
>
</view>
...
...
@@ -101,6 +66,9 @@
navHeight
:
0
,
Keywords
:
''
,
marginStyle
:
""
,
customStyle
:{
top
:
'101rpx'
},
styleStr
:
{
placeholder
:
"搜索"
,
background
:
"rgb(240,239,244)"
,
...
...
@@ -380,7 +348,7 @@
x.children=[];
this.AllList.forEach(j=>{
let obj={}
if(x.ti==j.PinYin
.substr(0,1)
){
if(x.ti==j.PinYin){
x.children.push(j)
}
if(x.ti=='*'&&j.IsHot){
...
...
@@ -388,7 +356,7 @@
}
})
})
console.log(this.indexList,'
---
')
console.log(this.indexList,'
6555
')
this.AllList.forEach(item=>{
this.list.forEach(i=>{
if(!item.IsHot){
...
...
@@ -487,4 +455,40 @@
background
:
#F7F7F7
;
z-index
:
3
;
}
.imgList
{
width
:
100%
;
display
:
flex
;
flex-wrap
:
wrap
;
}
.imgList
view
{
flex-shrink
:
0
;
width
:
33.33%
;
text-align
:
center
;
padding
:
20
rpx
0
0
0
;
text-align
:
center
;
}
.imgList
view
image
{
width
:
100
rpx
;
height
:
80
rpx
;
border-radius
:
15
rpx
;
}
.imgList-box
{
display
:
flex
;
padding
:
0
20
rpx
;
}
.imgList-box
image
{
width
:
80
rpx
;
height
:
80
rpx
;
border-radius
:
50%
;
}
.imgList-box
view
:last-child
{
width
:
470
rpx
;
flex
:
1
;
font-size
:
30
rpx
;
color
:
#191919
;
font-weight
:
600
;
font-family
:
-webkit-pictograph
;
margin-left
:
20
rpx
;
word-wrap
:
break-word
;
}
</
style
>
\ No newline at end of file
pages/Luxury/ValuationDetails.vue
View file @
bfca366b
...
...
@@ -223,8 +223,7 @@
this
.
showAuth
=
true
;
}
else
{
this
.
getDetails
()
this
.
showOpenSettingDialog
=
uni
.
getStorageSync
(
'showOpenSettingDialog'
)
||
false
;
this
.
showOpenSettingDialog
=
uni
.
getStorageSync
(
'showOpenSettingDialog'
)
||
false
;
}
},
...
...
@@ -520,11 +519,10 @@
width
:
100%
;
display
:
flex
;
align-items
:
center
;
font-size
:
28
rpx
;
}
.title-text
{
color
:
black
;
font-size
:
30
rpx
;
font-size
:
28
rpx
;
margin-left
:
15
rpx
;
}
.ReplyDate-text
{
...
...
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