Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 58f372d6
authored
Oct 25, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bugfix
1 parent
fb644339
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
13 deletions
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
pages/tab/index/index.js
pages/tab/index/index.wxml
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
View file @
58f372d
<!--
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
-->
<!--
packageOutput/pages/summary/components/outputTransform/outputTransform.wxml
-->
<view class="layout">
<view class="layout">
<view class="block" wx:for="{{formDataList}}" wx:key="index">
<view class="block" wx:for="{{formDataList}}" wx:key="index">
<view>
<view>
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>
{{formData[item.name] || 0}}
{{formData[item.name] || 0}}
<text wx:if="{{item.suffix}}">{{item.suffix}}</text>
<text wx:if="{{item.suffix}}">{{item.suffix}}</text>
</view>
</view>
<view class="label">{{item.label}}</view>
<view class="label">{{item.label}}</view>
</view>
</view>
</view>
</view>
<navigator class="link" target="miniProgram" open-type="navigate" app-id="wx570d9331f9ace0bd" version="release">
<image class="icon-link" src="{{IMGURL}}output/icon-link.png?v={{img_version}}"></image>
查看订单详情</navigator>
\ No newline at end of file
\ No newline at end of file
<navigator
version="trial"
class="link"
target="miniProgram"
open-type="navigate"
app-id="wx570d9331f9ace0bd"
version="release">
<image class="icon-link" src="{{IMGURL}}output/icon-link.png?v={{img_version}}" />
查看订单详情
</navigator>
pages/tab/index/index.js
View file @
58f372d
const
navStyle
=
'background-color: transparent;'
const
navStyle
=
'background-color: transparent;'
import
{
IMG_URL
}
from
'~/utils/constantData.js'
import
{
IMG_URL
}
from
'~/utils/constantData.js'
import
{
senceData
}
from
'./constant/data'
import
{
senceData
}
from
'./constant/data'
const
IMAGES
=
Object
.
freeze
({
arrow
:
`
${
IMG_URL
}
/index/point.png`
,
actArrow
:
`
${
IMG_URL
}
/index/actArrow.png`
})
// `${IMG_URL}index/car2.png`,
// `${IMG_URL}index/car2.png`,
//本地图片路径
//本地图片路径
let
IMG_URLLocal
=
'../../../images/'
let
IMG_URLLocal
=
'../../../images/'
...
@@ -13,6 +16,7 @@ Page({
...
@@ -13,6 +16,7 @@ Page({
* 页面的初始数据
* 页面的初始数据
*/
*/
data
:
{
data
:
{
IMAGES
,
navStyle
,
navStyle
,
IMG_URL
,
IMG_URL
,
IMG_URLLocal
,
IMG_URLLocal
,
...
...
pages/tab/index/index.wxml
View file @
58f372d
This diff is collapsed.
Click to expand it.
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