Commit a66184e8 authored by xishifeng's avatar xishifeng

商铺详情页分享

parent 78d9138c
...@@ -197,11 +197,5 @@ ...@@ -197,11 +197,5 @@
<script src="/app/js/common.js" charset="utf-8"></script> <script src="/app/js/common.js" charset="utf-8"></script>
<script src="/app/js/detaila_tl.js"></script> <script src="/app/js/detaila_tl.js"></script>
<script src="/app/js/Tab_min.js" charset="utf-8"></script> <script src="/app/js/Tab_min.js" charset="utf-8"></script>
<script type="text/javascript">
</script>
</body> </body>
</html> </html>
...@@ -225,9 +225,14 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu ...@@ -225,9 +225,14 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu
}else if(_this.imgShowList.length > 0){ }else if(_this.imgShowList.length > 0){
layerTipsX('目前最多只能上传一张'); layerTipsX('目前最多只能上传一张');
return false; return false;
}else{
if(e.target.files[0].size > 1000000){
layerTipsX('图片过大,请重新选择');
return false;
}else{ }else{
_fd.append('image', e.target.files[0]); _fd.append('image', e.target.files[0]);
}; };
};
$.ajax({ $.ajax({
url: ServerHostTempC + "/chat/uploadImg", url: ServerHostTempC + "/chat/uploadImg",
type: 'POST', type: 'POST',
......
This diff is collapsed.
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 to comment