Commit 58f372d6 by 张立顺

bugfix

1 parent fb644339
<!--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>
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,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!