Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wx-shopping-mall
Project
Project
Details
Activity
Releases
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
engine
wx-shopping-mall
Commits
6e38fb88
Commit
6e38fb88
authored
Jul 23, 2020
by
Aivs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
f353d3b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
goods.js
pages/goods/goods.js
+0
-1
goods.wxml
pages/goods/goods.wxml
+2
-2
goods.wxss
pages/goods/goods.wxss
+6
-2
No files found.
pages/goods/goods.js
View file @
6e38fb88
...
...
@@ -346,7 +346,6 @@ Page({
let
that
=
this
;
let
specName
=
event
.
currentTarget
.
dataset
.
name
;
let
specValueId
=
event
.
currentTarget
.
dataset
.
valueId
;
//判断是否可以点击
//TODO 性能优化,可在wx:for中添加index,可以直接获取点击的属性名和属性值,不用循环
...
...
pages/goods/goods.wxml
View file @
6e38fb88
...
...
@@ -135,7 +135,7 @@
</view>
<!-- 规格选择界面 -->
<view class="attr-pop-box" hidden="{{!openAttr}}" catchtouchmove='stopPageScroll'>
<
view
class="attr-pop">
<
scroll-view scroll-y
class="attr-pop">
<view class="close" bindtap="closeAttr">
<image class="icon" src="/static/images/icon_close.png"></image>
</view>
...
...
@@ -179,7 +179,7 @@
</view>
</view>
</
scroll-
view>
</view>
<!-- 联系客服 -->
...
...
pages/goods/goods.wxss
View file @
6e38fb88
...
...
@@ -765,8 +765,13 @@
height: 177rpx;
display: flex;
align-items: center;
width:450rpx;
}
.attr-pop .info .a{
white-space: normal;
word-wrap: break-word;
word-break: break-all;
}
.attr-pop .p {
line-height: 33rpx;
font-size:24rpx;
...
...
@@ -776,7 +781,6 @@
}
.attr-pop .a {
height: 40rpx;
line-height: 40rpx;
font-size:24rpx;
font-family:PingFangSC-Regular;
...
...
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