|
@@ -252,24 +252,9 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
|
|
|
}, $view);
|
|
|
|
|
|
/*特效*/
|
|
|
- //var hot = document.getElementById('hot');
|
|
|
- /*console.log($('#hot').style.color);*/
|
|
|
- var hotS=1;
|
|
|
- //$("#hot").fadeIn("slow");
|
|
|
- //$('#hot').fadeOut("slow");
|
|
|
setInterval(function run() {
|
|
|
- /*if(hotS==1){
|
|
|
- //$('#hot').css('display','none') ;
|
|
|
- $("#hot").fadeIn();
|
|
|
- hotS++;
|
|
|
- }else {
|
|
|
- //$('#hot').css('display','inline') ;
|
|
|
- $('#hot').fadeOut();
|
|
|
- hotS=1;
|
|
|
- }*/
|
|
|
$('.product-img').fadeToggle();
|
|
|
-
|
|
|
- },1000);
|
|
|
+ },500);
|
|
|
/* 点击选择extra。 */
|
|
|
$.newTouch('.btn-main-service', function (event) {
|
|
|
/* on代表这一条的选中状态。如果已经选中了,就return。this的作用域是这一条extra。 */
|