Browse Source

修改卖家中心样式问题

shenjj 7 years ago
parent
commit
36722e2c0a

+ 2 - 2
src/main/webapp/resources/js/vendor/app.js

@@ -9,10 +9,10 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
 	};
 
 	var app = angular.module('myApp', [ 'ui.router', 'ui.bootstrap', 'ng.local', 'ui.form', 'ui.jquery', 'toaster', 'ngDraggable', 'tool.directives', 'ngSanitize', 'common.query.kind', 'common.services', 'brandServices', 'componentServices', 'goodsServices',  'rateServices','cartServices', 'orderServices', 'addressServices', 'invoiceServices', 'common.query.propertyAdvice', 'propertyServices', 'returnServices' , 'changeServices',  'logisticsServices', 'common.query.kindAdvice', 'ngTable', 'ngDynamicInput', 'common.directives', 'angularFileUpload', 'urlencryptionServices', 'purchaseServices', 'vendorServices', 'goodsServices', 'bankTransfer', 'common.query.enterprise', 'billServices', 'receiptServices', 'collection', 'expressServices', 'bankInfo','Charge', 'statisticsServices', 'currencyService', 'responseLogisticsService', 'PriceServices', 'addressServices', 'searchService', 'urlencryptionServices', 'ReleaseProductByBatchService', 'makerDemand', 'afterSaleService', 'messageBoardServices', 'logisticsServices', 'table.directives', 'storeInfoServices', 'recommendation', 'common.query.user', 'logisticsPortService', 'cmsService', 'materialServices', 'StoreCmsServices', 'productImportModule', 'stockInOutModule', 'StoreCmsModule', 'WebChatModule', 'StandardPutOnAdminModule', 'StoreViolationsServices', 'internalMessageServices', 'installmentServices','common.query.product', 'ui.tour', 'seekPurchaseServices', 'UASBatchPutOnPropertyModule'])
-  .directive('onFinishRender', function ($timeout) {
+  app.directive('onFinishRender', function ($timeout) {
     return {
       restrict: 'A',
-      link: function (scope, element, attr) {
+      link: function (scope) {
         if (scope.$last === true) {
           $timeout(function () {
             scope.$emit('ngRepeatFinished');

+ 12 - 0
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_materialCtrl.js

@@ -1,6 +1,18 @@
 define([ 'app/app', 'jquery-uploadify' ], function(app) {
 	'use strict';
 	app.register.controller('vendor_materialCtrl', ['$scope', '$rootScope', 'Material', 'toaster', 'ComponentActive', 'Enterprise', '$q', 'NumberService', '$location', '$stateParams', 'Search', '$modal', 'ComponentActiveAPI', 'BrandSubmit', 'BrandActiveAPI', 'DistributionRule', 'prodRepositoryService', 'AuthenticationService', 'StoreInfo', 'ProductServiceQuery', 'StoreCms', 'ByteCountService', 'Goods', 'UASBatchPutOnPropertyServices', '$filter', function ($scope, $rootScope, Material, toaster, ComponentActive, Enterprise, $q, NumberService, $location, $stateParams, Search, $modal, ComponentActiveAPI, BrandSubmit, BrandActiveAPI, DistributionRule, prodRepositoryService, AuthenticationService, StoreInfo, ProductServiceQuery, StoreCms, ByteCountService, Goods, UASBatchPutOnPropertyServices, $filter) {
+    app.directive('onFinishRender', function ($timeout) {
+      return {
+        restrict: 'A',
+        link: function (scope) {
+          if (scope.$last === true) {
+            $timeout(function () {
+              scope.$emit('ngRepeatFinished');
+            });
+          }
+        }
+      }
+    })
 		$rootScope.active = 'vendor_material';
 		document.title = '卖家产品库-优软商城';
 		$scope.tab = 'material';

+ 4 - 0
src/main/webapp/resources/view/usercenter/forstore/buyer_cart.html

@@ -549,6 +549,10 @@
 	.oder01 ul li{
 		margin-left: 0px;
 		position: relative;
+		min-width: 110px
+	}
+	.oder01 ul li a {
+		min-width: 110px
 	}
 	.oder01 ul li.active a{
 		border-bottom: #fff;

+ 4 - 1
src/main/webapp/resources/view/vendor/forstore/vendor_order.html

@@ -1125,7 +1125,10 @@
 	.com_tab ul li {
 		margin-left: 0px;
 		position: relative;
-		/*min-width: 110px*/
+		min-width: 110px
+	}
+	.com_tab ul li a {
+		min-width: 110px
 	}
 
 	.com_tab ul li::after{