Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jamesyang1999
ShopXO
提交
7229f836
ShopXO
项目概览
jamesyang1999
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7229f836
编写于
7月 01, 2020
作者:
D
devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
细节优化
上级
dd67de65
变更
21
展开全部
显示空白变更内容
内联
并排
Showing
21 changed file
with
177 addition
and
74 deletion
+177
-74
application/admin/controller/Common.php
application/admin/controller/Common.php
+1
-1
application/admin/controller/Config.php
application/admin/controller/Config.php
+2
-1
application/admin/view/default/admin/login_info.html
application/admin/view/default/admin/login_info.html
+10
-6
application/admin/view/default/config/index.html
application/admin/view/default/config/index.html
+15
-2
application/admin/view/default/goods/save_info.html
application/admin/view/default/goods/save_info.html
+2
-2
application/admin/view/default/payment/index.html
application/admin/view/default/payment/index.html
+10
-9
application/api/controller/Ordernotify.php
application/api/controller/Ordernotify.php
+29
-21
application/index/controller/Common.php
application/index/controller/Common.php
+1
-1
application/index/controller/User.php
application/index/controller/User.php
+7
-6
application/index/controller/Userintegral.php
application/index/controller/Userintegral.php
+4
-0
application/index/view/default/user/index.html
application/index/view/default/user/index.html
+1
-1
application/index/view/default/userintegral/index.html
application/index/view/default/userintegral/index.html
+2
-2
application/service/IntegralService.php
application/service/IntegralService.php
+15
-0
application/service/NavigationService.php
application/service/NavigationService.php
+11
-12
changelog.txt
changelog.txt
+11
-5
config/shopxo.sql
config/shopxo.sql
+3
-3
extend/payment/BaiduMini.php
extend/payment/BaiduMini.php
+26
-0
extend/payment/Ipay88.php
extend/payment/Ipay88.php
+14
-1
public/static/admin/default/js/admin.js
public/static/admin/default/js/admin.js
+5
-1
public/static/admin/default/js/goods.js
public/static/admin/default/js/goods.js
+7
-0
public/static/index/default/css/user.index.css
public/static/index/default/css/user.index.css
+1
-0
未找到文件。
application/admin/controller/Common.php
浏览文件 @
7229f836
...
...
@@ -218,7 +218,7 @@ class Common extends Controller
// 分页信息
$this
->
page
=
max
(
1
,
isset
(
$this
->
data_request
[
'page'
])
?
intval
(
$this
->
data_request
[
'page'
])
:
1
);
$this
->
page_size
=
MyC
(
'
admin_page_number
'
,
10
,
true
);
$this
->
page_size
=
MyC
(
'
common_page_size
'
,
10
,
true
);
$this
->
assign
(
'page'
,
$this
->
page
);
$this
->
assign
(
'page_size'
,
$this
->
page_size
);
...
...
application/admin/controller/Config.php
浏览文件 @
7229f836
...
...
@@ -49,8 +49,9 @@ class Config extends Common
*/
public
function
Index
()
{
//
csv
//
静态数据
$this
->
assign
(
'common_excel_charset_list'
,
lang
(
'common_excel_charset_list'
));
$this
->
assign
(
'common_is_enable_list'
,
lang
(
'common_is_enable_list'
));
// 配置信息
$this
->
assign
(
'data'
,
ConfigService
::
ConfigList
());
...
...
application/admin/view/default/admin/login_info.html
浏览文件 @
7229f836
...
...
@@ -9,7 +9,7 @@
<div
class=
"am-margin-top-lg admin-login"
>
<div
class=
"am-padding-sm"
>
<form
class=
"am-form form-validation"
action=
"{{:MyUrl('admin/admin/login')}}"
method=
"POST"
request-type=
"ajax-url"
request-value=
"{{:MyUrl('admin/index/index')}}"
>
<div
class=
"am-g"
>
<div
class=
"am-g
am-padding-top-sm
"
>
<div
class=
"am-form-group am-form-group-refreshing"
>
<input
type=
"text"
placeholder=
"用户名"
name=
"username"
pattern=
"{{:lang('common_regex_username')}}"
data-validation-message=
"用户名格式 5~18 个字符(可以是字母数字下划线)"
class=
"am-radius"
required
/>
</div>
...
...
@@ -32,11 +32,15 @@
<!-- content end -->
<!-- 随机背景图片 -->
<div
class=
"bg-slides"
>
{{if MyC('admin_login_info_bg_images_rand') eq 1}}
<div
class=
"bg-slides"
>
{{for start="1" end="11"}}
{{if file_exists(ROOT.'public/static/admin/default/images/login/'.$i.'.jpg')}}
<div
class=
"bg-slides-item"
style=
"background-image:url('{{$attachment_host}}/static/admin/default/images/login/{{$i}}.jpg');{{if $i neq 1}}display:none;{{/if}}"
></div>
{{/if}}
{{/for}}
</div>
</div>
{{/if}}
<!-- 插件扩展数据 start -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
...
...
application/admin/view/default/config/index.html
浏览文件 @
7229f836
...
...
@@ -13,9 +13,22 @@
{{/foreach}}
</select>
</div>
<div
class=
"am-form-group"
>
<label>
{{$data.admin_login_info_bg_images_rand.name}}
</label>
<select
name=
"{{$data.admin_login_info_bg_images_rand.only_tag}}"
class=
"am-radius chosen-select"
data-validation-message=
"{{$data.admin_login_info_bg_images_rand.error_tips}}"
required
>
{{foreach $common_is_enable_list as $v}}
<option
value=
"{{$v.id}}"
{{
if
isset
($
data
['
admin_login_info_bg_images_rand
']['
value
'])
and
$
data
['
admin_login_info_bg_images_rand
']['
value
']
eq
$
v
['
id
']}}
selected
{{/
if
}}
>
{{$v.name}}
</option>
{{/foreach}}
</select>
<div
class=
"am-alert am-alert-warning"
data-am-alert
>
<p>
背景图片位置[ public/static/admin/default/images/login ]目录下
</p>
</div>
</div>
<div
class=
"am-form-group"
>
<label>
{{$data.
admin_page_number.name}}
<span
class=
"am-form-group-label-tips"
>
{{$data.admin_page_number
.describe}}
</span></label>
<input
type=
"number"
name=
"{{$data.
admin_page_number.only_tag}}"
placeholder=
"{{$data.admin_page_number.name}}"
pattern=
"{{:lang('common_regex_page_number')}}"
data-validation-message=
"{{$data.admin_page_number.error_tips}}"
class=
"am-radius"
{{
if
!
empty
($
data
)}}
value=
"{{$data.admin_page_number
.value}}"
{{/
if
}}
required
/>
<label>
{{$data.
common_page_size.name}}
<span
class=
"am-form-group-label-tips"
>
{{$data.common_page_size
.describe}}
</span></label>
<input
type=
"number"
name=
"{{$data.
common_page_size.only_tag}}"
placeholder=
"{{$data.common_page_size.name}}"
pattern=
"{{:lang('common_regex_page_number')}}"
data-validation-message=
"{{$data.common_page_size.error_tips}}"
class=
"am-radius"
{{
if
!
empty
($
data
)}}
value=
"{{$data.common_page_size
.value}}"
{{/
if
}}
required
/>
</div>
<div
class=
"am-form-group"
>
<label>
{{$data.common_spec_add_max_number.name}}
<span
class=
"am-form-group-label-tips"
>
{{$data.common_spec_add_max_number.describe}}
</span></label>
...
...
application/admin/view/default/goods/save_info.html
浏览文件 @
7229f836
...
...
@@ -184,7 +184,7 @@
<span
class=
"business-operations-submit quick-spec-title-add"
>
+快捷操作
</span>
<span
class=
"business-operations-submit am-margin-left-sm am-icon-gg quick-spec-created"
>
生成规格
</span>
<div
class=
"goods-specifications business-form-group"
{{
if
empty
($
data
['
spec_base
'])}}
style=
"display: none;"
{{/
if
}}
>
<table
class=
"am-table am-table-bordered am-table-centered"
>
<table
class=
"am-table am-table-bordered am-table-centered
am-table-striped am-table-hover
"
>
<thead>
<tr>
<th
class=
"spec-quick-th-title"
>
规格名
</th>
...
...
@@ -282,7 +282,7 @@
</div>
<!-- 规格列表 -->
<table
class=
"am-table am-table-bordered am-table-centered specifications-table am-margin-bottom-sm"
>
<table
class=
"am-table am-table-bordered am-table-centered specifications-table am-margin-bottom-sm
am-table-striped am-table-hover
"
>
<thead
class=
"title-nav"
>
<tr>
{{if !empty($specifications['type'])}}
...
...
application/admin/view/default/payment/index.html
浏览文件 @
7229f836
...
...
@@ -22,15 +22,16 @@
<!-- win form start -->
<form
class=
"am-form form-validation"
action=
"{{:MyUrl('admin/payment/upload')}}"
method=
"POST"
request-type=
"ajax-reload"
enctype=
"multipart/form-data"
>
<div
class=
"am-alert am-radius am-alert-tips m-t-0"
data-am-alert
>
<p
class=
"am-margin-top-sm"
>
1 类名必须于文件名一致(去除 .php ),如 Alipay.php 则取 Alipay
<br
/>
2 类必须定义三个方法
<br
/>
2.1 Config 配置方法
<br
/>
2.2 Pay 支付方法
<br
/>
2.3 Respond 回调方法
<br
/>
2.4 Refund 退款方法(可选)
</p>
<p
class=
"cr-red"
>
PS:以上条件不满足则无法查看插件,将插件放入.zip压缩包中、支持一个压缩中包含多个支付插件
</p>
<p>
1 类名必须于文件名一致(去除 .php ),如 Alipay.php 则取 Alipay
</p>
<p>
2 类必须定义的方法
</p>
<p
class=
"am-margin-left-lg"
>
2.1 Config 配置方法
</p>
<p
class=
"am-margin-left-lg"
>
2.2 Pay 支付方法
</p>
<p
class=
"am-margin-left-lg"
>
2.3 Respond 回调方法
</p>
<p
class=
"am-margin-left-lg"
>
2.4 Refund 退款方法(可选)
</p>
<p>
3 可自定义输出内容方法
</p>
<p
class=
"am-margin-left-lg"
>
3.1 SuccessReturn 支付成功(可选)
</p>
<p
class=
"am-margin-left-lg"
>
3.2 ErrorReturn 支付失败(可选)
</p>
<p
class=
"am-margin-top-xs cr-red"
>
PS:以上条件不满足则无法查看插件,将插件放入.zip压缩包中上传、支持一个压缩中包含多个支付插件
</p>
</div>
<div
class=
"am-form-group am-form-file"
>
<button
type=
"button"
class=
"am-btn am-btn-default am-btn-sm am-radius"
><i
class=
"am-icon-cloud-upload"
></i>
选择文件
</button>
...
...
application/api/controller/Ordernotify.php
浏览文件 @
7229f836
...
...
@@ -61,18 +61,11 @@ class OrderNotify extends Common
*/
private
function
SuccessReturn
()
{
// 根据支付方式处理成功返回结果
$content
=
'success'
;
switch
(
PAYMENT_TYPE
)
{
// 百度
case
'BaiduMini'
:
$content
=
'{"errno":0,"msg":"success","data":{"isConsumed":2}}'
;
break
;
}
// 支付插件是否自定义返回内容
$this
->
ContentReturn
(
'SuccessReturn'
);
//
默认success
exit
(
$content
);
//
结束输出
die
(
'success'
);
}
/**
...
...
@@ -85,18 +78,33 @@ class OrderNotify extends Common
*/
private
function
ErrorReturn
()
{
// 根据支付方式处理异步返回结果
$content
=
'error'
;
switch
(
PAYMENT_TYPE
)
{
// 百度,当处理失败也处理成功消费,需管理员手工处理订单状态或者走其它方式进行处理退款操作
case
'BaiduMini'
:
$content
=
'{"errno":0,"msg":"success","data":{"isConsumed":2}}'
;
break
;
// 支付插件是否自定义返回内容
$this
->
ContentReturn
(
'ErrorReturn'
);
// 结束输出
die
(
'error'
);
}
// 默认error
exit
(
$content
);
/**
* 输出支付插件自定义内容
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-07-01
* @desc description
* @param [string] $action [操作方法]
*/
private
function
ContentReturn
(
$action
)
{
$payment
=
'payment\\'
.
PAYMENT_TYPE
;
if
(
class_exists
(
$payment
))
{
$payment_obj
=
new
$payment
();
if
(
method_exists
(
$payment_obj
,
$action
))
{
die
(
$payment_obj
->
$action
());
}
}
}
}
?>
\ No newline at end of file
application/index/controller/Common.php
浏览文件 @
7229f836
...
...
@@ -297,7 +297,7 @@ class Common extends Controller
// 分页信息
$this
->
page
=
max
(
1
,
isset
(
$this
->
data_request
[
'page'
])
?
intval
(
$this
->
data_request
[
'page'
])
:
1
);
$this
->
page_size
=
MyC
(
'
admin_page_number
'
,
10
,
true
);
$this
->
page_size
=
MyC
(
'
common_page_size
'
,
10
,
true
);
$this
->
assign
(
'page'
,
$this
->
page
);
$this
->
assign
(
'page_size'
,
$this
->
page_size
);
...
...
application/index/controller/User.php
浏览文件 @
7229f836
...
...
@@ -19,6 +19,7 @@ use app\service\SeoService;
use
app\service\MessageService
;
use
app\service\NavigationService
;
use
app\service\GoodsBrowseService
;
use
app\service\GoodsFavorService
;
/**
* 用户
...
...
@@ -114,15 +115,15 @@ class User extends Common
$this
->
assign
(
'cart_list'
,
$cart_list
[
'data'
]);
// 收藏商品
$params
=
array_merge
(
$_POST
,
$_GET
);
$params
[
'user'
]
=
$this
->
user
;
$where
=
GoodsService
::
UserGoodsFavorListWhere
(
$params
);
$favor_params
=
array
(
'm'
=>
0
,
'n'
=>
8
,
'where'
=>
$where
,
'n'
=>
6
,
'where'
=>
[
[
'g.is_delete_time'
,
'='
,
0
],
[
'f.user_id'
,
'='
,
$this
->
user
[
'id'
]],
],
);
$favor
=
GoodsService
::
GoodsFavorList
(
$favor_params
);
$favor
=
Goods
Favor
Service
::
GoodsFavorList
(
$favor_params
);
$this
->
assign
(
'goods_favor_list'
,
$favor
[
'data'
]);
// 我的足迹
...
...
application/index/controller/Userintegral.php
浏览文件 @
7229f836
...
...
@@ -70,6 +70,10 @@ class UserIntegral extends Common
];
$ret
=
IntegralService
::
IntegralLogList
(
$data_params
);
// 用户积分
$user_integral_data
=
IntegralService
::
UserIntegral
(
$this
->
user
[
'id'
]);
$this
->
assign
(
'user_integral_data'
,
$user_integral_data
[
'data'
]);
// 浏览器名称
$this
->
assign
(
'home_seo_site_title'
,
SeoService
::
BrowserSeoTitle
(
'我的积分'
,
1
));
...
...
application/index/view/default/user/index.html
浏览文件 @
7229f836
...
...
@@ -279,7 +279,7 @@
<div
class=
"am-panel-hd"
>
<i></i>
商品收藏
{{if !empty($goods_favor_list)}}
<a
class=
"am-fr more-tips"
href=
"{{:MyUrl('index/user
favor/goods
')}}"
target=
"_blank"
>
<a
class=
"am-fr more-tips"
href=
"{{:MyUrl('index/user
goodsfavor/index
')}}"
target=
"_blank"
>
更多
<span
class=
"am-icon-angle-double-right"
></span>
</a>
{{/if}}
...
...
application/index/view/default/userintegral/index.html
浏览文件 @
7229f836
...
...
@@ -6,13 +6,13 @@
<div
class=
"am-alert am-alert-secondary"
data-am-alert
>
<div
class=
"available"
>
<span>
正常可用
</span>
<span
class=
"panel-value"
>
{{$user.integral}}
</span>
<span
class=
"panel-value"
>
{{$user
_integral_data
.integral}}
</span>
<em>
积分
</em>
<span
class=
"panel-tips"
>
可以正常使用的积分
</span>
</div>
<div
class=
"locking"
>
<span>
当前锁定
</span>
<span
class=
"panel-value"
>
{{$user.locking_integral}}
</span>
<span
class=
"panel-value"
>
{{$user
_integral_data
.locking_integral}}
</span>
<em>
积分
</em>
<span
class=
"panel-tips"
>
一般积分交易中,交易并未完成、锁定相应的积分
</span>
</div>
...
...
application/service/IntegralService.php
浏览文件 @
7229f836
...
...
@@ -301,5 +301,20 @@ class IntegralService
}
}
}
/**
* 用户积分
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-07-01
* @desc description
* @param [int] $user_id [用户 id]
*/
public
static
function
UserIntegral
(
$user_id
)
{
$data
=
Db
::
name
(
'User'
)
->
where
([
'id'
=>
$user_id
])
->
field
(
'integral,locking_integral'
)
->
find
();
return
DataReturn
(
'success'
,
0
,
$data
);
}
}
?>
\ No newline at end of file
application/service/NavigationService.php
浏览文件 @
7229f836
...
...
@@ -17,6 +17,8 @@ use app\service\MessageService;
use
app\service\OrderService
;
use
app\service\GoodsService
;
use
app\service\GoodsBrowseService
;
use
app\service\GoodsFavorService
;
use
app\service\IntegralService
;
/**
* 导航服务层
...
...
@@ -1012,28 +1014,25 @@ class NavigationService
* @param [array] $params [输入信息]
*/
public
static
function
UserCenterMiniNavigation
(
$params
=
[])
{
if
(
empty
(
$params
[
'user'
]))
{
$user_order_count
=
0
;
$user_goods_favor_count
=
0
;
$user_goods_browse_count
=
0
;
$user_integral
=
0
;
}
else
{
if
(
!
empty
(
$params
[
'user'
]))
{
// 订单总数
$where
=
[
'user_id'
=>
$params
[
'user'
][
'id'
],
'is_delete_time'
=>
0
,
'user_is_delete_time'
=>
0
];
$user_order_count
=
OrderService
::
OrderTotal
(
$where
);
// 商品收藏总数
$where
=
[
'user_id'
=>
$params
[
'user'
][
'id'
]];
$user_goods_favor_count
=
GoodsService
::
GoodsFavorTotal
(
$where
);
// 我的足迹总数
// 商品收藏/我的足迹总数
$where
=
[
'user_id'
=>
$params
[
'user'
][
'id'
]];
$user_goods_favor_count
=
GoodsFavorService
::
GoodsFavorTotal
(
$where
);
$user_goods_browse_count
=
GoodsBrowseService
::
GoodsBrowseTotal
(
$where
);
// 用户积分
$user_integral
=
isset
(
$params
[
'user'
][
'integral'
])
?
$params
[
'user'
][
'integral'
]
:
0
;
$user_integral_data
=
IntegralService
::
UserIntegral
(
$params
[
'user'
][
'id'
]);
$user_integral
=
(
isset
(
$user_integral_data
[
'data'
])
&&
isset
(
$user_integral_data
[
'data'
][
'integral'
]))
?
$user_integral_data
[
'data'
][
'integral'
]
:
0
;
}
// 列表
...
...
changelog.txt
浏览文件 @
7229f836
...
...
@@ -2,13 +2,19 @@
ShopXO 1.9.0 Release --- http://shopxo.net
+=========================================================+
全局
1. 所有条件、列表、新增、编辑、删除 新增钩子(公共 form 表单封装)
2. 积分支持按照订单商品总额比例发放,发生售后收回积分
3. 微信小程序好物推荐和直播组件支持配置组件版本号
4. 后台管理登录页面新增随机背景
1. 积分支持按照订单商品总额比例发放,发生售后收回积分
2. 微信小程序好物推荐和直播组件支持配置组件版本号
web端
web端
1. 所有条件、数据列表、新增、编辑、删除 新增钩子(公共 form 表单封装)
2. 后台管理登录页面新增随机背景(支持关闭)
3. 商品编辑规格新增选中光标,用于数据太多定位操作位置
4. 后端新增用户商品浏览管理
5. 后端新增用户商品收藏管理
6. 支付插件支持自定义输出成功/失败内容
7. 支付插件管理优化适配平台,编辑不可超出插件定义的适配平台
8. 用户积分实时获取
小程序端
...
...
config/shopxo.sql
浏览文件 @
7229f836
此差异已折叠。
点击以展开。
extend/payment/BaiduMini.php
浏览文件 @
7229f836
...
...
@@ -310,5 +310,31 @@ class BaiduMini
openssl_free_key
(
$pubkey
);
return
$result
;
}
/**
* 自定义成功返回内容
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-07-01
* @desc description
*/
public
function
SuccessReturn
()
{
return
'{"errno":0,"msg":"success","data":{"isConsumed":2}}'
;
}
/**
* 自定义失败返回内容
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-07-01
* @desc description
*/
public
function
ErrorReturn
()
{
return
'{"errno": 0,"msg": "success","data": {"isErrorOrder": 1,"isConsumed": 2}'
;
}
}
?>
\ No newline at end of file
extend/payment/Ipay88.php
浏览文件 @
7229f836
...
...
@@ -53,7 +53,7 @@ class Ipay88
'version'
=>
'1.0.0'
,
// 插件版本
'apply_version'
=>
'不限'
,
// 适用系统版本描述
'apply_terminal'
=>
[
'pc'
,
'h5'
],
// 适用终端 默认全部
'desc'
=>
'适用PC+H5,
<a href="http://www.ipay88.com
" target="_blank">立即申请</a>'
,
// 插件描述(支持html)
'desc'
=>
'适用PC+H5,
马来西亚用户量最大的在线支付服务商,可以处理多达26种货币,包括MYR,AUD,EUR,SGD,USD,THB,RMB。<a href="https://www.ipay88.com/
" target="_blank">立即申请</a>'
,
// 插件描述(支持html)
'author'
=>
'Devil'
,
// 开发者
'author_url'
=>
'http://shopxo.net/'
,
// 开发者主页
];
...
...
@@ -228,5 +228,18 @@ class Ipay88
return
$data
;
}
/**
* 自定义成功返回内容
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-07-01
* @desc description
*/
public
function
SuccessReturn
()
{
return
'RECEIVEOK'
;
}
}
?>
\ No newline at end of file
public/static/admin/default/js/admin.js
浏览文件 @
7229f836
...
...
@@ -2,7 +2,7 @@ $(function()
{
// 登录页面背景切换
var
count
=
$
(
'
.bg-slides-item
'
).
length
;
if
(
count
>
0
)
if
(
count
>
1
)
{
var
temp_old
=
0
;
var
temp_new
=
1
;
...
...
@@ -19,5 +19,9 @@ $(function()
temp_new
=
0
;
}
},
interval_time
);
}
else
if
(
count
==
1
)
{
// 只有一张图片则直接显示
$
(
'
.bg-slides-item
'
).
show
();
}
});
\ No newline at end of file
public/static/admin/default/js/goods.js
浏览文件 @
7229f836
...
...
@@ -681,4 +681,11 @@ $(function()
initialFrameHeight
:
100
});
}
// 规格选中状态
$
(
document
).
on
(
'
click
'
,
'
.specifications-table tr
'
,
function
()
{
$
(
'
.specifications-table tr
'
).
removeClass
(
'
am-primary
'
);
$
(
this
).
addClass
(
'
am-primary
'
);
});
});
\ No newline at end of file
public/static/index/default/css/user.index.css
浏览文件 @
7229f836
...
...
@@ -74,6 +74,7 @@ ul.order-base li span.am-badge{position: absolute; top: -7px; left: 55%;}
.various
.line-price
{
color
:
#d2364c
;
font-weight
:
700
;
font-family
:
Verdana
,
Tahoma
,
arial
;
}
.various
.goods-browse-list
.am-gallery-item
img
{
width
:
80%
;}
.various
.am-gallery-overlay
.am-gallery-desc
{
display
:
block
;
position
:
absolute
;
right
:
0
;
top
:
0
;
background-color
:
#d2364c
;
color
:
#fff
;
padding
:
0
5px
;}
.various
.table-no
{
padding
:
30px
0
;
}
/**
* PC
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录