Commit 8fc5f833 by 施宇

1

parent d1bf3152
{ {
"pages": [ "pages": [
"pages/detail/xj/index","pages/login/index", "pages/tab/price/price", "pages/list/bj/index",
"pages/detail/xj/index",
"pages/list/xj/index",
"pages/login/index",
"pages/tab/price/price",
"pages/tab/home/home", "pages/tab/home/home",
"pages/tab/message/message", "pages/tab/message/message",
"pages/tab/good/good", "pages/tab/good/good",
......
...@@ -60,16 +60,104 @@ image { ...@@ -60,16 +60,104 @@ image {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.fb_btn { .bold {
height: 98rpx; font-weight: 600;
background-color: #0d84d1; }
color: #fff;
line-height: 98rpx; .xun {
text-align: center; background-color: #61a0f2;
font-size: 32rpx; }
border-radius: 8rpx;
box-shadow: 0px 6px 10px 0px rgba(97, 160, 242, 0.3); .bao {
background-color: #eaa217;
}
.nowrap {
white-space: nowrap;
}
.t-com{
color:#8A9299;
}
.c-com{
color:#515559;
}
/**询报价列表**/
.xb-com-content {
border-radius: 20rpx 20rpx 0px 0px;
background-color: #fff;
position: relative;
}
.xb-com-content .title {
margin-left: 24rpx;
padding: 32rpx 24rpx 24rpx 0;
}
.xb-com-content .title .name {
font-size: 36rpx;
color: #2e3033;
}
.xb-com-content .title .time {
font-size: 22rpx;
color: #adb6bf;
}
.xb-com-content .desc {
padding: 7rpx 24rpx 40rpx 40rpx;
border-bottom: 10rpx solid #f5f9fc;
font-size: 26rpx;
color: #515559;
}
.xb-com-content .desc .left view {
padding-top: 16rpx;
} }
.xb-com-content .desc .left{
flex: 0 0 78rpx;
}
.xb-com-content .desc .left .price .t-com {
flex: 0 0 104rpx;
}
.xb-com-content .desc .right {
height: 220rpx;
width: 220rpx;
margin-top: 16px;
}
.xb-com-t {
padding: 24rpx 24rpx 24rpx 0;
margin-left: 24rpx;
}
.beforeLine::before {
content: "";
background: #1177b9;
display: inline-block;
vertical-align: middle;
margin-right: 17rpx;
height: 30rpx;
width: 2px;
}
.btn-com{
height:98rpx;
font-size: 32rpx;
color:#fff;
margin:0 55rpx;
text-align: center;
line-height: 98rpx;
border-radius:8rpx;
}
.btn-com-y{
background-color: #EAAD37;
box-shadow:0px 6px 10px 0px rgba(242,191,97,0.5);
}
.btn-com-b{
background-color: #0D84D1;
box-shadow:0px 6px 10px 0px rgba(97,160,242,0.3);
}
/**字体**/ /**字体**/
@import 'res/fonts/iconfont.wxss' @import 'res/fonts/iconfont.wxss'
...@@ -3,23 +3,23 @@ ...@@ -3,23 +3,23 @@
<!-- 询报价展示 --> <!-- 询报价展示 -->
<block wx:if="{{priceType==1}}"> <block wx:if="{{priceType==1}}">
<view class="price-item" wx:for="{{priceList}}" wx:key="*this"> <view class="price-item" wx:for="{{priceList}}" wx:key="*this">
<view class="item-header px-hr-bottom row verCenter bothSide"> <view class="item-header px-hr-bottom row verCenter bothSide nowrap">
<view class="row verCenter"> <view class="row verCenter">
<text class="mark xun" wx:if="{{xb==1}}">询</text> <text class="mark xun" wx:if="{{xb==1}}">询</text>
<text class="mark bao" wx:else>报</text> <text class="mark bao" wx:else>报</text>
<text class="name ellipsis">{{item.name}}</text> <text class="name ellipsis">{{item.name}}</text>
</view> </view>
<block wx:if="{{xb==1}}"> <block wx:if="{{xb==1}}">
<text class="num-bj" wx:if="{{item.count}}">{{item.count}}个报价</text> <text class="num-bj" wx:if="{{item.count}}">{{item.count}}个报价</text>
<text class="no-bj" wx:else>等待报价</text> <text class="no-bj" wx:else>等待报价</text>
</block> </block>
<text class="price" wx:else >¥{{item.price}}</text> <text class="price" wx:else>¥{{item.price}}</text>
</view> </view>
<view class="item-middle row verCenter"> <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"><text>数量:</text>{{item.num}}PCS</text>
</view> </view>
<view class="item-footer row bothSide verCenter "> <view class="item-footer row bothSide verCenter nowrap">
<text class="address ellipsis">备注:{{item.desc}}</text> <text class="address ellipsis">备注:{{item.desc}}</text>
<text class="time">{{item.time}}</text> <text class="time">{{item.time}}</text>
</view> </view>
...@@ -28,50 +28,49 @@ ...@@ -28,50 +28,49 @@
<!-- 搜索页的商品展示 --> <!-- 搜索页的商品展示 -->
<block wx:if="{{priceType==2}}"> <block wx:if="{{priceType==2}}">
<view class="price-item" wx:for="{{priceList}}" wx:key="*this"> <view class="price-item" wx:for="{{priceList}}" wx:key="*this">
<view class="item-header px-hr-bottom row verCenter bothSide"> <view class="item-header px-hr-bottom row verCenter bothSide nowrap">
<view class="row verCenter"> <view class="row verCenter">
<text class="mark bao" wx:if="{{item.type==1}}">贸易商</text> <text class="mark bao" wx:if="{{item.type==1}}">贸易商</text>
<text class="mark bao" wx:elif="{{item.type==2}}">代理商</text> <text class="mark bao" wx:elif="{{item.type==2}}">代理商</text>
<text class="mark bao" wx:else>原厂</text> <text class="mark bao" wx:else>原厂</text>
<text class="company ellipsis">{{item.company}}</text> <text class="company ellipsis">{{item.company}}</text>
</view> </view>
<text class="time">{{item.time}}</text> <text class="time">{{item.time}}</text>
</view> </view>
<view class="item-middle row verCenter bothSide item-middle2"> <view class="item-middle row verCenter bothSide item-middle2 nowrap">
<text class="name ellipsis">{{item.name}}</text> <text class="name ellipsis">{{item.name}}</text>
<text class="price">¥{{item.price}}</text> <text class="price">¥{{item.price}}</text>
</view> </view>
<view class="item-footer row verCenter "> <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"><text>库存:</text>{{item.num}}PCS</text>
</view> </view>
</view> </view>
</block> </block>
<!-- 搜索页面询价展示 --> <!-- 搜索页面询价展示 -->
<block wx:if="{{priceType==3}}"> <block wx:if="{{priceType==3}}">
<view class="price-item" wx:for="{{priceList}}" wx:key="*this"> <view class="price-item" wx:for="{{priceList}}" wx:key="*this">
<view class="item-header px-hr-bottom row verCenter bothSide"> <view class="item-header px-hr-bottom row verCenter bothSide nowrap">
<view class="row verCenter"> <view class="row verCenter">
<text class="mark xun">询价</text> <text class="mark xun" wx:if="{{xb==1}}">询价</text>
<text class="mark bao" wx:else>报价</text>
<text class="company ellipsis">{{item.company}}</text> <text class="company ellipsis">{{item.company}}</text>
</view> </view>
<text class="time">{{item.time}}</text> <text class="time">{{item.time}}</text>
</view> </view>
<view class="item-middle row verCenter bothSide item-middle2"> <view class="item-middle row verCenter bothSide item-middle2 nowrap">
<text class="name ellipsis">{{item.name}}</text> <text class="name ellipsis">{{item.name}}</text>
<block wx:if="{{item.count}}"> <block wx:if="{{xb==1}}">
<text class="num-bj">{{item.count}}个报价</text> <text class="num-bj" wx:if="{{item.count}}">{{item.count}}个报价</text>
</block> <text class="no-bj" wx:else>等待报价</text>
<block wx:else> </block>
<text class="no-bj">等待报价</text> <text class="price" wx:else>¥{{item.price}}</text>
</block>
</view> </view>
<view class="item-middle row verCenter"> <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"><text>数量:</text>{{item.num}}PCS</text>
</view> </view>
<view class="item-footer row"> <view class="item-footer row nowrap">
<text class="address ellipsis">备注:{{item.desc}}</text> <text class="address ellipsis">备注:{{item.desc}}</text>
</view> </view>
</view> </view>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
.item-header .row { .item-header .row {
overflow: hidden; overflow: hidden;
white-space: nowrap;
} }
.item-header .mark { .item-header .mark {
...@@ -20,15 +19,6 @@ ...@@ -20,15 +19,6 @@
padding: 2rpx 10rpx; padding: 2rpx 10rpx;
margin-right: 24rpx; margin-right: 24rpx;
} }
.bao {
background: #eaa217;
}
.xun {
background: #61a0f2;
}
.price-item .name, .price-item .price, .price-item .num-bj, .price-item .name, .price-item .price, .price-item .num-bj,
.price-item .no-bj { .price-item .no-bj {
font-weight: 600; font-weight: 600;
...@@ -66,8 +56,6 @@ ...@@ -66,8 +56,6 @@
.item-middle { .item-middle {
padding: 15rpx 23rpx 15rpx 0; padding: 15rpx 23rpx 15rpx 0;
overflow: hidden;
white-space: nowrap;
} }
.item-middle.item-middle2 { .item-middle.item-middle2 {
...@@ -89,8 +77,6 @@ ...@@ -89,8 +77,6 @@
.item-footer { .item-footer {
padding: 0 23rpx 24rpx 0; padding: 0 23rpx 24rpx 0;
overflow: hidden;
white-space: nowrap;
} }
.item-footer .address { .item-footer .address {
...@@ -101,5 +87,4 @@ ...@@ -101,5 +87,4 @@
.price-item .time { .price-item .time {
color: #adb6bf; color: #adb6bf;
font-size: 22rpx; font-size: 22rpx;
white-space: nowrap;
} }
// pages/detail/xj/index.js // pages/detail/xj/index.js
let arr = [
{
name: "STM32F407ZGT6",
price: "100.012",
brand: "Texas InstrumentsTexas",
num: "100,000",
desc: "深圳地区原装现货深圳地区原装现货",
time: "05-10 10:15",
company: "朗新科技股份有限公司"
},
{
name: "STM32F407ZGT6",
price: "100.012",
brand: "Texas InstrumentsTexas",
num: "100,000",
desc: "深圳地区原装现货深圳地区原装现货",
time: "05-10 10:15",
company: "深圳邦马特科技有限公司"
}
]
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
priceList: undefined,
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
let seft = this;
wx.showLoading({
title: '加载中',
})
setTimeout(() => {
wx.hideLoading()
seft.setData({ priceList: arr })
}, 2000)
}, },
/** /**
......
{ {
"usingComponents": {}, "usingComponents": {
"priceItem": "/components/priceItem/priceItem"
},
"navigationBarBackgroundColor": "#0D84D1", "navigationBarBackgroundColor": "#0D84D1",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"backgroundColor": "#0d84d1", "backgroundColor": "#0d84d1",
......
<!--pages/detail/xj/index.wxml--> <!--pages/detail/xj/index.wxml-->
<text>pages/detail/xj/index.wxml</text> <view class="xj-detail-view">
<view class="t-desc">
<view class="top row bothSide verCenter">
<view class="company row verCenter">
<text class="bao">报价</text>
<text class="name bold">深圳市德卡科技股份有限公司深圳</text>
</view>
<text class="icon iconfont iconiconxiantiaoshouji6"></text>
</view>
<view class="bottom row">
<view class="yes">
<text class="icon iconfont iconiconxiantiaoshouji11"></text>
<text>公司认证</text>
</view>
<view class="yes">
<text class="icon iconfont iconiconxiantiaoshouji11"></text>
<text>贸易商</text>
</view>
</view>
</view>
<view class="bj-desc">
<view class="title row bothSide verCenter nowrap px-hr-bottom">
<text class="name bold ellipsis">STM32F407ZGT6STM32</text>
<text class="price bold">¥100.0120</text>
</view>
<view class="desc">
<view class="brand row">
<text class="t-com">品牌:</text>
<text class="c-com">Texas Instruments</text>
</view>
<view class="fz row">
<text class="t-com">封装:</text>
<text class="c-com">LQFP-64</text>
</view>
<view class="num row">
<text class="t-com">数量:</text>
<text class="c-com bold">100,000 PCS</text>
</view>
<view class="hq row">
<text class="t-com">货期:</text>
<text class="c-com">现货</text>
</view>
<view class="bz row">
<text class="t-com">备注:</text>
<text class="c-com">有货的请尽快回复,比较急着要货</text>
</view>
<view class="bjsj row">
<text class="t-com">报价时间:</text>
<text class="c-com">2019-05-10 10:15</text>
</view>
</view>
</view>
<view class="zxgt btn-com btn-com-y">
<text class="icon iconfont iconiconxiantiaoshouji11"></text>
<text class="gt-t">在线沟通</text>
</view>
</view>
\ No newline at end of file
/* pages/detail/xj/index.wxss */ /* pages/detail/xj/index.wxss */
\ No newline at end of file
.t-desc {
background-color: #0d84d1;
color: #fff;
font-size: 26rpx;
padding: 24rpx 24rpx 62rpx;
}
.company {
flex: 1;
}
.company .bao {
flex: 0 0 87rpx;
height: 36rpx;
text-align: center;
line-height: 36rpx;
border-radius: 2rpx;
margin-right: 24rpx;
}
.company .name {
font-size: 32rpx;
flex: 1;
}
.top .icon {
font-size: 40rpx;
}
.bottom {
flex-wrap: wrap;
}
.bottom .yes {
margin: 24rpx 24rpx 0 0;
}
.yes .icon {
color: #61a0f2;
font-size: 30rpx;
margin-right: 12rpx;
}
.bj-desc{
border-radius: 20rpx 20rpx 0px 0px;
position: relative;
background-color: #fff;
top:-22rpx;
}
.bj-desc .title {
margin-left: 24rpx;
padding: 32rpx 24rpx 24rpx 0;
}
.title .name {
font-size: 36rpx;
color: #2e3033;
}
.title .price {
font-size: 32rpx;
color: #ea1717;
margin-left: 27rpx;
}
.bj-desc .desc {
padding: 0 40rpx;
font-size: 26rpx;
}
.bjsj .t-com{
flex:0 0 130rpx;
}
.bjsj .c-com,.bz .c-com{
color:#8A9299
}
.desc view {
padding-top: 16rpx;
}
.zxgt{
position: absolute;
bottom:94rpx;
left:0;
right:0;
}
.zxgt .icon{
margin-right:7rpx;
font-size: 40rpx;
vertical-align:middle;
}
\ No newline at end of file
// pages/list/bj/index.js
let arr = [
{
name: "STM32F407ZGT6",
price: "100.012",
brand: "Texas InstrumentsTexas",
num: "100,000",
desc: "深圳地区原装现货深圳地区原装现货",
time: "05-10 10:15",
company: "朗新科技股份有限公司"
},
{
name: "STM32F407ZGT6",
price: "100.012",
brand: "Texas InstrumentsTexas",
num: "100,000",
desc: "深圳地区原装现货深圳地区原装现货",
time: "05-10 10:15",
company: "深圳邦马特科技有限公司"
}
]
Page({
/**
* 页面的初始数据
*/
data: {
priceList: undefined,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let seft = this;
wx.showLoading({
title: '加载中',
})
setTimeout(() => {
wx.hideLoading()
seft.setData({ priceList: arr })
}, 2000)
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {
"priceItem": "/components/priceItem/priceItem"
},
"navigationBarBackgroundColor": "#0D84D1",
"navigationBarTextStyle": "white",
"backgroundColor": "#0d84d1",
"navigationBarTitleText": ""
}
\ No newline at end of file
<!--pages/list/bj/index.wxml-->
<view class="bj-view">
<view class="bj-title row bothSide verCenter">
<view class="company row verCenter">
<text class="xun">询价</text>
<text class="name bold">中麒(北京)科技有限公司</text>
</view>
<text class="icon iconfont iconiconxiantiaoshouji6"></text>
</view>
<view class="xb-com-content">
<view class="title row bothSide verCenter nowrap px-hr-bottom">
<text class="name bold ellipsis">STM32F407ZGT6STM32F407ZGT6STM32F407ZGT6</text>
<text class="time ">05-10 10:15</text>
</view>
<view class="desc row">
<view class="left">
<view class="brand row">
<text class="t-com">品牌:</text>
<text class="c-com">Texas Instruments</text>
</view>
<view class="fz row">
<text class="t-com">封装:</text>
<text class="c-com">LQFP-64</text>
</view>
<view class="hq row">
<text class="t-com">货期:</text>
<text class="c-com">现货</text>
</view>
<view class="num row">
<text class="t-com">数量:</text>
<text class="c-com bold">100,000 PCS</text>
</view>
<view class="price row">
<text class="t-com">接受价:</text>
<text class="c-com">无</text>
</view>
<view class="bz row">
<text class="t-com">备注:</text>
<text class="c-com">有货的请尽快回复,比较急着要货</text>
</view>
</view>
<cover-image class="right" src="/res/images/imgs/iclogo.png"></cover-image>
</view>
</view>
<view class="bj-data">
<view class="xb-com-t row bothSide verCenter px-hr-bottom ">
<text class="mybj bold beforeLine">我的报价</text>
<view class="sdbj">
已收到 <text class="num">5</text> 条报价
</view>
</view>
<view class="bj-list">
<view wx:if="{{priceList&&priceList.length==0}}" class="nodata">
暂无数据
</view>
<priceItem price-list="{{priceList}}" wx:if="{{priceList&&priceList.length!==0}}" price-type="3" xb="2"></priceItem>
</view>
</view>
</view>
/* pages/list/bj/index.wxss */
.bj-title {
background-color: #0d84d1;
color: #fff;
font-size: 26rpx;
padding: 24rpx 24rpx 60rpx;
}
.company {
flex: 1;
}
.company .xun{
flex: 0 0 87rpx;
height: 36rpx;
text-align: center;
line-height: 36rpx;
border-radius: 2rpx;
margin-right: 24rpx;
}
.company .name {
font-size: 32rpx;
flex: 1;
}
.xb-com-content{
}
.bj-t .mybj {
color: #515559;
font-size: 28rpx;
}
.sdbj {
font-size: 24rpx;
color: #8a9299;
}
.sdbj .num {
color: #61a0f2;
}
// pages/list/xj/index.js
let arr = [
{
name: "STM32F407ZGT6",
price: "100.012",
brand: "Texas InstrumentsTexas",
num: "100,000",
desc: "深圳地区原装现货深圳地区原装现货",
time: "05-10 10:15",
company: "朗新科技股份有限公司"
},
{
name: "STM32F407ZGT6",
price: "100.012",
brand: "Texas InstrumentsTexas",
num: "100,000",
desc: "深圳地区原装现货深圳地区原装现货",
time: "05-10 10:15",
company: "深圳邦马特科技有限公司"
}
]
Page({
/**
* 页面的初始数据
*/
data: {
priceList: undefined,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let seft = this;
wx.showLoading({
title: '加载中',
})
setTimeout(() => {
wx.hideLoading()
seft.setData({ priceList: arr })
}, 2000)
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {
"priceItem": "/components/priceItem/priceItem"
},
"navigationBarBackgroundColor": "#0D84D1",
"navigationBarTextStyle": "white",
"backgroundColor": "#0d84d1",
"navigationBarTitleText": ""
}
\ No newline at end of file
<!--pages/list/xj/index.wxml-->
<view class="xj-view">
<view class="xj-title"></view>
<view class="xb-com-content">
<view class="title row bothSide verCenter nowrap px-hr-bottom">
<text class="name bold ellipsis">STM32F407ZGT6STM32F407ZGT6STM32F407ZGT6</text>
<text class="time ">05-10 10:15</text>
</view>
<view class="desc row">
<view class="left">
<view class="brand row">
<text class="t-com">品牌:</text>
<text class="c-com">Texas Instruments</text>
</view>
<view class="fz row">
<text class="t-com">封装:</text>
<text class="c-com">LQFP-64</text>
</view>
<view class="hq row">
<text class="t-com">货期:</text>
<text class="c-com">现货</text>
</view>
<view class="num row">
<text class="t-com">数量:</text>
<text class="c-com bold">100,000 PCS</text>
</view>
<view class="price row">
<text class="t-com">接受价:</text>
<text class="c-com">无</text>
</view>
<view class="bz row">
<text class="t-com">备注:</text>
<text class="c-com">有货的请尽快回复,比较急着要货</text>
</view>
</view>
<cover-image class="right" src="/res/images/imgs/iclogo.png"></cover-image>
</view>
</view>
<view class="bj-data">
<view class="xb-com-t row bothSide verCenter px-hr-bottom ">
<text class="num bold beforeLine">收到的报价 <text>2</text></text>
<view class="jgpx">
<text class="icon iconfont iconiconxiantiaoshouji10"></text>
<text>价格排序</text>
</view>
</view>
<view class="bj-list">
<view wx:if="{{priceList&&priceList.length==0}}" class="nodata">
暂无数据
</view>
<priceItem price-list="{{priceList}}" wx:if="{{priceList&&priceList.length!==0}}" price-type="3" xb="2"></priceItem>
</view>
</view>
</view>
\ No newline at end of file
/* pages/list/xj/index.wxss */
.xj-view {
padding-top: 29rpx;
}
.xj-title {
height: 48rpx;
background-color: #0d84d1;
position: absolute;
left: 0;
right: 0;
top: 0;
}
.bj-data .num {
color: #515559;
font-size: 28rpx;
}
.bj-data .jgpx {
color: #8a9299;
font-size: 24rpx;
}
.jgpx .icon {
font-size: 30rpx;
margin-right: 8rpx;
}
<!--pages/search/index/index.wxml--> <!--pages/search/index/index.wxml-->
<view class="search-view"> <view class="search-view">
<view class="search-section"> <view class="search-section">
<icon class="icon iconfont iconiconxiantiaoshouji8"></icon> <text class="icon iconfont iconiconxiantiaoshouji8"></text>
<input placeholder='请输入芯片型号' placeholder-class="placeholderClass" bindtap="toSearch"></input> <input placeholder='请输入芯片型号' placeholder-class="placeholderClass" bindtap="toSearch"></input>
</view> </view>
<view class="rm_search"> <view class="rm_search">
<text class="title">热门搜索</text> <text class="title beforeLine">热门搜索</text>
<view class="rm_ls_content row"> <view class="rm_ls_content row">
<view class="search-item">LM358</view> <view class="search-item">LM358</view>
<view class="search-item">TJA1027</view> <view class="search-item">TJA1027</view>
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
</view> </view>
<view class="ls_search"> <view class="ls_search">
<view class="title_view row bothSide verCenter"> <view class="title_view row bothSide verCenter">
<text class="title">搜索历史</text> <text class="title beforeLine">搜索历史</text>
<icon class="icon iconfont iconiconxiantiaoshouji7"></icon> <text class="icon iconfont iconiconxiantiaoshouji7"></text>
</view> </view>
<view class="rm_ls_content row"> <view class="rm_ls_content row">
<view class="search-item">LM358</view> <view class="search-item">LM358</view>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
position: absolute; position: absolute;
font-size: 40rpx; font-size: 40rpx;
color: #adb6bf; color: #adb6bf;
top: 17rpx; top: 22rpx;
left: 49rpx; left: 49rpx;
} }
...@@ -33,15 +33,7 @@ ...@@ -33,15 +33,7 @@
color: #515559; color: #515559;
} }
.title::before {
content: "";
background: #1177b9;
display: inline-block;
vertical-align: middle;
margin-right: 17rpx;
height: 30rpx;
width: 2px;
}
.rm_search, .ls_search { .rm_search, .ls_search {
padding: 0 24rpx; padding: 0 24rpx;
......
...@@ -32,13 +32,13 @@ let arr = [ ...@@ -32,13 +32,13 @@ let arr = [
} }
]; ];
let arr1 = [{ let arr1 = [{
company: "深圳邦马特科技有限公司", company: "深圳邦马特科技有限公司深圳邦马特科技有限公司深圳邦马特科技有限公司",
time: "05-10 10:15", time: "05-10 10:15",
name: "STM32F407ZGT6", name: "STM32F407ZGT6",
count:5, count:5,
brand: "Texas InstrumentsTexas", brand: "Texas InstrumentsTexasInstrumentsTexasInstrumentsTexasInstrumentsTexas",
num: "100,000", num: "100,00000",
desc: "深圳地区原装现货深圳地区原装现货", desc: "深圳地区原装现货深圳地区原装现货深圳地区原装现货深圳地区原装现货",
}, { }, {
company: "深圳邦马特科技有限公司", company: "深圳邦马特科技有限公司",
time: "05-10 10:15", time: "05-10 10:15",
......
<!--pages/searchresult/index.wxml--> <!--pages/searchresult/index.wxml-->
<view class="searchresult-view"> <view class="searchresult-view">
<view class="search-section"> <view class="search-section">
<icon class="icon iconfont iconiconxiantiaoshouji8"></icon> <text class="icon iconfont iconiconxiantiaoshouji8"></text>
<input placeholder='请输入芯片型号' placeholder-class="placeholderClass" bindtap="toSearch"></input> <input placeholder='请输入芯片型号' placeholder-class="placeholderClass" bindtap="toSearch"></input>
</view> </view>
<view class="searchresult-tab row"> <view class="searchresult-tab row">
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<text>快速发布询价</text> <text>快速发布询价</text>
</view> </view>
<view class="concat_custom" wx:if="{{priceList&&priceList.length==0}}"> <view class="concat_custom" wx:if="{{priceList&&priceList.length==0}}">
<icon class="icon iconfont iconiconxiantiaoshouji11"></icon> <text class="icon iconfont iconiconxiantiaoshouji11"></text>
<text>快速发布询价</text> <text>快速发布询价</text>
</view> </view>
</view> </view>
\ No newline at end of file
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
position: absolute; position: absolute;
font-size: 40rpx; font-size: 40rpx;
color: #adb6bf; color: #adb6bf;
top: 17rpx; top: 22rpx;
left: 49rpx; left: 49rpx;
} }
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
let arr = [ let arr = [
{ {
type: 2, type: 2,
name: "STM32F407ZGT6", name: "STM32F407ZGT6STM32F407ZGT6",
price: "100.012", price: "100.012",
brand: "Texas InstrumentsTexas", brand: "Texas InstrumentsTexasInstrumentsTexas",
num: "100,000", num: "100,000",
desc: "深圳地区原装现货深圳地区原装现货", desc: "深圳地区原装现货深圳地区原装现货深圳地区原装现货深圳地区原装现货",
time: "05-10 10:15" time: "05-10 10:15"
}, },
{ {
......
<!--pages/tab/home/home.wxml--> <!--pages/tab/home/home.wxml-->
<view class="home-view"> <view class="home-view">
<view class="search-section"> <view class="search-section">
<icon class="icon iconfont iconiconxiantiaoshouji8"></icon> <text class="icon iconfont iconiconxiantiaoshouji8"></text>
<input placeholder='请输入芯片型号' placeholder-class="placeholderClass" bindtap="toSearch"></input> <input placeholder='请输入芯片型号' placeholder-class="placeholderClass" bindtap="toSearch"></input>
</view> </view>
<view class="home-content"> <view class="home-content">
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</view> </view>
</view> </view>
<view class="more-item"> <view class="more-item">
<icon class="icon iconfont iconiconxiantiaoshouji6"></icon> <text class="icon iconfont iconiconxiantiaoshouji6"></text>
</view> </view>
</view> </view>
</view> </view>
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
<view class="my-price"> <view class="my-price">
<view class="price-title"> <view class="price-title">
<view class="price-title-content row bothSide verCenter px-hr-bottom "> <view class="price-title-content row bothSide verCenter px-hr-bottom ">
<text>我的询报价</text> <text class="xb-t beforeLine">我的询报价</text>
<icon class="icon iconfont iconiconxiantiaoshouji5"></icon> <text class="icon iconfont iconiconxiantiaoshouji5"></text>
</view> </view>
</view> </view>
<view class="price-content"> <view class="price-content">
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
position: absolute; position: absolute;
font-size: 40rpx; font-size: 40rpx;
color:#686E73; color:#686E73;
top: 46rpx; top: 52rpx;
left: 49rpx; left: 49rpx;
} }
...@@ -37,8 +37,7 @@ ...@@ -37,8 +37,7 @@
.home-content { .home-content {
background: #fff; background: #fff;
border-top-left-radius: 20rpx; border-radius:20rpx 20rpx 0px 0px;
border-top-right-radius: 20rpx;
position: relative; position: relative;
} }
...@@ -126,17 +125,6 @@ ...@@ -126,17 +125,6 @@
height: 100%; height: 100%;
padding-right: 25rpx; padding-right: 25rpx;
} }
.price-title text::before {
content: "";
background: #1177b9;
display: inline-block;
vertical-align: middle;
margin-right: 17rpx;
height: 30rpx;
width: 2px;
}
.my-price .icon { .my-price .icon {
color:#ADB6BF; color:#ADB6BF;
font-size: 40rpx; font-size: 40rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment