w_complete': // 重置密码 $pre .= $default_pre .= 'user_resetpw_complete.htm'; break; case 'user_comment': // 我的首页评论 $pre .= $default_pre .= 'user_comment.htm'; break; case 'single_page': // 单页 $pre .= $default_pre .= 'single_page.htm'; break; case 'search': // 搜索 $pre .= $default_pre .= 'search.htm'; break; case 'operate_sticky': // 置顶 $pre .= $default_pre .= 'operate_sticky.htm'; break; case 'operate_close': // 关闭 $pre .= $default_pre .= 'operate_close.htm'; break; case 'operate_delete': // 删除 $pre .= $default_pre .= 'operate_delete.htm'; break; case 'operate_move': // 移动 $pre .= $default_pre .= 'operate_move.htm'; break; case '404': $pre .= $default_pre .= '404.htm'; break; case 'read_404': $pre .= $default_pre .= 'read_404.htm'; break; case 'list_404': $pre .= $default_pre .= 'list_404.htm'; break; default: // 首页 $pre .= $default_pre .= theme_mode_pre(); break; } if ($config['theme']) { $conffile = APP_PATH . 'view/template/' . $config['theme'] . '/conf.json'; $json = is_file($conffile) ? xn_json_decode(file_get_contents($conffile)) : array(); } // 加载绑定ID安装风格 !empty($json['installed']) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . ($id ? $id . '_' : '') . $pre; // 加载安装风格 (empty($path_file) || !is_file($path_file)) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . $pre; // 主风格下可安装多个子风格 if (!empty($config['theme_child']) && is_array($config['theme_child'])) { foreach ($config['theme_child'] as $theme) { if (empty($theme) || is_array($theme)) continue; // 加载绑定ID安装风格 $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . ($id ? $id . '_' : '') . $pre; // 加载安装风格 !is_file($path_file) and $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . $pre; } } // 风格不存在加载适配端 !is_file($path_file) and $path_file = APP_PATH . ($dir ? 'plugin/' . $dir . '/view/htm/' : 'view/htm/') . $default_pre; return $path_file; } // 依据模式返回适配文件 function theme_mode_pre($type = 0) { global $config; // 网站模式 $mode = $config['setting']['website_mode']; $pre = ''; // 首页文件前缀 if (1 == $mode) { // 门户模式 $pre .= 2 == $type ? 'portal_category.htm' : 'portal.htm'; } elseif (2 == $mode) { // 扁平模式 $pre .= 2 == $type ? 'flat_category.htm' : 'flat.htm'; } else { // 自定义模式 $pre .= 2 == $type ? 'index_category.htm' : 'index.htm'; } return $pre; } ?>rather用法小结(2)|江阴雨辰互联

rather用法小结(2)

rather用法小结(2)


2024年5月10日发(作者:win7壁纸软件)

rather用法小结(2)

2. rather than

(1)接形容词/名词,表示"与其……,不如……"

This pair of shoes is comfortable rather than pretty. 这双鞋与其说是漂亮,不如说

是舒服。

John is a doctor rather than a teacher.与其说约翰是个老师,不如说他是个医生。

(2)接名词或代词,可表示"而不是"的意思,相当于短语instead of或in place of。I,

rather than he, should be responsible for this failure. 该对这次失败负责的是我,而不

是他。

(3)接动词原形,表示"而不是"Rather than allow the vegetables to go bad, he sold

them at half price. 他将蔬菜半价卖掉,而不是让菜坏掉。

3. or rather,表示"更确切地说",起进一步解释说明的作用。

She worked as a secretary, or rather, a personal assistant. 她当了秘书,确切地讲,

是私人助理。

4. not ... but rather ... 表示"不是……,相反(而是)……"

Their problem is not a lack of funding, but rather a lack of planning. 他们的问

题不是缺乏资金,而是缺乏规划。

5. rather than 与prefer 连用,表示"宁愿做……而不愿做……"

(1)prefer to do ... rather than do ...,如:

They prefer to repeat their former experiences rather than take new risks.

他们宁可重复以前的经历也不愿意进行新的冒险。

(2)prefer +名词... rather than +名词,替代prefer ... to的用法,如:

I should prefer wine rather than beer. 我宁愿喝红酒而不愿喝啤酒。

牛刀小试

请选择最合适的选项完成句子。

1. —Shall we go skating or stay at home?

—Which _____ do?

A. do you rather

B. would you rather


发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1715349959a2604673.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信