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>
...@@ -9,6 +9,14 @@ ...@@ -9,6 +9,14 @@
<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,
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
tabHeight tabHeight
unreadClueCount="{{unreadClueCount}}" unreadClueCount="{{unreadClueCount}}"
bindclick="changeTabIndx" bindclick="changeTabIndx"
class="tabContainer" class="tabContainer" />
/>
<view class="right" data-type="shop" bindtap="gotoApply"> <view class="right" data-type="shop" bindtap="gotoApply">
<image class="img" src="{{IMG_URL}}index/apply.png" /> <image class="img" src="{{IMG_URL}}index/apply.png" />
<view class="apply">申请业务</view> <view class="apply">申请业务</view>
...@@ -24,8 +23,7 @@ ...@@ -24,8 +23,7 @@
class="content" class="content"
wx:if="{{tabIndx == 1 }}" wx:if="{{tabIndx == 1 }}"
hover-class="none" hover-class="none"
hover-stop-propagation="false" hover-stop-propagation="false">
>
<view class="scene"> <view class="scene">
<!-- wx:if="{{item.sceneStatus == 1}}" --> <!-- wx:if="{{item.sceneStatus == 1}}" -->
<scroll-view scroll-x="{{true}}"> <scroll-view scroll-x="{{true}}">
...@@ -36,8 +34,7 @@ ...@@ -36,8 +34,7 @@
data-scenestatus="{{item.sceneStatus}}" data-scenestatus="{{item.sceneStatus}}"
bindtap="selectCar" bindtap="selectCar"
wx:for="{{senceData}}" wx:for="{{senceData}}"
wx:key="name" wx:key="name">
>
<view class="item"> <view class="item">
<image class="img" src="{{item.src}}" /> <image class="img" src="{{item.src}}" />
<view class="name">{{item.name}}</view> <view class="name">{{item.name}}</view>
...@@ -45,35 +42,30 @@ ...@@ -45,35 +42,30 @@
</view> </view>
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<product <product
stickyTop="{{headerHeight}}" stickyTop="{{headerHeight}}"
actNum="{{actNum}}" actNum="{{actNum}}"
senceData="{{senceData}}" senceData="{{senceData}}"
origin="home" origin="home"
bindsharehandle="sharehandle" bindsharehandle="sharehandle" />
/>
</view> </view>
<!-- 看线索内容 --> <!-- 看线索内容 -->
<view <view
class="clue" class="clue"
wx:if="{{tabIndx == 0 }}" wx:if="{{tabIndx == 0 }}"
hover-class="none" hover-class="none"
hover-stop-propagation="false" hover-stop-propagation="false">
>
<view class="types"> <view class="types">
<view <view
class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}" class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}"
wx:for="{{typeList}}" wx:for="{{typeList}}"
wx:key="*this" wx:key="*this"
data-index="{{index}}" data-index="{{index}}"
bindtap="filterTypeFn" bindtap="filterTypeFn">
>
{{item[item['selectIndex']] }} {{item[item['selectIndex']] }}
<image class="point" wx:if="{{index != 3}}" src="{{IMG_URL}}index/point.png" /> <image class="point" wx:if="{{index != 3}}" src="{{item['selectIndex']!=2&&index != 3? IMAGES.actArrow : IMAGES.arrow}}" />
</view> </view>
</view> </view>
<view class="list" hover-class="none" hover-stop-propagation="false"> <view class="list" hover-class="none" hover-stop-propagation="false">
...@@ -93,8 +85,7 @@ ...@@ -93,8 +85,7 @@
wx:for="{{item.visitList}}" wx:for="{{item.visitList}}"
wx:key="id" wx:key="id"
wx:for-index="idx" wx:for-index="idx"
wx:for-item="itemName" wx:for-item="itemName">
>
<view class="shop-record"> <view class="shop-record">
<view class="shop-action-wrap"> <view class="shop-action-wrap">
<view class="action-wrap"> <view class="action-wrap">
...@@ -102,15 +93,13 @@ ...@@ -102,15 +93,13 @@
class="action" class="action"
selectable="false" selectable="false"
space="false" space="false"
decode="false" decode="false">访问页面:
>访问页面:
</view> </view>
<view <view
class="detail" class="detail"
selectable="false" selectable="false"
space="false" space="false"
decode="false" decode="false">
>
{{itemName.productDesc}} {{itemName.productDesc}}
</view> </view>
</view> </view>
...@@ -118,8 +107,7 @@ ...@@ -118,8 +107,7 @@
class="time" class="time"
selectable="false" selectable="false"
space="false" space="false"
decode="false" decode="false">
>
{{itemName.clueDate}} {{itemName.clueDate}}
</view> </view>
</view> </view>
...@@ -136,14 +124,12 @@ ...@@ -136,14 +124,12 @@
class="phone-img" class="phone-img"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="phoneCallFn" bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" src="{{IMG_URL}}index/phone.png" />
/>
<image <image
class="copy" class="copy"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="setCopyDataFn" bindtap="setCopyDataFn"
src="{{IMG_URL}}index/copy.png" src="{{IMG_URL}}index/copy.png" />
/>
</view> </view>
</view> </view>
<view <view
...@@ -152,8 +138,7 @@ ...@@ -152,8 +138,7 @@
hover-stop-propagation="false" hover-stop-propagation="false"
data-type="active" data-type="active"
data-item="{{item}}" data-item="{{item}}"
bindtap="gotoApply" bindtap="gotoApply">
>
开通活动 开通活动
</view> </view>
</view> </view>
...@@ -167,8 +152,7 @@ ...@@ -167,8 +152,7 @@
data-type="like" data-type="like"
data-outidx="{{index}}" data-outidx="{{index}}"
data-item="{{item}}" data-item="{{item}}"
bindtap="showToast" bindtap="showToast" />
/>
<image <image
class="like" class="like"
wx:if="{{item.clueType == 1 && item.starTag == 0}}" wx:if="{{item.clueType == 1 && item.starTag == 0}}"
...@@ -176,8 +160,7 @@ ...@@ -176,8 +160,7 @@
data-type="dislike" data-type="dislike"
data-outidx="{{index}}" data-outidx="{{index}}"
data-item="{{item}}" data-item="{{item}}"
bindtap="showToast" bindtap="showToast" />
/>
<view class="name" hover-class="none" hover-stop-propagation="false"> <view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}} {{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" /> <image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
...@@ -189,22 +172,19 @@ ...@@ -189,22 +172,19 @@
wx:for="{{item.visitList}}" wx:for="{{item.visitList}}"
wx:key="id" wx:key="id"
wx:for-index="idx" wx:for-index="idx"
wx:for-item="itemName" wx:for-item="itemName">
>
<view class="action-wrap"> <view class="action-wrap">
<view <view
class="action" class="action"
selectable="false" selectable="false"
space="false" space="false"
decode="false" decode="false">访问页面:
>访问页面:
</view> </view>
<view <view
class="detail" class="detail"
selectable="false" selectable="false"
space="false" space="false"
decode="false" decode="false">
>
{{itemName.productDesc}} {{itemName.productDesc}}
</view> </view>
</view> </view>
...@@ -212,8 +192,7 @@ ...@@ -212,8 +192,7 @@
class="time" class="time"
selectable="false" selectable="false"
space="false" space="false"
decode="false" decode="false">
>
{{itemName.clueDate}} {{itemName.clueDate}}
</view> </view>
</view> </view>
...@@ -224,30 +203,26 @@ ...@@ -224,30 +203,26 @@
hover-class="none" hover-class="none"
hover-stop-propagation="false" hover-stop-propagation="false"
data-outidx="{{index}}" data-outidx="{{index}}"
bindtap="getMore" bindtap="getMore">
>
{{ item.getMoreFlag ?'更多数据':'收起数据'}} {{ item.getMoreFlag ?'更多数据':'收起数据'}}
</view> </view>
<view <view
class="info" class="info"
hover-class="none" hover-class="none"
hover-stop-propagation="false" hover-stop-propagation="false"
wx:if="{{item.phone}}" wx:if="{{item.phone}}">
>
<view class="phone-wrap"> <view class="phone-wrap">
<view class="phone">{{item.phone}}</view> <view class="phone">{{item.phone}}</view>
<image <image
class="phone-img" class="phone-img"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="phoneCallFn" bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" src="{{IMG_URL}}index/phone.png" />
/>
<image <image
class="copy" class="copy"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="setCopyDataFn" bindtap="setCopyDataFn"
src="{{IMG_URL}}index/copy.png" src="{{IMG_URL}}index/copy.png" />
/>
</view> </view>
<view <view
class="btn" class="btn"
...@@ -256,8 +231,7 @@ ...@@ -256,8 +231,7 @@
data-type="shop" data-type="shop"
bindtap="gotoApply" bindtap="gotoApply"
data-item="{{item}}" data-item="{{item}}"
wx:if="{{item.applyStatus == 0}}" wx:if="{{item.applyStatus == 0}}">
>
+开店面 +开店面
</view> </view>
</view> </view>
...@@ -278,8 +252,7 @@ ...@@ -278,8 +252,7 @@
webp webp
bindtap="guideFn" bindtap="guideFn"
class="guide-img" class="guide-img"
src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" />
/>
</view> </view>
<!-- 在线客服 --> <!-- 在线客服 -->
<image class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" /> <image class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
...@@ -288,8 +261,7 @@ ...@@ -288,8 +261,7 @@
class="output-value" class="output-value"
bindtap="showCalculate" bindtap="showCalculate"
src="{{IMG_URL}}index/valuation.png" src="{{IMG_URL}}index/valuation.png"
wx:if="{{tabIndx == 1}}" wx:if="{{tabIndx == 1}}" />
/>
<!-- 预估产值弹框 --> <!-- 预估产值弹框 -->
<view class="dialog-wrapper" bindtap="clickDialog" hidden="{{!visible}}"> <view class="dialog-wrapper" bindtap="clickDialog" hidden="{{!visible}}">
<view class="dialog-box"> <view class="dialog-box">
...@@ -310,8 +282,7 @@ ...@@ -310,8 +282,7 @@
maxlength="8" maxlength="8"
name="sales" name="sales"
value="{{formData.sales}}" value="{{formData.sales}}"
type="number" type="number" />
/>
<!-- <view class="form-unit">台</view> --> <!-- <view class="form-unit">台</view> -->
</view> </view>
<view class="form-item"> <view class="form-item">
...@@ -322,8 +293,7 @@ ...@@ -322,8 +293,7 @@
maxlength="8" maxlength="8"
name="flow" name="flow"
type="number" type="number"
value="{{formData.flow}}" value="{{formData.flow}}" />
/>
<!-- <view class="form-unit">人</view> --> <!-- <view class="form-unit">人</view> -->
</view> </view>
<button class="dialog-btn" form-type="submit">提交测算</button> <button class="dialog-btn" form-type="submit">提交测算</button>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!