Commit 41356c6e by 梁建民

js

parent 1d8a2e16
......@@ -30,6 +30,7 @@ return array(
'uploadsingle' => 'Home/Index/uploadsingle',
'gooddetail' => 'Home/Index/gooddetail',
'bulkupload' => 'Home/Index/bulkupload',
'uploadresult' => 'Home/Index/uploadresult'
'uploadresult' => 'Home/Index/uploadresult',
'integral' => 'Home/Index/integral'
),
);
\ No newline at end of file
......@@ -29,6 +29,7 @@ class IndexController extends Controller
{
$this->display('QuotePrice/inquiry');
}
/**
* 发布询价
*/
......@@ -36,13 +37,15 @@ class IndexController extends Controller
{
$this->display('QuotePrice/releaseinquiry');
}
/**
/**
* 询价详情
*/
public function inquirydetail()
{
$this->display('QuotePrice/inquirydetail');
}
/**
* 我的报价
*/
......@@ -50,13 +53,15 @@ class IndexController extends Controller
{
$this->display('QuotePrice/quote');
}
/**
/**
* 我的报价详情
*/
public function quotedetail()
{
$this->display('QuotePrice/quotedetail');
}
/**
* 抢单专区
*/
......@@ -64,6 +69,7 @@ class IndexController extends Controller
{
$this->display('RobOrder/index');
}
/**
* 商品管理
*/
......@@ -71,13 +77,15 @@ class IndexController extends Controller
{
$this->display('GoodManage/index');
}
/**
/**
* 上传单个商品
*/
public function uploadsingle()
{
$this->display('GoodManage/uploadsingle');
}
/**
* 批量上传商品
*/
......@@ -85,6 +93,7 @@ class IndexController extends Controller
{
$this->display('GoodManage/bulkupload');
}
/**
* 批量上传结果
*/
......@@ -92,6 +101,7 @@ class IndexController extends Controller
{
$this->display('GoodManage/uploadresult');
}
/**
* 商品详情
*/
......@@ -99,6 +109,7 @@ class IndexController extends Controller
{
$this->display('GoodManage/gooddetail');
}
/**
* 账户设置
*/
......@@ -106,13 +117,23 @@ class IndexController extends Controller
{
$this->display('Account/index');
}
/**
/**
* 积分管理
*/
public function integral()
{
$this->display('Integral/index');
}
/**
* 搜索结果
*/
public function search()
{
$this->display('Search/index');
}
/**
* 认证管理
*/
......
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<include file="public/header" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/integral.css">
</head>
<body>
<div class="wrapper">
<include file="public/navleft" />
<div class="wrapper_right">
<include file="public/top" />
<div class="right_content inquiry_content">
<div class="content">
<div class="nav_title">积分管理 > 积分列表</div>
<div class="xj_total clr">
<div class="fl xj">
<h3>85</h3>
<p>发布的询价</p>
</div>
<div class="fl wxj">
<h3>85</h3>
<p>无回复询价</p>
</div>
<div class="center_line"></div>
</div>
<div class="filter_section clr layui-form">
<div class="input_div fl">
<span class="lineBlock">积分类型:</span>
<div style="width: 100%;margin-top: 22px;">
<select name="interest" lay-filter="aihao">
<option value="0">写作</option>
<option value="1">阅读</option>
</select>
</div>
</div>
<div class="btn_div fr">
<a class="cx lineBlock btn">查询</a>
<a class="cz lineBlock boxsiz btn btn_border">重置</a>
</div>
<div class="date_div fr">
<span class="fl">日期选择:</span>
<div class="start_date_div fl">
<div class="icon_div fl icon iconfont iconjuxing13">
</div>
<input type="text" placeholder="开始日期" class="fl boxsiz" id="start_date">
</div>
<div class="fl heng"></div>
<div class="end_date_div fl">
<div class="icon_div fl icon iconfont iconjuxing13">
</div>
<input type="text" placeholder="结束日期" class="fl boxsiz" id="end_date">
</div>
</div>
</div>
<div class="inquiry_data">
<div class="data_list">
<div class="data_item">
<div class="data_detail">
<div class="type fl bold ellipsis boxsiz">STM32F103ZET6</div>
<div class="brand fl ellipsis boxsiz">品牌:<span>Texas Instrument</span></div>
<div class="num fl ellipsis boxsiz">数量:<span>PCS10,000</span></div>
<div class="bj_status fl ellipsis boxsiz dd bold">等待报价</div>
<div class="data_status fl boxsiz zs">
<span class="mark lineBlock"></span>
<span class="text">展示中</span>
</div>
<div class="time fr ellipsis boxsiz">2019-05-22 15:35</div>
</div>
</div>
</div>
<div class="no_data" style="display: none">
<img src="__PUBLIC__/images/nosearchdata.png" alt="">
<p class="bold">未搜索到询价信息</p>
<div class="fb_command">您可以发布一条询价信息。</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="__PUBLIC__/js/layui/layui.all.js"></script>
<script>
layui.use('laydate', function () {
var laydate = layui.laydate;
//执行一个laydate实例
laydate.render({
elem: '#start_date', //指定元素
theme: '#0D84D1'
});
laydate.render({
elem: '#end_date' ,//指定元素
theme: '#0D84D1'
});
});
</script>
</body>
</html>
\ No newline at end of file
......@@ -46,8 +46,8 @@
<span class="li_title">商品管理</span>
</a>
</li>
<li class="content_ul_li <if condition="(ACTION_NAME eq '')">active</if>">
<a href="" class="out">
<li class="content_ul_li <if condition="(ACTION_NAME eq 'integral')">active</if>">
<a href="/integral" class="out">
<span class="li_icon icon iconfont iconjuxing9"></span>
<span class="li_title">积分管理</span>
</a>
......
{"version":3,"sources":["integral.less"],"names":[],"mappings":"AAAA;AAAkB;EAChB,eAAA;;AADF,gBAGE;AAHgB,cAGhB;EACE,eAAA;;AAJJ,gBAOE;AAPgB,cAOhB;EACE,sBAAA;EACA,aAAA;EACA,kBAAA;;AAVJ,gBAOE,UAKE;AAZc,cAOhB,UAKE;EACE,UAAA;EACA,kBAAA;;AAdN,gBAOE,UAKE,IAIE;AAhBY,cAOhB,UAKE,IAIE;EACE,eAAA;EACA,gBAAA;;AAlBR,gBAOE,UAKE,IASE;AArBY,cAOhB,UAKE,IASE;EACE,eAAA;EACA,cAAA;;AAGF,gBAnBJ,UAKE,IAcG,GACC;AADF,cAnBJ,UAKE,IAcG,GACC;EACE,cAAA;;AAIJ,gBAzBJ,UAKE,IAoBG,IACC;AADF,cAzBJ,UAKE,IAoBG,IACC;EACE,cAAA;;AAlCV,gBAOE,UAgCE;AAvCc,cAOhB,UAgCE;EACE,kBAAA;EACA,SAAA;EACA,YAAA;EACA,SAAA;EACA,UAAA;EACA,yBAAA;;AA7CN,gBAiDE;AAjDgB,cAiDhB;EACE,YAAA;EACA,sBAAA;EACA,gBAAA;EACA,eAAA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;;AAxDJ,gBAiDE,gBASE;AA1Dc,cAiDhB,gBASE;EACE,UAAA;EACA,kBAA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AgNI;EANF,cA9MN,cACE,WAGE,WAgNI;IACE,UAAA;;EAPJ,gBA9MN,cACE,WAGE,WAoNI;EAVF,cA9MN,cACE,WAGE,WAoNI;IACE,UAAA;;EAXJ,gBA9MN,cACE,WAGE,WAwNI;EAdF,cA9MN,cACE,WAGE,WAwNI;IACE,aAAA;;;AAjWZ,gBAoIE,cACE,WAGE,WA6NE;AArWU,cAoIhB,cACE,WAGE,WA6NE;EACE,cAAA;EACA,eAAA;;AAEA,gBArOR,cACE,WAGE,WA6NE,WAIG;AAAD,cArOR,cACE,WAGE,WA6NE,WAIG;EACC,cAAA;;AA1WZ,gBAoIE,cACE,WAGE,WAsOE;AA9WU,cAoIhB,cACE,WAGE,WAsOE;EACE,eAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA","file":"integral.css"}
\ No newline at end of file
.inquiry_content, .quote_content {
padding: 0 20px;
.nav_title {
padding: 20px 0;
}
.xj_total {
background-color: #fff;
height: 120px;
position: relative;
.fl {
width: 50%;
text-align: center;
h3 {
font-size: 40px;
margin-top: 22px;
}
p {
font-size: 14px;
color: #8A9299;
}
&.xj {
h3 {
color: #0D84D1
}
}
&.wxj {
h3 {
color: #515559;
}
}
}
.center_line {
position: absolute;
top: 20px;
bottom: 20px;
left: 50%;
width: 1px;
background-color: #E6ECF2;
}
}
.filter_section {
height: 80px;
background-color: #fff;
margin-top: 20px;
font-size: 14px;
color: #686E73;
padding: 0 20px;
line-height: 80px;
.input_div {
width: 34%;
position: relative;
>div {
left: 70px;
right: 10px;
position: absolute;
top: 0px;
}
input {
height: 40px;
border-radius: 4px;
border: 1px solid #D8DFE6;
padding: 0 15px;
width: 100%;
line-height: 40px;
}
span {
width: 70px;
}
}
.date_div {
input {
height: 40px;
border-radius: 0px 4px 4px 0px;
border: 1px solid #D8DFE6;
padding: 0 15px;
width: 94px;
padding: 0 6px;
line-height: 40px;
}
.start_date_div,
.end_date_div {
margin-top: 20px;
}
.icon_div {
width: 34px;
background-color: #E6ECF2;
border-radius: 4px 0px 0px 4px;
color: #B6BFC7;
font-size: 20px;
text-align: center;
height: 40px;
line-height: 40px;
}
}
.heng {
margin: 0 5px;
height: 2px;
width: 12px;
background-color: #D8D8D8;
margin-top: 39px;
}
.btn_div {
a {
width: 120px;
&.cx {
margin: 0 20px;
}
}
}
}
.inquiry_data {
.data_list {
margin-top: 10px;
.data_item {
height: 60px;
background-color: #fff;
margin-top: 10px;
padding: 0 25px;
color: #ADB6BF;
font-size: 14px;
line-height: 60px;
position: relative;
cursor: pointer;
.data_detail {
position: absolute;
top: 0;
left: 25px;
right: 143px;
bottom: 0;
&.bj_data_detail {
right: 171px;
}
& > div {
padding-right: 10px;
}
}
.show_more {
position: absolute;
right: 0;
width: 67%;
top: 100%;
box-shadow: 0px 5px 10px 0px rgba(216, 223, 230, 0.5);
background-color: #fff;
border: 1px solid #D8DFE6;
z-index: 2;
color: #8A9299;
font-size: 12px;
padding: 0 20px 20px 20px;
.more_item {
& > div {
padding-right: 10px;
}
.sort {
font-size: 14px;
margin-right: 21px;
}
.num {
font-size: 16px;
color: #2E3033;
width: 25%;
}
.fz {
font-size: 14px;
color: #ADB6BF;
width: 20%;
.text {
color: #515559;
}
}
.price {
font-size: 16px;
color: #EA1717;
width: 20%
}
.company {
width: 20%;
.mark {
color: #EAA217;
background-color: rgba(242, 191, 97, 0.2);
border-radius: 5px 0px 5px 0px;
padding: 2px 5px;
margin-right: 16px;
&.gr {
background-color: rgba(97, 160, 242, 0.2);
color: #0D84D1;
}
}
}
.wx {
span {
font-size: 20px;
color: #0D84D1;
}
}
}
.more_btn {
width: 140px;
height: 40px;
background: #fff;
border-radius: 4px;
border: 1px solid #E6ECF2;
margin-left: 37px;
text-align: center;
line-height: 40px;
font-size: 14px;
color: #0D84D1;
cursor: pointer;
img {
height: 14px;
width: 14px;
}
}
}
.type {
color: #2E3033;
font-size: 16px;
width: 25%;
}
.brand {
width: 20%;
span {
color: #515559
}
}
.num {
width: 15%;
span {
color: #515559
}
}
.bj_status {
color: #EAA217;
cursor: pointer;
width: 12%;
&.dd {
color: #61A0F2
}
}
.data_status {
width: 12%;
.mark {
height: 10px;
width: 10px;
border-radius: 50% 50%;
margin-right: 4px;
}
&.zs {
.mark {
background-color: #52CCA8;
}
}
&.xj {
.mark {
background-color: #D8DFE6;
}
}
.text {
color: #686E73;
}
}
.time {
width: 16%;
}
.is_bj_status {
color: #0D84D1;
}
.price {
color: #EA1717;
width: 12%;
}
.hq {
width: 12%;
span {
color: #515559
}
}
@media screen and (max-width: 1440px) {
//小屏的时候去掉时间
.type {
width: 30%;
}
.brand {
width: 26%;
}
.num {
width: 20%;
}
.time {
display: none;
}
}
.xj_status {
color: #686E73;
cursor: pointer;
&.fb {
color: #0D84D1;
}
}
.icon {
cursor: pointer;
font-size: 26px;
color: #ADB6BF;
margin-left: 29px;
}
}
}
}
}
\ No newline at end of file
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