月度归档:2019年12月

有了这些金句再也不怕写公司的英文介绍了

“集开发生产于一体”“共同发展,共创双赢”“引进国外先进生产设备和技术”……这些常用介绍的英文怎么说?

一、公司英文介绍用语

企业名称、建立年份、所属行业、产品系列、子母公司、地段/交通

常见中文写法

集开发生产于一体
专业生产各类XX产品
便利的水陆空交通/离XX机场(港口)很近
经营XX产品已有多年历史

相关英文写法

Integrates development and manufacturing in-house
Specializes in manufacturing all types of XX and related products
Convenient water, land and air transportation / close to XX Airport (Port)
We have many years of experience in supplying XX

例文
Zhejiang ABC Wood Industrial Co., Ltd. is a professional large-scale manufacturer of all types of wood flooring, integrating development and production together. Our parent company is China ABC Wood Industrial Group. Our main products include real wood flooring, wood composite flooring, laminated wood flooring and related products. Our company was established in 2000, and we have many years of history in the wood flooring industry. Located near Shanghai, we enjoy convenient water, land and air transportation.

员工状况、公司部门、生产经验、管理制度、机械设备、生产能力、销售额

常见中文写法

引进国外先进生产设备和技术
技术力量
拥有一大批优秀的技术人员和管理人员
年生产能力

相关英文写法

Introduced advanced technology, imported advanced equipment
Features high technical capabilities
Employs experienced technical and management personnel
Our annual production capability
We have many years of experience in supplying XX

例文
Our company employs more than 480 workers; through the efforts of our entire staff, we have become a b wood flooring manufacturer. ABC people have continuously tried to improve product quality, introducing German 4-sided planer technology and Taiwanese Shengyuan Shuangrui drill presses. Moreover, we use top-of-the-line German ultra wear-resistant paint, giving our company good technical capabilities. Our annual production capability is 10 million square meters of flooring.

产品优势、技术、出口比例、出口市场、知名客户、zheng书

常见中文写法

绿色(环保)
产品远销英国、美国、等西方国家
我公司通过ISO9001zheng书

相关英文写法

Environmentally-friendly
Our products are exported to England, America and other Western countries
We have attained ISO9001 certification

例文
Currently, ABC flooring is already exported to America, France, Australia, Italy and 20 other countries and regions. Our company has always focused on research, development and innovation, and has recently developed new ultra wear-resistant wood flooring. In 2006, we attained ISO14001 environmentally management certification.

广告语、欢迎词、宗旨口号、共同合作

常见中文写法

我公司向客户承诺:价格合理,生产周期短,服务周到
共同发展,共创双赢
期望与……合作
欢迎与我们联系

相关英文写法

Our company promises: reasonable prices, short production time and satisfactory after-sales service
Mutual development, mutual benefits
We hope to cooperate with…
Buyers are welcome to contact us

例文
ABC will initiate the second phase of our development strategy. Our company regards “reasonable prices, efficient production time and good after-sales service” as our tenet. We hope to cooperate with more customers for mutual development and benefits. We welcome potential buyers to contact us.

 
二、产品英文介绍用语

产品质量方面的英语术语

品质优良 excellent quality(high quality)
质量上乘 superior quality
质量稳定 stable quality
质量可靠 reliable quality
品种繁多 wide varieties
规格齐全 complete in specifications
保质保量 quality and quantity assured
性能可靠 dependable performance
操作简便 easy and simple to handle
使用方便 easy to use
经久耐用 durable in use
以质优而闻名 well-known for its fine quality
数量之首 the king of quantity
质量最佳 the queen of quality
信誉可靠 reliable reputation
闻名世界 world-wide renown
久负盛名 to have a long standing reputation
誉满中外 to enjoy high reputation at home and abroad
历史悠久 to have a long history
畅销全球 selling well all over the world
深受欢迎 to win warm praise from customers

产品工艺方面的英语术语

制作精巧 skillful manufacture
工艺精良 sophisticated technology
最新工艺 latest technology
加工精细 finely processed
设计精巧 deft design
造型新颖 modern design
造型优美 beautiful design
设计合理 professional design
造型富丽华贵 luxuriant in design
结构合理 rational construction
款式新颖 attractive design
款式齐全 various styles
式样优雅 elegant shape
花色入时 fashionable patterns
任君选择 for your selection

产品色泽方面的英语术语

五彩缤纷 colorful
色彩艳丽 beautiful in colors
色泽光润 color brilliancy
色泽素雅 delicate colors
瑰丽多彩 pretty and colorful
洁白透明 pure white and translucence
洁白纯正 pure whiteness

正则表达式的用法 VSCODE 集合

NO1.批量匹配替换路径改为一个路径

img width=”258″ height=”180″ alt=”(.*)” src=”\/uploads\/allimg\/(.*).jpg”

 

img width=”258″ height=”180″ alt=”(.*)” src=”/image/1-140PF916234L.jpg”

 

由于项目文件目录整改,需要将文件中所有的引用路径进行更改,比较快捷的方法便是使用 vscode 的正则匹配进行批量查找、替换。

原本文件路径为 ../../assets/图片名.png

现在想改为 ../../assets/img/图片名.png

查找的正则表达式:..\/assets\/(.*).png

替换的表达式:../assets/img/$1.png

 

831280-20190411182605715-250856227

DEDE判断文章是否有‘头条’、‘推荐’等属性,然后加上相应的小图标或标志

以下的代码的目的是给加了自定义属性的文章动态的添加一个相应的小图标或者其他的标志,如果只给文章循环列表加一个flag=’c’这类的 属性,在最终的文章列表里只能显示加了有相应自定义属性的文章,而其他文章或加了其他属性的文章则不会显示出来,这显然不是我想要的效果,我想要的效果是不管文章加没有加属性或者加的是什么属性,都要在文章列表里显示出来,并且将加有属性的文章用相应的图标或标准区分开来。效果图如下:

第一种样式:
[field:flag runphp='yes']
$a=explode(',','@me');
if($a[0]=='c'){
@me='<span class="badge pull-right" style="background-color:#00F03D">推荐</span>';
}else if($a[0]=='h'){
@me='<span class="badge pull-right" style="background-color:#8080FF">头条</span>';
}else if($a[0]=='a'){
@me='<span class="badge pull-right" style="background-color:#FF8040">热门</span>';
}else{
@me='';
}
[/field:flag]

第二种样式:
[field:flag runphp='yes']
if(stristr(@me,"c")) @me = "[^_^推荐]";
else if(stristr(@me,"a")) @me = "[^_^热门]";
else if(stristr(@me,"h")) @me = "[^_^头条]";
else @me = '';
[/field:flag]

织梦DeDeCMS v5.7添加自定义属性的实现方法(图文详解)

很多时候大家做网站都需要通过建立N多的二级栏目达到文章的分类,栏目少还好,如果一个栏目牵扯到2级或者3级的栏目,那么随着栏目的增多,日后添加文章都是一个非常大的困难,今天小编通过实战教给大家如果通过添加文章自定义属性来解决繁琐的文章分类问题。

自定义属性使用的好,可以完全解决一篇文章属于多个栏目,或者栏目下出现2-3级的子栏目等问题!

环境:目前DEDE更新到了5.7的版本,在此之前的老版本就不在讲述了,我们以DEDE5.7作为修改的基础。

首先,我们先看一下如何批量添加自定义的文章属性。

比较安全和快速的添加方式是通过SQL写入的方式:后台-系统-SQL命令行工具。

 

insert into `dede_arcatt`(sortid,att,attname) values(9,’d’,’标签’);
alter table `dede_archives` modify `flag` set (‘c’,’h’,’p’,’f’,’s’,’j’,’a’,’b’,’d’) default NULL;

 

1

这里我们需要说一下,因为DEDE本身就已经有了8个默认属性,所以我们从第9个栏目开始增加,往后以此类推,“d”是区分我们前台通过flag=’d’来调用时候的标签,只要不重复即可。

 

上面的是我们添加一个属性,如果我们有非常多的属性来代替二级三级栏目,如何操作呢?直接看实力

 

insert into `dede_arcatt`(sortid,att,attname) values(9,’d’,’标签1′);
insert into `dede_arcatt`(sortid,att,attname) values(9,’d1′,’标签2′);
insert into `dede_arcatt`(sortid,att,attname) values(9,’d2′,’标签3′);

……

alter table `dede_archives` modify `flag` set (‘c’,’h’,’p’,’f’,’s’,’j’,’a’,’b’,’d’,’d1′,’d2′) default NULL;

 

 

通过这个方法就能完全解决批量添加文章属性的问题!

2

我们可以看到,这个就是我们批量增加后的效果,但是大家有没有发现,添加的属性已经和以前的自带的属性混在了一起,小编添加起来会很麻烦,我们在这里给一个小技巧:

我们在默认的属性标签和需要添加的属性标签前面增加一个不用属性标签!然后我们通过数据库里把这个标签做一点手脚。

3 4 5

大家有没有看懂呢?其实就是利用这个小符号和换行,把自己添加的文章自定义属性给隔离开,让小编添加内容的时候可以一目了然。

关于利用这个自定义属性完美操作栏目分类的问题,我们会在接下来的内容中慢慢不愁。