Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
You need to sign in or sign up before continuing.
Commit 408cc20d
authored
Jun 25, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式优化
1 parent
87fd0f75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.js
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.sass
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.wxml
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.js
View file @
408cc20
...
...
@@ -7,7 +7,7 @@ Component({
show
:
{
type
:
Boolean
,
observer
:
function
(
n
)
{
console
.
log
(
n
,
'show'
);
console
.
log
(
n
,
'show'
,
this
.
data
.
isFlag
);
if
(
n
)
{
this
.
setData
({
keyWord
:
''
,
...
...
@@ -95,7 +95,6 @@ Component({
}
=
this
.
data
;
let
result
=
goodsList
[
index
].
multipleSpecificationsGoods
.
specificationList
.
every
(
item
=>
item
.
value
)
let
active
=
goodsList
[
index
].
active
console
.
log
(
active
,
goodsList
[
index
])
//规格全部选中逻辑处理
if
(
result
)
{
...
...
@@ -104,7 +103,6 @@ Component({
arr
.
push
(
spec
.
value
)
})
let
str
=
arr
.
join
(
';~;'
)
console
.
log
(
str
)
goodsList
[
index
].
active
=
true
// strTemp用来存储上一次选中的值,判断规格是否重新选择 ,避免页面交互闪烁
// if (type && str != strTemp) {
...
...
@@ -140,7 +138,8 @@ Component({
let
chooseList
=
await
this
.
getChooseList
(
false
);
this
.
setData
({
show
:
false
,
goodsList
goodsList
,
isFlag
:
false
},
()
=>
{
let
thisPage
=
wx
.
$router
.
getPageInstance
();
let
secondPage
=
thisPage
.
selectComponent
(
`#SecondStep`
)
...
...
@@ -281,7 +280,7 @@ Component({
}
=
this
.
data
if
(
show
)
{
wx
.
$util
.
showLoading
()
console
.
log
(
222222
)
// wx.showLoading('加载中...'
)
if
(
chooseGoodsList
.
length
==
0
)
{
goodsList
.
forEach
(
e
=>
{
e
.
active
=
false
...
...
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.sass
View file @
408cc20
...
...
@@ -12,7 +12,6 @@
}
.box
{
border-bottom
:
var
(
--
fontSize2
)
solid
#EBEDF0
;
padding-left
:
var
(
--
fontSize32
)
;
}
...
...
@@ -191,7 +190,11 @@
text-align
:
center
;
color
:
#999
;
}
.remind-text
{
padding
:
var
(
--
fontSize100
)
;
text-align
:
center
;
color
:
#999
;
}
.childbox
{
width
:
100%
;
display
:
flex
;
...
...
packageEquity/pages/carQuotation/components/GoodsPackage/Goods.wxml
View file @
408cc20
...
...
@@ -84,7 +84,7 @@
</block>
</block>
<view wx:if="{{!isFlag}}" class="remind-text">数据加载处理中,请耐心等待...</view>
</view>
<!-- </block> -->
</block>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment