Block 是以一个长方形区域出现在 moodle site page 的左列或右列。 Block 是最简单、也是最常用的 moodle plugin

 

下面讲解如何开发一个 hello world moodle block “helloworld”

1. create “helloworld” folder ( 目录名来自你的 module name) in ”moodle/blocks” folder

 

2. ”helloworld” 目录下创建 block page “block_helloworld.php” ( 命名格式是 [ module-type]_[module-name].php )

 

Block php file 要创建一个同名的 class ,该 class extends “block_base” class 。同时需要有 2 个基本的函数: ”init” and “ get_content”

<?php

class block_helloworld extends block_base {

function init() {

$this->title = get_string('helloworld', 'block_helloworld');

$this->version = 2009050700;

}

function get_content() {

if ($this->content !== NULL) {

return $this->content;

}

$this->content = new stdClass;

$this->content->text = 'Hello World!';

return $this->content;

}

}

?>

 

Init 函数至少要设置 2 个变量: block title and block version

 

block title 将会显示在 block 区域的最上端。

block version 注意:你每次 upload 你的 plugin to moodle system ,即将上传的 version 必须大于当前存在于 moodle plugin version version 的格式为: YYYYMMDD## 。最后 2 位是 YYYYMMDD 当天的第 n 个版本。例如 2010062903 ,表示 2010 6 29 日第 3 update version

 

get_content 函数所返回值就会作为 block page 显示的 content 。同时它会存储在 $this->content 变量里。

 

以上 2 步就完成了最简单的 helloworld block

如何激活?

admin account login ,然后 click “ Notifications ” in “ Site Administration ” block moodle 就会即时 check and install new plugin

 

安装好之后如何使用?

admin account login ,然后在你要添加 helloworld page 里启动 edit mode ,然后 in “Blocks ” pull down list select “helloworld” block 即可

 

 

上面的 2 步是必须的,下面的步骤是可选的

 

3. (Optional) Add language file (like java message properties file) 。在 ”helloworld” 目录下创建一个 lang 目录,然后在 ”lang” 下创建一个 ”en_utf8 ,它表示这是一个 language folder for Englist with Unicode encoding 。如果你希望有一个 for US 方言的 englist language pack ,那么就在 ”en_utf8” 目录下创建一个 en_us_utf8 目录。 Moodle里, child language会继承 parent language的所有 string message

 

然后在 ”en_utf8 创建一个与 block page 同名的 php file “block_helloworld.php” ,然后把所有要用到的 message 都放到该文件里。其格式是把这些 messages 存储在 ”$string” 数组变量里

 

下面一个 language php file 的例子:

<?PHP

$string[ 'helloworld'] = 'Hello World';

$string['helloworld:view'] = 'View Hello World Block';

$string['blockname'] = 'HelloWorld';

?>

 

回顾一下步骤 2 init 函数里用到一个函数

            get_string('helloworld', 'block_helloworld');

该函数 Returns a localized string

 

第一个参数对应的是 language file 里的 message key ,例如上例的第一个参数就是对应 language file 里的 ”helloworld” message

 

第二个参数是指定来自哪一个 module language file ,例如上例指定的是 helloworld block 。该参数值实际就是存储该 message php file name ( 不要 .php extension) 。例如:我们的 language php file block_helloworld.php ,所以参数值为 ” block_helloworld”

 

另外还有一个函数与 get_string 类似,就是 print_string ,它是把返回的 string 输出。

 

4. (Optional but very mportant) Working with capabilities capabilities 见上面的章节。

 

5. (Optional but very mportant) 添加 helloworld block configuration interface ,使得在 edit mode ,在 block 区域里多一个 button link to configuration interface

 

例子:使 helloworld block 具有 configuration 功能,使得可以设置 $this->content 的值

1 )需要在 block main page ” block_helloworld.php block_helloworld class里添加一个 return true instance_allow_config 函数,代码如下:

function instance_allow_config() {

return true;

}

 

2 )在 block root 目录下创建一个 config_instance.html file 。该 html file 的代码实际上是 php code

<?php print_textarea(true, 10, 50, 0, 0, 'text', $this->config->text); ?>

<input type="submit" value="submit" />

<?php use_html_editor(); ?>

 

第一行是输出一个 text area (name text) ,其值为 $this->config->text 注意: text area name 的值必须与 $this->context 里的对应的 key name 相同 ),在 submit 之后 text area 的值就会自动赋值给对应的 $this->context 里对应的变量 。例如,该例的 text area name text submit 之后该值就会赋给 $this->context->text

 

第三行是嵌入 Moodle's integrated WYSIWYG editor

 

3 )修改 block_helloworld class get_content() 函数,使得输出的 content 来自 configuration interface 设置的值。

            $this->content->text = $this->config->text;

 

 

6. (optional) add schedule function to block.

Moodle cron.php 用来运行一个 schedule 来执行 maintenance tasks ,例如 email delivery and backup 。它可能每 5~15 分钟就运行一次。

 

例子:如果 helloworld block 需要执行 schedule task ,你需要

1) block_helloworld class init 函数里添加代码:

                        $this->cron = 5 ;

            这表示每 5秒就会执行下面定义的 cron函数一次。

 

2 block_helloworld class里添加函数 cron()

   function cron() {

print("Hello World is running its cron process./n");

}

 

 

参考书中的另外一个实例: Instructor contact block

 

 

注意:如果我们想在 moodle里添加一个不需要 interface module,那么 Block就是最好的选择。对于没有 interface block $this->content->text and footer 要设置 empty 。如:

function get_content() {

if($this->content !== NULL) {

return $this->content;

}

$this->content = new stdClass;

$this->content->text = '';

$this->content->footer = '';

return $this->content;

}

 

 

 

官方 moodle block 开发的翻译

Ref link http://docs.moodle.org/en/Development:Blocks

 

以开发一个简单的 ”SimpleHtml” block 为例来讲解。

 

Minimum requirement of block

blocks 目录下创建 simplehtml 目录,然后在该目录下创建 block_simplehtml.php

<?php



class block_simplehtml extends block_base {
//init method
必须设置var title and version 

function

 init()
{

    $this
->
title
   =
get_string(
'simplehtml'
,
'block_simplehtml'
)
;

    $this
->
version
=
2004111200
;

}
 
//
function

 get_content()
{

  //check content
是否为null
是因为moodle
的内部机制在一个php page
里可能对同一个blockinstance
都会call
几次,那么为了提高性能,我们只会在创建该block instance
时(这时content=null
)才为其赋值


    if ( $this -> content !== NULL ) {
      return
$this
->
content
;

 
 
}
  $this
->
content
         =
  new

stdClass;

  $this
->
content
->
text
   =
'The content of our SimpleHTML block!'
;

  $this
->
content
->
footer
=
'Footer here...'
;

  return
$this
->
content
;


  }
}
?>

 

Enable Configure block

首先在 block_simplehtml class 里添加下面的 function 使得该 block 可以 configure

function

 instance_allow_config()
{

  return
true

;

}

 

然后在 simplehtml 目录下创建一个 config_instance.html 文件,该文件包含当 user 点击 block configuration button 时要显示的 configuration page content

<?php

 print_string(
'configcontent'
,
'block_simplehtml'
)
;
?>

:


<?php print_textarea( true , 10 , 50 , 0 , 0 , 'text' , $this -> config -> text ) ; ?>

< input type= "submit" value= "<?php print_string('savechanges') ?>" />

<?php use_html_editor() ; ?>

 

上面的代码就是一个简单的 configuration page 你会奇怪怎么没看到 <form> ?对的,不需要写 <form> ,只需要提供你需要 config 的东东的 input ,以及一个 submit button 即可。当你 click submit button 时, moodle 会自动波帮你存储 config setting $this->config 里。例如上例 name 为“ text ”的 input field value 就会存储在 $this->config->text this->config 变量可以供 block_simplehtml class 里除了 init() method 之外的任何地方调用!

 

下面我们修改 block_simplehtml getContent function 来使用 configuration var this->config

function

 get_content()
{

    if ( $this -> content !== NULL ) {

      return $this -> content ;

    }

 

    $this -> content =   new stdClass;

    $this -> content -> text    = $this->config->text ;

    $this -> content -> footer = 'Footer here...' ;

 

    return $this -> content ;

  }

 

 

Specialists

我想在 configuration page 里设置 block title ,则在 config_instance.html 里添加

<
input type=
"text"
name=
"title"

        value=
"<?php echo $this->config->title; ?>"
/>

 

但由于 $this->config 变量不能在 init() method 里使用以及 $this->title 不能在 getContent function 改变,所以无法在 init() 里或在 getContent method 里使用下列代码

    $this -> title    = $this->config->title;

 

怎么办?就要使用到 specialization() method 来给 title 赋值 ,该 method 是紧接着 init() 后被调用,即是在 before block's content is computed for the first time 之前被调用。

 

同时 specialization() method is the natural choice for any configuration data that needs to be acted upon "as soon as possible" ,即可以对 this->config 包含的值进行预处理 。例如下列代码会在 specialization method check 如果 this->config->text empty ,则给一个 default value 给它。

 

function

 specialization()
{

  if
(
!
empty
(
$this
->
config
->
title
))
{

    $this
->
title
=
$this
->
config
->
title
;

  }
else
{

    $this
->
config
->
title
=
'Some title ...'
;

  }

  if
(
empty
(
$this
->
config
->
text
))
{

    $this
->
config
->
text
=
'Some text ...'
;

  }
    
}

 

Now You See Me, Now You Don't

有时你可能想开发一个这样的 block 当有数据时,就显示该 block ,但当没有数据时,就隐藏整个 block 。典型的例子是 ”recent activity” block ,如果没有 recent activity ,该 block 就会自动隐藏。

 

怎么实现这个功能?

很简单,只需要在 get_content() 里设置 $this->content->text and $this->content->footer empty string 即可 moodle 在处理 block 时,会先 call is_empty() method check it ,如果 text and footer is empty ,就不会显示这个 block

 

注意:不管该 block title 是不是 empty ,也不管 hide_header() method hide or show header ,都不会影响上述 show/hide block behavior 。即当 content is empty 时,即使 title 不为 empty ,也不 hide header moodle 照样还是会隐藏该 block

 

 

Allow multiple block instance in a course

如果你希望在同一个 course 里添加同一个 block 的多个 instance ,则要在 block class 里添加 instance_allow_multiple method

function instance_allow_multiple() {

  return true ;

}

要注意的是

1. 即使 block 本身 support multiple instance admin 还是可以通过 Administration/Configuration/Blocks page disable multiple 功能

2. 如果“ allow multiple ”和“ allow config ”同时存在,则会自动 disable allow config function

 

 

The Effects of Globalization

有时候 admin 可能希望他能够有一个地方对某个 block 的所有 instance 能一次性进行设置

 

例如, admin 希望 simplehtml block content 长度不要超过 200 字,或者 content 只允许 plain text ,如果是 html text ,则 filter html tag

 

首先,在 block class 里添加下列代码

function

 has_config
()
{

  return
true

;

}

 

然后,创建一个 file config_global.html ,该 file is for the configuration screen output . 在该 configuration page ,我们添加一个 checkbox saying "Do not allow HTML in the content" 以及一个 "submit" button.

 

<
input type=
"hidden"
name=
"
block_simplehtml_strict
"
value=
"0"
/>

<
input type=
"checkbox"
name=
"
block_simplehtml_strict
"
value=
"1"

   <?php

if(!empty($CFG->block_simplehtml_strict)
)

             echo
'checked="checked"'
;
?>

/>

 <
p>

 <
input type=
"submit"
value=
"<?php print_string('savechanges'); ?>"
/>

 </
p>

 

上面的代码会 global configure 变量 block_simplehtml_strict ,该变量的值在 submit 时会储存在 $CFG-> block_simplehtml_strict 。注意设置的变量名一定要是唯一,如果别的 module $CFG 使用同样的变量名,那就惨啦。所以把变量命名为 block_simplehtml_strict 应该是 ok 的。

 

上面代码你会奇怪为什么有 2 input field (一个 hidden [always 0], 一个 checkbox )的 name 都为 block_simplehtml_strict ? This is a trick 。因为如果没有 hidden input field ,当 checkbox 没有被勾上,该 variable (block_simplehtml_strict=0) 根本就不会 pass request 。这样就无法设置 $CFG->block_simplehtml_strict=0 。因此加多一个 hidden 是为了保证 request param 里一定有 block_simplehtml_strict variable

 

原理就是:当 PHP 处理 form request 时,会按 the variables form 里的出现顺序进行处理。当遇到一个之前已经存在并处理了的 variable ,新值就会覆盖旧值。利用这一点,我们就把 hidden "block_simplehtml_strict" =0 放在前面, checkbox 放在后面。如果没勾上 checkbox ,就会有 hidden 的值 0 ,如果勾上,就会使用 checkbox 的值 1

 

如果你觉得用 2 input field 来使用同一个 name 太令代码 confuse 有一个替代方案: overwrite config_save() method (当在 global configuration page click submit button 时,就会调用它)

下面代码是缺省的 config_save() method ,其中参数 $data form request variable key value pair array

function

 config_save($data)
{

  // Default behaviour: save all variables as $CFG properties


  // You don't need to override this if you 're satisfied with the above


  foreach ($data as $name => $value) {

    set_config($name, $value)
;

  }

  return
TRUE

;

}

 

我们重写它使得它会 check 是否存在 block_simplehtml_strict variable. 如果不存在,就表示没有勾上 checkbox 使用这个方法就不需要添加 hidden input field 了, I like it .

function

 config_save(
$data
)
{

  if
(
isset($data['block_simplehtml_strict'])
)
{

    set_config('block_simplehtml_strict', '1');

  }
else
{

    set_config('block_simplehtml_strict', '0');

  }

  return
true

;

}

 

OK global confirmation page 里设置了 $CFG->block_simplehtml_strict ,那在我们的 simplehtml block 里如何使用它? 其实 $CFG 是一个超全局变量,任何地方都可以使用它

 

那么在本例中我们希望根据 $CFG->block_simplehtml_strict 这个 block global configuration ,来使得 block instance content 只能是 plain text ,如果有 html text filter 。这时我们要 overwrite instance_config_save() method

instance_config_save()

该方法允许你 override the storage mechanism for your instance configuration data ,即当在某一个 block instance configuration page click submit button 时,就会先调用该方法,你可以重写它来对 submit form data 进行处理,处理完的最后再 call parent::instance_config_save($data) 来调用父类缺省的 instance_config_save method . 该方法的参数是一个 associative array ,它包含有 submit form key/value pair 缺省的 instance_config_save 如下:

function instance_config_save( $data ) {

  $data = stripslashes_recursive( $data ) ;

  $this -> config = $data ;

  return set_field( 'block_instance' , 'configdata' , base64_encode ( serialize ( $data )) ,

                      'id' , $this -> instance -> id ) ;

}

从上面缺省的方法可以看到,它会先调用 stripslashes_recursive 方法对 submitted POST data 进行 stripslashes and recursive 的处理,然后才调用 set_field 方法把处理后的 data 存到 db 里该 block instance record "configdata" field

 

好了,现在我们通过重写 instance_config_save filter html tag

function

 instance_config_save(
$data
)
{

  global
$CFG
;

  if
(
!
empty
(
$CFG
->
block_simplehtml_strict
))
{

    //filter html tag
    $data->text = strip_tags($data->text);


  }

  //

call parent instance_config_save method

  return parent::instance_config_save($data);

}

 

 

hide_header()

如果你想 hide block title/header ,那么添加下列方法到 block class

function

 hide_header()
{

  return
true

;

}

注意: moodle 不允许在 block init() method 里把 title 设置为 empty

 

 

preferred_width()

设置 block prefer width Moodle block width 的处理过程包括 2 parts :首先 moodle query course page 里的每一个 block prefer width ,然后使用最大的 prefer width 作为 desired value 。因此当你设置 prefer width 时, moodle 不一定保证一定以这个 prefer width 来显示,但显示该 block 时应该不会小于该 prefered width

 

所有的 standard Moodle course formats will deliver any requested width between 180 and 210 pixels, inclusive. 当你使用下列代码时:

function

 preferred_width()
{

  // The preferred value is in pixels


  return
200
;

}

就会使你的 block width 大于 standard

 

 

html_attributes

()

该方法是用来控制处理 block container 每一个 block 都会包含在 <div> or <table> container 里(即 block html code 会包含在 <div> or <table> 里)。那么该方法可以通过添加一些 attributes 来设置包含 block container 。具体方法有下列 2

a)      directly affect the end result (if we say, assign bgcolor="black")

b)      container 一个 class ,从而利用 CSS 来控制

 

下面的例子就用到第二种方法。

function

 html_attributes()
{

  return
array
(

    'class'
       =>
'sideblock block_'
.
$this->name()

,

    'onmouseover'
=>
"alert('Mouseover on our block!');"

  )
;

}

以上代码把包住 block container 设置为 class=sideblock block_xxx ,这样我们就可以 use that class to make CSS selectors in our theme to alter this block's visual style (for example, ".sideblock.block_simplehtml { border: 1px black solid}").

 

另外把 onmouseover 赋予该 block container ,使得当鼠标进入该 container 时,就 alert.

 

缺省的 html_attributes() method

function

 html_attributes()
{

    // Default case: an id with the instance and a class with our name


    return
array
(
'id'
=>
'inst'
.
$this
->
instance
->
id
,

                
'class'
 =>
'block_'
.
$this
->
name
())
;

}

If you intend to override this method, you should return the default attributes as well as those you add yourself . The recommended way to do this is:

function

 html_attributes()
{

    $attrs = parent::html_attributes();

    // Add your own attributes here, e.g.

    // $attrs['width'] = '50%';

    return $attrs;
}

 

applicable_formats

()

该方法是用来控制 block 可以在哪里使用 。有些 block 可能开发者不希望在所有地方都能够使用,例如 "Social Activities" block 只适用于 social format course ,对于 week format course 并不合适,因此 block 需要设置为只有 social format course 才能够添加该 block ,就要用到 applicable_formats method

 

注意:在 applicable_formats method 里定义哪些地方可以使用 block ,是以 page 为设置,而不是以 course 来设置。 这是因为 blocks can be displayed in any page that supports them 。例如, the quiz view page (the first one we see when we click on the name of the quiz) also supports blocks

1

function

 applicable_formats()
{

  return
array
(

           'course-view'
=>
true

,

    
       
'course-view-social'
 =>
false

)
;

}

上述代码先设置了允许所有的 course view.php page 都可以添加该 block ,然后再 disallow social format course view page 不能够使用它

 

2

function

 applicable_formats()
{

  return
array
(

           'site-index'
=>
true

,

          'course-view'
=>
true

,

   'course-view-social'
=>
false

,

                  'mod'
=>
true

,

             'mod-quiz'
=>
false


  )
;

}

上述代码设置了 a block can be displayed in the site front page, in courses (but not social courses) and also when we are viewing any activity module, except quiz

 

3

function

 applicable_formats()
{

  return
array
(
'site'
=>
true

)
;

}

 

上述代码设置了 a block appear only in the site front page ( 如果省略 page name ,则看作是 index page ,即 site = site-index)

 

从上面的例子可以看出 page format name 的格式定义方法 例如,

l  如果你需要设置 /course/view.php 是否能够使用 block ,则 format name of that page is course-view .

l  类似的,请理解 a quiz view page is mod-quiz-view

定义 format name 的规则

  1. The format name for the front page of Moodle is site-index .
  2. The format name for courses is actually not just course-view ; it is course-view-weeks , course-view-topics , etc.
  3. Even though there is no such page, the format name all can be used as a catch-all option .

We can include as many format names as we want in our definition of the applicable formats. Each format can be allowed or disallowed, and there are also three more rules that help resolve the question "is this block allowed into this page or not?":

  1. Prefixes of a format name will match that format name; for example, mod will match all the activity modules. course-view will match any course, regardless of the course format. And finally, site will also match the front page (remember that its full format name is site-index ).
  2. The more specialized a format name that matches our page is, the higher precedence it has when deciding if the block will be allowed. For example, mod , mod-quiz and mod-quiz-view all match the quiz view page. But if all three are present, mod-quiz-view will take precedence over the other two because it is a better match.
  3. The character * can be used in place of any word. For example, mod and mod-* are equivalent. At the time of this document's writing, there is no actual reason to utilize this "wildcard matching" feature, but it exists for future usage.
  4. The order that the format names appear does not make any difference.

 

 

cron

要使 block 具有 task schedule 功能,只需要 2

Step 1: add function cron

function

 cron
()
{

    mtrace(
"Hey, my cron script is running"
)
;

    // do something


    return
true

;

}

 

Step 2: in init() method, set the (minimum) execution interval for your cron function

        
$this
->
cron
 =
300
;

 //set 5 minutes interval

 

注意:如果你修改了 cron interval ,你必须修改 block version number ,然后 visit  Notifications page 才能生效

 

NOTE: The block cron is designed to call the cron script for that block type only . 也就是说 cron 并不关心该 block 有多少个 instance cron function 里,你如果需要获取 block instance ,你要自己写代码来 iterate over them

例:

function

 cron
()
{

    // get the block type from the name


    $blocktype = get_record( 'block', 'name', 'my_block_name' );
    // get the instances of the block


    $instances = get_records( 'block_instance','blockid',$blocktype->id );
    // iterate over the instances


    foreach
(
$instances
as
$instance
)
{

        // recreate block object


        $block
=
block_instance(
'my_block_name'
,
$instance
)
;

        $someconfigitem
=
$block
->
config
->
item2
;

    }

}

 

Lists and Icons type block

它是一个只提供 item list block type ,该 list 的每一行只显示一个 item and an optional image (icon) next to the item 。典型的例子就是 course page 里的 ”administration” block

 

开发这种类型的 block ,你应该 extend block_list ,而不是 block_base 。另外,在 getContent 里不是使用 $this->content->text ,而是使用 $this->content->items and $this->content->icons array

class block_my_menu extends block_list {

     // The init() method does not need to change at all

function get_content () {

  if ( $this -> content !== null ) {

    return $this -> content ;

  }

 
  $this -> content          = new stdClass;

  $this -> content->items  = array();

  $this -> content->icons  = array();

  $this -> content -> footer = 'Footer here...' ;

 

  $this - >content->items[] = '<a href=" a .php">Menu Option 1</a>' ;

  $this - >content->icons[] = '<img src="1.gif" />' ;

  // Add more list items here

  return $this -> content ;

}

}

 

 

 

 

 

 

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

相关文章

  1. ASP.NET MVC传递Model到视图的多种方式总结(一)__通用方式的使用

    有多种方式可以将数据传递到视图,如下所示: ViewData ViewBag PartialView TempData ViewModel Tuple 场景:在视图页面,下拉框选择课程触发事件,分别显示老师课程表、学生上课表,如图:相关的Model:1 public class Course2 {3 public int Id { get; set…...

    2024/4/20 21:06:21
  2. cordova操作软键盘插件:ionic-plugin-keyboard

    添加插件:cordova plugin add ionic-plugin-keyboard --save1.软键盘显示监听 window.addEventListener(native.keyboardshow, function (e) {// todo 进行键盘可用时操作//e.keyboardHeight 表示软件盘显示的时候的高度});2.软键盘隐藏监听window.addEventListener(native.ke…...

    2024/4/21 0:13:54
  3. 几款GitHub安卓客户端的使用体验总结

    Overview Client for GitHub 大小264M OctoDroid for GitHub 大小370M Top GitHub大小202M GitHub Trends大小466M GitHub Tutorial大小120M PockHub for GitHub大小389M ForkHub for GitHub大小276M GitHub Contributions Widget大小100M Gitskarios for Github大小1678M 总结…...

    2024/4/20 16:38:19
  4. IOS 键盘的显示与关闭,以及移动显示(UITextView处理完整版)(完美中文键盘输入避免触摸无效,做双重保障)

    问题描述:在view controller 上面的view 上添加 scrollview ,在scrollview上添加 textview 处理(完美版:中文键盘输入避免触摸无效,做双重保障)下面的文章是取别的文章做研究,得出自己的处理方法:在文章的最后总结部分。IOS 键盘的显示与关闭在每一个IOS应用中,几乎不…...

    2024/4/21 0:13:53
  5. moodle中上传和显示中文名字文件

    2008/11/28 9:05:07即使安装在windows上也无法直接正确上传和显示中文名字文件,所以问题肯定出在网页文件php的配置中, moodle/config.php $CFG->unicodecleanfilename = true; //任意位置 最前面是美元符号 当然如果你使用firefox浏览器应该不需要如此修改,其它浏览器…...

    2024/4/21 0:13:51
  6. 游戏客户端是什么?

    在网络游戏 的开发中,在玩家所用设备上(PC机或游戏机)由玩家启动的为了进行游戏而运行着的、用来进行渲染处理和输入输出处理的专用游戏软件称为“游戏客户端”(GameClient)。事实上,这并不是那些与网络上的服务器进程进行连接的软件,但是通常它们都统称为客户端,所以在…...

    2024/4/26 21:49:35
  7. ASP.NET MVC无限级联异步下拉框(select)控件

    前段时间参与一个公司的项目,使用ASP.NET MVC 3.0,其中有多处使用了级联下拉。 考虑到这种ajax异步调用代码重复且不方便调试,于是做了一个公用控件,实际是一个.NET MVC的PartialView。PartialView: SelectView.cshtml@model Platform.Modules.Base.ViewModels.SelectView…...

    2024/4/21 0:13:49
  8. 趋势科技防毒墙-网络版(OfficeScan)客户端管理工具

    一个用vc6写的程序;公司里安装了officescan的朋友可能有用;本软件针对趋势防毒墙网络版Officescan客户端开发的管理员辅助工具,可以清除趋势防毒墙客户端的退出或者卸载密码,也可以清除Officescan的未上报病毒日志。本程序在WinXP下编译通过,在Officescan7.3下测试通过。下…...

    2024/4/21 0:13:49
  9. Moodle在普教中的出现率

    Moodle是澳大利亚教师 Martin Dougiamas 基于建构主义教育理论而开发的课程管理系统, 是一个免费的开放源代码的软件, 目前在各国已广泛应用。 Moodle 这个词是 Modular Object-Oriented Dynamic Learning Environment ,即模块化面向对象的动态学习环境的缩写。是一个用来建…...

    2024/4/21 0:13:47
  10. 手机横屏下,输入框输入时被系统键盘遮挡处理方法

    $(input).bind(click,function(e){var $this = $(this);e.preventDefault();setTimeout(function(){$(window).scrollTop($this.offset().top - 10);},200)})开始输入后:开始输入后:里面用的setimeout原因是在安卓下,虚拟键盘的弹出有一点延迟,如果一开始就滚动,虚拟键盘还…...

    2024/4/21 0:13:46
  11. Android学习历程--新闻客户端实现

    要实现新闻客户端就要知道什么是json 1.json: JSON:JavaScript 对象表示法(JavaScript Object Notation)。独立于语言和平台,比 XML 更小、更快,更易解析。如今JSON数据已经成为了互联网中大多数数据的传递方式,所以必须要熟练掌握。 Android平台自带了JSON解析的相关A…...

    2024/4/21 0:13:46
  12. IOS 点击空白处隐藏键盘的几种方法

    IOS7 点击空白处隐藏键盘的几种方法IOS开发中经常要用到输入框,默认情况下点击输入框就会弹出键盘,但是必须要实现输入框return的委托方法才能取消键盘的显示,对于用户体验来说很不友好,我们可以实现点击键盘以外的空白区域来将键盘隐藏,以下我总结出了几种隐藏键盘的方法…...

    2024/4/21 0:13:44
  13. moodle笔记之-权限api

    <?php//权限定义$capabilities = array( mod/mytest:managefiles => array(//具体的权限:插件类型/插件名/权限 这里是增加一个实例 riskbitmask => RISK_SPAM,//该项权限对应的安全风险 captype => write,//权限类型:允许的读写能力 …...

    2024/4/21 0:13:43
  14. 软键盘1—如何隐藏和显示软键盘

    关闭软键盘 InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(myEdit.getWindowToken(), 0); 下面就可以通过下面方法可以恢复显示 boolean showSoftInput(View view, int flags, ResultReceiver …...

    2024/4/21 0:13:42
  15. 【级联】二级联动

    <html> <head> </head> <body> <script language="JavaScript"> <!-- //第一维:第一个下拉列表的值 //第二维:表示下拉列表中看到的字符串 //第三维:表示下拉列表中的值 var subcat = new Array(); //如果大类的值是动态…...

    2024/4/21 0:13:41
  16. Java服务器与客户端通信框架初探

    这篇文章中,我们讲述一下用Java实现网络通信的的基本流程,这里讲述的是不基于任何框架的原生语言自带的写法。Java服务器端写法:程序入口代码如下:public static void main(String[] args) {try {// ① 创建一个线程 等其他客户端的连接final ServerSocket server = new S…...

    2024/4/21 0:13:41
  17. android仿微信、QQ等聊天界面,实现点击输入框弹出软键盘、点击其他区域收起软键盘,默认滑动至最低端

    如图所示,点击输入框及选择图片和发送按钮时软键盘显示且不消失,点击其他区域,则隐藏软键盘。主要代码如下:override fun dispatchTouchEvent(ev: MotionEvent?): Boolean {if (ev!!.getAction() === MotionEvent.ACTION_DOWN) {val v = currentFocusif (isShouldHideInput…...

    2024/4/21 0:13:39
  18. Java新浪微博客户端开发第五步

    这次把基本的功能都实现了,也加上了授权那块。用户第一次使用该客户端时弹出授权的对话框。默认把授权获得的access_token保存下来,只要access_token不过期(通过审核的应用有效期是一个星期),就可以直接运行客户端,无需登录或再次授权。实现的功能和一些改动如下:1、实现…...

    2024/4/20 21:06:28
  19. IOS开发中让点击屏幕任何地方可以隐藏键盘的方法

    在iOS开发中,对UITextField进行编辑的时候键盘会自己弹出来。在编辑完成的时候,需要将键盘隐藏掉。隐藏键盘有很多种实现方法,最常见的是把TextField的firstResponder resign掉。即[textField resignFirstResponder]。本文介绍的是如何在键盘显示的时候,点击屏幕除了键盘以…...

    2024/4/20 21:06:27
  20. Moodle-3.1.2 (Ubuntu 16.04 )

    平台: Ubuntu 类型: 虚拟机镜像 软件包: moodle-3.1.2commercialeducationmoodleopen-source服务优惠价: 按服务商许可协议 云服务器费用:查看费用立即部署产品详情 产品介绍Moodle https://moodle.org/ 是一个开源及自由的电子学习软件平台,亦称为课程管理系统、学习管理系…...

    2024/4/20 21:06:26

最新文章

  1. 工厂数字化三部曲/业务、数据和IT融合

    工厂数字化三部曲: 业务、数据和IT融合 在当今数字化转型的潮流中&#xff0c;企业面临着将业务、数据和IT融合的挑战和机遇。数字化转型不仅是技术上的升级&#xff0c;更是对企业运营模式和管理体系的全面优化和重构。通过业务“数字化”阶段的细致分析和整合&#xff0c;以及…...

    2024/4/27 10:00:54
  2. 梯度消失和梯度爆炸的一些处理方法

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

    2024/3/20 10:50:27
  3. 贪心算法|376.摆动序列

    力扣题目链接 class Solution { public:int wiggleMaxLength(vector<int>& nums) {if (nums.size() < 1) return nums.size();int curDiff 0;int preDiff 0;int result 1;for (int i 0; i < nums.size() - 1; i) {curDiff nums[i 1] - nums[i];if ((pre…...

    2024/4/23 6:36:45
  4. PostCss:详尽指南之安装和使用

    引言 在现代前端开发中&#xff0c;CSS预处理器如Sass、Less等已经成为提升开发效率、增强代码可维护性的重要工具。然而&#xff0c;随着Web技术的发展&#xff0c;CSS的功能也在不断扩展&#xff0c;一些新的CSS语法&#xff08;如变量、自定义属性、CSS Grid等&#xff09;以…...

    2024/4/26 1:51:33
  5. 【外汇早评】美通胀数据走低,美元调整

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

    2024/4/26 18:09:39
  6. 【原油贵金属周评】原油多头拥挤,价格调整

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

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

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

    2024/4/26 23:05:52
  8. 【原油贵金属早评】库存继续增加,油价收跌

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

    2024/4/27 4:00:35
  9. 【外汇早评】日本央行会议纪要不改日元强势

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

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

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

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

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

    2024/4/26 21:56:58
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

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

    2024/4/27 9:01:45
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

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

    2024/4/26 16:00:35
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

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

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

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

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

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

    2024/4/26 19:03:37
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

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

    2024/4/26 22:01:59
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

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

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

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

    2024/4/26 23:04:58
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

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

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

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

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

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

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

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

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

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

    2024/4/27 8:32:30
  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