Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
c3a9014c
Commit
c3a9014c
authored
Oct 10, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情页描述
parent
50a76778
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
wxHtml.wxss
src/component/html2wxml/wxHtml.wxss
+3
-0
productDetail.wxml
src/pages/productDetail/productDetail.wxml
+3
-1
productDetail.wxss
src/pages/productDetail/productDetail.wxss
+6
-2
project.config.json
src/project.config.json
+2
-2
No files found.
src/component/html2wxml/wxHtml.wxss
View file @
c3a9014c
...
...
@@ -3,6 +3,9 @@
.wxParser image {
width:100%;
}
.wxParser {
margin:-20rpx 0;
}
/* .wxParser .wxParser-p{
text-align: center;
...
...
src/pages/productDetail/productDetail.wxml
View file @
c3a9014c
...
...
@@ -84,7 +84,9 @@
<!--<view class="scroll-tips">
继续拖动,查看图文详情
</view>-->
<view class="scroll-tips" wx:if="{{htmlContent == null}}">{{scrollTips}}</view>
<view class="scroll-tips" wx:if="{{htmlContent == null}}">
<view class="scroll-tips-text">{{scrollTips}}</view>
</view>
<block wx:if="{{showHtml}}">
<x-html html="{{productInfo.descHtml}}" />
...
...
src/pages/productDetail/productDetail.wxss
View file @
c3a9014c
...
...
@@ -162,8 +162,8 @@ page{
.scroll-tips{
width: 750rpx;
text-align: center;
padding: 15rpx 0 30rpx;
margin-bottom: 100rpx;
/* padding: 15rpx 0 30rpx; */
/* margin-bottom: 100rpx; */
color: #666666;
font-size: 24rpx;
}
...
...
@@ -254,3 +254,6 @@ page{
float:right;
margin-top: 26rpx;
}
.scroll-tips-text {
margin: 20rpx 0;
}
\ No newline at end of file
src/project.config.json
View file @
c3a9014c
...
...
@@ -39,7 +39,7 @@
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
22
,
"current"
:
16
,
"list"
:
[
{
"id"
:
-1
,
...
...
@@ -144,7 +144,7 @@
"id"
:
16
,
"name"
:
"商品详情页"
,
"pathName"
:
"pages/productDetail/productDetail"
,
"query"
:
"id=62
1372413208301568
"
,
"query"
:
"id=62
8181797502586880
"
,
"scene"
:
null
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment