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 4b6ed152
authored
Nov 01, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:添加图片版本号,调整场景说明文字大小
1 parent
34682514
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
12 deletions
pages/checkProduct/checkProduct.wxml
pages/tab/index/components/product/product.js
pages/tab/index/components/product/product.wxml
pages/tab/index/index.scss
pages/tab/index/index.wxml
utils/util.js
pages/checkProduct/checkProduct.wxml
View file @
4b6ed15
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</view> -->
</view> -->
<!-- style="padding-top:{{headerHeight}}px" -->
<!-- style="padding-top:{{headerHeight}}px" -->
<product stickyTop="{{headerHeight}}" class="productCon" isAuthphone="{{isAuthphone}}" actNum="{{actNum}}" wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" outshowVideo="{{outshowVideo}}" isShare="{{isShare}}" isShow="{{isShow}}" bindauthorized="authorizedFn" phone="{{share_phone}}" />
<product stickyTop="{{headerHeight}}" class="productCon"
img_version="{{img_version}}"
isAuthphone="{{isAuthphone}}" actNum="{{actNum}}" wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" outshowVideo="{{outshowVideo}}" isShare="{{isShare}}" isShow="{{isShow}}" bindauthorized="authorizedFn" phone="{{share_phone}}" />
<!-- 分享弹框 -->
<!-- 分享弹框 -->
<!-- <view class="share-wrap" wx:if="{{isShow}}">
<!-- <view class="share-wrap" wx:if="{{isShow}}">
<view class="img-wrap">
<view class="img-wrap">
...
...
pages/tab/index/components/product/product.js
View file @
4b6ed15
...
@@ -32,7 +32,8 @@ Component({
...
@@ -32,7 +32,8 @@ Component({
type
:
Boolean
,
type
:
Boolean
,
// value: false,
// value: false,
},
},
phone
:
String
phone
:
String
,
img_version
:
String
//图片版本号
},
},
/**
/**
...
...
pages/tab/index/components/product/product.wxml
View file @
4b6ed15
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
特色产品
特色产品
<block wx:if="{{phone}}">
<block wx:if="{{phone}}">
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
<!-- <image src="{{IMGURL}}share-phone.png" class="icon"></image> -->
<!-- <image src="{{IMGURL}}share-phone.png
?v={{img_version}}
" class="icon"></image> -->
<image webp src="{{IMGURL}}phone.png" class="icon"></image>
<image webp src="{{IMGURL}}phone.png
?v={{img_version}}
" class="icon"></image>
请联系我
请联系我
<view style="color:#3666fe">
<view style="color:#3666fe">
{{phone}}
{{phone}}
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
<view class="prod-card">
<view class="prod-card">
<view class="card-img">
<view class="card-img">
<!-- <text class="img-desc">轻改类</text>
<!-- <text class="img-desc">轻改类</text>
<image src="{{IMGURL}}discovery_prod1.png" /> -->
<image src="{{IMGURL}}discovery_prod1.png
?v={{img_version}}
" /> -->
<image webp src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" />
<image webp src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png
?v={{img_version}}
" />
</view>
</view>
<view class="prod-info">
<view class="prod-info">
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</text>
</text>
</view>
</view>
<view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn">
<view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn">
<image webp class="icon" src="{{IMGURL}}share.png" />
<image webp class="icon" src="{{IMGURL}}share.png
?v={{img_version}}
" />
<text>去分享</text>
<text>去分享</text>
</view>
</view>
</view>
</view>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<!-- wx:if="{{showVideo && index==5 && tab.length < 5}}" -->
<!-- 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}}">
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index != 5}}">
<!-- wx:if="{{index!=5}}" -->
<!-- wx:if="{{index!=5}}" -->
<image webp 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
?v={{img_version}}
" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list">
<view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</view>
</view>
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}">
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}">
<!-- wx:if="{{index!=5}}" -->
<!-- wx:if="{{index!=5}}" -->
<image webp 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
?v={{img_version}}
" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list">
<view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
...
...
pages/tab/index/index.scss
View file @
4b6ed15
...
@@ -461,7 +461,7 @@ page {
...
@@ -461,7 +461,7 @@ page {
.msg
{
.msg
{
font-weight
:
400
;
font-weight
:
400
;
font-size
:
9
px
;
font-size
:
7
px
;
color
:
#8a8c90
;
color
:
#8a8c90
;
text-align
:
center
;
text-align
:
center
;
}
}
...
...
pages/tab/index/index.wxml
View file @
4b6ed15
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
</scroll-view>
</scroll-view>
</view>
</view>
<product
<product
img_version="{{img_version}}"
isShow="{{false}}"
isShow="{{false}}"
stickyTop="{{headerHeight}}"
stickyTop="{{headerHeight}}"
actNum="{{actNum}}"
actNum="{{actNum}}"
...
@@ -273,7 +274,7 @@
...
@@ -273,7 +274,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
?v={{img_version}}
" />
</view>
</view>
<!-- 在线客服 -->
<!-- 在线客服 -->
<image webp class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
<image webp class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
...
...
utils/util.js
View file @
4b6ed15
...
@@ -148,7 +148,9 @@ const parseString = (str) => {
...
@@ -148,7 +148,9 @@ const parseString = (str) => {
};
};
/**获取图片版本号 */
/**获取图片版本号 */
const
getImgVersion
=
()
=>
{};
const
getImgVersion
=
()
=>
{
return
'1.0.0'
};
const
Util
=
{
const
Util
=
{
getImgVersion
,
getImgVersion
,
...
...
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