Browse Source

解决配送规则动态图片第二次静止的问题

hangb 8 years ago
parent
commit
a44e1f8ef0

BIN
src/main/webapp/resources/img/tour/4.gif


BIN
src/main/webapp/resources/img/tour/5.png


+ 6 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_deliveryRule_ctrl.js

@@ -7,6 +7,8 @@ define([ 'app/app' ], function(app) {
         $scope.$$rule = {};
         $scope.currentStep = 1;
         document.title = '配送规则-优软商城';
+        $scope.imgIndex = ['static/img/tour/1.gif','static/img/tour/2.gif','static/img/tour/3.gif','static/img/tour/4.gif','static/img/tour/5.png'];
+        $scope.imagesObject = [{'img' : 'static/img/tour/1.gif'},{'img' : ''},{'img' : ''},{'img' : ''},{'img' : ''}];
         $scope.ruleTableParams = new ngTableParams({
             page : 1,
             count : 10,
@@ -151,7 +153,10 @@ define([ 'app/app' ], function(app) {
                 $scope.fareArray.push(secondFare);
             }
         };
-
+        $scope.getIndex = function (index) {
+            index = index + 1;
+            
+        };
         $scope.cancelOperateTip = function (noTip) {
             if (noTip){
                 TipRecord.turnTipRecordOfRule({}, {}, function (data) {

+ 10 - 1
src/main/webapp/resources/view/vendor/forstore/vendor_delivery_rule.html

@@ -315,6 +315,10 @@
 		top: -193px;
 		left: -365px;
 	}
+	.guide ul.guide-content li.guide05{
+		top: -193px;
+		left: -365px;
+	}
 	.guide ul.guide-content li span.next-btn{
 		position: absolute;
 		top: 430px;
@@ -772,7 +776,12 @@
 			<div class="click3"><span class="pre" ng-click="currentStep=currentStep-1"></span><span class="next"  ng-click="currentStep=currentStep+1"></span></div>
 		</li>
 		<li target="h1:eq(3)" at="bottom" class="popover bottom in guide04">
-			<img src="static/img/tour/4.png" alt=""/>
+			<img src="static/img/tour/4.gif" alt=""/>
+			<!--点击上一步 下一步-->
+			<div class="click4"><span class="pre"  ng-click="currentStep=currentStep-1"></span><span class="next" ng-click="cancelOperateTip(noTip)"></span></div>
+		</li>
+		<li target="h1:eq(4)" at="bottom" class="popover bottom in guide05">
+			<img src="static/img/tour/5.png" alt=""/>
 			<!--点击上一步 下一步-->
 			<div class="click4"><span class="pre"  ng-click="currentStep=currentStep-1"></span><span class="next" ng-click="cancelOperateTip(noTip)"></span> <input type="checkbox" ng-model="noTip"></div>
 		</li>