Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
N
nyx
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
发现
nyx
Commits
6a3e30e5
Commit
6a3e30e5
authored
Sep 29, 2020
by
jscat
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nyx weapp: bug fix
1. 提交订单,只提交index==0的那张商品图片 2. 价格保证为float 3. 添加多行溢出效果
parent
beb26ab1
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
30 行增加
和
10 行删除
+30
-10
增值产品-小程序及app/nyx-master/pages/activity/activity-info/activity-info.js
+2
-2
增值产品-小程序及app/nyx-master/pages/activity/activity.wxml
+2
-2
增值产品-小程序及app/nyx-master/pages/activity/activity.wxss
+11
-1
增值产品-小程序及app/nyx-master/pages/mall/order/order.js
+2
-2
增值产品-小程序及app/nyx-master/pages/my/my-orders/my-orders.wxml
+2
-2
增值产品-小程序及app/nyx-master/pages/my/my-orders/my-orders.wxss
+11
-1
没有找到文件。
增值产品-小程序及app/nyx-master/pages/activity/activity-info/activity-info.js
查看文件 @
6a3e30e5
// pa
ges/activity/activity-info/activity-info.js
// pa
ges/activity/activity-info/activity-info.js
...
...
@@ -335,7 +335,7 @@ Page({
var
url
=
"/pages/mall/order/order?"
+
"&activity_id="
+
_this
.
__data__
.
activityInfo
[
"activity_id"
]
+
"&products_string="
+
products_string
+
"&product_image="
+
_this
.
__data__
.
activityInfo
[
'note_image'
]
+
"&product_image="
+
_this
.
__data__
.
activityInfo
[
'note_image'
]
[
0
]
+
"&member_name="
+
_this
.
__data__
.
activityInfo
[
'member_name'
]
+
"&title="
+
_this
.
__data__
.
activityInfo
[
'title'
]
+
"&curIndex="
+
_this
.
data
.
curIndex
...
...
增值产品-小程序及app/nyx-master/pages/activity/activity.wxml
查看文件 @
6a3e30e5
<wxs
module="tutil" src="./../../utils/date.wxs"></wxs>
<wxs
module="tutil" src="./../../utils/date.wxs"></wxs>
...
...
@@ -102,7 +102,7 @@
<view class="note-column">
<navigator url='{{item.url}}&num_like={{item.num_like}}' >
<!-- 商家信息 -->
{{item.title}}
<text>{{item.title}}</text>
<!-- 商品价格 -->
<span>
<view class="price-row">
...
...
增值产品-小程序及app/nyx-master/pages/activity/activity.wxss
查看文件 @
6a3e30e5
/*
/*
...
...
@@ -335,6 +335,16 @@
width: 55%;
}
.note-column text{
/* 多行溢出省略 */
display: -webkit-box;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp:2;
overflow: hidden;
text-overflow:ellipsis;
}
.writer-image{
width: 240rpx;
height: 240rpx;
...
...
增值产品-小程序及app/nyx-master/pages/mall/order/order.js
查看文件 @
6a3e30e5
// pa
ges/my/my-orders/my-orders.js
// pa
ges/my/my-orders/my-orders.js
...
...
@@ -73,7 +73,7 @@ Page({
orderItems
[
i
][
'quantity'
]
=
1
orderItems
[
i
][
'defaultStatus'
]
=
1
totalPrice
=
orderItems
[
i
][
'unitPrice'
]
totalPrice
=
totalPrice
.
toFixed
(
2
)
totalPrice
=
parseFloat
(
totalPrice
)
.
toFixed
(
2
)
}
else
{
...
...
增值产品-小程序及app/nyx-master/pages/my/my-orders/my-orders.wxml
查看文件 @
6a3e30e5
<view
class="page">
<view
class="page">
...
...
@@ -33,7 +33,7 @@
<view class="note-row">
<image class="writer-image" src="{{item.product_image}}"/>
<view class="note-column">
<span>
{{item.title}}·{{sub_item.product_desc}}
</span>
<span>
<text>{{item.title}}·{{sub_item.product_desc}}</text>
</span>
<span>
<view class="price-row">
<view class="sub-price">¥{{sub_item.unit_price}}</view>
...
...
增值产品-小程序及app/nyx-master/pages/my/my-orders/my-orders.wxss
查看文件 @
6a3e30e5
.page
{
.page
{
...
...
@@ -309,6 +309,16 @@
width: 540rpx;
}
.note-column text{
/* 多行溢出省略 */
display: -webkit-box;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp:2;
overflow: hidden;
text-overflow:ellipsis;
}
.writer-image{
width: 120rpx;
height: 120rpx;
...
...
jscat
@jscat
被提及 commit
9b39a659
Sep 29, 2020
被提及 commit
9b39a659
被提及 commit 9b39a659b09b80977a4bb260f30505f0639a95f9
切换提交列表
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论