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 34682514
authored
Nov 01, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix;长图格式调整为webp
1 parent
32ff171b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
12 deletions
pages/tab/index/components/product/product.wxml
pages/tab/index/index.wxml
pages/tab/index/components/product/product.wxml
View file @
3468251
...
...
@@ -5,7 +5,7 @@
<block wx:if="{{phone}}">
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
<!-- <image src="{{IMGURL}}share-phone.png" class="icon"></image> -->
<image src="{{IMGURL}}phone.png" class="icon"></image>
<image
webp
src="{{IMGURL}}phone.png" class="icon"></image>
请联系我
<view style="color:#3666fe">
{{phone}}
...
...
@@ -23,7 +23,7 @@
<view class="card-img">
<!-- <text class="img-desc">轻改类</text>
<image src="{{IMGURL}}discovery_prod1.png" /> -->
<image src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" />
<image
webp
src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" />
</view>
<view class="prod-info">
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
...
...
@@ -34,7 +34,7 @@
</text>
</view>
<view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn">
<image class="icon" src="{{IMGURL}}share.png" />
<image
webp
class="icon" src="{{IMGURL}}share.png" />
<text>去分享</text>
</view>
</view>
...
...
@@ -53,7 +53,7 @@
<!-- wx:if="{{showVideo && index==5 && tab.length < 5}}" -->
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index != 5}}">
<!-- wx:if="{{index!=5}}" -->
<image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<image
webp
class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
...
...
@@ -74,7 +74,7 @@
</view>
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}">
<!-- wx:if="{{index!=5}}" -->
<image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<image
webp
class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
...
...
pages/tab/index/index.wxml
View file @
3468251
...
...
@@ -13,7 +13,7 @@
bindclick="changeTabIndx"
class="tabContainer" />
<view class="right" data-type="shop" bindtap="gotoApply">
<image class="img" src="{{IMG_URL}}index/apply.png" />
<image
webp
class="img" src="{{IMG_URL}}index/apply.png" />
<view class="apply">申请业务</view>
</view>
</view>
...
...
@@ -37,7 +37,7 @@
wx:key="name">
<view class="item">
<!-- <image class="open-img" wx:if="{{item.sceneStatus == 1}}" src="{{IMG_URL}}/output/openedIcon.png" /> -->
<image class="img" src="{{item.src}}" />
<image
webp
class="img" src="{{item.src}}" />
<view class="name">{{item.name}}</view>
<view class="msg">{{item.msg}}</view>
</view>
...
...
@@ -69,7 +69,7 @@
style="{{index == 0 ? 'margin-left: 0px;' : ''}}"
bindtap="filterTypeFn">
{{item[item['selectIndex']] }}
<image class="point" wx:if="{{index != 3}}" src="{{item['selectIndex']!=2&&index != 3? IMAGES.actArrow : IMAGES.arrow}}" />
<image
webp
class="point" wx:if="{{index != 3}}" src="{{item['selectIndex']!=2&&index != 3? IMAGES.actArrow : IMAGES.arrow}}" />
</view>
</view>
<!-- bindscrolltolower="scrolltolowerFn" -->
...
...
@@ -81,7 +81,7 @@
<view class="name-wrap">
<view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/man.png" wx:if="{{item.clueType != 3}}" />
<image
webp
class="avatar" src="{{IMG_URL}}index/man.png" wx:if="{{item.clueType != 3}}" />
</view>
<view class="source" hover-class="none" hover-stop-propagation="false">通过门店助手申请</view>
</view>
...
...
@@ -127,11 +127,13 @@
<view class="phone-wrap" wx:if="{{item.phone}}">
<view class="phone">{{item.phone}}</view>
<image
webp
class="phone-img"
data-phone="{{item.phone}}"
bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" />
<image
webp
class="copy"
data-phone="{{item.phone}}"
bindtap="setCopyDataFn"
...
...
@@ -153,6 +155,7 @@
<!-- 生意助手 -->
<view wx:else>
<image
webp
class="like"
wx:if="{{item.clueType == 1 && item.starTag == 1}}"
src="{{IMG_URL}}index/like.png"
...
...
@@ -161,6 +164,7 @@
data-item="{{item}}"
bindtap="showToast" />
<image
webp
class="like"
wx:if="{{item.clueType == 1 && item.starTag == 0}}"
src="{{IMG_URL}}index/dislike.png"
...
...
@@ -174,7 +178,7 @@
<view class="disLike-titsan" wx:if="{{item.clueType == 1 && item.starTag == 0 && disLikeFlag && disLikeRecordFlag}}" hidden="{{index != disLikeFlagIdx}}"></view>
<view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
<image
webp
class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
</view>
<view class="line" hover-class="none" hover-stop-propagation="false" />
<!-- {{item.getMoreFlag?'height':'auto'}} -->
...
...
@@ -226,11 +230,13 @@
<view class="phone-wrap">
<view class="phone">{{item.phone}}</view>
<image
webp
class="phone-img"
data-phone="{{item.phone}}"
bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" />
<image
webp
class="copy"
data-phone="{{item.phone}}"
bindtap="setCopyDataFn"
...
...
@@ -251,7 +257,7 @@
</view>
<view class="bottomTips" wx:if="{{clueList.length>8}}">到底啦!</view>
<view class="noDataImg" wx:if="{{!clueList.length}}">
<image src="{{IMG_URL}}index/trEmpty.png " />
<image
webp
src="{{IMG_URL}}index/trEmpty.png " />
<text class="noDataTxt">没有符合条件的线索~</text>
</view>
</view>
...
...
@@ -270,9 +276,10 @@
src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" />
</view>
<!-- 在线客服 -->
<image class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
<image
webp
class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
<!-- 预估产值 -->
<image
webp
class="output-value"
bindtap="showCalculate"
src="{{IMG_URL}}index/valuation.png"
...
...
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