لن أقول الكثير من الهراء ، فقط قم بتحميل الكود الرئيسي.
<include file = "public: header"/> <style type = "text/css"> table {width: 100 ٪ ؛ margin: 0 ؛} </style> <script type = 'text/javaScript' src = "/{: app_path}/public/js/unslider.min.js">/script event/*$ (function () {$ ('#more'). addClass ('moreno') ؛ $ ('#more'). انقر فوق (function () {// إخفاء العنصر (تحرك يسارًا) إذا ($ more '). hasclass (' moreno ')))) {$ ('#sider'). animate ({left: 0} ، 1000 ، function () {$ ('#more'). removeClass ('moreno') ؛}) ؛} else {$ ('#s Ider '). animate ({left: -120} ، 1000 ، function () {$ ('#more '). addClass (' moreno ') ؛}) ؛}}) ؛}) ؛*/// define حدث تحميل الصفحة $ (function () {$ ('#more'). addClass ('moreno') ؛ // point $ (document) .click (function () {$ ('#sider'). ANIMATE ({left: -120} ، 1000 ، function () {$ ('#more'). addClass ('moreno') ؛}) ؛}) ؛ $ ('#more'). ($ ('#more'). hasclass ('moreno')) {$ ('#sider'). animate ({left: 0} ، 1000 ، function () {$ ('#more'). removeClass ('moreno') ؛}) ؛} else {$ ('#sider ') .animate ({left: -120} ، 1000 ، function () {$ ('#more '). addClass (' moreno ') ؛}) ؛}) ؛ </script> <viv> <div> <div style = "الموضع:"> <img id = "more" style = "margin-top: 8px ؛" /> </div> </viv> <viv> <div style = "الارتفاع: 180px ؛"> <div id = "lunboul" style = "vertlow:"> <ul style = "margin: 0px ؛ src = "{$ vo ['pic']}" style = "الارتفاع: 176px ؛ الهامش: auto ؛" false}) ؛ وظيفة autoscroll (obj) {$ (obj) .find ("#voo"). inimate ({margintop: "-30px"} ، 500 ، function () {$ (this) .css ({margintop: "0px"}). setInterval ('autoscroll ("#xst")' ، 2000) ؛ name = 'gonggao' id = "vo"> <li style = "line-height: 30px ؛ الارتفاع: 30px ؛ padding-left: 5px ؛ padding-top: 2px ؛ text-align: left ؛"> <a href = "{: u ('/index/platdetail' ، Array ('id' => $ vo ['id'])}"> {$ vo ['name']} </a> </li> </list> </ul> </ul> </div> <div style = "float: right ؛ الهامش: 5px 0 ؛"> onClick = "javaScript: location.href = '/invest/investhp/biao_type/love'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/new.png"/> </td> العائدات </span> </td> <td> <span> 7 أيام </span> </span> <span> فترة الاستثمار </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> </tr> onClick = "javaScript: location.href = '/invest/investment/biao_type/yxlc'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/fast.png"/> </td> series fast </td> العائدات </span> </td> <td> <span> 1 <span> الشهر </span> </span> <span> فترة الاستثمار </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> </tr> onClick = "javaScript: location.href = '/invest/investment/biao_type/gxd'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/stable.png"/> العائدات </span> </td> <td> <span> 3-6 <span> الشهر </span> </span> <span> فترة الاستثمار </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/>/td> الشرط = "$ globals ['userInfo'] ['org_code'] /> </td> <td> الكنز العقاري </td> <td> <span> 8-16 ٪ </span> <span> العائدات السنوية المتوقعة </span> </td> <td> <span> 3-6 <span> الشهر </span> </span> src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> </tr> </tabl src = "/{: app_path} /public/img/pic/logobean.png"/> </div> <div id = "sider"> <ul id = "usecond"> <li style = "line-height:#36px"> <a href = "{u (ustro/platintro ')} الإعلان </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('index/platintro')}" style = "color: #fff"> help center </a> </li> <li style = "line-height: 36px مقدمة النظام الأساسي </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('index/contact')}" style = "color: #fff"> اتصل بنا </a> </li> </ul> </liv> <include file = "public: footer"/>ما سبق هو رمز المثال الذي أدخله المحرر لك من خلال النقر على أي موضع للصفحة بناءً على JavaScript. آمل أن يكون ذلك مفيدًا للجميع. إذا كان لديك أي أسئلة ، فيرجى ترك رسالة لي وسوف يرد المحرر على الجميع في الوقت المناسب. شكرا جزيلا لدعمكم لموقع wulin.com!