Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4ad47324
authored
Sep 30, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refactor(SecondHandCar): 简化价格显示逻辑,移除冗余条件判断
1 parent
ae3329f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
packagesList/outDetail/components/SecondHandCar/components/Board/index.wxml
packagesList/outDetail/components/SecondHandCar/components/Board/index.wxml
View file @
4ad4732
...
...
@@ -5,7 +5,7 @@
<view class="data-row">
<view class="data-card" wx:for="{{firstCell}}" wx:key="index">
<view class="first-row-title">{{item.name}}</view>
<view class="first-card-value"><view class="unit">¥</view>{{boardData[item.value] == null ? '-' :
item.haswan ? filter.threeNumForTwoPriceFormat(boardData[item.value]) :
filter.money_three_for_two_thousands(boardData[item.value])}}</view>
<view class="first-card-value"><view class="unit">¥</view>{{boardData[item.value] == null ? '-' : filter.money_three_for_two_thousands(boardData[item.value])}}</view>
<view class="card-compare neutral">
环比{{boardData[item.rate] == null ? '-' : boardData[item.rate] + '%'}}
<glsx-image src="{{boardData[item.rate] > 0 ? up : boardData[item.rate] < 0 ? down : flat}}" class="icon"></glsx-image>
...
...
@@ -50,7 +50,7 @@
<glsx-image class="icon" wx:if="{{item.tipsType}}" src="store-assistant-assemble/output/icon-inco.png" bind:tap="open"data-type="{{item.tipsType}}"></glsx-image>
<glsx-image class="card-icon" src="store-assistant-assemble/output/icon7{{item.type}}.png"></glsx-image>
</view>
<view class="card-value">{{boardData[item.value] == null ? '-' :
item.haswan ? '¥' + filter.threeNumForTwoPriceFormat(boardData[item.value]) :
(item.unit ? boardData[item.value] + item.unit : boardData[item.value])}}</view>
<view class="card-value">{{boardData[item.value] == null ? '-' : (item.unit ? boardData[item.value] + item.unit : boardData[item.value])}}</view>
<view class="card-compare neutral">
环比{{boardData[item.rate] == null ? '-' : boardData[item.rate] + '%'}}
<glsx-image src="{{boardData[item.rate] > 0 ? up : boardData[item.rate] < 0 ? down : flat}}" class="icon"></glsx-image>
...
...
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