Commit d2c1eed8 by doszhang

dos

parent 57c1c4d7
......@@ -84,13 +84,13 @@ $(document).ready(function () {
//首页跳转到城市选择页
$('.page1 .btn-start').on('click', showMap);
//哈尔滨
$('.map-page .heb').on('click', {types: 1}, handleCityClick);
$('.map-page .heb').on('click', {types: 'heb'}, handleCityClick);
//北京
$('.map-page .bj').on('click', {types: 2}, handleCityClick);
$('.map-page .bj').on('click', {types: 'bj'}, handleCityClick);
//上海
$('.map-page .sh').on('click', {types: 3}, handleCityClick);
$('.map-page .sh').on('click', {types: 'sh'}, handleCityClick);
//三亚
$('.map-page .sy').on('click', {types: 0}, handleCityClick);
$('.map-page .sy').on('click', {types: 'sy'}, handleCityClick);
//奖品页返回城市选择页
$('.prize-page .btn-backtomap').on('click',backToMap);
//手机号被修改
......@@ -177,7 +177,7 @@ function videoEnd (event) {
function handleCityClick (event) {
//播放哈尔滨视频
$('.video').attr('src', '/Public/static/media/1.mp4?v=123');
$('.video').attr('src', 'http://media.izhida.cn/' + event.data.types + '.mp4');
$('.video')[0].play();
$('.video-block').show();
......
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 sign in to comment