Просмотр исходного кода

Merge branch 'master' of http://39.104.94.153:3000/yf_zd/second into master

yf_csx 5 лет назад
Родитель
Сommit
1d148a8752

+ 1 - 1
templates/backstageNet/info/dormPub.html

@@ -460,7 +460,7 @@
                     $('#uploader-list').append(
                         '<div id="" class="file-iteme">' +
                         '<div class="handle"><i class="layui-icon">&#xe640;</i></div>' +
-                        '<img style="width: 100px;height: 100px;" src=http://127.0.0.1:8000/' + res.data.src + '>' +
+                        '<img style="width: 100px;height: 100px;" src=http://112.49.38.63:8011/' + res.data.src + '>' +
                         '<div class="info">' + res.data.src + '</div>' +
                         '</div>'
                     );

+ 1 - 1
templates/backstageNet/infoManage/dormManage.html

@@ -342,7 +342,7 @@
                         if(!(i == window.data.length-1)){
                             photoList += ',';
                         }
-                        html +='<div id="" class="file-iteme"><div class="handle" style="display: none;"><i class="layui-icon"></i></div><img style="width: 100px;height: 100px;" src="http://127.0.0.1:8000/'+window.data[i].addr_photo+'"><div class="info" style="display: none;">'+window.data[i].addr_photo+'</div></div>'
+                        html +='<div id="" class="file-iteme"><div class="handle" style="display: none;"><i class="layui-icon"></i></div><img style="width: 100px;height: 100px;" src="http://112.49.38.63:8011/'+window.data[i].addr_photo+'"><div class="info" style="display: none;">'+window.data[i].addr_photo+'</div></div>'
                         if(i == window.data.length-1){
                             body.find('#uploader-list').html(html) //图片
                             body.find('input[name="pic_list"]').val(photoList)

+ 1 - 1
templates/backstageNet/infoManage/sightseeManage.html

@@ -361,7 +361,7 @@
                         dataType: 'json',
                         success: function (data) {
                             window.data = data
-                            var html = '<div><p style="line-height: 14px;padding-left: 10px;border-left: 3px solid #23a3ee;">景点导览图</p><img src="127.0.0.1:8000/'+window.data.guide_img+'"/></div>'
+                            var html = '<div><p style="line-height: 14px;padding-left: 10px;border-left: 3px solid #23a3ee;">景点导览图</p><img src="http://112.49.38.63:8011/'+window.data.guide_img+'"/></div>'
                             layero.find('.table').html('<p style="line-height: 14px;padding-left: 10px;border-left: 3px solid #23a3ee;">详细介绍</p>'+window.data.content)
                             layero.find('.table').append(html)
                         }

+ 3 - 3
templates/backstageNet/infoManage/videoManage.html

@@ -390,9 +390,9 @@
                 content: '<div class="table"></div>',
                 success: function(layero, index) {
                     var html = '<video id="my-video" class="video-js" controls width="100%" height="349" autoplay="autoplay" poster="{{video.video_img}}" data-setup="{}">'+
-                                '<source src="http://127.0.0.1:8000/'+videoUrl+'" type="video/mp4">'+
-                                '<source src="http://127.0.0.1:8000/'+videoUrl+'" type="video/webm">'+
-                                '<source src="http://127.0.0.1:8000/'+videoUrl+'}" type="video/ogg">'+
+                                '<source src="http://112.49.38.63:8011/'+videoUrl+'" type="video/mp4">'+
+                                '<source src="http://112.49.38.63:8011/'+videoUrl+'" type="video/webm">'+
+                                '<source src="http://112.49.38.63:8011/'+videoUrl+'}" type="video/ogg">'+
                                 '<p class="vjs-no-js">要查看此视频,请启用JavaScript,并考虑升级到一个web浏览器'+
                                     '<a href="http://videojs.com/html5-video-support/" target="_blank">支持HTML5视频</a>'+
                                 '</p></video>';

+ 1 - 1
templates/backstageNet/limit/expertList.html

@@ -5,7 +5,7 @@
         <img src="{% static '/imgs/cornerIcon.png' %}" alt="">
         <div class="expertInner">
             <div class="expertImg">
-                <img src="http://127.0.0.1:8000/{{msg.pic}}" alt="">
+                <img src="http://112.49.38.63:8011/{{msg.pic}}" alt="">
             </div>
             <div class="expertTxt">
                 <h1>{{msg.name}}</h1>

+ 1 - 1
templates/backstageNet/map/map.html

@@ -106,7 +106,7 @@
         });
 
     });
-    var mapimg = 'http://127.0.0.1:8000/'+$('#imgaddr').val();
+    var mapimg = 'http://112.49.38.63:8011/'+$('#imgaddr').val();
     if($('#locat1').val()){
         var locat1 = eval('('+$('#locat1').val()+')');
     }else{

+ 3 - 3
templates/backstageNet/production/person_farm_edit.html

@@ -409,7 +409,7 @@
                             $('#uploader-list').append(
                                 '<div id="" class="file-iteme">' +
                                 '<div class="handle"><i class="layui-icon">&#xe640;</i></div>' +
-                                '<img style="width: 100px;height: 100px;" src=http://127.0.0.1:8000/' + currImg[i] + '>' +
+                                '<img style="width: 100px;height: 100px;" src=http://112.49.38.63:8011/' + currImg[i] + '>' +
                                 '<div class="info">' + currImg[i] + '</div>' +
                                 '</div>'
                             );
@@ -417,7 +417,7 @@
                     } else {
 
                     }
-                    $('#demo1').attr('src','http://127.0.0.1:8000/'+data.guide_img);
+                    $('#demo1').attr('src','http://112.49.38.63:8011/'+data.guide_img);
                 }
             },
             error: function (type) {
@@ -459,7 +459,7 @@
                     $('#uploader-list').append(
                         '<div id="" class="file-iteme">' +
                         '<div class="handle"><span class="iconfont"></span></div>' +
-                        '<img style="width: 100px;height: 100px;" src=http://127.0.0.1:8000/' + res.data.src + '>' +
+                        '<img style="width: 100px;height: 100px;" src=http://112.49.38.63:8011/' + res.data.src + '>' +
                         '<div class="info">' + res.data.src + '</div>' +
                         '</div>'
                     );

+ 1 - 1
templates/outerNet/farmList.html

@@ -215,7 +215,7 @@
                             {% if garden_list|length %} {% for gardenItem in garden_list %}
                             <li class="haciendaItem">
                                 <div class="haciendaImg">
-                                    <img class="haciendaImg1" src="http://127.0.0.1:8000/{{gardenItem.img_1}}" alt="">
+                                    <img class="haciendaImg1" src="http://112.49.38.63:8011/{{gardenItem.img_1}}" alt="">
                                 </div>
                                 <div class="haciendaTxt">
                                     <h2>{{gardenItem.name}}</h2>

+ 1 - 1
templates/outerNet/forgetPaw.html

@@ -264,7 +264,7 @@
                         {% for relationItem in relation %}
                         <li class="partnerInnerItem">
                             <a target="_blank" href="{{relationItem.relation}}">
-                                <img src="http://127.0.0.1:8000/{{relationItem.pic}}" alt="">        
+                                <img src="http://112.49.38.63:8011/{{relationItem.pic}}" alt="">        
                             </a>
                         </li>
                         {% endfor %}

+ 8 - 8
templates/outerNet/index2.html

@@ -150,7 +150,7 @@
             <div class="yet_loginCover">
                 <div class="person">
                     <div class="userHeadImg">
-                        <img src="http://127.0.0.1:8000/{{curr_user.user_picture}}" alt="">
+                        <img src="http://112.49.38.63:8011/{{curr_user.user_picture}}" alt="">
                     </div>
                     <div class="userCtrl">
                         <div class="userCtrlTop">
@@ -220,7 +220,7 @@
                                             {% for farmItem in garden %}
                                             <li class="farm-item">
                                                 <a target="_blank" href="person_farm?name={{farmItem.user}}">
-                                                  <img src="http://127.0.0.1:8000/{{farmItem.img_1}}" alt="">
+                                                  <img src="http://112.49.38.63:8011/{{farmItem.img_1}}" alt="">
                                                     <div class="news-item-txt">
                                                         <div class="title">
                                                             <h1>
@@ -299,7 +299,7 @@
                                         <li class="productItem">
                                             <div>
                                                 <a href="garden_intro?id={{pickItem.id}}" target="_blank">
-                                                    <img src="http://127.0.0.1:8000/{{pickItem.pick_img}}" alt="">
+                                                    <img src="http://112.49.38.63:8011/{{pickItem.pick_img}}" alt="">
                                                 </a>
                                             </div>
                                             <p><a href="garden_intro?id={{pickItem.id}}" target="_blank">{{pickItem.name}}</a></p>
@@ -355,7 +355,7 @@
                                 {% for gardenItem in garden %}
                                 <li class="haciendaItem">
                                     <div class="haciendaImg">
-                                        <img class="haciendaImg1" src="http://127.0.0.1:8000/{{gardenItem.img_1}}" alt="">
+                                        <img class="haciendaImg1" src="http://112.49.38.63:8011/{{gardenItem.img_1}}" alt="">
                                         <img class="haciendaImg2" src="{% static 'imgs/22.png'%}" alt="">
                                     </div>
                                     <div class="haciendaTxt">
@@ -405,7 +405,7 @@
                                     <li class="travelItem">
                                         <a href="tourist?id={{sightseeItem.id}}" target="_blank">
                                             <div class="travelImg">
-                                                <img class="haciendaImg1" src="http://127.0.0.1:8000/{{sightseeItem.sightsee_img}}" alt="">
+                                                <img class="haciendaImg1" src="http://112.49.38.63:8011/{{sightseeItem.sightsee_img}}" alt="">
                                                 <img class="haciendaImg2" src="{% static 'imgs/22.png'%}" alt="">
                                             </div>
                                             <div class="travelTitle">
@@ -480,7 +480,7 @@
                                 {% for hotelItem in hotel2 %}
                                 <li class="hotHotelItem">
                                     <a href="dorm_detail?id={{hotelItem.id}}" target="_blank">
-                                        <img src="http://127.0.0.1:8000/{{hotelItem.hotel_img}}" width="96px" height="80px" alt="">
+                                        <img src="http://112.49.38.63:8011/{{hotelItem.hotel_img}}" width="96px" height="80px" alt="">
                                         <div class="desc">
                                             <h3>{{hotelItem.name}}</h3>
                                             <div>{{hotelItem.intro}}</div>
@@ -503,7 +503,7 @@
                                     <a href="dorm_detail?id={{hotelItem.id}}" target="_blank">
                                         <div style="height: 300px;">
                                             <div class="recommendHotelImg">
-                                                <img src="http://127.0.0.1:8000/{{hotelItem.hotel_img}}" alt="">
+                                                <img src="http://112.49.38.63:8011/{{hotelItem.hotel_img}}" alt="">
                                             </div>
                                             <h1>{{hotelItem.name}}</h1>
                                             <div class="area">{{hotelItem.intro}}</div>
@@ -538,7 +538,7 @@
                         {% for relationItem in relation %}
                         <li class="partnerInnerItem">
                             <a target="_blank" href="{{relationItem.relation}}">
-                                <img src="http://127.0.0.1:8000/{{relationItem.pic}}" alt="">        
+                                <img src="http://112.49.38.63:8011/{{relationItem.pic}}" alt="">        
                             </a>
                         </li>
                         {% endfor %}

+ 1 - 1
templates/outerNet/login2.html

@@ -211,7 +211,7 @@
                         {% for relationItem in relation %}
                         <li class="partnerInnerItem">
                             <a target="_blank" href="{{relationItem.relation}}">
-                                <img src="http://127.0.0.1:8000/{{relationItem.pic}}" alt="">        
+                                <img src="http://112.49.38.63:8011/{{relationItem.pic}}" alt="">        
                             </a>
                         </li>
                         {% endfor %}

+ 1 - 1
templates/outerNet/person_farm.html

@@ -269,7 +269,7 @@
             $('.magnifyDiv').append('<img />')
             var html = '';
             for(var i = 0;i<gardenImgArr.length;i++){
-                html += '<div class="swiper-slide"><img src="http://127.0.0.1:8000/'+gardenImgArr[i]+'" alt=""></div>';
+                html += '<div class="swiper-slide"><img src="http://112.49.38.63:8011/'+gardenImgArr[i]+'" alt=""></div>';
                 if(i == gardenImgArr.length-1){
                     $('#gardenSwiper').html(html);
                     // console.log(html)

+ 1 - 1
templates/outerNet/pickIntro.html

@@ -48,7 +48,7 @@
                         <div class="sendTime title">{{pick.pub_time}}</div>
                         <div class="prodectIntro">
                             <div class="prodectImg">
-                                <img src="http://127.0.0.1:8000/{{pick.pick_img}}" alt="">
+                                <img src="http://112.49.38.63:8011/{{pick.pick_img}}" alt="">
                             </div>
                             <div class="descTxt">
                                 <div><span>产品名称:</span>{{pick.name}}</div>

+ 1 - 1
templates/outerNet/register.html

@@ -244,7 +244,7 @@
                         {% for relationItem in relation %}
                         <li class="partnerInnerItem">
                             <a target="_blank" href="{{relationItem.relation}}">
-                                <img src="http://127.0.0.1:8000/{{relationItem.pic}}" alt="">        
+                                <img src="http://112.49.38.63:8011/{{relationItem.pic}}" alt="">        
                             </a>
                         </li>
                         {% endfor %}

+ 2 - 2
templates/outerNet/tourist.html

@@ -68,7 +68,7 @@
                         <div class="sendTime title">{{sightsee.upl_time}}</div>
                         <div class="prodectIntro">
                             <div class="prodectImg">
-                                <img src="http://127.0.0.1:8000/{{sightsee.sightsee_img}}" alt="">
+                                <img src="http://112.49.38.63:8011/{{sightsee.sightsee_img}}" alt="">
                             </div>
                             <div class="descTxt">
                                 <div><span>景点名称:</span>{{sightsee.name}}</div>
@@ -84,7 +84,7 @@
                             <div>{{sightsee.content|safe}}</div>
                             <div class="descTitle">景区导览图</div>
                             <div>
-                                <img src="http://127.0.0.1:8000/{{sightsee.sightisee_img }}" width="100%" alt="">
+                                <img src="http://112.49.38.63:8011/{{sightsee.sightisee_img }}" width="100%" alt="">
                             </div>
                         </div>
                     </div>

+ 1 - 1
templates/outerNet/touristList.html

@@ -56,7 +56,7 @@
                          {% if sightsee|length %} {% for hotelItem in sightsee %}
                         <li class="hotelItem">
                             <a href="tourist?id={{hotelItem.id}}">
-                                <img src="http://127.0.0.1:8000/{{hotelItem.sightsee_img}}" alt="">
+                                <img src="http://112.49.38.63:8011/{{hotelItem.sightsee_img}}" alt="">
                                 <div class="hotelDetial">
                                     <h2>{{hotelItem.name}}</h2>
                                     <div class="abstract-wrap">