mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-12 23:11:38 +08:00
添加Metronic(作为LFS)
This commit is contained in:
27
frontend/static/assets/admin/pages/scripts/contact-us.js
Normal file
27
frontend/static/assets/admin/pages/scripts/contact-us.js
Normal file
@@ -0,0 +1,27 @@
|
||||
var ContactUs = function () {
|
||||
|
||||
return {
|
||||
//main function to initiate the module
|
||||
init: function () {
|
||||
var map;
|
||||
$(document).ready(function(){
|
||||
map = new GMaps({
|
||||
div: '#map',
|
||||
lat: -13.004333,
|
||||
lng: -38.494333
|
||||
});
|
||||
var marker = map.addMarker({
|
||||
lat: -13.004333,
|
||||
lng: -38.494333,
|
||||
title: 'Loop, Inc.',
|
||||
infoWindow: {
|
||||
content: "<b>Loop, Inc.</b> 795 Park Ave, Suite 120<br>San Francisco, CA 94107"
|
||||
}
|
||||
});
|
||||
|
||||
marker.infoWindow.open(map, marker);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
}();
|
Reference in New Issue
Block a user