切换导航条
此项目
正在载入...
登录
刘朕
/
feiyi
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
v_bairong06
7 years ago
提交
e72d4ca0332cba1cc9310941a52d6aa1d6a5bc69
1 个父辈
3c64229d
pc、手机端功能完善提交
隐藏空白字符变更
内嵌
并排对比
正在显示
27 个修改的文件
包含
908 行增加
和
178 行删除
application/Common/Controller/AppframeController.class.php
application/Portal/Controller/GoodsController.class.php
application/User/Controller/CenterController.class.php
application/User/Controller/IndexController.class.php
application/User/Controller/MessageController.class.php
themes/simplebootx/Portal/LocalRemains/index.html
themes/simplebootx/Portal/Project/index.html
themes/simplebootx/Portal/Successor/index.html
themes/simplebootx/Public/assets/css/common.css
themes/simplebootx/User/Address/add.html
themes/simplebootx/User/Address/edit.html
themes/simplebootx/User/Profile/edit.html
themes/simplebootx_mobile/Portal/Goods/all_comment.html
themes/simplebootx_mobile/Portal/Goods/detail.html
themes/simplebootx_mobile/Portal/Goods/goods_list.html
themes/simplebootx_mobile/Portal/Will/mission_detail.html
themes/simplebootx_mobile/Public/assets/css/comment_shop.css
themes/simplebootx_mobile/Public/assets/css/messages.css
themes/simplebootx_mobile/Public/assets/css/shopres.css
themes/simplebootx_mobile/User/Address/add.html
themes/simplebootx_mobile/User/Message/detail.html
themes/simplebootx_mobile/User/Message/index.html
themes/simplebootx_mobile/User/Order/comment.html
themes/simplebootx_mobile/User/will.html
themes/simplebootx_mobile/assets/html/商品详情.html
themes/simplebootx_mobile/assets/html/我的投稿.html
themes/simplebootx_mobile/assets/html/提交评论.html
application/Common/Controller/AppframeController.class.php
查看文件 @
e72d4ca
...
...
@@ -22,7 +22,12 @@ class AppframeController extends Controller {
$region
=
M
(
'Region'
)
->
select
();
$this
->
assign
(
'region'
,
$region
);
$this
->
assign
(
'region_mobile'
,
json_encode
(
$region
));
$region_mobile
=
array
();
foreach
(
$region
as
$k
=>
$v
)
{
$region_mobile
[
$k
][
'value'
]
=
$v
[
'id'
];
$region_mobile
[
$k
][
'label'
]
=
$v
[
'name'
];
}
$this
->
assign
(
'region_mobile'
,
json_encode
(
$region_mobile
));
}
// 一级分类列表
...
...
application/Portal/Controller/GoodsController.class.php
查看文件 @
e72d4ca
...
...
@@ -218,6 +218,20 @@ class GoodsController extends HomebaseController {
$this
->
display
();
}
/**
* 商品所有评价(手机端)
* @param id 商品ID
*/
public
function
all_comment
()
{
$id
=
I
(
'get.id'
,
0
,
'intval'
);
$info
=
$this
->
goods_model
->
getInfo
(
$id
);
if
(
!
$info
)
{
$this
->
error
(
'信息错误'
);
}
$this
->
goods_comment
(
$id
);
$this
->
display
();
}
// 获取商品评价内容
private
function
goods_comment
(
$id
)
{
$commentCount
=
$this
->
order_detail_model
->
getGoodsCountIsComment
(
$id
);
...
...
application/User/Controller/CenterController.class.php
查看文件 @
e72d4ca
...
...
@@ -41,6 +41,14 @@ class CenterController extends MemberbaseController {
$this
->
display
(
':center'
);
}
// 入会申请
public
function
will
()
{
$will_user_apply_model
=
D
(
'Common/WillUserApply'
);
$info
=
$will_user_apply_model
->
getInfo
(
$this
->
userid
);
$this
->
assign
(
$info
);
$this
->
display
(
':will'
);
}
// 退换货页面
public
function
returns
()
{
$this
->
assign
(
'policy'
,
'active'
);
...
...
application/User/Controller/IndexController.class.php
查看文件 @
e72d4ca
...
...
@@ -109,6 +109,23 @@ class IndexController extends HomebaseController {
}
}
// 修改头像(PC)
public
function
avatar_change
()
{
if
(
IS_POST
){
list
(
$status
,
$info
,
$link
,
$attachmentId
)
=
$this
->
uploadCommon
(
'image'
,
C
(
'UPLOAD_MATERIAL_IMAGE_MAX_SIZE'
),
'avatar'
,
false
);
if
(
$status
)
{
$user_id
=
sp_get_current_userid
();
$user_model
=
D
(
'Common/User'
);
$user_model
->
where
(
array
(
'id'
=>
$user_id
))
->
save
(
array
(
'avatar'
=>
$info
));
echo
json_encode
(
array
(
'status'
=>
true
,
'data'
=>
$info
,
'file'
=>
sp_get_image_preview_url
(
$info
)));
exit
;
}
else
{
echo
json_encode
(
array
(
'status'
=>
false
,
'msg'
=>
$info
));
exit
;
}
}
else
{
$this
->
error
(
'非法操作'
);
}
}
//退出
public
function
logout
(){
$ucenter_syn
=
C
(
"UCENTER_ENABLED"
);
...
...
application/User/Controller/MessageController.class.php
查看文件 @
e72d4ca
...
...
@@ -54,7 +54,7 @@ class MessageController extends MemberbaseController {
$info
[
'rtime'
]
=
time
();
$this
->
message_user_log_model
->
add
(
$info
);
}
$this
->
assign
(
$
i
nfo
);
$this
->
assign
(
$
msgI
nfo
);
$this
->
display
();
}
}
\ No newline at end of file
...
...
themes/simplebootx/Portal/LocalRemains/index.html
查看文件 @
e72d4ca
...
...
@@ -13,7 +13,7 @@
<tc
_include
file=
"Public:nav"
/>
<div
class=
"inbanner"
style=
"background-image: url(__TMPL__Public/assets/images/banner/inbanner.jpg);"
>
<!--分类-->
<div
class=
"catebox"
>
<div
class=
"catebox"
id=
"matt"
>
<div
class=
"in-catebox"
>
<div
class=
"in-cate-tit"
>
非遗项目
</div>
<ul
class=
"in-cate-nav"
>
...
...
@@ -35,15 +35,15 @@
<li
class=
"<empty name='keyword.city'>active</empty>"
>
<empty
name=
"keyword.sname"
>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index')}"
>
全部
</a>
<a
href=
"{:U('index')}
#matt
"
>
全部
</a>
<else/>
<a
href=
"{:U('index',array('product'=>$keyword['product']))}"
>
全部
</a>
<a
href=
"{:U('index',array('product'=>$keyword['product']))}
#matt
"
>
全部
</a>
</empty>
<else/>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index',array('sname'=>$keyword['sname']))}"
>
全部
</a>
<a
href=
"{:U('index',array('sname'=>$keyword['sname']))}
#matt
"
>
全部
</a>
<else/>
<a
href=
"{:U('index',array('sname'=>$keyword['sname'],'product'=>$keyword['product']))}"
>
全部
</a>
<a
href=
"{:U('index',array('sname'=>$keyword['sname'],'product'=>$keyword['product']))}
#matt
"
>
全部
</a>
</empty>
</empty>
</li>
...
...
@@ -51,15 +51,15 @@
<li
class=
"<if condition='$keyword[city] eq $vo[name]'>active</if>"
>
<empty
name=
"keyword.sname"
>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index',array('city'=>$vo['name']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('city'=>$vo['name']))}
#matt
"
>
{$vo.name}
</a>
<else/>
<a
href=
"{:U('index',array('city'=>$vo['name'],'product'=>$keyword['product']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('city'=>$vo['name'],'product'=>$keyword['product']))}
#matt
"
>
{$vo.name}
</a>
</empty>
<else/>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index',array('city'=>$vo['name'],'sname'=>$keyword['sname']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('city'=>$vo['name'],'sname'=>$keyword['sname']))}
#matt
"
>
{$vo.name}
</a>
<else/>
<a
href=
"{:U('index',array('city'=>$vo['name'],'sname'=>$keyword['sname'],'product'=>$keyword['product']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('city'=>$vo['name'],'sname'=>$keyword['sname'],'product'=>$keyword['product']))}
#matt
"
>
{$vo.name}
</a>
</empty>
</empty>
</li>
...
...
@@ -79,15 +79,15 @@
<li
class=
"<empty name='keyword.sname'>active</empty>"
>
<empty
name=
"keyword.city"
>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index')}"
>
全部
</a>
<a
href=
"{:U('index')}
#matt
"
>
全部
</a>
<else/>
<a
href=
"{:U('index',array('product'=>$keyword['product']))}"
>
全部
</a>
<a
href=
"{:U('index',array('product'=>$keyword['product']))}
#matt
"
>
全部
</a>
</empty>
<else/>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index',array('city'=>$keyword['city']))}"
>
全部
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city']))}
#matt
"
>
全部
</a>
<else/>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'product'=>$keyword['product']))}"
>
全部
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'product'=>$keyword['product']))}
#matt
"
>
全部
</a>
</empty>
</empty>
</li>
...
...
@@ -95,15 +95,15 @@
<li
class=
"<if condition='$keyword[sname] eq $vo'>active</if>"
>
<empty
name=
"keyword.city"
>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index',array('sname'=>$vo))}"
>
{$vo}
</a>
<a
href=
"{:U('index',array('sname'=>$vo))}
#matt
"
>
{$vo}
</a>
<else/>
<a
href=
"{:U('index',array('sname'=>$vo,'product'=>$keyword['product']))}"
>
{$vo}
</a>
<a
href=
"{:U('index',array('sname'=>$vo,'product'=>$keyword['product']))}
#matt
"
>
{$vo}
</a>
</empty>
<else/>
<empty
name=
"keyword.product"
>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$vo))}"
>
{$vo}
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$vo))}
#matt
"
>
{$vo}
</a>
<else/>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$vo,'product'=>$keyword['product']))}"
>
{$vo}
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$vo,'product'=>$keyword['product']))}
#matt
"
>
{$vo}
</a>
</empty>
</empty>
</li>
...
...
@@ -120,15 +120,15 @@
<li
class=
"<empty name='keyword.product'>active</empty>"
>
<empty
name=
"keyword.city"
>
<empty
name=
"keyword.sname"
>
<a
href=
"{:U('index')}"
>
全部
</a>
<a
href=
"{:U('index')}
#matt
"
>
全部
</a>
<else/>
<a
href=
"{:U('index',array('sname'=>$keyword['sname']))}"
>
全部
</a>
<a
href=
"{:U('index',array('sname'=>$keyword['sname']))}
#matt
"
>
全部
</a>
</empty>
<else/>
<empty
name=
"keyword.sname"
>
<a
href=
"{:U('index',array('city'=>$keyword['city']))}"
>
全部
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city']))}
#matt
"
>
全部
</a>
<else/>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$keyword['sname']))}"
>
全部
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$keyword['sname']))}
#matt
"
>
全部
</a>
</empty>
</empty>
</li>
...
...
@@ -136,15 +136,15 @@
<li
class=
"<if condition='$keyword[product] eq $vo[name]'>active</if>"
>
<empty
name=
"keyword.city"
>
<empty
name=
"keyword.sname"
>
<a
href=
"{:U('index',array('product'=>$vo['name']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('product'=>$vo['name']))}
#matt
"
>
{$vo.name}
</a>
<else/>
<a
href=
"{:U('index',array('sname'=>$keyword['sname'],'product'=>$vo['name']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('sname'=>$keyword['sname'],'product'=>$vo['name']))}
#matt
"
>
{$vo.name}
</a>
</empty>
<else/>
<empty
name=
"keyword.sname"
>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'product'=>$vo['name']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'product'=>$vo['name']))}
#matt
"
>
{$vo.name}
</a>
<else/>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$keyword['sname'],'product'=>$vo['name']))}"
>
{$vo.name}
</a>
<a
href=
"{:U('index',array('city'=>$keyword['city'],'sname'=>$keyword['sname'],'product'=>$vo['name']))}
#matt
"
>
{$vo.name}
</a>
</empty>
</empty>
</li>
...
...
themes/simplebootx/Portal/Project/index.html
查看文件 @
e72d4ca
...
...
@@ -13,7 +13,7 @@
<tc
_include
file=
"Public:nav"
/>
<div
class=
"inbanner"
style=
"background-image: url(__TMPL__Public/assets/images/banner/inbanner.jpg);"
>
<!--分类-->
<div
class=
"catebox"
>
<div
class=
"catebox"
id=
"matt"
>
<div
class=
"in-catebox"
>
<div
class=
"in-cate-tit"
>
非遗项目
</div>
<ul
class=
"in-cate-nav"
>
...
...
@@ -32,9 +32,9 @@
<div
class=
"filter-body"
>
<div
class=
"filter-v-list"
>
<ul
class=
"f-valueList"
>
<li
class=
"<empty name='keyword'>active</empty>"
><a
href=
"{:U('index')}"
>
全部
</a></li>
<li
class=
"<empty name='keyword'>active</empty>"
><a
href=
"{:U('index')}
#matt
"
>
全部
</a></li>
<volist
name=
"region"
id=
"vo"
>
<li
class=
"<if condition='$keyword eq $vo[name]'>active</if>"
><a
href=
"{:U('index',array('keyword'=>$vo['name']))}"
>
{$vo.name}
</a></li>
<li
class=
"<if condition='$keyword eq $vo[name]'>active</if>"
><a
href=
"{:U('index',array('keyword'=>$vo['name']))}
#matt
"
>
{$vo.name}
</a></li>
</volist>
</ul>
</div>
...
...
themes/simplebootx/Portal/Successor/index.html
查看文件 @
e72d4ca
...
...
@@ -13,7 +13,7 @@
<tc
_include
file=
"Public:nav"
/>
<div
class=
"inbanner"
style=
"background-image: url(__TMPL__Public/assets/images/banner/inbanner.jpg);"
>
<!--分类-->
<div
class=
"catebox"
>
<div
class=
"catebox"
id=
"matt"
>
<div
class=
"in-catebox"
>
<div
class=
"in-cate-tit"
style=
"margin-right:0;"
>
传承人
</div>
</div>
...
...
@@ -27,10 +27,10 @@
<div
class=
"filter-body"
>
<div
class=
"filter-v-list"
>
<ul
class=
"f-valueList"
>
<li
class=
"<empty name='search.product'>active</empty>"
><a
href=
"{:U('index',$search_url['product_all'])}"
>
全部
</a></li>
<li
class=
"<empty name='search.product'>active</empty>"
><a
href=
"{:U('index',$search_url['product_all'])}
#matt
"
>
全部
</a></li>
<volist
name=
"product"
id=
"vo"
>
<php>
$search_url['product_search']['product'] = $vo['id'];
</php>
<li
class=
"<if condition='$search[product] eq $vo[id]'>active</if>"
><a
href=
"{:U('index',$search_url['product_search'])}"
>
{$vo.name}
</a></li>
<li
class=
"<if condition='$search[product] eq $vo[id]'>active</if>"
><a
href=
"{:U('index',$search_url['product_search'])}
#matt
"
>
{$vo.name}
</a></li>
</volist>
</ul>
</div>
...
...
@@ -42,10 +42,10 @@
<div
class=
"filter-body"
>
<div
class=
"filter-v-list"
>
<ul
class=
"f-valueList"
>
<li
class=
"<empty name='search.product_son'>active</empty>"
><a
href=
"{:U('index',$search_url['son_all'])}"
>
全部
</a></li>
<li
class=
"<empty name='search.product_son'>active</empty>"
><a
href=
"{:U('index',$search_url['son_all'])}
#matt
"
>
全部
</a></li>
<volist
name=
"product_son"
id=
"vo"
>
<php>
$search_url['son_search']['product_son'] = $vo['id'];
</php>
<li
class=
"<if condition='$search[product_son] eq $vo[id]'>active</if>"
><a
href=
"{:U('index',$search_url['son_search'])}"
>
{$vo.name}
</a></li>
<li
class=
"<if condition='$search[product_son] eq $vo[id]'>active</if>"
><a
href=
"{:U('index',$search_url['son_search'])}
#matt
"
>
{$vo.name}
</a></li>
</volist>
</ul>
</div>
...
...
@@ -57,10 +57,10 @@
<div
class=
"filter-body"
>
<div
class=
"filter-v-list"
>
<ul
class=
"f-valueList"
>
<li
class=
"<empty name='search.sex'>active</empty>"
><a
href=
"{:U('index',$search_url['sex_all'])}"
>
全部
</a></li>
<li
class=
"<empty name='search.sex'>active</empty>"
><a
href=
"{:U('index',$search_url['sex_all'])}
#matt
"
>
全部
</a></li>
<volist
name=
"sex"
id=
"vo"
>
<php>
$search_url['sex_search']['sex'] = $key;
</php>
<li
class=
"<if condition='$search[sex] eq $key'>active</if>"
><a
href=
"{:U('index',$search_url['sex_search'])}"
>
{$vo}
</a></li>
<li
class=
"<if condition='$search[sex] eq $key'>active</if>"
><a
href=
"{:U('index',$search_url['sex_search'])}
#matt
"
>
{$vo}
</a></li>
</volist>
</ul>
</div>
...
...
@@ -71,10 +71,10 @@
<div
class=
"filter-body"
>
<div
class=
"filter-v-list"
>
<ul
class=
"f-valueList"
>
<li
class=
"<empty name='search.level'>active</empty>"
><a
href=
"{:U('index',$search_url['level_all'])}"
>
全部
</a></li>
<li
class=
"<empty name='search.level'>active</empty>"
><a
href=
"{:U('index',$search_url['level_all'])}
#matt
"
>
全部
</a></li>
<volist
name=
"level"
id=
"vo"
>
<php>
$search_url['level_search']['level'] = $vo;
</php>
<li
class=
"<eq name='search.level' value='vo'>active</eq>"
><a
href=
"{:U('index',$search_url['level_search'])}"
>
{$vo}
</a></li>
<li
class=
"<eq name='search.level' value='vo'>active</eq>"
><a
href=
"{:U('index',$search_url['level_search'])}
#matt
"
>
{$vo}
</a></li>
</volist>
</ul>
</div>
...
...
@@ -85,10 +85,10 @@
<div
class=
"filter-body"
>
<div
class=
"filter-v-list"
>
<ul
class=
"f-valueList"
>
<li
class=
"<empty name='search.region'>active</empty>"
><a
href=
"{:U('index',$search_url['region_all'])}"
>
全部
</a></li>
<li
class=
"<empty name='search.region'>active</empty>"
><a
href=
"{:U('index',$search_url['region_all'])}
#matt
"
>
全部
</a></li>
<volist
name=
"region"
id=
"vo"
>
<php>
$search_url['region_search']['region'] = $vo['name'];
</php>
<li
class=
"<if condition='$search[region] eq $vo[name]'>active</if>"
><a
href=
"{:U('index',$search_url['region_search'])}"
>
{$vo.name}
</a></li>
<li
class=
"<if condition='$search[region] eq $vo[name]'>active</if>"
><a
href=
"{:U('index',$search_url['region_search'])}
#matt
"
>
{$vo.name}
</a></li>
</volist>
</ul>
</div>
...
...
@@ -102,10 +102,10 @@
<div
class=
"filter-body"
>
<div
class=
"filter-v-list"
>
<ul
class=
"f-valueList"
>
<li
class=
"<empty name='search.nation'>active</empty>"
><a
href=
"{:U('index',$search_url['nation_all'])}"
>
全部
</a></li>
<li
class=
"<empty name='search.nation'>active</empty>"
><a
href=
"{:U('index',$search_url['nation_all'])}
#matt
"
>
全部
</a></li>
<volist
name=
"nation"
id=
"vo"
>
<php>
$search_url['nation_search']['nation'] = $vo['name'];
</php>
<li
class=
"<if condition='$search[nation] eq $vo[name]'>active</if>"
><a
href=
"{:U('index',$search_url['nation_search'])}"
>
{$vo.name}
</a></li>
<li
class=
"<if condition='$search[nation] eq $vo[name]'>active</if>"
><a
href=
"{:U('index',$search_url['nation_search'])}
#matt
"
>
{$vo.name}
</a></li>
</volist>
</ul>
</div>
...
...
themes/simplebootx/Public/assets/css/common.css
查看文件 @
e72d4ca
...
...
@@ -81,7 +81,8 @@ body,html{
background
:
url(../images/head_icon3.png)
left
center
no-repeat
;
}
.h-cart-box
.badge
{
display
:
inline-block
;
/*display: inline-block;*/
display
:
none
;
background
:
#ec3934
;
color
:
#FFFFFF
;
border-radius
:
20px
;
...
...
themes/simplebootx/User/Address/add.html
查看文件 @
e72d4ca
...
...
@@ -37,15 +37,15 @@
</div>
<div
class=
"mm-row mm-ads-row"
id=
"city"
>
<div
class=
"mm-col-4"
>
<select
name=
"province"
class=
"mm-select prov"
>
<select
name=
"province"
class=
"mm-select prov"
id=
"province"
>
<option
value=
""
>
省
</option>
</select>
</div>
<div
class=
"mm-col-4"
>
<select
name=
"city"
class=
"mm-select city"
disabled=
"disabled"
><option
value=
""
>
市
</option></select>
<select
name=
"city"
id=
"citys"
class=
"mm-select city"
disabled=
"disabled"
><option
value=
""
>
市
</option></select>
</div>
<div
class=
"mm-col-4"
>
<select
name=
"region"
class=
"mm-select dist"
disabled=
"disabled"
><option
value=
""
>
县
</option></select>
<select
name=
"region"
id=
"region"
class=
"mm-select dist"
disabled=
"disabled"
><option
value=
""
>
县
</option></select>
</div>
</div>
<div
class=
"mm-row mm-ads-row"
>
...
...
@@ -69,6 +69,53 @@
<script
src=
"__TMPL__Public/assets/js/jquery.cityselect.js"
></script>
<script
type=
"text/javascript"
>
$
(
"#city"
).
citySelect
({
nodata
:
"none"
,
required
:
false
});
$
(
".sure_button"
).
click
(
function
()
{
if
(
$
(
"#realname"
).
val
()
==
""
)
{
alert
(
"姓名不能为空!"
);
return
false
;
}
if
(
$
(
"#mobile"
).
val
()
==
""
)
{
alert
(
"电话不能为空"
);
return
false
;
}
if
(
$
(
"#province"
).
val
()
==
""
)
{
alert
(
"省不能为空"
);
return
false
;
}
if
(
$
(
"#city"
).
val
()
==
""
)
{
alert
(
"市不能为空"
);
return
false
;
}
if
(
$
(
"#address"
).
val
()
==
""
)
{
alert
(
"详细地址不能为空"
);
return
false
;
}
var
data
=
{
realname
:
$
(
"#realname"
).
val
(),
mobile
:
$
(
"#mobile"
).
val
(),
province
:
$
(
"#province"
).
val
(),
city
:
$
(
"#citys"
).
val
(),
region
:
$
(
"#region"
).
val
(),
address
:
$
(
"#address"
).
val
()
};
$
.
ajax
({
url
:
"{:U('User/Address/addAddress')}"
,
type
:
"POST"
,
data
:
data
,
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
status
)
{
alert
(
'添加成功'
);
location
.
href
=
"{:U('User/Address/index')}"
;
}
else
{
alert
(
data
.
msg
);
}
},
error
:
function
(
data
,
status
,
e
)
{
alert
(
e
);
}
});
})
</script>
<tc
_include
file=
"Public:script"
/>
</body>
...
...
themes/simplebootx/User/Address/edit.html
查看文件 @
e72d4ca
...
...
@@ -37,15 +37,15 @@
</div>
<div
class=
"mm-row mm-ads-row"
id=
"city"
>
<div
class=
"mm-col-4"
>
<select
name=
"province"
class=
"mm-select prov"
>
<option
value=
""
>
省
</option>
<select
name=
"province"
class=
"mm-select prov"
id=
"province"
>
<option
value=
"{$province}"
>
省
</option>
</select>
</div>
<div
class=
"mm-col-4"
>
<select
name=
"city"
class=
"mm-select city"
disabled=
"disabled"
><option
value=
"
"
>
市
</option></select>
<select
name=
"city"
id=
"citys"
class=
"mm-select city"
disabled=
"disabled"
><option
value=
"{$city}
"
>
市
</option></select>
</div>
<div
class=
"mm-col-4"
>
<select
name=
"region"
class=
"mm-select dist"
disabled=
"disabled"
><option
value=
"
"
>
县
</option></select>
<select
name=
"region"
id=
"region"
class=
"mm-select dist"
disabled=
"disabled"
><option
value=
"{$region}
"
>
县
</option></select>
</div>
</div>
<div
class=
"mm-row mm-ads-row"
>
...
...
@@ -55,7 +55,7 @@
</div>
</div>
<div
class=
"mm-form-footer"
>
<button
type=
"button"
class=
"btn-submit"
>
提交
</button>
<button
type=
"button"
class=
"btn-submit"
id=
"edit_address"
>
提交
</button>
</div>
</div>
</div>
...
...
@@ -69,6 +69,55 @@
<script
src=
"__TMPL__Public/assets/js/jquery.cityselect.js"
></script>
<script
type=
"text/javascript"
>
$
(
"#city"
).
citySelect
({
nodata
:
"none"
,
required
:
false
});
$
(
"#edit_address"
).
click
(
function
()
{
if
(
$
(
"#realname"
).
val
()
==
""
)
{
alert
(
"姓名不能为空!"
);
return
false
;
}
if
(
$
(
"#mobile"
).
val
()
==
""
)
{
alert
(
"电话不能为空"
);
return
false
;
}
if
(
$
(
"#province"
).
val
()
==
""
)
{
alert
(
"省不能为空"
);
return
false
;
}
if
(
$
(
"#citys"
).
val
()
==
""
)
{
alert
(
"市不能为空"
);
return
false
;
}
if
(
$
(
"#address"
).
val
()
==
""
)
{
alert
(
"详细地址不能为空"
);
return
false
;
}
var
data
=
{
id
:
"{$id}"
,
realname
:
$
(
"#realname"
).
val
(),
mobile
:
$
(
"#mobile"
).
val
(),
province
:
$
(
"#province"
).
val
(),
city
:
$
(
"#citys"
).
val
(),
region
:
$
(
"#region"
).
val
(),
address
:
$
(
"#address"
).
val
()
};
console
.
log
(
data
);
$
.
ajax
({
url
:
"{:U('User/Address/editAddress')}"
,
type
:
"POST"
,
data
:
data
,
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
status
)
{
alert
(
'添加成功'
);
location
.
href
=
"{:U('User/Address/index')}"
;
}
else
{
alert
(
data
.
msg
);
}
},
error
:
function
(
data
,
status
,
e
)
{
alert
(
e
);
}
});
})
</script>
<tc
_include
file=
"Public:script"
/>
</body>
...
...
themes/simplebootx/User/Profile/edit.html
查看文件 @
e72d4ca
...
...
@@ -33,8 +33,8 @@
<div
class=
"hd"
>
会员头像:
</div>
<div
class=
"bd"
>
<div
class=
"upload-avatar"
>
<span
id=
"preview"
><img
id=
"imghead"
src=
"{$avatar}"
/></span>
<div
class=
"upload-text"
>
点击修改
<input
type=
"file"
onchange=
"previewImage(this)"
/></div>
<span
id=
"preview"
><img
id=
"imghead"
src=
"{:sp_get_image_preview_url($avatar)}"
/></span>
<div
class=
"upload-text"
>
点击修改
<input
type=
"file"
name=
"images"
class=
"upload"
id=
"id_photos"
/></div>
</div>
</div>
</div>
...
...
@@ -86,64 +86,31 @@
<script
src=
"__TMPL__Public/assets/js/jquery.min.js"
></script>
<script
src=
"__TMPL__Public/assets/js/mm.js"
></script>
<script
src=
"__TMPL__Public/assets/js/Validform_v5.3.2_min.js"
></script>
<script
type=
"text/javascript"
src=
"__PUBLIC__/js/ajaxfileupload.js"
></script>
<!--头像上传-->
<script
type=
"text/javascript"
>
//图片上传预览 IE是用了滤镜。
function
previewImage
(
file
)
{
var
MAXWIDTH
=
260
;
var
MAXHEIGHT
=
180
;
var
div
=
document
.
getElementById
(
'preview'
);
if
(
file
.
files
&&
file
.
files
[
0
])
{
div
.
innerHTML
=
'<img id=imghead>'
;
var
img
=
document
.
getElementById
(
'imghead'
);
img
.
onload
=
function
(){
var
rect
=
clacImgZoomParam
(
MAXWIDTH
,
MAXHEIGHT
,
img
.
offsetWidth
,
img
.
offsetHeight
);
img
.
width
=
rect
.
width
;
img
.
height
=
rect
.
height
;
// img.style.marginLeft = rect.left+'px';
img
.
style
.
marginTop
=
rect
.
top
+
'px'
;
}
var
reader
=
new
FileReader
();
reader
.
onload
=
function
(
evt
){
img
.
src
=
evt
.
target
.
result
;}
reader
.
readAsDataURL
(
file
.
files
[
0
]);
}
else
//兼容IE
{
var
sFilter
=
'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="'
;
file
.
select
();
var
src
=
document
.
selection
.
createRange
().
text
;
div
.
innerHTML
=
'<img id=imghead>'
;
var
img
=
document
.
getElementById
(
'imghead'
);
img
.
filters
.
item
(
'DXImageTransform.Microsoft.AlphaImageLoader'
).
src
=
src
;
var
rect
=
clacImgZoomParam
(
MAXWIDTH
,
MAXHEIGHT
,
img
.
offsetWidth
,
img
.
offsetHeight
);
status
=
(
'rect:'
+
rect
.
top
+
','
+
rect
.
left
+
','
+
rect
.
width
+
','
+
rect
.
height
);
div
.
innerHTML
=
"<div id=divhead style='width:"
+
rect
.
width
+
"px;height:"
+
sFilter
+
src
+
"\"'></div>"
;
}
}
function
clacImgZoomParam
(
maxWidth
,
maxHeight
,
width
,
height
){
var
param
=
{
top
:
0
,
left
:
0
,
width
:
width
,
height
:
height
};
if
(
width
>
maxWidth
||
height
>
maxHeight
)
{
rateWidth
=
width
/
maxWidth
;
rateHeight
=
height
/
maxHeight
;
if
(
rateWidth
>
rateHeight
)
{
param
.
width
=
maxWidth
;
param
.
height
=
Math
.
round
(
height
/
rateWidth
);
}
else
{
param
.
width
=
Math
.
round
(
width
/
rateHeight
);
param
.
height
=
maxHeight
;
// 图片上传
$
(
'.upload'
).
on
(
'change'
,
function
(){
var
fileId
=
$
(
this
).
attr
(
'id'
);
$
.
ajaxFileUpload
({
url
:
"{:U('User/Index/avatar_change')}"
,
//处理图片的脚本路径
type
:
'post'
,
//提交的方式
secureuri
:
false
,
//是否启用安全提交
fileElementId
:
fileId
,
//file控件ID
dataType
:
'json'
,
//服务器返回的数据类型
success
:
function
(
data
)
{
//提交成功后自动执行的处理函数
if
(
data
.
status
)
{
$
(
'#imghead'
).
attr
(
'src'
,
data
.
file
);
$
(
'.mm-avatar'
).
find
(
'img'
).
attr
(
'src'
,
data
.
file
);
}
else
{
alert
(
data
.
msg
);
}
},
error
:
function
(
data
,
status
,
e
)
{
//提交失败自动执行的处理函数
alert
(
e
);
}
}
param
.
left
=
Math
.
round
((
maxWidth
-
param
.
width
)
/
2
);
param
.
top
=
Math
.
round
((
maxHeight
-
param
.
height
)
/
2
);
return
param
;
}
})
});
</script>
<script
type=
"text/javascript"
>
$
(
".registerform"
).
Validform
({
...
...
themes/simplebootx_mobile/Portal/Goods/all_comment.html
0 → 100644
查看文件 @
e72d4ca
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
/>
<title>
所有评论
</title>
<tc
_include
file=
"Public:common"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__Public/assets/css/swiper-3.4.2.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__Public/assets/css/all_comment.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__Public/assets/css/jquery.raty.css"
/>
<script
src=
"__TMPL__Public/assets/js/swiper-3.4.2.jquery.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"__TMPL__Public/assets/js/jquery.raty.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<style>
.plstart
{
width
:
3rem
;
height
:
0.4rem
;
/* background-color: red; */
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-start
;
margin-left
:
0.2rem
;
}
.plstart
img
{
display
:
block
;
width
:
0.3rem
;
height
:
0.3rem
;
margin-left
:
-0.3rem
;
}
.plstart
img
:first-child
{
margin
:
0
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<volist
name=
"commentList"
id=
"vo"
>
<div
class=
"comment_list"
>
<div
class=
"list_head"
>
<div
class=
"list_head_left"
>
<img
src=
"{:sp_get_image_preview_url($vo['avatar'])}"
class=
"head_logo"
/>
<p
class=
"head_name"
>
{$vo.nickname}
</p>
<div
class=
"plstart"
data-number=
"{$vo.is_comment}"
></div>
</div>
<p
class=
"list_data"
>
{:date('Y-m-d',$vo['com_time'])}
</p>
</div>
<div
class=
"list_res"
>
{$vo.comment}
</div>
</div>
</volist>
</div>
</body>
<script>
$
(
'.comment_list'
).
each
(
function
()
{
var
num
=
$
(
this
).
find
(
'.plstart'
).
data
(
'number'
);
$
(
this
).
find
(
'.plstart'
).
raty
({
readOnly
:
true
,
score
:
num
});
})
</script>
</html>
\ No newline at end of file
...
...
themes/simplebootx_mobile/Portal/Goods/detail.html
查看文件 @
e72d4ca
<!DOCTYPE html>
<html
lang=
"zh"
>
<head>
<meta
charset=
"UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
/>
...
...
@@ -10,6 +9,42 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__Public/assets/css/swiper-3.4.2.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__Public/assets/css/shopres.css"
/>
<script
src=
"__TMPL__Public/assets/js/swiper-3.4.2.jquery.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"__TMPL__Public/assets/js/jquery.raty.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<style>
.active
{
color
:
#E93B3A
!important
;
}
.footer
.sc
.icon-collect1
{
color
:
#E93B3A
;
}
.plstart
{
width
:
auto
;
height
:
0.4rem
;
/* background-color: red; */
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-start
;
/*margin-left: 0.2rem;*/
}
.shop_res_bottom
.plstart
img
{
display
:
block
;
width
:
0.3rem
;
height
:
0.3rem
;
margin-left
:
-0.12rem
;
float
:
right
;
}
.plstart
img
{
display
:
block
;
width
:
0.3rem
;
height
:
0.3rem
;
margin-left
:
-0.12rem
;
/*float: right;*/
}
.plstart
img
:first-child
{
margin
:
0
;
}
</style>
</head>
<body>
<div
class=
"container"
>
...
...
@@ -46,31 +81,35 @@
<div
class=
"shop_res_bottom"
>
<span
class=
"yunfei"
>
免运费
</span>
<span
class=
"number"
>
月销 1000 件
</span>
<div
class=
"plstart"
data-number=
"{$total}"
style=
"margin-left: auto"
></div>
<span
style=
"font-size:0.3rem;font-family:SourceHanSansCN-Regular;color:rgba(245,204,0,1);margin-left: 0.2rem"
>
{$total}
</span>
</div>
</div>
<div
class=
"shop_evaluate"
>
<div
class=
"shop_evaluate_head"
>
<div
class=
"shop_evaluate_head"
id=
"all_comment"
>
<p
class=
"all_title"
>
全部评价
</p>
<i
class=
"iconfont icon-arrows"
></i>
</div>
<volist
name=
"commentList"
id=
"vo"
>
<div
class=
"evaluate_list"
>
<img
src=
""
class=
"list_logo"
/>
<img
src=
"
{:sp_get_image_preview_url($vo['avatar'])}
"
class=
"list_logo"
/>
<div
class=
"list_res"
>
<p
class=
"list_res_title"
>
微信昵称
</p>
<p
class=
"list_res_title"
>
{$vo.nickname}
</p>
<div
class=
"plstart"
data-number=
"{$vo.is_comment}"
></div>
<p
class=
"list_res_main"
>
宝贝非常美丽,物流也非常快,还会回购...
{$vo.comment}
</p>
</div>
</div>
</volist>
</div>
<div
class=
"shop_evaluate"
>
<div
class=
"shop_evaluate_head"
>
<p
class=
"all_title"
>
全部评价
</p>
<p
class=
"all_title"
>
商品详情
</p>
<!--<i class="iconfont icon-arrows"></i>-->
</div>
<div
class=
"evaluate_list"
>
<img
src=
""
class=
"list_logo"
/>
<div
class=
"list_res text_mian"
></div>
<div
class=
"list_res text_mian"
>
{$goods_content}
</div>
</div>
</div>
<div
class=
"kong"
></div>
...
...
@@ -80,16 +119,13 @@
<i
class=
"iconfont icon-menu_icon_normal2"
>
</i>
<span
class=
"footer_title"
>
客服
</span>
</div>
<div
class=
"sc"
>
<i
class=
"iconfont icon-collect"
>
</i>
<span
class=
"footer_title"
>
收藏
</span>
</div>
<div
class=
"goonpay"
>
加入购物车
</div>
<div
class=
"rightbuy"
>
立即购买
<div
class=
"sc <eq name='is_favorite' value='1'>active</eq>"
>
<i
class=
"iconfont <eq name='is_favorite' value='1'>icon-collect1<else/>icon-collect</eq>"
>
</i>
<!--<i class="iconfont icon-collect1"></i>-->
<span
class=
"footer_title"
><eq
name=
'is_favorite'
value=
'1'
>
已收藏
<else/>
收藏
</eq></span>
</div>
<div
class=
"goonpay"
>
加入购物车
</div>
<div
class=
"rightbuy"
>
立即购买
</div>
</div>
</body>
<tc
_include
file=
"Portal/Goods:script"
/>
...
...
@@ -107,6 +143,71 @@
// 如果需要滚动条
// scrollbar: '.swiper-scrollbar',
})
};
// 查看全部评价
$
(
'#all_comment'
).
click
(
function
(){
var
id
=
"{$id}"
;
location
.
href
=
"{:U('Portal/Goods/all_comment')}"
+
'/id/'
+
id
;
});
var
num
=
$
(
'.shop_res_bottom .plstart'
).
data
(
'number'
);
$
(
'.shop_res_bottom .plstart'
).
raty
({
readOnly
:
true
,
score
:
num
});
$
(
'.evaluate_list'
).
each
(
function
()
{
var
num
=
$
(
this
).
find
(
'.plstart'
).
data
(
'number'
);
$
(
this
).
find
(
'.plstart'
).
raty
({
readOnly
:
true
,
score
:
num
});
});
//收藏
$
(
'.sc'
).
click
(
function
(){
var
btn
=
$
(
this
);
var
goods_id
=
"{$id}"
;
var
data
=
{
goods_id
:
goods_id
};
if
(
"{$user}"
==
0
)
{
alert
(
'请先登录'
);
return
false
;
}
$
.
ajax
({
url
:
"{:U('User/Favorite/do_favorite')}"
,
type
:
"POST"
,
data
:
data
,
dateType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
status
)
{
if
(
btn
.
hasClass
(
'active'
))
{
btn
.
find
(
'span'
).
text
(
'收藏'
);
btn
.
find
(
'i'
).
attr
(
'class'
,
'iconfont icon-collect'
);
btn
.
removeClass
(
'active'
);
}
else
{
btn
.
find
(
'span'
).
text
(
'已收藏'
);
btn
.
find
(
'i'
).
attr
(
'class'
,
'iconfont icon-collect1'
);
btn
.
addClass
(
'active'
);
}
}
else
{
alert
(
data
.
msg
);
}
},
error
:
function
(
data
,
status
,
e
)
{
//提交失败自动执行的处理函数
alert
(
e
);
}
});
});
//收藏2
$
(
document
).
on
(
'click'
,
'.btn-care'
,
function
(){
var
btn
=
$
(
this
);
var
goods_id
=
btn
.
parents
(
'li'
).
data
(
'id'
);
favorite
(
goods_id
,
btn
);
});
// 收藏/取消收藏处理
function
favorite
(
goods_id
,
obj
)
{
}
</script>
</html>
\ No newline at end of file
...
...
themes/simplebootx_mobile/Portal/Goods/goods_list.html
查看文件 @
e72d4ca
...
...
@@ -24,21 +24,21 @@
</div>
<div
class=
"container"
>
<div
class=
"shoplist_select"
>
<div
class=
"select_quyu"
onclick=
"qy($(this),
qyarr
)"
>
<div
class=
"select_quyu"
onclick=
"qy($(this),
region
)"
>
<p
class=
"shoplist_select_title"
>
区域
</p>
<i
class=
"iconfont icon-fylb_icon_arrow_norm"
></i>
</div>
<div
class=
"select_line"
>
</div>
<div
class=
"select_price"
onclick=
"qy($(this),
qyarr
)"
>
<div
class=
"select_price"
onclick=
"qy($(this),
price
)"
>
<p
class=
"shoplist_select_title"
>
价格
</p>
<i
class=
"iconfont icon-fylb_icon_arrow_norm"
></i>
</div>
<div
class=
"select_line"
>
</div>
<div
class=
"select_pai"
onclick=
"qy($(this),
qyarr
)"
>
<div
class=
"select_pai"
onclick=
"qy($(this),
brand
)"
>
<p
class=
"shoplist_select_title"
>
品牌
</p>
<i
class=
"iconfont icon-fylb_icon_arrow_norm"
></i>
</div>
...
...
@@ -75,9 +75,15 @@
// scrollbar: '.swiper-scrollbar',
})
}
var
qyarr
=
JSON
.
parse
(
"{$region_mobile}"
);
function
qy
(
that
,
arr
)
{
weui
.
picker
(
arr
,
{
var
region
=
change
(
`
"{$region_mobile}"
`
);
var
price
=
change
(
`
"{$region_mobile}"
`
);
var
brand
=
change
(
`
"{$region_mobile}"
`
);
function
change
(
arr
)
{
qyarr
=
arr
.
substring
(
1
,
arr
.
length
-
1
);
return
JSON
.
parse
(
qyarr
);
}
function
qy
(
that
,
qarr
)
{
weui
.
picker
(
qarr
,
{
className
:
'custom-classname'
,
container
:
'body'
,
defaultValue
:
[
3
],
...
...
themes/simplebootx_mobile/Portal/Will/mission_detail.html
查看文件 @
e72d4ca
...
...
@@ -125,7 +125,7 @@
<volist
name=
"prizeList"
id=
"vo"
>
<div
class=
"list_view"
>
<img
src=
"{:sp_get_image_preview_url($vo['thumb'])}"
alt=
""
class=
"list_view_logo"
>
<div
class=
"list_view_res"
>
<div
class=
"list_view_res"
style=
"display: flex;flex-direction: column;justify-content: center;"
>
<p
class=
"list_res_title"
>
{$vo.level}:{$vo.num}人
</p>
<p
class=
"list_res_mintitle"
>
{$vo.name}
</p>
</div>
...
...
@@ -139,8 +139,8 @@
</div>
<div
class=
"main_content_list"
>
<volist
name=
"prizeList"
id=
"vo"
>
<div
class=
"list_view"
>
<img
src=
"{:sp_get_image_preview_url($vo['thumb'])}"
alt=
""
class=
"list_view_logo"
>
<div
class=
"list_view"
style=
"justify-content: flex-end"
>
<img
src=
"{:sp_get_image_preview_url($vo['thumb'])}"
alt=
""
class=
"list_view_logo"
style=
"margin-right: auto"
>
<div
class=
"list_view_res_left"
>
<p
class=
"list_res_title"
>
{$vo.level}:{$vo.num}人
</p>
<p
class=
"list_res_mintitle"
>
{$vo.name}
</p>
...
...
themes/simplebootx_mobile/Public/assets/css/comment_shop.css
查看文件 @
e72d4ca
...
...
@@ -48,10 +48,9 @@
.list_comment
{
width
:
100%
;
height
:
4.7rem
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0rem
0.35rem
;
padding
:
0
.25
rem
0.35rem
;
}
.comment_check
{
...
...
themes/simplebootx_mobile/Public/assets/css/messages.css
查看文件 @
e72d4ca
...
...
@@ -49,6 +49,7 @@
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0.4rem
;
color
:
black
;
}
.message_list
p
{
...
...
themes/simplebootx_mobile/Public/assets/css/shopres.css
查看文件 @
e72d4ca
...
...
@@ -256,7 +256,9 @@
text-align
:
center
;
line-height
:
0.98rem
;
}
.footer
{
color
:
rgba
(
153
,
153
,
153
,
1
);
}
.rightbuy
{
width
:
2.48rem
;
height
:
100%
;
...
...
@@ -277,7 +279,7 @@
font-size
:
0.22rem
;
line-height
:
0.3rem
;
font-family
:
PingFangSC-Regular
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
#container_main
{
...
...
themes/simplebootx_mobile/User/Address/add.html
查看文件 @
e72d4ca
...
...
@@ -103,7 +103,7 @@
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
status
)
{
alert
(
'
修改
成功'
);
alert
(
'
添加
成功'
);
location
.
href
=
"{:U('User/Address/index')}"
;
}
else
{
alert
(
data
.
msg
);
...
...
themes/simplebootx_mobile/User/Message/detail.html
查看文件 @
e72d4ca
<!DOCTYPE html>
<html
lang=
"en"
>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
<meta
charset=
"UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
/>
<title>
站内信详情
</title>
<tc
_include
file=
"Public:common"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__Public/assets/css/Youth_Literary_Creation.css"
/>
<style>
.msg_content
{
font-size
:
0.25rem
;
padding
:
0.32rem
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<div
class=
"main"
>
<div
class=
"main_list"
>
<a
href=
"javascript:;"
>
<p
class=
"title"
>
{$title}
</p>
</a>
</div>
</div>
<div
class=
"msg_content"
>
{$content}
</div>
</div>
<div
id=
"toast"
style=
"display:none;"
>
<div
class=
"weui-mask_transparent"
></div>
<div
class=
"weui-toast"
>
<i
class=
"weui-icon-safe-warn weui-icon_toast"
></i>
<p
class=
"weui-toast__content"
>
已完成
</p>
</div>
</div>
<div
id=
"toastsuccess"
style=
"display:none;"
>
<div
class=
"weui-mask_transparent"
></div>
<div
class=
"weui-toast"
>
<i
class=
"weui-icon-success-no-circle weui-icon_toast"
></i>
<p
class=
"weui-toast__content"
>
已完成
</p>
</div>
</div>
</body>
<script
src=
"__TMPL__Public/assets/js/public.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
window
.
onload
=
function
()
{
mysear_group
.
mysearch
(
"#search_value"
,
".icon-search"
);
}
</script>
</html>
\ No newline at end of file
...
...
themes/simplebootx_mobile/User/Message/index.html
查看文件 @
e72d4ca
...
...
@@ -22,20 +22,24 @@
</div>
<div>
<div
class=
"messages_group"
>
<div
class=
"message_list"
>
<p>
海外租房 如何避免纠纷?
</p>
<p
class=
"list_res"
>
澳大利亚华人律师沈寒冰告诉法晚记者,中国学生在租房的时候会遇到一些纠纷。比如可能会遇到二房...
</p>
</div>
<volist
name=
"unReadMessageList"
id=
"vo"
>
<a
href=
"{:U('detail',array('id'=>$vo['id']))}"
>
<div
class=
"message_list"
>
<p>
{$vo.title}
</p>
<p
class=
"list_res"
>
{$vo.description}
</p>
</div>
</a>
</volist>
</div>
<div
class=
"messages_group"
style=
"display: none;"
>
<div
class=
"message_list"
>
<p>
海外租房 如何避免纠纷?
</p>
<p
class=
"list_res"
>
澳大利亚华人律师沈寒冰告诉法晚记者,中国学生在租房的时候会遇到一些纠纷。比如可能会遇到二房...
</p>
</div>
<volist
name=
"messageList"
id=
"vo"
>
<a
href=
"{:U('detail',array('id'=>$vo['id']))}"
>
<div
class=
"message_list"
>
<p>
{$vo.title}
</p>
<p
class=
"list_res"
>
{$vo.description}
</p>
</div>
</a>
</volist>
</div>
</div>
</div>
...
...
themes/simplebootx_mobile/User/Order/comment.html
查看文件 @
e72d4ca
...
...
@@ -33,12 +33,13 @@
</head>
<body>
<div
class=
"container"
>
<div
class=
"comment"
>
<volist
name=
"list"
id=
"vo"
>
<div
class=
"comment"
data-id=
"{$vo.id}"
>
<div
class=
"comment_list"
>
<img
src=
"
http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_pic.jpg
"
class=
"comment_list_logo"
/>
<img
src=
"
{:sp_get_image_preview_url($vo['thumb'])}
"
class=
"comment_list_logo"
/>
<div
class=
"list_res"
>
<p
class=
"list_res_title"
>
原创发簪步摇
</p>
<p
class=
"list_res_mintitle"
>
数量:1
</p>
<p
class=
"list_res_title"
>
{$vo.goods_name}
</p>
<p
class=
"list_res_mintitle"
>
数量:{$vo.num}
</p>
</div>
</div>
<div
class=
"list_comment"
>
...
...
@@ -47,16 +48,16 @@
<p
class=
"check_title"
>
满意度
</p>
<div
class=
"plstart"
></div>
</div>
<textarea
name=
""
rows=
""
cols=
""
class=
"myipt"
placeholder=
"请输入评价内容"
></textarea>
<div
class=
"mybotton"
>
提交
</div>
<textarea
name=
"comment"
maxlength=
"200"
rows=
""
cols=
""
class=
"myipt"
placeholder=
"请输入评价内容"
></textarea>
</div>
</div>
</div>
</volist>
<div
class=
"mybotton"
id=
"sub_comment"
>
提交
</div>
</div>
</body>
<script
type=
"text/javascript"
>
var
Listarr
=
[];
$
(
".mybotton"
).
click
(
function
()
{
//判断评论是否为空
if
(
$
(
".myipt"
).
val
()
!=
""
)
{
...
...
@@ -67,7 +68,40 @@
score
:
5
});
//ajax提交星星
//拿走
$
(
'.plstart input'
).
value
()
// 提交评价
$
(
'#sub_comment'
).
click
(
function
(){
$
(
'.comment'
).
each
(
function
(){
Listarr
.
push
({
id
:
$
(
this
).
data
(
'id'
),
score
:
$
(
this
).
find
(
'input[name=score]'
).
val
(),
comment
:
$
(
this
).
find
(
'.mm-textarea'
).
val
()
});
});
console
.
log
(
Listarr
);
var
data
=
{
id
:
"{$id}"
,
comment
:
Listarr
};
console
.
log
(
data
);
if
(
confirm
(
'是否确认提交评价?提交后不可修改'
))
{
$
.
ajax
({
url
:
"{:U('User/Order/do_comment')}"
,
type
:
"POST"
,
data
:
data
,
dateType
:
"json"
,
success
:
function
(
data
)
{
console
.
log
(
data
);
if
(
data
.
status
)
{
}
else
{
alert
(
data
.
msg
);
}
},
error
:
function
(
data
,
status
,
e
)
{
//提交失败自动执行的处理函数
alert
(
e
);
}
});
}
});
</script>
</html>
\ No newline at end of file
...
...
themes/simplebootx_mobile/User/will.html
0 → 100644
查看文件 @
e72d4ca
<!DOCTYPE html>
<html
lang=
"zh"
>
<head>
<meta
charset=
"UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
/>
<title>
入会申请
</title>
<tc
_include
file=
"Public:common"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__Public/assets/css/Member.css"
/>
<script
src=
"__TMPL__Public/assets/js/Augly_Verification.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<style
type=
"text/css"
>
.sure_select_active
{
background-size
:
100%
100%
;
background-image
:
url('http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/cool.png')
;
}
</style>
</head>
<body
style=
"background-color: RGBA(247, 247, 247, 1);"
>
<div
class=
"container"
>
<div
class=
"container_list"
>
<p
class=
"list_title"
>
姓名
</p>
<input
type=
"text"
name=
"name"
placeholder=
"请填写申请人姓名"
id=
"name"
>
</div>
<div
class=
"container_list"
>
<p
class=
"list_title"
>
年龄
</p>
<input
type=
"number"
name=
"age"
placeholder=
"请填写申请人年龄"
id=
"age"
maxlength=
"2"
>
</div>
<div
class=
"container_list"
>
<p
class=
"list_title"
>
性别
</p>
<div
class=
"sex_select sure_select_active"
data-id=
"1"
></div>
<p
class=
"list_title"
>
先生
</p>
<div
class=
"sex_select"
data-id=
"2"
></div>
<p
class=
"list_title"
>
女士
</p>
</div>
<div
class=
"container_list mtop"
>
<p
class=
"list_title"
>
手机号
</p>
<input
type=
"number"
name=
"mobile"
placeholder=
"请填写申请人手机号"
id=
"phone"
maxlength=
"11"
>
</div>
<div
class=
"container_list"
>
<p
class=
"list_title"
>
邮箱
</p>
<input
type=
"text"
name=
"email"
placeholder=
"请填写申请人邮箱"
id=
"email"
>
</div>
<div
class=
"container_list mtop"
>
<p
class=
"list_title"
>
所在高校
</p>
<input
type=
"text"
name=
"school"
placeholder=
"请填写申请人所在高校"
id=
"school"
>
</div>
<div
class=
"container_list"
>
<p
class=
"list_title"
>
专业
</p>
<input
type=
"text"
name=
"major"
placeholder=
"请填写申请人专业"
id=
"pro"
>
</div>
<div
class=
"container_list"
>
<p
class=
"list_title"
>
年级
</p>
<input
type=
"text"
name=
"classes"
placeholder=
"请填写申请人年级"
id=
"group"
>
</div>
<div
class=
"container_list mtop citypicker"
>
<p
class=
"list_title"
>
所在城市
</p>
<p
class=
"min_title"
>
请选择
</p>
<i
class=
"iconfont icon-arrows"
></i>
</div>
<div
class=
"container_list"
>
<p
class=
"list_title"
>
所在公司
</p>
<input
type=
"text"
name=
"company"
placeholder=
"请填写申请人所在公司"
id=
"company"
>
</div>
<div
class=
"message mtop"
>
<textarea
name=
"experience"
id=
"experience"
cols=
" "
rows=
" "
placeholder=
"相关专业经验(绘画、设计、广告、文创、营销等) 简要描述"
></textarea>
<!--<div class="message_group">-->
<!--<div class="img_up">-->
<!--<i class="iconfont icon-tupian"></i>-->
<!--<p class="img_title">插入图片</p>-->
<!--</div>-->
<!--<div class="look">预览</div>-->
<!--</div>-->
</div>
<div
class=
"message mtop"
style=
"border-bottom: .02rem solid RGBA(228, 228, 228, 1);"
>
<textarea
name=
"skill"
id=
"skill"
cols=
" "
rows=
" "
placeholder=
"个人创意特长与兴趣领域描述"
></textarea>
<!--<div class="message_group">-->
<!--<div class="img_up">-->
<!--<i class="iconfont icon-tupian"></i>-->
<!--<p class="img_title">插入图片</p>-->
<!--</div>-->
<!--<div class="look">预览</div>-->
<!--</div>-->
</div>
<div
class=
"mysub"
>
确认提交
</div>
</div>
<div
id=
"toast"
style=
"display:none;"
>
<div
class=
"weui-mask_transparent"
></div>
<div
class=
"weui-toast"
>
<i
class=
"weui-icon-safe-warn weui-icon_toast"
></i>
<p
class=
"weui-toast__content"
>
已完成
</p>
</div>
</div>
<div
id=
"toastsuccess"
style=
"display:none;"
>
<div
class=
"weui-mask_transparent"
></div>
<div
class=
"weui-toast"
>
<i
class=
"weui-icon-success-no-circle weui-icon_toast"
></i>
<p
class=
"weui-toast__content"
>
已完成
</p>
</div>
</div>
</body>
<script
src=
"__TMPL__Public/assets/js/citypicker.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"__TMPL__Public/assets/js/weui.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"__TMPL__Public/assets/js/myweui.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"__TMPL__Public/assets/js/public.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
window
.
onload
=
function
()
{
mysear_group
.
mysearch
(
"#search_value"
,
".icon-search"
);
}
var
adder
=
""
;
var
myadder
=
null
;
$
(
".myadder"
).
on
(
'click'
,
function
()
{
citypicker
(
".myaddeript"
,(
result
)
=>
{
myadder
=
{
province
:
result
[
0
].
label
,
city
:
result
[
1
].
label
,
region
:
result
[
2
].
label
}
});
adder
=
$
(
".myaddeript"
).
html
()
});
$
(
".sex_select"
).
click
(
function
(){
$
(
".sex_select"
).
removeClass
(
"sure_select_active"
);
$
(
this
).
toggleClass
(
'sure_select_active'
);
})
$
(
".mysub"
).
click
(
function
(){
if
(
$
(
"#name"
)
==
""
){
toast
(
'请填写姓名!'
)
}
})
$
(
".mysub"
).
click
(
function
(){
var
btn
=
$
(
this
);
var
text
=
btn
.
val
();
if
(
$
(
"#name"
).
val
()
==
""
){
console
.
log
(
"姓名不能为空!"
);
return
false
;
}
if
(
AuglyTest_int
.
test
(
$
(
"#age"
).
val
())
==
false
){
console
.
log
(
"年龄不能为空!"
);
return
false
;
}
if
(
AuglyTest_phone
.
test
(
$
(
"#phone"
).
val
())
==
false
){
console
.
log
(
"手机号码不正确!"
);
return
false
;
}
if
(
AuglyTest_email
.
test
(
$
(
"#email"
).
val
())
==
false
){
console
.
log
(
"邮箱不正确!"
);
return
false
;
}
if
(
$
(
"#school"
).
val
()
!=
""
){
console
.
log
(
"学校不能为空!"
);
return
false
;
}
if
(
$
(
"#pro"
).
val
()
!=
""
){
console
.
log
(
"专业不能为空!"
);
return
false
;
}
if
(
$
(
"#group"
).
val
()
!=
""
){
console
.
log
(
"年级不能为空!"
);
return
false
;
}
if
(
$
(
".min_title"
).
val
()
!=
"请选择"
){
console
.
log
(
"城市不能为空!"
);
return
false
;
}
if
(
$
(
"#company"
).
val
()
!=
""
){
console
.
log
(
"公司不能为空!"
);
return
false
;
}
if
(
$
(
"#experience"
).
val
()
!=
""
){
console
.
log
(
"相关经验不能为空!"
);
return
false
;
}
if
(
$
(
"#skill"
).
val
()
!=
""
){
console
.
log
(
"个人创意特长不能为空!"
);
return
false
;
}
var
data
=
{
name
:
$
(
"#name"
).
val
(),
province
:
myadder
.
province
,
city
:
myadder
.
city
,
age
:
$
(
"#age"
).
val
(),
sex
:
$
(
'.sure_select_active'
).
data
(
'id'
),
school
:
$
(
"#school"
).
val
(),
major
:
$
(
"#pro"
).
val
(),
mobile
:
$
(
"#phone"
).
val
(),
email
:
$
(
"#email"
).
val
(),
classes
:
$
(
"#group"
).
val
(),
experience
:
$
(
"#experience"
).
val
(),
skill
:
$
(
"#skill"
).
val
()
};
$
.
ajax
({
url
:
"{:U('user_join')}"
,
type
:
"POST"
,
data
:
data
,
dateType
:
"json"
,
beforeSend
:
function
()
{
// Handle the beforeSend event
btn
.
val
(
'提交中...'
).
attr
(
'disabled'
,
true
);
},
success
:
function
(
data
)
{
if
(
data
.
status
)
{
alert
(
data
.
msg
);
location
.
href
=
"{:U('User/Center/index')}"
;
}
else
{
alert
(
data
.
msg
);
}
},
error
:
function
(
data
,
status
,
e
)
{
//提交失败自动执行的处理函数
alert
(
e
);
},
complete
:
function
()
{
// Handle the complete event
btn
.
val
(
text
).
attr
(
'disabled'
,
false
);
}
});
})
</script>
</html>
\ No newline at end of file
...
...
themes/simplebootx_mobile/assets/html/商品详情.html
查看文件 @
e72d4ca
...
...
@@ -15,6 +15,36 @@
<script
src=
"../js/base.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"../js/jquery-3.2.1.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"../js/swiper-3.4.2.jquery.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"../js/jquery.raty.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<style>
.plstart
{
width
:
auto
;
height
:
0.4rem
;
/* background-color: red; */
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-start
;
/*margin-left: 0.2rem;*/
}
.shop_res_bottom
.plstart
img
{
display
:
block
;
width
:
0.3rem
;
height
:
0.3rem
;
margin-left
:
-0.3rem
;
float
:
right
;
}
.plstart
img
{
display
:
block
;
width
:
0.3rem
;
height
:
0.3rem
;
margin-left
:
-0.3rem
;
/*float: right;*/
}
.plstart
img
:first-child
{
margin
:
0
;
}
</style>
</head>
<body>
...
...
@@ -56,7 +86,9 @@
<div
class=
"shop_res_bottom"
>
<span
class=
"yunfei"
>
免运费
</span>
<span
class=
"number"
>
月销 1000 件
</span>
<div
class=
"plstart"
data-number=
"3"
style=
"margin-left: auto"
></div>
</div>
</div>
<div
class=
"shop_evaluate"
>
...
...
@@ -70,6 +102,7 @@
<p
class=
"list_res_title"
>
微信昵称
</p>
<div
class=
"plstart"
data-number=
"3"
></div>
<p
class=
"list_res_main"
>
宝贝非常美丽,物流也非常快,还会回购...
</p>
...
...
@@ -127,6 +160,21 @@
// scrollbar: '.swiper-scrollbar',
})
}
var
num
=
$
(
'.shop_res_bottom .plstart'
).
data
(
'number'
);
$
(
'.shop_res_bottom .plstart'
).
raty
({
readOnly
:
true
,
score
:
num
});
$
(
'.evaluate_list'
).
each
(
function
()
{
var
num
=
$
(
this
).
find
(
'.plstart'
).
data
(
'number'
);
$
(
this
).
find
(
'.plstart'
).
raty
({
readOnly
:
true
,
score
:
num
});
})
</script>
</html>
\ No newline at end of file
...
...
themes/simplebootx_mobile/assets/html/我的投稿.html
查看文件 @
e72d4ca
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
...
...
@@ -14,6 +14,7 @@
<script
src=
"../js/base.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<title>
我的投稿
</title>
</head>
<body>
<div
class=
"container"
>
<div
class=
"main"
>
...
...
@@ -27,10 +28,11 @@
<div
class=
"main_list_res"
>
<div
class=
"main_list_res_left"
style=
'justify-content:flex-start;'
>
<p
class=
"author"
>
青年文创
</p>
<p
style=
"font-size: 0.28rem;font-family: PingFangSC-Regular;color: RGBA(102, 102, 102, 1);padding-left:0.2rem;padding-right:0.2rem;"
>
|
<p>
<p
class=
"data"
>
创作时间:2018.1.23
</p>
<p
style=
"font-size: 0.28rem;font-family: PingFangSC-Regular;color: RGBA(102, 102, 102, 1);padding-left:0.2rem;padding-right:0.2rem;"
>
|
<p>
<p
class=
"data"
>
创作时间:2018.1.23
</p>
</div>
</div>
</div>
...
...
@@ -50,14 +52,95 @@
<p
class=
"weui-toast__content"
>
已完成
</p>
</div>
</div>
<div
class=
"mask"
>
<div
class=
"mask_main"
>
<div
class=
"mask_head"
>
投稿请前往电脑端
</div>
<div
class=
"mask_content"
>
<div
class=
"mask_copy"
onclick=
"copy()"
>
复制链接
</div>
<div
class=
"mask_cendel"
>
取消
</div>
</div>
</div>
</div>
</body>
<style>
.mask
{
width
:
100%
;
height
:
100%
;
position
:
fixed
;
top
:
0
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
background-color
:
rgba
(
0
,
0
,
0
,
0.6
);
z-index
:
10
;
}
.mask_main
{
width
:
6rem
;
height
:
3rem
;
border-radius
:
0.1rem
;
background-color
:
rgba
(
255
,
255
,
255
,
1
);
overflow
:
hidden
;
}
.mask_head
{
width
:
100%
;
height
:
2.2rem
;
box-sizing
:
border-box
;
border-bottom
:
0.01rem
solid
RGBA
(
170
,
170
,
170
,
1
);
font-size
:
0.3rem
;
text-align
:
center
;
line-height
:
2.2rem
;
font-family
:
PingFangSC-Regular
;
color
:
rgba
(
34
,
34
,
34
,
1
);
}
.mask_content
{
width
:
100%
;
height
:
0.8rem
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.mask_copy
{
width
:
50%
;
height
:
100%
;
background-color
:
RGBA
(
200
,
176
,
115
,
1
);
font-size
:
0.28rem
;
font-family
:
PingFangSC-Regular
;
color
:
rgba
(
255
,
255
,
255
,
1
);
text-align
:
center
;
line-height
:
0.8rem
;
}
.mask_cendel
{
width
:
50%
;
height
:
100%
;
background-color
:
RGBA
(
255
,
255
,
255
,
1
);
font-size
:
0.28rem
;
font-family
:
PingFangSC-Regular
;
color
:
RGBA
(
153
,
153
,
153
,
1
);
text-align
:
center
;
line-height
:
0.8rem
;
}
</style>
<script
src=
"../js/public.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
function
copy
()
{
var
clipBoardContent
=
this
.
location
.
href
;
// window.clipboardData.setData('Text', text)
window
.
clipboardData
.
setData
(
"text"
,
clipBoardContent
);
alert
(
"复制成功!"
);
}
window
.
onload
=
function
()
{
mysear_group
.
mysearch
(
"#search_value"
,
".icon-search"
);
}
</script>
</html>
\ No newline at end of file
...
...
themes/simplebootx_mobile/assets/html/提交评论.html
查看文件 @
e72d4ca
...
...
@@ -45,8 +45,7 @@
<div
class=
"container"
>
<div
class=
"comment"
>
<div
class=
"comment_list"
>
<img
src=
"http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_pic.jpg"
class=
"comment_list_logo"
/>
<img
src=
"http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_pic.jpg"
class=
"comment_list_logo"
/>
<div
class=
"list_res"
>
<p
class=
"list_res_title"
>
原创发簪步摇
</p>
<p
class=
"list_res_mintitle"
>
数量:1
</p>
...
...
@@ -58,16 +57,33 @@
<p
class=
"check_title"
>
满意度
</p>
<div
class=
"plstart"
></div>
</div>
<textarea
name=
""
rows=
""
cols=
""
class=
"myipt"
placeholder=
"请输入评价内容"
></textarea>
<div
class=
"mybotton"
>
提交
</div>
</div>
</div>
<div
class=
"comment"
>
<div
class=
"comment_list"
>
<img
src=
"http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_pic.jpg"
class=
"comment_list_logo"
/>
<div
class=
"list_res"
>
<p
class=
"list_res_title"
>
原创发簪步摇
</p>
<p
class=
"list_res_mintitle"
>
数量:1
</p>
</div>
</div>
<div
class=
"list_comment"
>
<div
class=
"comment_check"
>
<div
style=
"display:flex;align-items: center;"
>
<p
class=
"check_title"
>
满意度
</p>
<div
class=
"plstart"
></div>
</div>
<textarea
name=
""
rows=
""
cols=
""
class=
"myipt"
placeholder=
"请输入评价内容"
></textarea>
</div>
</div>
</div>
<div
class=
"mybotton"
>
提交
</div>
</div>
</body>
<script
type=
"text/javascript"
>
$
(
".mybotton"
).
click
(
function
()
{
...
...
请
注册
或
登录
后发表评论