Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1ab5e0b4
authored
Jul 10, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
8fc5f833
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
9 deletions
app.wxss
components/priceItem/priceItem.wxml
pages/list/bj/index.js
pages/list/bj/index.wxml
pages/list/bj/index.wxss
app.wxss
View file @
1ab5e0b4
...
@@ -63,6 +63,9 @@ image {
...
@@ -63,6 +63,9 @@ image {
.bold {
.bold {
font-weight: 600;
font-weight: 600;
}
}
.nobold{
font-weight: 400;
}
.xun {
.xun {
background-color: #61a0f2;
background-color: #61a0f2;
...
@@ -115,7 +118,7 @@ image {
...
@@ -115,7 +118,7 @@ image {
padding-top: 16rpx;
padding-top: 16rpx;
}
}
.xb-com-content .desc .left{
.xb-com-content .desc .left
.t-com
{
flex: 0 0 78rpx;
flex: 0 0 78rpx;
}
}
...
...
components/priceItem/priceItem.wxml
View file @
1ab5e0b4
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</view>
</view>
<view class="item-middle row verCenter nowrap">
<view class="item-middle row verCenter nowrap">
<text class="brand ellipsis"><text>品牌:</text>{{item.brand}}</text>
<text class="brand ellipsis"><text>品牌:</text>{{item.brand}}</text>
<text class="num
"><text
>数量:</text>{{item.num}}PCS</text>
<text class="num
bold"><text class="nobold"
>数量:</text>{{item.num}}PCS</text>
</view>
</view>
<view class="item-footer row bothSide verCenter nowrap">
<view class="item-footer row bothSide verCenter nowrap">
<text class="address ellipsis">备注:{{item.desc}}</text>
<text class="address ellipsis">备注:{{item.desc}}</text>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</view>
</view>
<view class="item-footer row verCenter nowrap">
<view class="item-footer row verCenter nowrap">
<text class="brand ellipsis"><text>品牌:</text>{{item.brand}}</text>
<text class="brand ellipsis"><text>品牌:</text>{{item.brand}}</text>
<text class="num
"><text
>库存:</text>{{item.num}}PCS</text>
<text class="num
bold"><text class="nobold"
>库存:</text>{{item.num}}PCS</text>
</view>
</view>
</view>
</view>
</block>
</block>
...
@@ -68,7 +68,34 @@
...
@@ -68,7 +68,34 @@
</view>
</view>
<view class="item-middle row verCenter nowrap">
<view class="item-middle row verCenter nowrap">
<text class="brand ellipsis"><text>品牌:</text>{{item.brand}}</text>
<text class="brand ellipsis"><text>品牌:</text>{{item.brand}}</text>
<text class="num"><text>数量:</text>{{item.num}}PCS</text>
<text class="num bold"><text class="nobold">数量:</text>{{item.num}}PCS</text>
</view>
<view class="item-footer row nowrap">
<text class="address ellipsis">备注:{{item.desc}}</text>
</view>
</view>
</block>
<!-- 我的报价展示 -->
<block wx:if="{{priceType==4}}">
<view class="price-item" wx:for="{{priceList}}" wx:key="*this">
<view class="item-header px-hr-bottom row verCenter bothSide nowrap">
<view class="row verCenter">
<text class="mark bao">报价</text>
<text class="company ellipsis">{{item.company}}</text>
</view>
<text class="time">{{item.time}}</text>
</view>
<view class="item-middle row verCenter bothSide item-middle2 nowrap">
<text class="name ellipsis">{{item.name}}</text>
<text class="price">¥{{item.price}}</text>
</view>
<view class="item-middle row verCenter nowrap">
<text class="brand ellipsis"><text>品牌:</text>{{item.brand}}</text>
<text class="num"><text>封装:</text>{{item.fz}}</text>
</view>
<view class="item-middle row verCenter nowrap">
<text class="brand ellipsis bold"><text class="nobold">数量:</text>{{item.num}}PCS</text>
<text class="num"><text>货期:</text>{{item.hq}}</text>
</view>
</view>
<view class="item-footer row nowrap">
<view class="item-footer row nowrap">
<text class="address ellipsis">备注:{{item.desc}}</text>
<text class="address ellipsis">备注:{{item.desc}}</text>
...
...
pages/list/bj/index.js
View file @
1ab5e0b4
...
@@ -7,7 +7,10 @@ let arr = [
...
@@ -7,7 +7,10 @@ let arr = [
num
:
"100,000"
,
num
:
"100,000"
,
desc
:
"深圳地区原装现货深圳地区原装现货"
,
desc
:
"深圳地区原装现货深圳地区原装现货"
,
time
:
"05-10 10:15"
,
time
:
"05-10 10:15"
,
company
:
"朗新科技股份有限公司"
company
:
"朗新科技股份有限公司"
,
fz
:
"LQFP-144"
,
hq
:
"现货"
},
},
{
{
name
:
"STM32F407ZGT6"
,
name
:
"STM32F407ZGT6"
,
...
@@ -16,7 +19,22 @@ let arr = [
...
@@ -16,7 +19,22 @@ let arr = [
num
:
"100,000"
,
num
:
"100,000"
,
desc
:
"深圳地区原装现货深圳地区原装现货"
,
desc
:
"深圳地区原装现货深圳地区原装现货"
,
time
:
"05-10 10:15"
,
time
:
"05-10 10:15"
,
company
:
"深圳邦马特科技有限公司"
company
:
"朗新科技股份有限公司"
,
fz
:
"LQFP-144"
,
hq
:
"现货"
},
{
name
:
"STM32F407ZGT6"
,
price
:
"100.012"
,
brand
:
"Texas InstrumentsTexas"
,
num
:
"100,000"
,
desc
:
"深圳地区原装现货深圳地区原装现货"
,
time
:
"05-10 10:15"
,
company
:
"朗新科技股份有限公司"
,
fz
:
"LQFP-144"
,
hq
:
"现货"
}
}
]
]
Page
({
Page
({
...
...
pages/list/bj/index.wxml
View file @
1ab5e0b4
...
@@ -53,7 +53,8 @@
...
@@ -53,7 +53,8 @@
<view wx:if="{{priceList&&priceList.length==0}}" class="nodata">
<view wx:if="{{priceList&&priceList.length==0}}" class="nodata">
暂无数据
暂无数据
</view>
</view>
<priceItem price-list="{{priceList}}" wx:if="{{priceList&&priceList.length!==0}}" price-type="
3" xb="2
"></priceItem>
<priceItem price-list="{{priceList}}" wx:if="{{priceList&&priceList.length!==0}}" price-type="
4
"></priceItem>
</view>
</view>
</view>
</view>
<view class="btn-com btn-com-b bj-btn">继续报价,剩余1次</view>
</view>
</view>
pages/list/bj/index.wxss
View file @
1ab5e0b4
/* pages/list/bj/index.wxss */
/* pages/list/bj/index.wxss */
.bj-view{
min-height:100%;
position: relative;
box-sizing: border-box;
padding-bottom: 234rpx;
}
.bj-title {
.bj-title {
background-color: #0d84d1;
background-color: #0d84d1;
color: #fff;
color: #fff;
font-size: 26rpx;
font-size: 26rpx;
padding: 24rpx 24rpx 60rpx;
padding: 24rpx 24rpx 60rpx;
}
}
.bj-title .icon{
font-size: 40rpx;
}
.company {
.company {
flex: 1;
flex: 1;
}
}
...
@@ -22,7 +30,7 @@
...
@@ -22,7 +30,7 @@
flex: 1;
flex: 1;
}
}
.xb-com-content{
.xb-com-content{
top:-20rpx;
}
}
.bj-t .mybj {
.bj-t .mybj {
color: #515559;
color: #515559;
...
@@ -37,3 +45,9 @@
...
@@ -37,3 +45,9 @@
.sdbj .num {
.sdbj .num {
color: #61a0f2;
color: #61a0f2;
}
}
.bj-btn{
position: absolute;
bottom:68rpx;
left:0;
right:0;
}
\ No newline at end of file
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