切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
13f68b0c6410254b8dd75b0bd032cbd305a3fc01
1 个父辈
d8f0fa8d
1 个管道 的构建
通过
耗费 2 秒
5
变更
9
构建
1
显示空白字符变更
内嵌
并排对比
正在显示
9 个修改的文件
包含
158 行增加
和
18 行删除
public/themes/admin_simpleboot3/admin/goods/goods_add.html
public/themes/admin_simpleboot3/admin/goods/goods_edit.html
public/themes/admin_simpleboot3/admin/salesman/salesman_goods_add.html
public/themes/admin_simpleboot3/admin/salesman/salesman_goods_edit.html
public/themes/admin_simpleboot3/admin/salesmangoods/salesman_edit.html
public/themes/simpleboot3/portal/goodsdetails/goods_details.html
public/themes/simpleboot3/portal/order/get_one.html
public/themes/simpleboot3/portal/salesmangoods/salesman_goods.html
public/themes/simpleboot3/public/assets/css/log.css
public/themes/admin_simpleboot3/admin/goods/goods_add.html
查看文件 @
13f68b0
...
...
@@ -71,12 +71,18 @@
<td><input
class=
"form-control"
type=
"text"
name=
"pricing"
value=
""
placeholder=
"请输入定价"
></td>
</tr>
<tr>
<!--
<tr>
<th>商品说明</th>
<td>
<textarea class="form-control" name="instr" style="height: 50px;"
placeholder="请填写商品说明"></textarea>
</td>
</tr>-->
<tr>
<th>
商品说明
</th>
<td>
<script
type=
"text/plain"
id=
"content"
name=
"instr"
></script>
</td>
</tr>
<tr>
<th>
书号
</th>
...
...
public/themes/admin_simpleboot3/admin/goods/goods_edit.html
查看文件 @
13f68b0
...
...
@@ -82,12 +82,18 @@
<td><input
class=
"form-control"
type=
"text"
name=
"pricing"
value=
"{$data.pricing}"
placeholder=
"请输入定价"
></td>
</tr>
<tr>
<!--
<tr>
<th>商品说明</th>
<td>
<textarea class="form-control" name="instr" style="height: 50px;"
placeholder="请填写商品说明">{$data.instr}</textarea>
</td>
</tr>-->
<tr>
<th>
商品说明
</th>
<td>
<script
type=
"text/plain"
id=
"content"
name=
"instr"
>
{
$data
.
instr
}
</script>
</td>
</tr>
<tr>
<th>
书号
</th>
...
...
public/themes/admin_simpleboot3/admin/salesman/salesman_goods_add.html
查看文件 @
13f68b0
...
...
@@ -57,12 +57,18 @@
placeholder=
"请输入售价"
></td>
</tr>
<tr>
<!--
<tr>
<th>商品说明</th>
<td>
<textarea class="form-control" name="instr" style="height: 50px;"
placeholder="请填写商品说明"></textarea>
</td>
</tr>-->
<tr>
<th>
商品说明
</th>
<td>
<script
type=
"text/plain"
id=
"content"
name=
"instr"
></script>
</td>
</tr>
<tr>
<th>
书号
</th>
...
...
public/themes/admin_simpleboot3/admin/salesman/salesman_goods_edit.html
查看文件 @
13f68b0
...
...
@@ -56,12 +56,18 @@
placeholder=
"请输入售价"
></td>
</tr>
<tr>
<
!--<
tr>
<th>商品说明</th>
<td>
<textarea class="form-control" name="instr" style="height: 50px;"
placeholder="请填写商品说明">{$data.instr}</textarea>
</td>
</tr>-->
<tr>
<th>
商品说明
</th>
<td>
<script
type=
"text/plain"
id=
"content"
name=
"instr"
>
{
$data
.
instr
}
</script>
</td>
</tr>
<tr>
<th>
书号
</th>
...
...
public/themes/admin_simpleboot3/admin/salesmangoods/salesman_edit.html
查看文件 @
13f68b0
...
...
@@ -59,12 +59,18 @@
<td><input
class=
"form-control"
type=
"text"
name=
"money"
value=
"{$data.money}"
placeholder=
"请输入佣金价格"
></td>
</tr>
<tr>
<
!--<
tr>
<th>商品说明</th>
<td>
<textarea class="form-control" name="instr" style="height: 50px;"
placeholder="请填写商品说明">{$data.instr}</textarea>
</td>
</tr>-->
<tr>
<th>
商品说明
</th>
<td>
<script
type=
"text/plain"
id=
"content"
name=
"instr"
>
{
$data
.
instr
}
</script>
</td>
</tr>
<tr>
<th>
书号
</th>
...
...
public/themes/simpleboot3/portal/goodsdetails/goods_details.html
查看文件 @
13f68b0
...
...
@@ -165,6 +165,11 @@
<script
src=
"__TMPL__/public/assets/js/jquery.js"
></script>
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.2.0.js"
></script>
<script>
var
str
=
"赵钱孙李 周吴郑王 南城北里 没有啥"
;
console
.
log
(
str
)
console
.
log
(
str
.
split
(
/
\s
+/
))
</script>
<script>
wx
.
config
({
$jssdk
});
wx
.
ready
(
function
()
{
wx
.
onMenuShareAppMessage
({
...
...
public/themes/simpleboot3/portal/order/get_one.html
查看文件 @
13f68b0
...
...
@@ -8,6 +8,7 @@
<title>
学考无忧
</title>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/reset.css"
/>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/base.css"
/>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/log.css"
/>
<style>
.pay_banner
{
width
:
100%
;
...
...
@@ -51,7 +52,7 @@
<div
class=
"Dpayment"
>
<!--售后咨询弹框开始-->
<div
class=
"tx_mask"
onclick=
"$(this).hide()"
>
<div
class=
"tx_mask"
onclick=
"$(this).hide()"
style=
"display: none"
>
<div
class=
"tx_maskCon"
onclick=
"zZFun(this)"
>
<div
class=
"tx_maskCon2"
style=
"border-radius: 0.1rem;"
>
<div
class=
"delete_school"
>
...
...
@@ -238,9 +239,8 @@
<script>
<!--
售后咨询弹窗
-->
$
(
".pay_bottom2_2"
).
click
(
function
()
{
$
(
".tx_mask"
).
css
({
display
:
"none"
});
console
.
log
(
123
)
$
(
".tx_mask"
).
css
(
"display"
,
"block"
)
})
function
zZFun
(
e
)
{
window
.
event
?
(
window
.
event
.
cancelBubble
=
true
)
:
e
.
stopPropagation
();
...
...
public/themes/simpleboot3/portal/salesmangoods/salesman_goods.html
查看文件 @
13f68b0
...
...
@@ -26,8 +26,73 @@
-moz-transform
:
translate
(
-50%
,
-50%
);
-o-transform
:
translate
(
-50%
,
-50%
);
}
.tx_mask_delete
{
display
:
none
;
z-index
:
2
;
width
:
100%
;
height
:
100%
;
position
:
fixed
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
}
.delete_school
{
font-size
:
0.32rem
;
color
:
#333
;
text-align
:
center
;
}
.delete_btn
{
display
:
flex
;
display
:
-webkit-flex
;
justify-content
:
space-around
;
align-items
:
center
;
}
.tx_maskcancel
{
width
:
100%
;
height
:
0.8rem
;
background
:
#f2f2f2
;
border-radius
:
0.08rem
;
text-align
:
center
;
line-height
:
0.8rem
;
color
:
#333
;
font-size
:
0.32rem
;
margin-top
:
0.4rem
;
margin-right
:
0.5rem
;
}
.tx_maskYes
{
width
:
100%
;
height
:
0.8rem
;
background
:
linear-gradient
(
338deg
,
rgba
(
255
,
78
,
0
,
1
)
0%
,
rgba
(
255
,
157
,
45
,
1
)
100%
);
border-radius
:
0.08rem
;
text-align
:
center
;
line-height
:
0.8rem
;
color
:
white
;
font-size
:
0.32rem
;
margin-top
:
0.4rem
;
margin-left
:
0.5rem
;
}
</style>
<body>
<!-- 删除弹窗 -->
<div
class=
"tx_mask_delete"
onclick=
"$(this).hide()"
>
<div
class=
"tx_maskCon"
onclick=
"zZFun(this)"
>
<div
class=
"tx_maskCon2"
style=
"border-radius: 0.1rem;"
>
<div
class=
"delete_school"
>
是否确定删除?
</div>
<div
class=
"delete_btn"
>
<div
class=
"tx_maskcancel"
>
取消
</div>
<div
class=
"tx_maskYes"
>
确定
</div>
</div>
</div>
</div>
</div>
<!-- 弹窗 -->
<div
class=
"tx_mask"
onclick=
"$(this).hide()"
>
<div
class=
"tx_maskCon_money"
onclick=
"zZFun(this)"
>
...
...
@@ -99,7 +164,7 @@
<div
class=
"log_five_handle_img"
>
<img
src=
"__TMPL__/public/assets/images/86.png"
alt=
""
/>
</div>
<div
class=
"log_five_handle_word log_five_handle_del"
onclick=
"goods_del({$vo.id})"
style=
"cursor: pointer;"
>
<div
class=
"log_five_handle_word log_five_handle_del"
data-id=
"{$vo.id}"
style=
"cursor: pointer;"
>
删除
</div>
</div>
...
...
@@ -134,6 +199,52 @@
<script
src=
"__TMPL__/public/assets/js/jquery.js"
></script>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script>
let
index
=
''
;
let
id
//删除商品
$
(
'.log_five_handle_del'
).
each
(
function
()
{
$
(
this
).
click
(
function
()
{
id
=
$
(
this
).
data
(
"id"
);
index
=
$
(
this
).
parents
(
".com"
).
index
();
console
.
log
(
index
)
$
(
".tx_mask_delete"
).
css
({
display
:
"block"
});
})
})
$
(
".tx_maskYes"
).
click
(
function
()
{
console
.
log
(
index
)
var
len
=
$
(
".com"
);
console
.
log
(
len
)
for
(
var
i
=
0
;
i
<
len
.
length
;
i
++
)
{
if
(
i
==
index
)
{
$
(
len
[
i
]).
remove
()
};
$
(
".tx_mask_delete"
).
css
({
display
:
"none"
});
}
$
.
post
(
"{:url('Salesmangoods/goods_del')}"
,{
goods_id
:
id
},
function
(
data
){
if
(
data
){
$
(
'.del'
+
id
).
remove
();
}
else
{
alert
(
'删除失败!'
);
}
});
})
$
(
".tx_maskcancel"
).
click
(
function
()
{
$
(
".tx_mask_delete"
).
css
({
display
:
"none"
});
})
function
zZFun
(
e
)
{
window
.
event
?
(
window
.
event
.
cancelBubble
=
true
)
:
e
.
stopPropagation
();
}
</script>
<script>
function
zZFun
(
e
)
{
window
.
event
?
(
window
.
event
.
cancelBubble
=
true
)
:
e
.
stopPropagation
();
}
...
...
@@ -157,13 +268,7 @@
*点击删除
*/
function
goods_del
(
id
){
$
.
post
(
"{:url('Salesmangoods/goods_del')}"
,{
goods_id
:
id
},
function
(
data
){
if
(
data
){
$
(
'.del'
+
id
).
remove
();
}
else
{
alert
(
'删除失败!'
);
}
});
}
/**
...
...
public/themes/simpleboot3/public/assets/css/log.css
查看文件 @
13f68b0
...
...
@@ -23,7 +23,7 @@
.tx_maskCon
{
cursor
:
pointer
;
width
:
5.6rem
;
height
:
6rem
;
/*height: 6rem;*/
position
:
absolute
;
top
:
50%
;
left
:
50%
;
...
...
请
注册
或
登录
后发表评论