记录拖动排序

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Document</title><script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script><script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script><script src="https://cdn.staticfile.org/angular.js/1.6.6/angular.min.js"></script><script src="./sortable.js"></script>
</head>
<body ng-app="app"><div ng-controller="sortCtrl"><ul ui-sortable="sortableOptions" ng-model="data"><li ng-repeat="item in data "><span>{{item.name}}, {{item.age}}</span></li></ul></div>
</body><script>angular.module("app", ["ui.sortable"]).controller("sortCtrl", function($scope, $timeout) {$scope.cannotSort = false;$scope.data = [{"name": "allen","age": 21,"i": 0}, {"name": "bob","age": 18,"i": 1}, {"name": "curry","age": 25,"i": 2}, {"name": "david","age": 30,"i": 3}];$scope.sortableOptions = {// 数据有变化
                update: function(e, ui) {console.log("update");//需要使用延时方法,否则会输出原始数据的顺序,可能是BUG?
                    $timeout(function() {var resArr = [];for (var i = 0; i < $scope.data.length; i++) {resArr.push($scope.data[i].i);}console.log(resArr);})},// 完成拖拽动作
                stop: function(e, ui) {//do nothing
                    console.log("do nothing");}}})
</script></html>
sortable.js
/*jQuery UI Sortable plugin wrapper@param [ui-sortable] {object} Options to pass to $.fn.sortable() merged onto ui.config*/
angular.module('ui.sortable', []).value('uiSortableConfig', {// the default for jquery-ui sortable is "> *", we need to restrict this to// ng-repeat items// if the user usesitems: '> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]'}).directive('uiSortable', ['uiSortableConfig','$timeout','$log',function(uiSortableConfig, $timeout, $log) {return {require: '?ngModel',scope: {ngModel: '=',uiSortable: '=',Expression bindings from html.create: '&uiSortableCreate',// helper:'&uiSortableHelper',start: '&uiSortableStart',activate: '&uiSortableActivate',// sort:'&uiSortableSort',// change:'&uiSortableChange',// over:'&uiSortableOver',// out:'&uiSortableOut',beforeStop: '&uiSortableBeforeStop',update: '&uiSortableUpdate',remove: '&uiSortableRemove',receive: '&uiSortableReceive',deactivate: '&uiSortableDeactivate',stop: '&uiSortableStop'},link: function(scope, element, attrs, ngModel) {var savedNodes;var helper;function combineCallbacks(first, second) {var firstIsFunc = typeof first === 'function';var secondIsFunc = typeof second === 'function';if (firstIsFunc && secondIsFunc) {return function() {first.apply(this, arguments);second.apply(this, arguments);};} else if (secondIsFunc) {return second;}return first;}function getSortableWidgetInstance(element) {// this is a fix to support jquery-ui prior to v1.11.x// otherwise we should be using `element.sortable('instance')`var data = element.data('ui-sortable');if (data &&typeof data === 'object' &&data.widgetFullName === 'ui-sortable') {return data;}return null;}function setItemChildrenWidth(item) {item.children().each(function() {var $el = angular.element(this);// Preserve the with of the element$el.width($el.width());});}function dummyHelper(e, item) {return item;}function patchSortableOption(key, value) {if (callbacks[key]) {if (key === 'stop') {// call apply after stopvalue = combineCallbacks(value, function() {scope.$apply();});value = combineCallbacks(value, afterStop);}// wrap the callbackvalue = combineCallbacks(callbacks[key], value);} else if (wrappers[key]) {value = wrappers[key](value);}// patch the options that need to have values setif (!value && (key === 'items' || key === 'ui-model-items')) {value = uiSortableConfig.items;}return value;}function patchUISortableOptions(newOpts,oldOpts,sortableWidgetInstance) {function addDummyOptionKey(value, key) {if (!(key in opts)) {// add the key in the opts object so that// the patch function detects and handles itopts[key] = null;}}// for this directive to work we have to attach some callbacksangular.forEach(callbacks, addDummyOptionKey);// only initialize it in case we have to// update some options of the sortablevar optsDiff = null;if (oldOpts) {// reset deleted options to defaultvar defaultOptions;angular.forEach(oldOpts, function(oldValue, key) {if (!newOpts || !(key in newOpts)) {if (key in directiveOpts) {if (key === 'ui-floating') {opts[key] = 'auto';} else {opts[key] = patchSortableOption(key, undefined);}return;}if (!defaultOptions) {defaultOptions = angular.element.ui.sortable().options;}var defaultValue = defaultOptions[key];defaultValue = patchSortableOption(key, defaultValue);if (!optsDiff) {optsDiff = {};}optsDiff[key] = defaultValue;opts[key] = defaultValue;}});}newOpts = angular.extend({}, newOpts);// update changed options// handle the custom option of the directive firstangular.forEach(newOpts, function(value, key) {if (key in directiveOpts) {if (key === 'ui-floating' &&(value === false || value === true) &&sortableWidgetInstance) {sortableWidgetInstance.floating = value;}if (key === 'ui-preserve-size' &&(value === false || value === true)) {var userProvidedHelper = opts.helper;newOpts.helper = function(e, item) {if (opts['ui-preserve-size'] === true) {setItemChildrenWidth(item);}return (userProvidedHelper || dummyHelper).apply(this,arguments);};}opts[key] = patchSortableOption(key, value);}});// handle the normal option of the directiveangular.forEach(newOpts, function(value, key) {if (key in directiveOpts) {// the custom option of the directive are already handledreturn;}value = patchSortableOption(key, value);if (!optsDiff) {optsDiff = {};}optsDiff[key] = value;opts[key] = value;});return optsDiff;}function getPlaceholderElement(element) {var placeholder = element.sortable('option', 'placeholder');// placeholder.element will be a function if the placeholder, has// been created (placeholder will be an object).  If it hasn't// been created, either placeholder will be false if no// placeholder class was given or placeholder.element will be// undefined if a class was given (placeholder will be a string)if (placeholder &&placeholder.element &&typeof placeholder.element === 'function') {var result = placeholder.element();// workaround for jquery ui 1.9.x,// not returning jquery collectionresult = angular.element(result);return result;}return null;}function getPlaceholderExcludesludes(element, placeholder) {// exact match with the placeholder's class attribute to handle// the case that multiple connected sortables exist and// the placeholder option equals the class of sortable itemsvar notCssSelector = opts['ui-model-items'].replace(/[^,]*>/g, '');var excludes = element.find('[class="' +placeholder.attr('class') +'"]:not(' +notCssSelector +')');return excludes;}function hasSortingHelper(element, ui) {var helperOption = element.sortable('option', 'helper');return (helperOption === 'clone' ||(typeof helperOption === 'function' &&ui.item.sortable.isCustomHelperUsed()));}function getSortingHelper(element, ui /*, savedNodes*/) {var result = null;if (hasSortingHelper(element, ui) &&element.sortable('option', 'appendTo') === 'parent') {// The .ui-sortable-helper element (that's the default class name)result = helper;}return result;}// thanks jquery-uifunction isFloating(item) {return (/left|right/.test(item.css('float')) ||/inline|table-cell/.test(item.css('display')));}function getElementContext(elementScopes, element) {for (var i = 0; i < elementScopes.length; i++) {var c = elementScopes[i];if (c.element[0] === element[0]) {return c;}}}function afterStop(e, ui) {ui.item.sortable._destroy();}// return the index of ui.item among the items// we can't just do ui.item.index() because there it might have siblings// which are not itemsfunction getItemIndex(item) {return item.parent().find(opts['ui-model-items']).index(item);}var opts = {};// directive specific optionsvar directiveOpts = {'ui-floating': undefined,'ui-model-items': uiSortableConfig.items,'ui-preserve-size': undefined};var callbacks = {create: null,start: null,activate: null,// sort: null,// change: null,// over: null,// out: null,beforeStop: null,update: null,remove: null,receive: null,deactivate: null,stop: null};var wrappers = {helper: null};angular.extend(opts,directiveOpts,uiSortableConfig,scope.uiSortable);if (!angular.element.fn || !angular.element.fn.jquery) {$log.error('ui.sortable: jQuery should be included before AngularJS!');return;}function wireUp() {// When we add or remove elements, we need the sortable to 'refresh'// so it can find the new/removed elements.scope.$watchCollection('ngModel', function() {// Timeout to let ng-repeat modify the DOM$timeout(function() {// ensure that the jquery-ui-sortable widget instance// is still bound to the directive's elementif (!!getSortableWidgetInstance(element)) {element.sortable('refresh');}},0,false);});callbacks.start = function(e, ui) {if (opts['ui-floating'] === 'auto') {// since the drag has started, the element will be// absolutely positioned, so we check its siblingsvar siblings = ui.item.siblings();var sortableWidgetInstance = getSortableWidgetInstance(angular.element(e.target));sortableWidgetInstance.floating = isFloating(siblings);}// Save the starting position of dragged itemvar index = getItemIndex(ui.item);ui.item.sortable = {model: ngModel.$modelValue[index],index: index,source: element,sourceList: ui.item.parent(),sourceModel: ngModel.$modelValue,cancel: function() {ui.item.sortable._isCanceled = true;},isCanceled: function() {return ui.item.sortable._isCanceled;},isCustomHelperUsed: function() {return !!ui.item.sortable._isCustomHelperUsed;},_isCanceled: false,_isCustomHelperUsed: ui.item.sortable._isCustomHelperUsed,_destroy: function() {angular.forEach(ui.item.sortable, function(value, key) {ui.item.sortable[key] = undefined;});},_connectedSortables: [],_getElementContext: function(element) {return getElementContext(this._connectedSortables, element);}};};callbacks.activate = function(e, ui) {var isSourceContext = ui.item.sortable.source === element;var savedNodesOrigin = isSourceContext? ui.item.sortable.sourceList: element;var elementContext = {element: element,scope: scope,isSourceContext: isSourceContext,savedNodesOrigin: savedNodesOrigin};// save the directive's scope so that it is accessible from ui.item.sortableui.item.sortable._connectedSortables.push(elementContext);// We need to make a copy of the current element's contents so// we can restore it after sortable has messed it up.// This is inside activate (instead of start) in order to save// both lists when dragging between connected lists.savedNodes = savedNodesOrigin.contents();helper = ui.helper;// If this list has a placeholder (the connected lists won't),// don't inlcude it in saved nodes.var placeholder = getPlaceholderElement(element);if (placeholder && placeholder.length) {var excludes = getPlaceholderExcludesludes(element,placeholder);savedNodes = savedNodes.not(excludes);}};callbacks.update = function(e, ui) {// Save current drop position but only if this is not a second// update that happens when moving between lists because then// the value will be overwritten with the old valueif (!ui.item.sortable.received) {ui.item.sortable.dropindex = getItemIndex(ui.item);var droptarget = ui.item.parent().closest('[ui-sortable], [data-ui-sortable], [x-ui-sortable]');ui.item.sortable.droptarget = droptarget;ui.item.sortable.droptargetList = ui.item.parent();var droptargetContext = ui.item.sortable._getElementContext(droptarget);ui.item.sortable.droptargetModel =droptargetContext.scope.ngModel;// Cancel the sort (let ng-repeat do the sort for us)// Don't cancel if this is the received list because it has// already been canceled in the other list, and trying to cancel// here will mess up the DOM.element.sortable('cancel');}// Put the nodes back exactly the way they started (this is very// important because ng-repeat uses comment elements to delineate// the start and stop of repeat sections and sortable doesn't// respect their order (even if we cancel, the order of the// comments are still messed up).var sortingHelper =!ui.item.sortable.received &&getSortingHelper(element, ui, savedNodes);if (sortingHelper && sortingHelper.length) {// Restore all the savedNodes except from the sorting helper element.// That way it will be garbage collected.savedNodes = savedNodes.not(sortingHelper);}var elementContext = ui.item.sortable._getElementContext(element);savedNodes.appendTo(elementContext.savedNodesOrigin);// If this is the target connected list then// it's safe to clear the restored nodes since:// update is currently running and// stop is not called for the target list.if (ui.item.sortable.received) {savedNodes = null;}// If received is true (an item was dropped in from another list)// then we add the new item to this list otherwise wait until the// stop event where we will know if it was a sort or item was// moved here from another listif (ui.item.sortable.received && !ui.item.sortable.isCanceled()) {scope.$apply(function() {ngModel.$modelValue.splice(ui.item.sortable.dropindex,0,ui.item.sortable.moved);});scope.$emit('ui-sortable:moved', ui);}};callbacks.stop = function(e, ui) {// If the received flag hasn't be set on the item, this is a// normal sort, if dropindex is set, the item was moved, so move// the items in the list.var wasMoved ='dropindex' in ui.item.sortable &&!ui.item.sortable.isCanceled();if (wasMoved && !ui.item.sortable.received) {scope.$apply(function() {ngModel.$modelValue.splice(ui.item.sortable.dropindex,0,ngModel.$modelValue.splice(ui.item.sortable.index, 1)[0]);});scope.$emit('ui-sortable:moved', ui);} else if (!wasMoved &&!angular.equals(element.contents().toArray(),savedNodes.toArray())) {// if the item was not moved// and the DOM element order has changed,// then restore the elements// so that the ngRepeat's comment are correct.var sortingHelper = getSortingHelper(element, ui, savedNodes);if (sortingHelper && sortingHelper.length) {// Restore all the savedNodes except from the sorting helper element.// That way it will be garbage collected.savedNodes = savedNodes.not(sortingHelper);}var elementContext = ui.item.sortable._getElementContext(element);savedNodes.appendTo(elementContext.savedNodesOrigin);}// It's now safe to clear the savedNodes and helper// since stop is the last callback.savedNodes = null;helper = null;};callbacks.receive = function(e, ui) {// An item was dropped here from another list, set a flag on the// item.ui.item.sortable.received = true;};callbacks.remove = function(e, ui) {// Workaround for a problem observed in nested connected lists.// There should be an 'update' event before 'remove' when moving// elements. If the event did not fire, cancel sorting.if (!('dropindex' in ui.item.sortable)) {element.sortable('cancel');ui.item.sortable.cancel();}// Remove the item from this list's model and copy data into item,// so the next list can retrive itif (!ui.item.sortable.isCanceled()) {scope.$apply(function() {ui.item.sortable.moved = ngModel.$modelValue.splice(ui.item.sortable.index,1)[0];});}};// setup attribute handlersangular.forEach(callbacks, function(value, key) {callbacks[key] = combineCallbacks(callbacks[key], function() {var attrHandler = scope[key];var attrHandlerFn;if (typeof attrHandler === 'function' &&('uiSortable' +key.substring(0, 1).toUpperCase() +key.substring(1)).length &&typeof (attrHandlerFn = attrHandler()) === 'function') {attrHandlerFn.apply(this, arguments);}});});wrappers.helper = function(inner) {if (inner && typeof inner === 'function') {return function(e, item) {var oldItemSortable = item.sortable;var index = getItemIndex(item);item.sortable = {model: ngModel.$modelValue[index],index: index,source: element,sourceList: item.parent(),sourceModel: ngModel.$modelValue,_restore: function() {angular.forEach(item.sortable, function(value, key) {item.sortable[key] = undefined;});item.sortable = oldItemSortable;}};var innerResult = inner.apply(this, arguments);item.sortable._restore();item.sortable._isCustomHelperUsed = item !== innerResult;return innerResult;};}return inner;};scope.$watchCollection('uiSortable',function(newOpts, oldOpts) {// ensure that the jquery-ui-sortable widget instance// is still bound to the directive's elementvar sortableWidgetInstance = getSortableWidgetInstance(element);if (!!sortableWidgetInstance) {var optsDiff = patchUISortableOptions(newOpts,oldOpts,sortableWidgetInstance);if (optsDiff) {element.sortable('option', optsDiff);}}},true);patchUISortableOptions(opts);}function init() {if (ngModel) {wireUp();} else {$log.info('ui.sortable: ngModel not provided!', element);}// Create sortableelement.sortable(opts);}function initIfEnabled() {if (scope.uiSortable && scope.uiSortable.disabled) {return false;}init();// Stop WatcherinitIfEnabled.cancelWatcher();initIfEnabled.cancelWatcher = angular.noop;return true;}initIfEnabled.cancelWatcher = angular.noop;if (!initIfEnabled()) {initIfEnabled.cancelWatcher = scope.$watch('uiSortable.disabled',initIfEnabled);}}};}]);

 

转载于:https://www.cnblogs.com/DZzzz/p/10860191.html

查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. AngularJs+Bootstrap Table $compile动态生成html

    AngularJsBootstrap Table $compile动态生成html 关于angularbootstrap table 使用的一些问题 - ①table中动态添加元素并绑定事件&#xff0c;js事件&#xff08;eg:’ng-click…’&#xff09;未被监听 - ②使用jQuery方式绑定事件&#xff0c;造成数据动态绑定响应延时 关…...

    2024/4/20 19:22:03
  2. dubbo 购物平台搭建笔记(二)后端项目搭建和运行、angularJs前端项目搭建 [伪继承]

    第一部分&#xff1a;angularJs前端项目搭建 前端搭建 angular.js angularjs的特征 特征一&#xff1a;mvc模式 Model:数据,其实就是angular变量($scope.XX); View: 数据的呈现,HtmlDirective(指令); Controller:操作数据,就是function,数据的增删改查; 特征二&#xff1a;…...

    2024/4/20 19:22:02
  3. AngularJs:table中实现单元格展示多条可点击的数据(字符串split成array后,ng-repeat遍历)

    js文件&#xff1a; 在js文件中&#xff0c;初始化声明表格的地方&#xff0c;在想要展示多条可点击数据的表头属性中&#xff0c;用一个自定义的属性做标记&#xff0c;标记本列需要做特殊的展示效果&#xff1a; $scope.tableConfig {fixedWidth: 280,scrollWidth: 1400,t…...

    2024/4/20 19:22:01
  4. 切开双眼皮?尖华美

    ...

    2024/4/21 5:31:36
  5. 瀑布流在Angularjs中的使用

    在Angularjs向前台页面进行渲染时&#xff0c;处于循环中的div的内容不一样&#xff0c;从而导致div的高度不一致&#xff0c;导致样式错乱。因此需要在Angularjs中使用瀑布流。 在网上进行了瀑布流代码的搜寻&#xff0c;最终选择了以下代码&#xff0c;这部分代码源自http://…...

    2024/4/26 9:29:56
  6. Angular7集成Ueditor完整版

    1. 安装依赖 npm install ueditor --save2. 下载UEditor配置文件 官方地址&#xff1a;http://ueditor.baidu.com/website/download.html 百度云盘&#xff1a; 边城孤客 提取码&#xff1a;chpl 解压后目录为 将配置的文件复制到资源目录下 3. 在共享模块里导入配置信息 …...

    2024/4/21 5:31:33
  7. 哪开双眼皮好呀

    ...

    2024/4/21 5:31:33
  8. 万州哪里割失败双眼皮图片

    ...

    2024/4/23 15:33:04
  9. 微针 双眼皮手术会失败吗

    ...

    2024/4/21 5:31:31
  10. 全切双眼皮20天什么样

    ...

    2024/4/21 5:31:30
  11. 诺德伊美尔武汉经验丰富的整双眼皮需要多少钱

    ...

    2024/4/20 14:24:52
  12. Angular:创建一个angular项目(一)

    1、进入要创建项目的目录&#xff0c;在cmd命令框中输入&#xff1a;ng new 项目名称 ng new angulardemo012.查看文件夹 3.使用VS Code导入项目 4.在终端运行项目 ng serve --open5.运行成功 6.结束运行&#xff1a;ctrl c...

    2024/4/21 5:31:27
  13. Angular cli 搭建前端项目常用命令

    1.创建项目 -- ng new my-app | ng new my-app --routing // my-app 为项目名称,&#xff0c; --routing 带路有项目2.带有路由的模块 -- ng generate module event --routing | ng g m event --routing // m为简写 event 为模块名3.添加服务service -- ng…...

    2024/4/21 5:31:26
  14. angular环境搭建、创建项目、运行项目

    angular环境搭建、创建项目、运行项目 环境搭建 1&#xff1a;准备工作 安装最新版本的node.js&#xff0c;最好是安装node.js稳定版本 2&#xff1a;安装cnpm npm安装angular可能会失败&#xff0c;所以最好安装一个cnpm&#xff0c;后面步骤会用到。一般采用淘宝镜像安装cnp…...

    2024/4/21 5:31:25
  15. angular cli启动项目

    使用cli1.7.3版本&#xff0c;cdk&#xff1a;5.0.0版本 cdk先放进package.json 然后再启用npm install&#xff0c;这样的不会报错的&#xff01; antd 0.7.0的版本放入项目中 引入antd的 css&#xff0c;可以正常使用了...

    2024/4/21 5:31:25
  16. 青岛诺德做双眼皮好吗

    ...

    2024/4/21 5:31:23
  17. 轻松搭建angular2.0项目

    要求&#xff1a;安装node6.9&#xff0c;npm3.0以上版本 接下来两步完成项目的搭建 1、安装全局angular cli脚手架 命令 npm install -g angular/cli 2、在想搭建项目的目录下&#xff0c;shift鼠标右击&#xff0c;&#xff08;选择当前窗口打开命令行&#xff09;&#…...

    2024/4/21 5:31:22
  18. 莱西割诺德整形双眼皮好看还是单眼皮女生

    ...

    2024/4/20 12:46:57
  19. 蚌埠那家双眼皮开的好

    ...

    2024/4/21 5:31:21
  20. 双眼皮割

    ...

    2024/4/20 19:22:09

最新文章

  1. 前端调用DRI后端API出现跨域资源共享(CORS)问题解决办法

    目录 1. 引言2. 跨源资源共享和实现方法3. 在Django项目中配置django-cors-headers库Reference 1. 引言 在进行后端API开发时&#xff0c;有时会遇到“跨域资源共享 (CORS) 请求…被阻止“的错误&#xff0c;如图1所示。本文讲解如何在使用DRF&#xff08;Django REST Framewo…...

    2024/4/26 12:48:32
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/3/20 10:50:27
  3. Go语言中如何实现继承

    完整课程请点击以下链接 Go 语言项目开发实战_Go_实战_项目开发_孔令飞_Commit 规范_最佳实践_企业应用代码-极客时间 Go语言中没有传统意义上的类和继承的概念&#xff0c;但可以通过嵌入类型&#xff08;embedded types&#xff09;来实现类似的功能。嵌入类型允许一个结构…...

    2024/4/23 6:14:42
  4. 与机器对话:ChatGPT 和 AI 语言模型的奇妙故事

    原文&#xff1a;Talking to Machines: The Fascinating Story of ChatGPT and AI Language Models 译者&#xff1a;飞龙 协议&#xff1a;CC BY-NC-SA 4.0 从 ELIZA 到 ChatGPT&#xff1a;会话式人工智能的简史 会话式人工智能是人工智能&#xff08;AI&#xff09;的一个分…...

    2024/4/23 6:37:10
  5. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/4/25 11:51:20
  6. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/4/25 18:39:24
  7. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/4/25 18:38:39
  8. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/4/25 18:39:23
  9. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/4/25 18:39:22
  10. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/4/25 18:39:22
  11. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/4/25 18:39:20
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/4/25 16:48:44
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/4/25 13:39:44
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/4/25 18:39:16
  15. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/4/25 18:39:16
  16. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/4/25 0:00:17
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/4/25 4:19:21
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/4/25 18:39:14
  19. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/4/25 18:39:12
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/4/25 2:10:52
  21. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/4/25 18:39:00
  22. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/4/25 13:19:01
  23. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/4/25 18:38:58
  24. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/4/25 18:38:57
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57