init
This commit is contained in:
543
app/th/common.php
Executable file
543
app/th/common.php
Executable file
@@ -0,0 +1,543 @@
|
||||
<?php
|
||||
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Request;
|
||||
use \app\common\model\ProductBkImage;
|
||||
/**
|
||||
* 把两个日期格式的字符串转化成unix时间戳,然后相减获得时间戳差,最后判断剩余时间,生成类似(2小时30分钟20秒前发布)这样的时间格式。
|
||||
* $time_s int 起始日期的Unix时间
|
||||
* $time_n int 当前日期的Unix时间
|
||||
*/
|
||||
|
||||
define('COUNTRY_CODE', 'TH');
|
||||
function getHMStime($time_s, $time_n) {
|
||||
//$time_s = strtotime($time_s);
|
||||
//$time_n = strtotime($time_n);
|
||||
//$time_n = time();
|
||||
$strtime = '';
|
||||
$time = $time_n - $time_s;
|
||||
if ($time >= 86400) {
|
||||
return $strtime = date('Y-m-d H:i', $time_s);
|
||||
}
|
||||
if ($time >= 3600) {
|
||||
$strtime .= intval($time / 3600) . '小时';
|
||||
$time = $time % 3600;
|
||||
} else {
|
||||
$strtime .= '';
|
||||
}
|
||||
if ($time >= 60) {
|
||||
$strtime .= intval($time / 60) . '分钟';
|
||||
$time = $time % 60;
|
||||
} else {
|
||||
$strtime .= '';
|
||||
}
|
||||
if ($time > 0) {
|
||||
$strtime .= intval($time) . '秒前';
|
||||
} else {
|
||||
$strtime = '时间错误';
|
||||
}
|
||||
return $strtime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 计算剩余天时分。
|
||||
* $unixEndTime string 终止日期的Unix时间
|
||||
*/
|
||||
function getDHMtime($unixEndTime = 0) {
|
||||
if ($unixEndTime <= time()) { // 如果过了活动终止日期
|
||||
return '0天0时0分';
|
||||
}
|
||||
// 使用当前日期时间到活动截至日期时间的毫秒数来计算剩余天时分
|
||||
$time = $unixEndTime - time();
|
||||
$days = 0;
|
||||
if ($time >= 86400) { // 如果大于1天
|
||||
$days = (int) ($time / 86400);
|
||||
$time = $time % 86400; // 计算天后剩余的毫秒数
|
||||
}
|
||||
$xiaoshi = 0;
|
||||
if ($time >= 3600) { // 如果大于1小时
|
||||
$xiaoshi = (int) ($time / 3600);
|
||||
$time = $time % 3600; // 计算小时后剩余的毫秒数
|
||||
}
|
||||
$fen = (int) ($time / 60); // 剩下的毫秒数都算作分
|
||||
return $days . '天' . $xiaoshi . '时' . $fen . '分';
|
||||
}
|
||||
|
||||
function getDifferentProduct($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);//print_r($where);die;
|
||||
$arg_field = ['id', 'cid', 'name', 'shortname', 'sort', 'ishot', 'isnew', 'recommend', 'viewcount', 'tags', 'description', 'picture', 'picture_back', 'bk_img', 'bk_img_back','list_bk_img', 'createtime'];
|
||||
$bkinfo = ['id','product_id','image_url','image_bk_color','image_color','original_url'];
|
||||
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
// $arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$bkid = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);//print_r($bkid);die;
|
||||
$id = '';
|
||||
$result = '';
|
||||
foreach ($bkid as $v){
|
||||
$where= $id['product_id'] = $v['id'];//print_r($where);die;
|
||||
$arr = Loader::model('ProductBkImg')->getList($where, array_merge($order), $bkinfo, $limit);
|
||||
$result[]= $arr;
|
||||
}
|
||||
$result['info'] = $bkid;
|
||||
//print_r($result);die;
|
||||
break;
|
||||
case 'headline':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'isnew':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order ['id'] = 'desc';
|
||||
$arg_where['isnew'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
if (!empty($order)) {
|
||||
$arg_order = $order;
|
||||
}
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentArticle($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
//$arg_where['is_onsale'] = 1;
|
||||
$arg_field = ['id', 'cid', 'name', 'sort', 'headline', 'ishot', 'recommend', 'zancount', 'viewcount', 'description', 'picture', 'createtime'];
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'headline':
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentVideo($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
//$arg_where['is_onsale'] = 1;
|
||||
$arg_field = ['id', 'cid', 'name', 'sort', 'headline', 'ishot', 'recommend', 'viewcount', 'videopath', 'videourl', 'description', 'picture', 'createtime'];
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
$arg_where['headline'] = 1;
|
||||
if (Config ::get('news_headline')) {
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
} else {
|
||||
$arg_order['id'] = 'desc';
|
||||
}
|
||||
case 'headline':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentDownload($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
//$arg_where['is_onsale'] = 1;
|
||||
$arg_field = ['id', 'cid', 'name', 'sort', 'headline', 'ishot', 'recommend', 'app_model', 'support_os', 'format', 'viewcount', 'downloadcount', 'description', 'picture', 'tags', 'downloadpath', 'downloadpath64', 'createtime'];
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
$arg_where['headline'] = 1;
|
||||
if (Config ::get('news_headline')) {
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
} else {
|
||||
$arg_order['id'] = 'desc';
|
||||
}
|
||||
case 'headline':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getProductChildCate($pid, $limit = 12, $where = array(), $order = array()) {
|
||||
$argc_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$argc_field = ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'createtime'];
|
||||
$argc_order['sort'] = 'asc';
|
||||
$argc_order['id'] = 'desc';
|
||||
|
||||
$argc_where['pid'] = $pid;
|
||||
$result = Loader::model('ProductCategory')->getList($argc_where, array_merge($argc_order, $order), $argc_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getArticleChildCate($pid, $limit = 12, $where = array(), $order = array()) {
|
||||
$argc_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$argc_field = ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'createtime'];
|
||||
$argc_order['sort'] = 'asc';
|
||||
$argc_order['id'] = 'desc';
|
||||
$argc_where['pid'] = $pid;
|
||||
$result = Loader::model('ArticleCategory')->getList($argc_where, array_merge($argc_order, $order), $argc_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getCateProduct($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['p.stat' => 0, 'c.stat' => 0, 'p.country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['p.id', 'p.cid', 'p.name', 'p.shortname', 'p.sort', 'p.ishot', 'p.isnew', 'p.recommend', 'p.viewcount', 'p.tags', 'p.description', 'p.picture','p.list_bk_img', 'p.picture_back', 'p.createtime', 'p.createtime', 'c.name' => 'categoryname', 'c.id' => 'categoryid'];
|
||||
$arg_order['p.sort'] = 'asc';
|
||||
$arg_order['p.id'] = 'desc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ProductCategory')->getChildIDArray($cid);
|
||||
$arg_where['p.cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
$arg_where['p.cid'] = $cid;
|
||||
}
|
||||
$result = Loader::model('Product')->getCateProductList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return
|
||||
|
||||
$result;
|
||||
}
|
||||
|
||||
function getCateoneProduct($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['p.stat' => 0, 'c.stat' => 0, 'p.country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['p.bk_img_back_color','p.bk_img_color','p.picture_back_color','p.picture_color','p.id', 'p.cid', 'p.name', 'p.shortname', 'p.sort', 'p.ishot', 'p.isnew','p.brand_id', 'p.recommend', 'p.viewcount', 'p.tags','p.list_bk_img', 'p.description', 'p.picture', 'p.picture_back', 'p.createtime', 'p.createtime', 'c.name' => 'categoryname', 'c.id' => 'categoryid'];
|
||||
$arg_order['p.id'] = 'desc';
|
||||
$arg_order['p.sort'] = 'asc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ProductCategory')->getChildIDArray($cid);
|
||||
$arg_where['p.cid'] = ['in', $cidarray];
|
||||
// tiaoshi($arg_where);die;
|
||||
} else {
|
||||
$arg_where['p.cid'] = $cid;
|
||||
}
|
||||
|
||||
$result = Loader::model('Product')->getCateProductList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
// echo \think\Db::table('Product')->getLastSql();die;
|
||||
// 获取二级图片
|
||||
foreach ($result as $key => $value) {
|
||||
$res = model('ProductTwoImg')->field('image_url,image_bk_color,image_color,original_url,product_id,id,image_color')->where(['product_id' => $value['id']])->select();
|
||||
$result[$key]['product_two_img'] = $res;
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
$result;
|
||||
}
|
||||
|
||||
function getCateArticle($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['id', 'cid', 'name', 'sort', 'headline', 'ishot', 'recommend', 'viewcount', 'description', 'picture', 'createtime'];
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ArticleCategory')->getChildIDArray($cid);
|
||||
$arg_where['cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
$arg_where['cid'] = $cid;
|
||||
}
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getCateVideo($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['id', 'cid', 'name', 'product', 'sort', 'headline', 'ishot', 'recommend', 'tags', 'playcount', 'description', 'picture', 'videopath', 'createtime'];
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('VideoCategory')->getChildIDArray($cid);
|
||||
$arg_where['cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
|
||||
|
||||
$arg_where['cid'] = $cid;
|
||||
} $result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getBannerList($tid = 0, $limit = 12, $where = array(), $field = array('*'), $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_order = ['sort' => 'asc', 'id' => 'desc'];
|
||||
$arg_field = $field;
|
||||
if ($tid) {
|
||||
|
||||
|
||||
$arg_where['typeid'] = $tid;
|
||||
}
|
||||
$result = Loader::model('Banner')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getBanner($id = 0) {
|
||||
$result = Loader::model('Banner')->getRow($id);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getFlink($tid = 0, $limit = 12, $where = array(), $field = array('*'), $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0], $where);
|
||||
$arg_order = ['sort' => 'asc', 'id' => 'desc'];
|
||||
$arg_field = $field;
|
||||
if ($tid) {
|
||||
$arg_where['typeid'] = $tid;
|
||||
}
|
||||
$result = Loader::model('Flink')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getQuestion($limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0], $where);
|
||||
$arg_field = ['*'];
|
||||
$arg_order = ['sort' =>
|
||||
'asc', 'id' => 'desc'];
|
||||
$result = Loader::model('Question')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
// function getProduct($id = 0) {
|
||||
// $result = Loader::model('Product')->getRow(['id'=> $id], ['id', 'name']);
|
||||
// return $result;
|
||||
// }
|
||||
|
||||
function getProductCount($cid, $where = array(), $haschild = false) {
|
||||
$arg_where = array_merge(['stat' =>0, 'country_code' => COUNTRY_CODE], $where);
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ProductCategory')->getChildIDArray($cid);
|
||||
$arg_where['cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
$arg_where['cid'] = $cid;
|
||||
}
|
||||
$result = Loader::model('Product')->where($arg_where)->count();
|
||||
return $result;
|
||||
}
|
||||
|
||||
// function getArticleCategory($id = 0) {
|
||||
// $result = Loader::model('ArticleCategory')->getRow(['id' => $id], ['id', 'name']);
|
||||
// return $result;
|
||||
// }
|
||||
|
||||
function getSinglepageChild($pid, $limit = 12, $where = array(), $order = array()) {
|
||||
$argc_where = array_merge(['stat' => 0], $where);
|
||||
$argc_field = ['id', 'pid', 'name', 'description', 'sort', 'isshow', 'recommend', 'picture', 'content', 'createtime'];
|
||||
$argc_order['sort'] = 'asc';
|
||||
$argc_order['id'] = 'desc';
|
||||
$argc_where['pid'] = $pid;
|
||||
$result = Loader:: model('Singlepage')->getList($argc_where, array_merge($argc_order, $order), $argc_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getSinglepage($id = 0) {
|
||||
$result = Loader::model('Singlepag e')->getRow($id, ['id', 'pid', 'name', 'description', 'sort', 'isshow', 'recommend', 'picture', 'content', 'createtime']);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentPinglun($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'display' => 1], $where);
|
||||
$arg_field = ['id', 'pid', 'customer_id', 'cname', 'content_id', 'typeid', 'ishot', 'content', 'tx', 'createtime', 'ip', 'display'];
|
||||
switch ($type) {
|
||||
case 'ishot':
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Pinglun')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
if (!empty($order)) {
|
||||
$arg_order = $order;
|
||||
}
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Pinglun')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
function getBkImag($type, $limit = 12, $where = array(), $order = array()){
|
||||
/*$result = \app\common\model\Product::where("recommend",1)->field('id,cid')->with("ProductImg")->limit($limit)->select();*/
|
||||
//print_r($type);die;
|
||||
$where = ['recommend'=>1,'stat'=>0, 'country_code' => COUNTRY_CODE];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->with(["ProductImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->field('image_url,image_bk_color,image_color,original_url,product_id,id');
|
||||
}])
|
||||
// ->where('id', 130)
|
||||
->order('id desc')
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getSonCategoryProduct($parent_id)
|
||||
{
|
||||
if (empty($parent_id)) {
|
||||
return "无父ID";
|
||||
}
|
||||
$where = ['recommend'=>1,'stat'=>0];
|
||||
$result = \app\common\model\Product::where('cid', 'in', function ($query) use ($parent_id) {
|
||||
/** @var $query \think\db\Query */
|
||||
$query->table('cod_product_category')->where('pid', $parent_id)->field('id');
|
||||
})->with(["ProductImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->field('image_url,image_bk_color,image_color,original_url,product_id,id');
|
||||
}])->where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->select();
|
||||
if (!empty($result)) {
|
||||
$result = collection($result)->toArray();
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
function getCateColor($cid, $limit, $where = array(), $haschild = false, $order = array()) {
|
||||
$where = ['stat'=>0,'cid'=>$cid, 'country_code' => COUNTRY_CODE];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,brand_id')
|
||||
->with(["ProductTwoImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->where('stat',0)->field('image_url,image_bk_color,image_color,original_url,product_id,id,image_color');
|
||||
}])
|
||||
->limit($limit)
|
||||
->order($order)
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();
|
||||
return $result;
|
||||
}
|
||||
function getProductReated($id,$limit = 12, $where = array(), $haschild = false, $order = array()){
|
||||
$where = ['product_id'=>$id,'stat'=>0, 'country_code' => COUNTRY_CODE];//print_r($where);die;
|
||||
$result = Loader::model('ProductTwoImg')->where($where)->field('image_url')->select();
|
||||
$result = collection($result)->toArray();//var_dump($result);die;
|
||||
return $result;
|
||||
}
|
||||
/*没有上级分类的爆款查询*/
|
||||
function getCategoryProduct($parent_id)
|
||||
{//print_r($parent_id);die;
|
||||
if (empty($parent_id)) {
|
||||
return "无父ID";
|
||||
}
|
||||
$where = ['recommend'=>1,'stat'=>0,'cid'=>$parent_id];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->with(["ProductImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->field('image_url,image_bk_color,image_color,original_url,product_id,id');
|
||||
}])
|
||||
// ->limit('sort')
|
||||
->order('id desc')
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();
|
||||
return $result;
|
||||
}
|
||||
/*没有上级的产品查询*/
|
||||
function getProductColor($pid,$limit){
|
||||
if(empty($pid)){
|
||||
return "无父级ID";
|
||||
}
|
||||
$where = ['stat'=>0,'cid'=>$pid, 'country_code' => COUNTRY_CODE];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->with(["ProductTwoImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->where('stat',0)->field('image_url,image_bk_color,image_color,original_url,product_id,id,image_color');
|
||||
}])
|
||||
->limit($limit)
|
||||
->order('id desc')
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();//print_r($result);die;
|
||||
return $result;
|
||||
}
|
||||
30
app/th/config.php
Executable file
30
app/th/config.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
//管理员用户ID
|
||||
'user_administrator' => 0,
|
||||
//是否启用布局
|
||||
'template' => [
|
||||
'layout_on' => false,
|
||||
'layout_name' => 'public/layout',
|
||||
// 模板路径
|
||||
//'view_path' => __DIR__ . '/view/',
|
||||
// 模板后缀
|
||||
'view_suffix' => 'phtml',
|
||||
// 模板文件名分隔符
|
||||
//'view_depr' => DS,
|
||||
],
|
||||
'view_replace_str' => [
|
||||
'__PUBLIC__' => '/frontend',
|
||||
//'__TEMPLATE__' => '/public/static',
|
||||
// '__ORICOROOT__' => 'http://dev.com/th',
|
||||
'__ORICOROOT__' => 'http://www.orico.cc/th'
|
||||
|
||||
],
|
||||
//分页配置
|
||||
'paginate' => [
|
||||
'type' => '\pagination\FrontPagination',
|
||||
'var_page' => 'page',
|
||||
'list_rows' => 12,
|
||||
],
|
||||
];
|
||||
188
app/th/controller/Ad.php
Executable file
188
app/th/controller/Ad.php
Executable file
@@ -0,0 +1,188 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use app\common\controller\BaseController;
|
||||
|
||||
class Ad extends BaseController {
|
||||
private $country_code = 'TH';
|
||||
public function tags($tags = '', $num = 1) {
|
||||
if ($tags) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adth-' . md5($tags);
|
||||
$htmlbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
|
||||
if (empty($htmlbody)) {
|
||||
$list = Loader::model('ad')->getList(['stat' => 0, 'tags' => $tags, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'desc'], ['id', 'typeid', 'name', 'sort', 'tags', 'timeset', 'starttime', 'endtime', 'normbody', 'expbody'], $num);
|
||||
if (empty($list)) {
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, "<!--\r\ndocument.write(\"<!--403-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$htmlbody = '';
|
||||
$expire = 3600;
|
||||
foreach ($list as $row) {
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$exp = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$expire = $exp > 0 && $exp < $expire ? $exp : $expire;
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$htmlbody .= "<!--\r\ndocument.write(\"{$adbody}\");\r\n-->\r\n";
|
||||
//print_r($htmlbody);exit;
|
||||
}
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, $htmlbody, $expire);
|
||||
}
|
||||
echo $htmlbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function tagsli($tags = '', $num = 1) {
|
||||
if ($tags) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adth-' . md5($tags);
|
||||
$htmlbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
|
||||
if (empty($htmlbody)) {
|
||||
$list = Loader::model('ad')->getList(['stat' => ['eq', 0], 'tags' => $tags, 'typeid' => 20, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'desc'], ['id', 'typeid', 'name', 'sort', 'tags', 'timeset', 'starttime', 'endtime', 'normbody', 'expbody'], $num);
|
||||
|
||||
if (empty($list)) {
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, "<!--\r\ndocument.write(\"<!--408-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$htmlbody = '';
|
||||
$expire = 3600;
|
||||
foreach ($list as $k => $row) {
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$exp = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$expire = $exp > 0 && $exp < $expire ? $exp : $expire;
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$htmlbody .= "<!--\r\ndocument.write(\"<li class=\\\"li" . ($k + 2) . "\\\">{$adbody}</li>\");\r\n-->\r\n";
|
||||
//print_r($htmlbody);exit;
|
||||
}
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, $htmlbody, $expire);
|
||||
}
|
||||
echo $htmlbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function index($id = 0) {
|
||||
if ($id > 0) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adth-' . $id;
|
||||
$adbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
if (empty($adbody)) {
|
||||
$row = Loader::model('ad')->where(['stat' => ['eq', 0], 'id' => $id, 'country_code' => $this->country_code])->find();
|
||||
if (empty($row)) {
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, "<!--\r\ndocument.write(\"<!--405-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$expire = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$expire = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$expire = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$adbody = "<!--\r\ndocument.write(\"{$adbody}\");\r\n-->\r\n";
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, $adbody, $expire);
|
||||
}
|
||||
echo $adbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function cat($id = '', $num = 1) {
|
||||
if ($id) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adth-' . $id;
|
||||
$htmlbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
if (empty($htmlbody)) {
|
||||
$list = Loader::model('ad')->getList(['stat' => ['eq', 0], 'typeid' => $id, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'desc'], ['id', 'typeid', 'name', 'sort', 'tags', 'timeset', 'starttime', 'endtime', 'normbody', 'expbody'], $num);
|
||||
if (empty($list)) {
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, "<!--\r\ndocument.write(\"<!--406-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$htmlbody = '';
|
||||
$expire = 3600;
|
||||
foreach ($list as $row) {
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$exp = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$expire = $exp > 0 && $exp < $expire ? $exp : $expire;
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$htmlbody .= "<!--\r\ndocument.write(\"{$adbody}\");\r\n-->\r\n";
|
||||
}
|
||||
$this->cacheTag('adTagTh')->set($cacheTag, $htmlbody, $expire);
|
||||
}
|
||||
echo $htmlbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function previewjs($id) {
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
echo '<script src="' . url('th/ad/index', ['id' => $id]) . '?nocache=1" language="javascript"></script>';
|
||||
}
|
||||
exit();
|
||||
}
|
||||
|
||||
}
|
||||
149
app/th/controller/Article.php
Executable file
149
app/th/controller/Article.php
Executable file
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Article extends BaseController {
|
||||
|
||||
public function lists() {
|
||||
$arg_where = ['a.siteid' => $this->siteid, 'country_code' => $this->country_code];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.writer', 'a.source', 'a.viewcount', 'a.zancount', 'a.commentcount', 'a.description', 'a.picture', 'a.tags', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('article_th')->getCateArticleLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
'category' => ['id' => 0, 'name' => '新闻资讯'],
|
||||
];
|
||||
$value['seo_title'] = config('article_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('article_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('article_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
if ($id > 0) {
|
||||
$category = Loader::model('article_category')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_where = ['cid' => $id, 'a.siteid' => $this->siteid];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.writer', 'a.source', 'a.viewcount', 'a.zancount', 'a.commentcount', 'a.description', 'a.picture', 'a.tags', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('article')->getCateArticleLists($arg_where, $arg_order, $arg_field, 8);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
$article = Loader::model('article')->getRow($id);
|
||||
if (empty($article)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$addarticle = Loader::model('ArticleAddition')->getRow(['aid' => $article['id']]);
|
||||
$category = Loader::model('article_category')->getRow($article['cid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$template = $category['tempdetail'];
|
||||
//$prev_detail = Loader::model('Article')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
//$next_detail = Loader::model('Article')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $article,
|
||||
//'addarticle' => $addarticle,
|
||||
'category' => $category,
|
||||
//'prev_detail' => $prev_detail,
|
||||
//'next_detail' => $next_detail,
|
||||
];
|
||||
//$topid = Loader::model('ArticleCategory')->getTopParentID($article['cid']);
|
||||
//$value['topid'] = $topid;
|
||||
$arg_where = ['content_id' => $id, 'stat' => 0, 'display' => 1];
|
||||
$arg_order = ['id' => 'desc'];
|
||||
$arg_field = ['*'];
|
||||
$dataObject = Loader::model('pinglun')->getPageList($arg_where, $arg_order, $arg_field, 5);
|
||||
//header('content-type:text/html;charset=utf-8;');
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['total'] = $dataObject->total();
|
||||
$value['seo_title'] = $article['seo_title']? : $article['name'] . '-' . config('website_seo_title');
|
||||
$value['seo_keyword'] = $article['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $article['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
return $this->fetch($template);
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
public function zan($id = 0) {
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
$article = Loader::model('article')->getRow(['id' => $id], ['id', 'zancount']);
|
||||
if (empty($article)) {
|
||||
return $this->error('Error');
|
||||
}
|
||||
$article['zancount'] = $article['zancount'] + 1;
|
||||
$result = $article->save();
|
||||
if ($result) {
|
||||
return $this->success('Zan', null, $article['zancount']);
|
||||
} else {
|
||||
return $this->error('Zan Error');
|
||||
}
|
||||
}
|
||||
return $this->error('Error');
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('articleview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('article')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('articleview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historyarticle($id) {
|
||||
$article = Cookie::get('article', 'history'); //print_r($history);exit;
|
||||
if (isset($article) && !empty($article)) {
|
||||
$article_ids = explode(',', $article);
|
||||
if ($article_ids[0] != $id) {
|
||||
array_unshift($article_ids, $id);
|
||||
$article_ids = array_unique($article_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$article_ids = array_slice($article_ids, 0, $num);
|
||||
while (count($article_ids) > $num) {
|
||||
array_pop($article_ids);
|
||||
}
|
||||
Cookie::set('article', implode(',', $article_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('article', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
31
app/th/controller/Authcode.php
Executable file
31
app/th/controller/Authcode.php
Executable file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use app\common\controller\BaseController;
|
||||
|
||||
class Authcode extends BaseController {
|
||||
|
||||
public function index($id = "") {
|
||||
$verify = new \verify\Verify((array) Config::get('captcha'));
|
||||
return $verify->entry($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
public function check($code, $id = '') {
|
||||
return $this->verify_check($code, $id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
public function verify($id = '') {
|
||||
return $this->verify_build($id);
|
||||
}
|
||||
|
||||
}
|
||||
91
app/th/controller/BaseController.php
Executable file
91
app/th/controller/BaseController.php
Executable file
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
use app\common\controller\BaseController as Controller;
|
||||
|
||||
//<!--#include file="([0-9a-zA-Z/._-]+?)\.html" -->
|
||||
class BaseController extends Controller {
|
||||
|
||||
//当前用户
|
||||
protected $customer_id = 0;
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
// 初始化
|
||||
protected function _initialize() {
|
||||
parent::_initialize();
|
||||
$this->country_code = 'TH';
|
||||
|
||||
$this->customer_id = is_session_login('customer');
|
||||
$this->current_customer = Session::get('customer_auth');
|
||||
$this->view->assign('customer_id', $this->customer_id);
|
||||
$this->view->assign('current_customer', $this->current_customer);
|
||||
$this->view->assign('seo_title', (string) Config::get('website_seo_title_us'));
|
||||
$this->view->assign('seo_keyword', (string) Config::get('website_seo_keyword'));
|
||||
$this->view->assign('seo_description', (string) Config::get('website_seo_description'));
|
||||
//$this->categoryList = $this->cacheGet('productCategoryList');
|
||||
|
||||
if (empty($this->productCategory)) {
|
||||
$this->categoryList = Loader::model('product_category')->getList(['stat' => 0, 'siteid' => $this->siteid,'isshow'=>1, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'asc'], ['id', 'pid', 'haschild', 'name', 'shortname', 'sort', 'description', 'isshow', 'recommend', 'picture', 'icon', 'image', 'm_icon', 'unique_id']);
|
||||
$this->cacheTag('ProductCategoryTag')->set('productCategoryList', $this->categoryList);
|
||||
}
|
||||
|
||||
if ($this->cacheHas('country_list')) {
|
||||
$this->country_list = $this->cacheGet('country_list');
|
||||
} else {
|
||||
$this->country_list = model('country')->where(['stat' => 0])->order(['sort' => 'asc'])->select();
|
||||
$this->cacheSet('country_list', $this->country_list, 3600);
|
||||
}
|
||||
|
||||
$this->view->assign('country_list', $this->country_list);
|
||||
|
||||
$this->productCategory = $this->list_to_tree($this->categoryList);
|
||||
$this->view->assign('productCategory', $this->productCategory);
|
||||
$this->view->assign('allCategoryList', $this->categoryList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 节点遍历
|
||||
* @param $list
|
||||
* @param string $pk
|
||||
* @param string $pid
|
||||
* @param string $child
|
||||
* @param int $root
|
||||
* return array
|
||||
*/
|
||||
protected function list_to_tree($list, $pk = 'id', $pid = 'pid', $child = 'child', $root = 0) {
|
||||
//dump($root);die;
|
||||
//header('content-type:text/html;charset=utf-8;');
|
||||
// 创建Tree
|
||||
$tree = [];
|
||||
if (is_array($list)) {
|
||||
// 创建基于主键的数组引用
|
||||
$refer = [];
|
||||
foreach ($list as $key => $data) {
|
||||
$list[$key] = $data->toArray();
|
||||
$refer[$data[$pk]] = & $list[$key];
|
||||
}
|
||||
foreach ($list as $key => $data) {
|
||||
// 判断是否存在parent
|
||||
$parentId = $data[$pid];
|
||||
if ($root == $parentId) {
|
||||
$tree[] = & $list[$key];
|
||||
} else {
|
||||
if (isset($refer[$parentId])) {
|
||||
$parent = & $refer[$parentId];
|
||||
$parent[$child][] = & $list[$key];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $tree;
|
||||
}
|
||||
|
||||
}
|
||||
369
app/th/controller/Customer.php
Executable file
369
app/th/controller/Customer.php
Executable file
@@ -0,0 +1,369 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
|
||||
class Customer extends BaseController {
|
||||
|
||||
public function index() {
|
||||
if ($this->customer_id) {
|
||||
return $this->redirect(url('th/user/index'));
|
||||
}
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
* 前台用户登录
|
||||
* @param string $username 前台用户名
|
||||
* @param string $password 密码
|
||||
* @param string $verify 验证码
|
||||
*/
|
||||
public function login() {
|
||||
if ($this->customer_id) {
|
||||
return $this->redirect(url('th/user/index'));
|
||||
}
|
||||
$this->request->isPost() || $this->error(Lang::get('illegal request')); //判断是否ajax登录
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error('未知错误');
|
||||
}
|
||||
$this->verify_check($data['authcode'], 'yanzhengma') || $this->error('验证码 ' . Lang::get('error'), url('/login'));
|
||||
$validaterule = [
|
||||
//会员登陆字段验证
|
||||
'firstname|' . Lang::get('user name') => 'require|min:2',
|
||||
'password|' . Lang::get('user password') => 'require|min:6',
|
||||
];
|
||||
// 数据验证
|
||||
$valid_result = $this->validate($data, $validaterule);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
|
||||
$result = Loader::model('Customer')->login($data['firstname'], $data['password']);
|
||||
$result['status'] !== true && $this->error($result['msg'], url('th/login')); //登录失败
|
||||
if ($this->request->isAjax()) {
|
||||
$result['id'] ? $this->success('登录成功', url('th/user/index')) : $this->error(Lang::get('unknown error'), url('th/login'));
|
||||
}
|
||||
return $result['id'] ? $this->redirect(url('th/user/index')) : $this->error(Lang::get('unknown error'), url('th/login'));
|
||||
}
|
||||
|
||||
/**
|
||||
* 退出登录
|
||||
*/
|
||||
public function logout() {
|
||||
if (!$this->customer_id) {
|
||||
return $this->redirect(url('th/login'));
|
||||
}
|
||||
Session::delete('customer_auth', null);
|
||||
Session::delete('customer_auth_sign', null);
|
||||
return $this->redirect(url('th/login'));
|
||||
}
|
||||
|
||||
public function register() {
|
||||
if ($this->customer_id) {
|
||||
return $this->redirect(url('th/user/index'));
|
||||
}
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
$this->verify_check($data['authcode'], 'yanzhengma') || $this->error('验证码 ' . Lang::get('error'), url('/login'));
|
||||
|
||||
//验证规则
|
||||
$validaterule = [
|
||||
'firstname' => 'require|length:2,32|unique:customer,firstname',
|
||||
'email' => 'email|unique:customer,email',
|
||||
'telephone' => ['regex' => '^1[345789]\d{9}$', 'unique' => 'customer,telephone',],
|
||||
'password' => 'require|min:6|max:32',
|
||||
'repassword' => 'require|confirm:password',
|
||||
//'group_id' => 'require|between:0,2147483647',
|
||||
'item' => 'accepted',
|
||||
];
|
||||
//验证提示信息
|
||||
$validatemsg = [
|
||||
'firstname.require' => '用户名不能为空',
|
||||
'firstname.unique' => '用户名已经被使用',
|
||||
'firstname.length' => '用户名在2-32个字符之间',
|
||||
'email.email' => '邮箱格式错误',
|
||||
'email.unique' => '邮箱已经被使用',
|
||||
'telephone.regex' => '电话格式错误',
|
||||
'telephone.unique' => '电话已经被使用',
|
||||
'password.require' => '密码不能为空',
|
||||
'password.min' => '密码不少于6个字符',
|
||||
'password.max' => '密码不多于32个字符',
|
||||
'repassword.require' => '确认密码不能为空',
|
||||
'repassword.confirm' => '两次密码不相符',
|
||||
'group_id.require' => '用户组不能为空',
|
||||
'item' => '请确认阅读服务条款',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$code = $this->cacheGet('regtel' . $data['telephone']);
|
||||
if ($code != $data['code']) {
|
||||
return $this->error('短信验证码不正确,请输入正确验证码');
|
||||
}
|
||||
$addtime = time();
|
||||
$set = [
|
||||
'group_id' => 1,
|
||||
'email' => isset($data['email']) ? $data['email'] : '',
|
||||
'telephone' => isset($data['telephone']) ? $data['telephone'] : '',
|
||||
'firstname' => $data['firstname'],
|
||||
'lastname' => isset($data['lastname']) ? $data['lastname'] : '',
|
||||
'newsletter' => isset($data['newsletter']) ? $data['newsletter'] : 0,
|
||||
'salt' => $data['password'],
|
||||
'password' => md5($data['password']),
|
||||
'stat' => 0,
|
||||
'safe' => 1,
|
||||
'code' => '',
|
||||
'item' => isset($data['item']) ? $data['item'] : 0,
|
||||
'token' => isset($data['token']) ? $data['token'] : '',
|
||||
'wishlist' => isset($data['wishlist']) ? $data['wishlist'] : '',
|
||||
'ip' => isset($data['ip']) ? $data['ip'] : '',
|
||||
'fenxiang' => isset($data['fenxiang']) ? $data['fenxiang'] : 0,
|
||||
'guanzhu' => isset($data['guanzhu']) ? $data['guanzhu'] : 0,
|
||||
'hangye' => isset($data['hangye']) ? $data['hangye'] : '',
|
||||
'zhiye' => isset($data['zhiye']) ? $data['zhiye'] : '',
|
||||
'sex' => isset($data['sex']) ? $data['sex'] : '',
|
||||
'birthday' => isset($data['birthday']) ? $data['birthday'] : '',
|
||||
'qq' => isset($data['qq']) ? $data['qq'] : '',
|
||||
'addtime' => $addtime,
|
||||
'custom_field' => json_encode([]),
|
||||
];
|
||||
$model = Loader::model('Customer')->insertRow($set);
|
||||
if ($model && $customer_id = $model->getData('id')) {
|
||||
return $this->success('注册成功', url('/us/customer/information', ['key' => 'regsuccess']));
|
||||
}
|
||||
return $this->error(Lang::get('operation failed'));
|
||||
}
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function information($key) {
|
||||
$key = (string) $key;
|
||||
$this->engine->layout(false);
|
||||
$result = [
|
||||
'regsuccess' => ['msg' => '注册成功', 'url' => ''],
|
||||
'getpwdsuccess' => ['msg' => '找回密码完成', 'url' => ''],
|
||||
];
|
||||
if ($result[$key]) {
|
||||
$value = $result[$key];
|
||||
} else {
|
||||
$value = ['msg' => '信息提示', 'url' => ''];
|
||||
}
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function forgetpwd() {
|
||||
if ($this->customer_id) {
|
||||
return $this->redirect(url('us/user/index'));
|
||||
}
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
//验证规则
|
||||
$validaterule = [
|
||||
'email' => 'email',
|
||||
'password' => 'require|min:6|max:32',
|
||||
'repassword' => 'require|confirm:password',
|
||||
];
|
||||
//验证提示信息
|
||||
$validatemsg = [
|
||||
'email.email' => '邮箱格式错误',
|
||||
'password.require' => '密码不能为空',
|
||||
'password.min' => '密码不少于6个字符',
|
||||
'password.max' => '密码不多于32个字符',
|
||||
'repassword.require' => '确认密码不能为空',
|
||||
'repassword.confirm' => '两次密码不相符',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$row = Loader::model('Customer')->getRow(['email' => $data['email']]);
|
||||
if (empty($row)) {
|
||||
return $this->error('该邮箱尚未注册!');
|
||||
}
|
||||
$code = $this->cacheGet('regemail' . $data['email']);
|
||||
if ($code != $data['code']) {
|
||||
return $this->error('邮箱验证码不正确,请输入正确验证码');
|
||||
}
|
||||
// if ($row['password'] != md5($data['password'])) {
|
||||
// return $this->error('原密码不正确');
|
||||
// }
|
||||
$data['id'] = $row['id'];
|
||||
$model = Loader::model('Customer')->updatePassword($data);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success('找回密码完成', url('/us/customer/information', ['key' => 'getpwdsuccess']));
|
||||
}
|
||||
}
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function sendsms() {
|
||||
$data = $this->request->param();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
//验证规则
|
||||
$validaterule = [
|
||||
'telephone' => ['regex' => '^1[345789]\d{9}$', 'unique' => 'customer,telephone',],
|
||||
];
|
||||
//验证提示信息
|
||||
$validatemsg = [
|
||||
'telephone.regex' => '电话格式错误',
|
||||
'telephone.unique' => '电话已经被使用',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
//$mobile = $data['telephone'];
|
||||
//$code = mt_rand(10000, 99999);
|
||||
//$this->cacheSet('regtel' . $mobile, $code, 300);
|
||||
//return $this->success($code);
|
||||
//获取对象,如果上面没有引入命名空间,可以这样实例化:$sms = new \alisms\SendSms()
|
||||
$sms = new \alisms\SendSms();
|
||||
//设置关键的四个配置参数,其实配置参数应该写在公共或者模块下的config配置文件中,然后在获取使用,这里我就直接使用了。
|
||||
$sms->accessKeyId = (string) Config::get('sms_accesskeyid');
|
||||
$sms->accessKeySecret = (string) Config::get('sms_accesskeysecret');
|
||||
$sms->signName = (string) Config::get('sms_signname');
|
||||
$sms->templateCode = (string) Config::get('sms_templatecode');
|
||||
//$mobile为手机号
|
||||
$mobile = $data['telephone'];
|
||||
//模板参数,自定义了随机数,你可以在这里保存在缓存或者cookie等设置有效期以便逻辑发送后用户使用后的逻辑处理
|
||||
$code = mt_rand(10000, 99999);
|
||||
$this->cacheSet('regtel' . $mobile, $code, 300);
|
||||
$templateParam = array('code' => $code);
|
||||
$m = $sms->send($mobile, $templateParam);
|
||||
//类中有说明,默认返回的数组格式,如果需要json,在自行修改类,或者在这里将$m转换后在输出
|
||||
if ($m['Code'] == 'OK') {
|
||||
return $this->success($m['Message']);
|
||||
} else {
|
||||
return $this->error($m['Message']);
|
||||
}
|
||||
}
|
||||
|
||||
public function sendresetemail() {
|
||||
$data = $this->request->param();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
//验证规则
|
||||
$validaterule = ['email' => 'email',];
|
||||
//验证提示信息
|
||||
$validatemsg = ['email.email' => '邮箱格式错误',];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$row = Loader::model('Customer')->getRow(['email' => $data['email']]);
|
||||
if (empty($row)) {
|
||||
return $this->error('该邮箱尚未注册!');
|
||||
}
|
||||
//$email = $data['email'];
|
||||
//$code = mt_rand(10000, 99999);
|
||||
//$this->cacheSet('regemail' . $email, $code, 1800);
|
||||
//return $this->success($code);
|
||||
//$email为邮箱
|
||||
$email = $data['email'];
|
||||
//模板参数,自定义了随机数,你可以在这里保存在缓存或者cookie等设置有效期以便逻辑发送后用户使用后的逻辑处理
|
||||
$code = mt_rand(10000, 99999);
|
||||
$this->cacheSet('regemail' . $email, $code, 1800);
|
||||
//邮件标题
|
||||
$subject = $this->request->host() . '-找回密码';
|
||||
//邮件内容
|
||||
$body = "<h1>亲爱的" . $row['firstname'] . "</h1><h2>您在" . date('Y-m-d H:i') . "提交了找回密码请求.</h2><h2>本次验证码:" . $code . "</h2>有效期为30分钟,请及时做出处理.";
|
||||
|
||||
$res = $this->sendemail($data['email'], $row['firstname'], $subject, $body);
|
||||
if ($res['code'] == 'Success') {
|
||||
return $this->success("系统已向您的邮箱发送了一封邮件\n请登录到您的邮箱及时获取您的验证码!");
|
||||
} else {
|
||||
return $this->error($res['msg']);
|
||||
}
|
||||
}
|
||||
|
||||
public function sendemail($to, $to_name, $subject, $body, $from_email = '', $from_name = 'From') {
|
||||
$email_host = (string) Config::get('email_host');
|
||||
$email_tls = (string) Config::get('email_tls');
|
||||
$email_port = (string) Config::get('email_port');
|
||||
$email_user = (string) Config::get('email_user');
|
||||
$email_pass = (string) Config::get('email_pass');
|
||||
$email_code = (string) Config::get('email_code');
|
||||
$email_replyaddr = (string) Config::get('email_replyaddr');
|
||||
$website_email = (string) Config::get('website_email');
|
||||
// Passing `true` enables exceptions
|
||||
$mail = new \mail\PHPMailer\PHPMailer(false);
|
||||
try {
|
||||
//Tell PHPMailer to use SMTP
|
||||
$mail->isSMTP();
|
||||
//$mail->setLanguage('en');
|
||||
//Enable SMTP debugging
|
||||
// 0 = off (for production use)
|
||||
// 1 = client messages
|
||||
// 2 = client and server messages
|
||||
$mail->SMTPDebug = 0;
|
||||
$mail->Host = $email_host;
|
||||
// if your network does not support SMTP over IPv6
|
||||
//Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
|
||||
$mail->Port = $email_port;
|
||||
$mail->CharSet = strtolower($email_code);
|
||||
$mail->Encoding = 'base64';
|
||||
$mail->SMTPKeepAlive = true;
|
||||
//Set the encryption system to use - ssl (deprecated) or tls
|
||||
$mail->SMTPSecure = strtolower($email_tls);
|
||||
//Whether to use SMTP authentication
|
||||
$mail->SMTPAuth = true;
|
||||
//Username to use for SMTP authentication - use full email address for gmail
|
||||
$mail->Username = $email_user;
|
||||
//Password to use for SMTP authentication
|
||||
$mail->Password = $email_pass;
|
||||
//Set who the message is to be sent from
|
||||
if ($from_email) {
|
||||
$mail->setFrom($from_email, $from_name);
|
||||
} else {
|
||||
$mail->setFrom($email_replyaddr, 'Sender');
|
||||
}
|
||||
//Set an alternative reply-to address
|
||||
if ($website_email) {
|
||||
$mail->addReplyTo($website_email, 'Reply');
|
||||
}
|
||||
//Set who the message is to be sent to
|
||||
$mail->addAddress($to, $to_name);
|
||||
//$mail->addAddress($website_email, 'Recipient');
|
||||
//Set the subject line
|
||||
$mail->Subject = $subject;
|
||||
//Read an HTML message body from an external file, convert referenced images to embedded,
|
||||
//convert HTML into a basic plain-text alternative body
|
||||
$mail->msgHTML($body);
|
||||
//$mail->Body = 'This is the HTML message body <b>in bold!</b>';
|
||||
//Replace the plain text body with one created manually
|
||||
$mail->AltBody = 'This is a plain-text message body';
|
||||
$mail->WordWrap = 60;
|
||||
//send the message, check for errors
|
||||
if (!$mail->send()) {
|
||||
$result = ['code' => 'Failure', 'msg' => "Mailer Error: " . $mail->ErrorInfo];
|
||||
} else {
|
||||
$result = ['code' => 'Success', 'msg' => 'Message has been sent'];
|
||||
}
|
||||
} catch (\mail\PHPMailer\Exception $e) {
|
||||
$result = ['code' => 'Failure', 'msg' => 'Message could not be sent. Mailer Error: ' . $mail->ErrorInfo];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
}
|
||||
297
app/th/controller/Download.php
Executable file
297
app/th/controller/Download.php
Executable file
@@ -0,0 +1,297 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Download extends BaseController {
|
||||
|
||||
public function search($id = 0) {
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode');
|
||||
$arg_where = ['a.siteid' => $this->siteid, 'country_code'];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
if (!empty($skeyword)) {
|
||||
$skeyword = trim($skeyword);
|
||||
$arg_where['a.name'] = ['like', '%' . $skeyword . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
}
|
||||
if ($id > 0) {
|
||||
$category = Loader::model('download_category')->getRow($id);
|
||||
}
|
||||
$dataObject = Loader::model('download_th')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '下载列表');
|
||||
}
|
||||
$downloadCategory = Loader::model('download_category')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2], ['sort', 'id']);
|
||||
$value['downloadCategoryEn'] = $downloadCategory;
|
||||
$value['skeyword'] = $skeyword;
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = config('download_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('download_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('download_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch('catelists');
|
||||
}
|
||||
|
||||
public function get_filter() {
|
||||
$dl_name = model('download')->where(['stat' => 0, 'country_code' => $this->country_code])->field('name')->select();
|
||||
$data = [
|
||||
'dl_name' => $dl_name,
|
||||
];
|
||||
|
||||
return $this->json(200, 'ok', $data);
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
$arg_where = [
|
||||
'a.siteid' => $this->siteid,
|
||||
'a.country_code' => $this->country_code
|
||||
];
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
if ($skeyword != '') {
|
||||
$skeyword = trim($skeyword);
|
||||
$search['skeyword'] = $skeyword;
|
||||
$arg_where['a.name'] = ['like', '%' . $search['skeyword'] . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
$value['search'] = $search;
|
||||
}
|
||||
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('download')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
// echo \think\Db::table('download')->getLastSql();die;
|
||||
// tiaoshi($dataObject->items());die;
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(),
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '下载列表');
|
||||
}
|
||||
$downloadCategory = Loader::model('DownloadCategory')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2, 'country_code' => $this->country_code], ['sort', 'id']);
|
||||
// tiaoshi($downloadCategory);die;
|
||||
$value['downloadCategory'] = $downloadCategory;
|
||||
$value['skeyword'] = '';
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('download')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$adddownload = Loader::model('DownloadAddition')->getRowAddition(['aid' => $detail['id']]);
|
||||
$category = Loader::model('download_category')->getRow($detail['cid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$prev_detail = Loader::model('download')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
$next_detail = Loader::model('download')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $detail,
|
||||
//'adddownload' => $adddownload,
|
||||
'category' => $category,
|
||||
'prev_detail' => $prev_detail,
|
||||
'next_detail' => $next_detail,
|
||||
];
|
||||
$value['seo_title'] = $detail['seo_title']? : $detail['name'] . '-' . config('website_seo_title');
|
||||
$value['seo_keyword'] = $detail['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $detail['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
public function download($id = 0, $bit = 0) {
|
||||
$id = intval($id);
|
||||
$bit = intval($bit);
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('download')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$docDir = request()->server('DOCUMENT_ROOT');
|
||||
$rootDir = request()->root();
|
||||
$directory = $docDir . $rootDir;
|
||||
$downloadpath = explode(',', $detail['downloadpath']);
|
||||
//$downloadpath64 = explode(',', $detail['downloadpath64']);
|
||||
if (empty($downloadpath[$bit])) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$fileinfo = pathinfo($downloadpath[$bit]);
|
||||
$download = $directory . $downloadpath[$bit]; // 文件要下载的地址
|
||||
Loader::model('download_id')->updateRow(['downloadcount' => \think\Db::raw('`downloadcount`+1')], ['id' => $id]);
|
||||
header('Content-type: application/octet-stream');
|
||||
header('Content-Disposition: attachment; filename=' . $fileinfo['basename']);
|
||||
header('Content-Length: ' . filesize($download));
|
||||
readfile($download);
|
||||
exit();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
public function dlcount($id = 0) {
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
$download = Loader::model('download')->getRow(['id' => $id], ['id', 'downloadcount']);
|
||||
if (empty($download)) {
|
||||
return $this->error('Error');
|
||||
}
|
||||
$download['downloadcount'] = $download['downloadcount'] + 1;
|
||||
$result = $download->save();
|
||||
if ($result) {
|
||||
return $this->success('Download', null, $download['downloadcount']);
|
||||
} else {
|
||||
return $this->error('Download Error');
|
||||
}
|
||||
}
|
||||
return $this->error('Error');
|
||||
}
|
||||
|
||||
public function prodownload($id = 0) {
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('product_dl')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$docDir = request()->server('DOCUMENT_ROOT');
|
||||
$rootDir = request()->root();
|
||||
$directory = $docDir . $rootDir;
|
||||
$fileinfo = pathinfo($detail['dl_url']);
|
||||
$download = $directory . $detail['dl_url']; // 文件要下载的地址
|
||||
Loader::model('product_dl')->updateRow(['dl_count' => \think\Db::raw('`dl_count`+1')], ['id' => $id]);
|
||||
header('Content-type: application/octet-stream');
|
||||
header('Content-Disposition: attachment; filename=' . $fileinfo['basename']);
|
||||
header('Content-Length: ' . filesize($download));
|
||||
readfile($download);
|
||||
exit();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('downloadview', 'history');
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('download')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('downloadview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historydownload($id) {
|
||||
$download = Cookie::get('download', 'history');
|
||||
if (isset($download) && !empty($download)) {
|
||||
$download_ids = explode(',', $download);
|
||||
if ($download_ids[0] != $id) {
|
||||
array_unshift($download_ids, $id);
|
||||
$download_ids = array_unique($download_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$download_ids = array_slice($download_ids, 0, $num);
|
||||
while (count($download_ids) > $num) {
|
||||
array_pop($download_ids);
|
||||
}
|
||||
Cookie::set('download', implode(',', $download_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('download', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
public function catelists_down($id = 0) {
|
||||
//dump($id);die;
|
||||
$arg_where = ['a.siteid' => $this->siteid, 'country_code' => $this->country_code];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('download_category')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('download')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '下载列表');
|
||||
}
|
||||
$downloadCategory = Loader::model('download_category')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2], ['sort', 'id']);
|
||||
$value['downloadCategory'] = $downloadCategory;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['skeyword'] = '';
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
public function index($id = 0) {
|
||||
//dump($id);die;
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('download_category')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('download')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '下载列表');
|
||||
}
|
||||
$downloadCategory = Loader::model('download_category')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2], ['sort', 'id']);
|
||||
$value['downloadCategory'] = $downloadCategory;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['skeyword'] = '';
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
}
|
||||
108
app/th/controller/Group.php
Executable file
108
app/th/controller/Group.php
Executable file
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2018-09-21
|
||||
* Time: 17:36
|
||||
*/
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
|
||||
class Group extends BaseController
|
||||
{
|
||||
public function index(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function odm(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function special(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function job(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function policy(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function culture(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function fan(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function charger(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function Contact(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function fq(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function honor(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function industry(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function weare(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function wewill(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function vision(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function rdcenter(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function brand(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function search(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function transparent(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function distributor(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function headset(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function h_speed(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function ssd(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function thunderbolt_3(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function stripe(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function series_95(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
}
|
||||
79
app/th/controller/Index.php
Executable file
79
app/th/controller/Index.php
Executable file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\TransDb;
|
||||
class Index extends BaseController {
|
||||
|
||||
public function index() {
|
||||
return $this->fetch('/index');
|
||||
}
|
||||
public function info(){
|
||||
echo "\nstart: ".date("Y-m-d H:i:s")."\n";
|
||||
$TransDb = new TransDb();
|
||||
$TransDb->selectAllStruct("ProductCategory");
|
||||
//$getDb = $TransDb->getkv();
|
||||
echo "\nend :".date("Y-m-d H:i:s")."\n";
|
||||
|
||||
dump($TransDb);
|
||||
// phpinfo();
|
||||
}
|
||||
public function feedback() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error('未知错误');
|
||||
}
|
||||
$this->verify_check($data['authcode'], 'authcode') || $this->error('验证码不正确');
|
||||
$validaterule = [
|
||||
'name' => 'require',
|
||||
'subject' => 'require',
|
||||
'contact' => 'require',
|
||||
'content' => 'require',
|
||||
];
|
||||
$validatemsg = [
|
||||
'name.require' => '名称不能为空',
|
||||
'subject.require' => '主题不能为空',
|
||||
'contact.require' => '联系方式不能为空',
|
||||
'content.require' => '内容不能为空',
|
||||
];
|
||||
if (empty($data['way'])) {
|
||||
return $this->error('请选择正确的联系方式');
|
||||
} else {
|
||||
if ($data['way'] == 'E-mail') {
|
||||
$validaterule['contact'] = 'email';
|
||||
$validatemsg['contact.email'] = '联系方式格式不正确';
|
||||
}
|
||||
if ($data['way'] == 'tel') {
|
||||
$validaterule['contact'] = ['regex' => '^1[345789]\d{9}$|^([0-9]{3,4}-?)?[0-9]{7,8}$'];
|
||||
$validatemsg['contact.regex'] = '联系方式格式不正确';
|
||||
}
|
||||
}
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$set = [
|
||||
'feedback_type' => isset($data['feedback_type']) ? $data['feedback_type'] : '',
|
||||
'name' => isset($data['name']) ? $data['name'] : 'Name',
|
||||
'subject' => isset($data['subject']) ? $data['subject'] : '',
|
||||
'content' => isset($data['content']) ? $data['content'] : '',
|
||||
'way' => isset($data['way']) ? $data['way'] : '',
|
||||
'contact' => isset($data['contact']) ? $data['contact'] : '',
|
||||
'addtime' => date('Y-m-d H:i:s'),
|
||||
];
|
||||
$model = Loader::model('Msgform')->insertRow($set);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success('成功!成功!等待管理员查看', url('/'));
|
||||
} else {
|
||||
return $this->error('操作失败');
|
||||
}
|
||||
}
|
||||
return $this->result(['code' => false, 'msg' => '未知错误'], false, '未知错误');
|
||||
}
|
||||
|
||||
}
|
||||
96
app/th/controller/Pinglun.php
Executable file
96
app/th/controller/Pinglun.php
Executable file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
|
||||
namespace app\id\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Pinglun extends BaseController {
|
||||
|
||||
public function lists($type = '', $cid = 0) {
|
||||
$arg_where = ['stat' => 0, 'display' => 1];
|
||||
if ($type) {
|
||||
$arg_where['typeid'] = $type;
|
||||
}
|
||||
if ($cid) {
|
||||
$arg_where['content_id'] = $cid;
|
||||
}
|
||||
$arg_order = ['id' => 'desc'];
|
||||
$arg_field = ['*'];
|
||||
$dataObject = Loader::model('pinglun_th')->getPageList($arg_where, $arg_order, $arg_field, 12);
|
||||
//header('content-type:text/html;charset=utf-8;');
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['page'] = $dataObject->render();
|
||||
$value['total'] = $dataObject->total();
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, 'pinglun', true);
|
||||
}
|
||||
$value['cid'] = $cid;
|
||||
$value['type'] = ucfirst($type);
|
||||
$value['seo_title'] = config('article_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('article_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('article_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch('pinglun');
|
||||
}
|
||||
|
||||
public function add() {
|
||||
if (!$this->customer_id) {
|
||||
return $this->result(['code' => false, 'msg' => '请登录后再进行评论'], false, '请登录后再进行评论');
|
||||
}
|
||||
if ($this->request->isPost()) {
|
||||
$row = Loader::model('pinglun_th')->getRow(['customer_id' => $this->customer_id, 'stat' => 0], null, ['createtime' => 'desc']);
|
||||
if ($row && $row['id']) {
|
||||
$createtime = strtotime($row['createtime']);
|
||||
if (time() - $createtime < 60) {
|
||||
return $this->result(['code' => false, 'msg' => '您已评论过了请不要重复评论'], false, '您已评论过了请不要重复评论');
|
||||
}
|
||||
}
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error('未知错误');
|
||||
}
|
||||
$validaterule = [
|
||||
'pid' => 'require',
|
||||
'cid' => 'require',
|
||||
'typeid' => 'require',
|
||||
'content' => 'require',
|
||||
];
|
||||
$validatemsg = [
|
||||
'pid.require' => 'p不能为空',
|
||||
'cid.require' => 'c内容为空',
|
||||
'typeid.require' => 'type不能为空',
|
||||
'content.require' => '内容不能为空',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$addtime = date('Y-m-d H:i:s');
|
||||
$txarr = [1, 2, 3, 4, 5];
|
||||
shuffle($txarr);
|
||||
$set = [
|
||||
'customer_id' => $this->customer_id,
|
||||
'cname' => session('customer_auth.firstname'),
|
||||
'typeid' => isset($data['typeid']) ? $data['typeid'] : 'Article',
|
||||
'pid' => isset($data['pid']) ? $data['pid'] : 0,
|
||||
'content_id' => isset($data['cid']) ? $data['cid'] : 0,
|
||||
'content' => $data['content'],
|
||||
'tx' => $txarr[0],
|
||||
'createtime' => $addtime,
|
||||
'lasttime' => $addtime,
|
||||
];
|
||||
$model = Loader::model('pinglun_th')->insertRow($set);
|
||||
if ($model && $model->getData('id')) {
|
||||
isset($data['cid']) ? Loader::model('article_id')->where(['id' => $data['cid']])->setInc('commentcount') : '';
|
||||
return $this->success('成功!成功!等待管理员的审核后,方可显示', url('/'));
|
||||
} else {
|
||||
return $this->error('操作失败');
|
||||
}
|
||||
}
|
||||
return $this->result(['code' => false, 'msg' => '未知错误'], false, '未知错误');
|
||||
}
|
||||
|
||||
}
|
||||
221
app/th/controller/Product.php
Executable file
221
app/th/controller/Product.php
Executable file
@@ -0,0 +1,221 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Product extends BaseController {
|
||||
|
||||
public function get_filter() {
|
||||
if ($this->cacheHas('product_filter_th'))
|
||||
{
|
||||
$product_filter_th = $this->cacheGet('product_filter_th');
|
||||
}
|
||||
else
|
||||
{
|
||||
$product_filter_th = model('product')->where(['stat' => 0, 'country_code' => $this->country_code])->field('name, brand_id')->select();
|
||||
$this->cacheSet('product_filter_th', $product_filter_th, 86400);
|
||||
}
|
||||
|
||||
$data = [
|
||||
'product_name' => $product_filter_th,
|
||||
];
|
||||
|
||||
return $this->json(200, 'ok', $data);
|
||||
}
|
||||
|
||||
public function lists($id = 0) {
|
||||
$category = Loader::model('product_category')->getRow(['stat' => 0, 'pid' => 0], null, ['id' => 'asc']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$value = [
|
||||
'category' => $category,
|
||||
];
|
||||
$value['seo_title'] = config('product_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('product_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('product_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch('catelists');
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('product_category')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function subcatelists($id = 0) {
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('product_category')->getRow($id);//dump($category);die;
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$subproductCategory = $this->list_to_tree($this->categoryList, 'id', 'pid', 'child', $id);
|
||||
$value = ['subproductCategory' => $subproductCategory];//dump($subproductCategory);die;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
|
||||
$result = model('ProductCategory')->where(['pid' => $category['id']])->find();
|
||||
$last_cate = empty($result) ? 1 : 0;
|
||||
$value['last_cate'] = $last_cate;
|
||||
|
||||
$value['pid'] = $id;
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function ajaxcatelists($id = 0) {
|
||||
$arg_where = ['p.stat' => 0, 'c.stat' => 0, 'p.siteid' => $this->siteid];
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
if (0) {
|
||||
$ids = Loader::model('product_category')->getChildIDArray(4);
|
||||
$arg_where['cid'] = ['in', $ids];
|
||||
} else {
|
||||
$arg_where['cid'] = $id;
|
||||
}
|
||||
$category = Loader::model('product_category')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$arg_field = ['p.id', 'p.cid', 'p.name', 'p.shortname', 'p.sort', 'p.ishot', 'p.isnew', 'p.recommend', 'p.viewcount', 'p.tags', 'p.description', 'p.picture', 'p.picture_back', 'p.createtime', 'p.createtime', 'c.name' => 'categoryname', 'c.id' => 'categoryid'];
|
||||
$arg_order['p.sort'] = 'asc';
|
||||
$arg_order['p.id'] = 'desc';
|
||||
$dataObject = Loader::model('product')->getCateProductLists($arg_where, $arg_order, $arg_field, 8);
|
||||
if ($dataObject->isEmpty()) {
|
||||
$value = ['list' => null];
|
||||
} else {
|
||||
$this->assign(['list' => $dataObject->items(), 'category' => $category,]);
|
||||
$value = ['list' => $this->fetch()];
|
||||
}
|
||||
return $this->result($value, true, '分类列表');
|
||||
}
|
||||
|
||||
public function detail($id = 0, $color = '') {
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('Product')->where(['stat' => 0, 'is_show' => 0, 'country_code' => $this->country_code, 'id' => $id])->find();
|
||||
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$category = Loader::model('product_category')->getRow($detail['cid']);
|
||||
$cid = Loader::model('product_category')->getRow($category['pid']);
|
||||
$pid = Loader::model('product_category')->getRow($cid['pid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$template = $category['tempdetail'];
|
||||
//$prev_detail = Loader::model('Product')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
//$next_detail = Loader::model('Product')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $detail,
|
||||
'category' => $category,
|
||||
'pid'=>$pid,
|
||||
'cid'=>$cid
|
||||
//'prev_detail' => $prev_detail,
|
||||
//'next_detail' => $next_detail,
|
||||
];
|
||||
$value['product_images'] = Loader::model('product_image')->getList(array('product_id' => $detail['id']), ['image_sort' => 'asc', 'id' => 'asc'], ['id', 'product_id', 'image_url', 'image_sort', 'image_desc', 'image_color']);
|
||||
$value['product_dls'] = Loader::model('product_dl')->getList(array('product_id' => $detail['id']), ['dl_sort' => 'asc', 'id' => 'desc'], ['id', 'product_id', 'dl_url', 'dl_sort', 'dl_name', 'dl_type']);
|
||||
// $value['product_questions'] = Loader::model('question')->getList(array('product' => $detail['id']), ['sort' => 'asc', 'id' => 'asc'], ['id', 'name', 'product', 'sort', 'headline', 'recommend', 'description', 'createtime']);
|
||||
$value['product_relateds'] = Loader::model('product')->getRelatedProductList(array('pr.product_id' => $detail['id']), ['pr.related_sort' => 'asc', 'pr.id' => 'asc',], ['p.id', 'p.name', 'p.shortname', 'p.picture', 'p.sort', 'p.ishot', 'p.list_bk_img','p.isnew', 'p.recommend', 'p.description','p.brand_id', 'p.createtime', 'pr.id' => 'related_id', 'pr.related_product_id', 'pr.related_sort', 'pr.related_desc']);
|
||||
$value['seo_title'] = $detail['seo_title']? : $detail['name'] . '-' . config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $detail['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $detail['seo_description']? : config('website_seo_description');
|
||||
$value['color'] = $color;
|
||||
//评论数据获取
|
||||
$where = [
|
||||
'product_id' => $detail['id']
|
||||
];
|
||||
|
||||
$count = db('shopselle')->where($where)->count();
|
||||
$list = db('shopselle')->where($where)->paginate(10,$count);
|
||||
foreach ($list as $k => $v){
|
||||
$v['pics'] = json_decode($v['pics']);
|
||||
$list[$k] = $v;
|
||||
}
|
||||
$page = $list->render();
|
||||
$this->assign('page',$page);
|
||||
$this->assign('list',$list);
|
||||
$this->assign('count',$count);
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
return $this->fetch($template);
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('productview', 'history');
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('product')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('productview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historyproduct($id) {
|
||||
$product = Cookie::get('product', 'history'); //print_r($history);exit;
|
||||
if (isset($product) && !empty($product)) {
|
||||
$product_ids = explode(',', $product);
|
||||
if ($product_ids[0] != $id) {
|
||||
array_unshift($product_ids, $id);
|
||||
$product_ids = array_unique($product_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$product_ids = array_slice($product_ids, 0, $num);
|
||||
while (count($product_ids) > $num) {
|
||||
array_pop($product_ids);
|
||||
}
|
||||
Cookie::set('product', implode(',', $product_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('product', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
56
app/th/controller/Search.php
Executable file
56
app/th/controller/Search.php
Executable file
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Db;
|
||||
|
||||
class Search extends BaseController {
|
||||
|
||||
public function index() {
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
|
||||
$search = [];
|
||||
$name_word = '';
|
||||
$brand_word = '';
|
||||
if ($skeyword != '') {
|
||||
$skeyword = trim($skeyword);
|
||||
$search['skeyword'] = $skeyword;
|
||||
|
||||
$pos = strpos($skeyword, '(');
|
||||
if ($pos === false) {
|
||||
$name_word = $brand_word = $skeyword;
|
||||
} else {
|
||||
$name_word = substr($skeyword, 0, $pos);
|
||||
$brand_word = substr($skeyword, $pos+1, -1);
|
||||
}
|
||||
|
||||
$arg_where = [
|
||||
'a.name|a.brand_id|a.keyword|b.sku' => ['like', '%' . $name_word . '%']
|
||||
];
|
||||
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]);
|
||||
}
|
||||
$arg_where['a.stat'] = 0;
|
||||
// $arg_where['b.stat'] = 0;
|
||||
$arg_where['a.country_code'] = $this->country_code;
|
||||
$arg_where['a.is_show'] = 0;
|
||||
|
||||
$field = ['a.id', 'a.name', 'a.description', 'a.list_bk_img' => 'picture', 'a.createtime','a.brand_id', 'b.sku', "'productdetail'" => 'link'];
|
||||
$dataObject = model('product')->alias('a')->join('product_sku b', 'a.brand_id=b.brand_id', 'LEFT')->field($field)->where($arg_where)->group('a.id')->paginate(12);
|
||||
|
||||
// echo \think\Db::table('product')->getlastSql();die;
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(),
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
$value['search'] = $search;
|
||||
$value['name_word'] = $name_word;
|
||||
$value['brand_word'] = $brand_word;
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
30
app/th/controller/Singlepage.php
Executable file
30
app/th/controller/Singlepage.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
|
||||
class Singlepage extends BaseController {
|
||||
|
||||
public function detail($id = 0, $view = '') {
|
||||
if ($id > 0) {
|
||||
$singlepage = Loader::model('Singlepage')->getRow($id);
|
||||
if (empty($singlepage)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$value['singlepage'] = $singlepage;
|
||||
$value['seo_title'] = $singlepage['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $singlepage['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $singlepage['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
if ($view) {
|
||||
return $this->fetch($view);
|
||||
} else {
|
||||
return $this->fetch();
|
||||
}
|
||||
}
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
|
||||
}
|
||||
142
app/th/controller/User.php
Executable file
142
app/th/controller/User.php
Executable file
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
|
||||
class User extends BaseController {
|
||||
|
||||
// 初始化
|
||||
protected function _initialize() {
|
||||
parent::_initialize();
|
||||
if ($this->customer_id <= 0) {
|
||||
abort(redirect(url('/login')));
|
||||
}
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$row = Loader::model('Customer')->getRow(['id' => $this->customer_id]);
|
||||
if (empty($row)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$value['hangye'] = (array) Config::get('website_hangye');
|
||||
$value['zhiye'] = (array) Config::get('website_zhiye');
|
||||
$value['customer'] = $row;
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function update() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
// //验证规则
|
||||
// $validaterule = ['birthday' => 'require|date',];
|
||||
// //验证提示信息
|
||||
// $validatemsg = ['birthday.date' => '生日不是日期格式',];
|
||||
// $valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
// if (true !== $valid_result) {
|
||||
// // 验证失败 输出错误信息
|
||||
// return $this->error($valid_result);
|
||||
// }
|
||||
$data['id'] = $this->customer_id;
|
||||
$model = Loader::model('Customer')->updateRow($data);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success(Lang::get('operation successed'));
|
||||
} else {
|
||||
return $this->error(Lang::get('operation failed'));
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
public function resetpwd() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
//验证规则
|
||||
$validaterule = [
|
||||
'password' => 'require|min:6|max:32',
|
||||
'repassword' => 'require|confirm:password',
|
||||
];
|
||||
//验证提示信息
|
||||
$validatemsg = [
|
||||
'password.require' => '密码不能为空',
|
||||
'password.min' => '密码不少于6个字符',
|
||||
'password.max' => '密码不多于32个字符',
|
||||
'repassword.require' => '确认密码不能为空',
|
||||
'repassword.confirm' => '两次密码不相符',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$row = Loader::model('Customer')->getRow(['id' => $this->customer_id]);
|
||||
if (empty($row)) {
|
||||
return $this->error('数据有误,请检查后再操作');
|
||||
}
|
||||
$data['id'] = $this->customer_id;
|
||||
$model = Loader::model('Customer')->updatePassword($data);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success('修改密码成功');
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
public function resetemail() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
//验证规则
|
||||
$validaterule = ['email' => 'email|unique:customer,email',];
|
||||
//验证提示信息
|
||||
$validatemsg = [
|
||||
'email.email' => '邮箱格式错误',
|
||||
'email.unique' => '邮箱已经被使用',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$row = Loader::model('Customer')->getRow(['id' => $this->customer_id]);
|
||||
if (empty($row)) {
|
||||
return $this->error('数据有误,请检查后再操作');
|
||||
}
|
||||
$model = Loader::model('Customer')->update(['email' => $data['email'], 'id' => $this->customer_id]);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success('修改邮箱成功');
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
public function resettx() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
$txarr = range(0, 5);
|
||||
shuffle($txarr);
|
||||
$data['picture'] = '/uploads/user/ns' . $txarr[0] . '.jpg';
|
||||
$data['id'] = $this->customer_id;
|
||||
$model = Loader::model('Customer')->updateRow($data);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success(Lang::get('operation successed'), null, ['picture' => $data['picture']]);
|
||||
} else {
|
||||
return $this->error(Lang::get('operation failed'));
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
}
|
||||
127
app/th/controller/Video.php
Executable file
127
app/th/controller/Video.php
Executable file
@@ -0,0 +1,127 @@
|
||||
<?php
|
||||
|
||||
namespace app\th\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Video extends BaseController {
|
||||
|
||||
public function lists() {
|
||||
$videoCategory = Loader::model('video_category')->getList(['siteid' => $this->siteid, 'isshow' => 1, 'stat' => 0, 'country_code' => $this->country_code], ['sort', 'id'], ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'image1', 'image2', 'classtype', 'url']);
|
||||
$value = [
|
||||
'videoCategory' => $videoCategory,
|
||||
];
|
||||
$value['seo_title'] = config('video_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('video_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('video_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
$category = Loader::model('video_category')->getRow($id);
|
||||
if ($category['haschild']) {
|
||||
$ids = Loader::model('video_category')->getChildIDArray($id);
|
||||
$arg_where['cid'] = ['in', $ids];
|
||||
} else {
|
||||
$arg_where['cid'] = $id;
|
||||
}
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
unset($category['siteid']);
|
||||
$value['category'] = $category;
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.viewcount', 'a.videopath', 'a.videourl', 'a.description', 'a.picture', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('video')->getCateVideoLists($arg_where, $arg_order, $arg_field, 10);
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['page'] = $dataObject->render();
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '视频列表');
|
||||
}
|
||||
$videoCategory = Loader::model('video_category')->getList(['siteid' => $this->siteid, 'isshow' => 1, 'stat' => 0, 'country_code' => $this->country_code], ['sort', 'id'], ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'image1', 'image2', 'classtype', 'url']);
|
||||
$value['videoCategory'] = $videoCategory;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('video')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$addvideo = Loader::model('VideoAddition')->getRowAddition(['aid' => $detail['id']]);
|
||||
$category = Loader::model('video_category')->getRow($detail['cid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$prev_detail = Loader::model('Video')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
//$next_detail = Loader::model('Video')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $detail,
|
||||
//'addvideo' => $addvideo,
|
||||
'category' => $category,
|
||||
//'prev_detail' => $prev_detail,
|
||||
//'next_detail' => $next_detail,
|
||||
];
|
||||
$value['seo_title'] = $detail['seo_title']? : $detail['name'] . '-' . config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $detail['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $detail['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('videoview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('video')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('videoview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historyvideo($id) {
|
||||
$video = Cookie::get('video', 'history'); //print_r($history);exit;
|
||||
if (isset($video) && !empty($video)) {
|
||||
$video_ids = explode(',', $video);
|
||||
if ($video_ids[0] != $id) {
|
||||
array_unshift($video_ids, $id);
|
||||
$video_ids = array_unique($video_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$video_ids = array_slice($video_ids, 0, $num);
|
||||
while (count($video_ids) > $num) {
|
||||
array_pop($video_ids);
|
||||
}
|
||||
Cookie::set('video', implode(',', $video_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('video', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
15
app/th/tags.php
Executable file
15
app/th/tags.php
Executable file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 行为扩展
|
||||
*/
|
||||
return [
|
||||
|
||||
'module_init' => [
|
||||
'app\\common\\behavior\\SystemConfig',
|
||||
],
|
||||
'action_begin' => [
|
||||
],
|
||||
'user_behavior' => [
|
||||
]
|
||||
];
|
||||
154
app/th/view/article/catelists.phtml
Executable file
154
app/th/view/article/catelists.phtml
Executable file
@@ -0,0 +1,154 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="__ORICOROOT__<?php echo url_rewrite('article', ['id' => $category['id']]); ?>"><img src="<?php echo getImage($category['picture'],951, 459, 6); ?>"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 新闻列表 s -->
|
||||
<div class="new">
|
||||
<div class="swt-Container">
|
||||
<div class="subject-title">News</p>
|
||||
</div>
|
||||
|
||||
<ul class="newfl">
|
||||
<?php
|
||||
//$articles = getDifferentArticle('ishot', 3, ['cid' => 1]);
|
||||
if (0):foreach ($articles as $detail):
|
||||
?>
|
||||
<li>
|
||||
<div class="xwimg"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></a></div>
|
||||
<div class="xwtit"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="xname"><?php echo $detail['writer']; ?> published <?php echo getHMStime($detail['createtime'], time()); ?>/key words: <?php echo $detail['tags']; ?></div>
|
||||
<div class="xwcon"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
|
||||
<div class="detail"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><i></i>Detailed reading</a></div>
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment
|
||||
(<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php if ($list): foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div style="width:25%; float: left;"> <div class="xwimg"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></a></div></div>
|
||||
<div style="width:72%; float: right;">
|
||||
<div class="xwtit"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
|
||||
<div class="xname"><?php echo $detail['writer']; ?> <?php echo getHMStime($detail['createtime'], time()); ?></div>
|
||||
<!-- <div class="detail">对于注重便携HiFi听音发烧友来说,相信提到“飞傲”这个品牌,我想都不会感到陌生,飞傲音频在圈子里一直有着不错口碑,性能方面拥有绝对的优势。近日,飞傲家族中又迎...</div>-->
|
||||
|
||||
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment (<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<script>
|
||||
$(function() {
|
||||
$(".newfl .addzan").click(function(event) {
|
||||
event.preventDefault();
|
||||
var love = $(this);
|
||||
var id = love.data("id"); //对应id
|
||||
if (!love.data("zan")) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "__ORICOROOT__<?php echo url('/article/zan'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
if (data.code) {
|
||||
love.data("zan", true);
|
||||
love.html('<i class="f2"></i>Like(' + data.data + ')');
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
alert('You have liked it!');
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
$pingluns = getDifferentPinglun('ishot', 8);
|
||||
if ($pingluns):
|
||||
?>
|
||||
<div class="newrh">
|
||||
<div class="plun">Wonderful Reviews</div>
|
||||
<ul class="pllist">
|
||||
<?php foreach ($pingluns as $pinglun): ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url('/pinglun/lists', ['type' => strtolower($pinglun['typeid']), 'cid' => $pinglun['content_id']]); ?>">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns<?php echo $pinglun['tx']; ?>.jpg"></div>
|
||||
<div class="peo1"><?php echo $pinglun['cname']; ?></div>
|
||||
<div class="peo2"><?php echo $pinglun['createtime']; ?></div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1"><?php echo msubstr($pinglun['content'], 0, 200); ?></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
204
app/th/view/article/detail.phtml
Executable file
204
app/th/view/article/detail.phtml
Executable file
@@ -0,0 +1,204 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="xq">
|
||||
<div class="swt-Container">
|
||||
<div class="xqtitle banner-other">
|
||||
<p class="xqtext"><?php echo $detail['name']; ?></p>
|
||||
<p class="xqname"><?php echo $detail['writer']; ?> Published <?php echo getHMStime($detail['createtime'], time()); ?><!--/ Key Words: <?php echo $detail['tags']; ?>--></p>
|
||||
</div>
|
||||
<!-- <div class="fxs">
|
||||
<span>Share: </span>
|
||||
<a href="#"><img src="__PUBLIC__/web/images/f1.png"></a>
|
||||
<a href="#"><img src="__PUBLIC__/web/images/f2.png"></a>
|
||||
<a href="#"><img src="__PUBLIC__/web/images/f3.png"></a>
|
||||
<a href="#"><img src="__PUBLIC__/web/images/f4.png"></a>
|
||||
<a href="#"><img src="__PUBLIC__/web/images/f5.png"></a>
|
||||
</div>-->
|
||||
<div class="xqcon">
|
||||
<?php echo $detail['description']; ?>
|
||||
</div>
|
||||
<!-- <div class="xqimg">
|
||||
<img src="__PUBLIC__/web/uploadfiles/image/xq1.jpg">
|
||||
</div>-->
|
||||
|
||||
<div class="xqcon img-responsive">
|
||||
<?php echo $detail['content']; ?>
|
||||
</div>
|
||||
<?php
|
||||
$articles = getDifferentArticle('default', 3, ['cid' => $detail['cid'], 'id' => ['neq', $detail['id']]]);
|
||||
if ($articles):
|
||||
?>
|
||||
<!-- 猜您喜欢 -->
|
||||
<div class="love">
|
||||
<div class="love1">
|
||||
<p>Recommendations</p>
|
||||
<p><img src="__PUBLIC__/web/images/1line.png"></p>
|
||||
</div>
|
||||
<ul class="love2">
|
||||
<?php foreach ($articles as $article): ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $article['id'])); ?>">
|
||||
<div class="lvimg"><img src="<?php echo getImage($article['picture']); ?>"></div>
|
||||
<p class="lvtit"><?php echo msubstr($article['name'], 0, 1000); ?></p>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!-- 发表评论 -->
|
||||
<div class="fb">
|
||||
<div class="love1 img-responsive">
|
||||
<p>Comments from <span id="ccount"><?php echo $total; ?></span> people</p>
|
||||
<p><img src="__PUBLIC__/web/images/1line.png"></p>
|
||||
</div>
|
||||
<?php if (!empty($list)): ?>
|
||||
<ul class="fbul" id="listul">
|
||||
<?php foreach ($list as $k => $comment): ?>
|
||||
<li>
|
||||
<div class="fbimg">
|
||||
<div><img src="__PUBLIC__/web/uploadfiles/image/ns<?php echo $comment['tx']; ?>.jpg"></div>
|
||||
<div class="peo3"><?php echo $comment['cname']; ?></div>
|
||||
<div class="peo4"><?php echo $comment['createtime']; ?></div>
|
||||
</div>
|
||||
<div class="fbcon" id="c<?php echo $comment['id']; ?>">
|
||||
<?php
|
||||
$content = '';
|
||||
if ($comment['pid']) {
|
||||
$child = db('Pinglun')->where(['stat' => 0, 'id' => $comment['pid']])->find();
|
||||
if ($child) {
|
||||
$content = '<div><div class="ccontent"><label class="clabel"><span class="ctimestamp">' . $child['createtime'] . '</span> <span class="cname">' . $child['cname'] . '</span>发表</label><br />' . $content . $child['content'] . '</div></div>';
|
||||
}
|
||||
echo '<div class="cli">' . $content . '</div>', $comment['content'];
|
||||
} else {
|
||||
echo $comment['content'];
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="fbnum">
|
||||
<p class="no1">NO.<?php echo $k + 1; ?></p>
|
||||
<p class="no2"><a href="javascript:void(0);" onclick="answer('<?php echo $comment['id']; ?>')">Reply</a></p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<a href="__ORICOROOT__<?php echo url('/pinglun/lists', ['type' => strtolower(empty($type) ? 'Article' : $type), 'cid' => $detail['id']]); ?>" class="quanbu"> View all comments (<?php echo $total; ?>)</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- 回复 -->
|
||||
<div class="huifu">
|
||||
<div class="love1 img-responsive">
|
||||
<p>Reply </p>
|
||||
<p><img src="__PUBLIC__/web/images/1line.png"></p>
|
||||
</div>
|
||||
<div class="login">(Please Please comment after <a href="__ORICOROOT__<?php echo url('/login'); ?>" target="_blank">logging in</a>, <a href="__ORICOROOT__<?php echo url('/register'); ?>" target="_blank">register right away </a>if you don’t have accounts.<!--,<a href="#">QQ</a>account is also OK.</div>-->)
|
||||
<textarea id="ccont"></textarea>
|
||||
<a href="javascript:void(0);" class="replay" onclick="submit_pl(0);">Post</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
<script>
|
||||
var type = 'Article';
|
||||
var cid = '<?php echo $detail['id']; ?>';
|
||||
//点击回复创建回复块
|
||||
function answer(id) {
|
||||
if ($('#c' + id).find('.answer_block' + id).html()) {
|
||||
$('.answer_block' + id).remove()
|
||||
} else {
|
||||
var cname = '.answer_block' + id;
|
||||
var fhHtml = '<div class="answer_block' + id + '"> \n\
|
||||
<textarea class="hf_input" placeholder="Input reply content"></textarea> \
|
||||
<div class="csunbmit"><button class="submitBtn" onclick=submit_pl("' + cname + '")>Confirm Reply</button></div>\n\
|
||||
</div>';
|
||||
$('#c' + id).append(fhHtml);
|
||||
$(cname).find('.hf_input').css('width', '99%')
|
||||
$(cname).find('.hf_input').css('height', '90px')
|
||||
$(cname).find('.hf_input').css('resize', 'none')
|
||||
$(cname).find('.hf_input').css('background', '#f6f9fb')
|
||||
$(cname).find('.hf_input').css('border', '1px solid #ccc')
|
||||
$(cname).children('.hf_input').focus().val("Reply: ");
|
||||
}
|
||||
}
|
||||
function submit_pl(cname) {
|
||||
var pid;
|
||||
var content;
|
||||
var data = {};
|
||||
if (cname == 0) {
|
||||
pid = 0;
|
||||
content = $('#ccont').val()
|
||||
if (!content.replace(/^ +| +$/g, '')) {
|
||||
return false;
|
||||
}
|
||||
$('#ccont').val('');
|
||||
}
|
||||
else {
|
||||
pid = cname.split('block')[1];
|
||||
content = $(cname).children('.hf_input').val();
|
||||
if (!content.replace('Reply: ', '').replace(/^ +| +$/g, '')) {
|
||||
return false;
|
||||
}
|
||||
$(cname).children('.hf_input').val('');
|
||||
$(cname).remove();
|
||||
}
|
||||
data.pid = pid;
|
||||
data.content = content;
|
||||
data.typeid = type;
|
||||
data.cid = cid;
|
||||
var options = {
|
||||
url: "__ORICOROOT__<?php echo url('/pinglun/add'); ?>",
|
||||
type: "post",
|
||||
dataType: "json",
|
||||
data: data,
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
alert(data.msg);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
error: function(xhr, ajaxOptions, thrownError) {
|
||||
//alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
|
||||
}
|
||||
};
|
||||
$.ajax(options);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.csunbmit{height: 35px;margin-top: 10px;margin-bottom: 5px;}
|
||||
.submitBtn{width: 75px;height: 30px;line-height: 26px;background-color: #339b53;text-align: center;display: block;
|
||||
color: #FFFFFF;font-size: 12px;border-radius: 6px;float: left;}
|
||||
.cli{border-bottom: 1px dashed #ccc;text-align: left;font-size: 12px;/*margin-left: -40px;margin-top:10px;*/ }
|
||||
.ctimestamp{color: red;}
|
||||
.ccontent{width: 98%;padding: 10px; background: #f6f9fb;border:1px solid #ccc;margin-bottom: 10px}
|
||||
/*回复*/
|
||||
</style>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
149
app/th/view/article/lists.phtml
Executable file
149
app/th/view/article/lists.phtml
Executable file
@@ -0,0 +1,149 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black"class="">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban banner-other">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="#"><img src="__PUBLIC__/web/uploadfiles/image/ban2.jpg"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
|
||||
<!-- 新闻列表 s -->
|
||||
<div class="new">
|
||||
<div class="w1440">
|
||||
<div class="vtext">
|
||||
<p class="tl1">News</p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
<?php if ($list): ?>
|
||||
<ul class="newfl">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div class="xwtit"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="xname"><?php echo $detail['writer']; ?> published <?php echo getHMStime($detail['createtime'], time()); ?>/key words:<?php echo $detail['tags']; ?></div>
|
||||
<div class="xwcon"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
<div class="xwimg"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></div>
|
||||
<div class="detail"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><i></i>Detailed reading</a></div>
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="#"><i class="f2"></i>Favorite</a>
|
||||
<a href="#"><i class="f3"></i>Comment (15)</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<div class="newrh">
|
||||
<div class="plun">Wonderful Reviews</div>
|
||||
<ul class="pllist">
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns1.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns2.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns3.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters.
|
||||
</div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns4.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns5.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
186
app/th/view/customer/forgetpwd.phtml
Executable file
186
app/th/view/customer/forgetpwd.phtml
Executable file
@@ -0,0 +1,186 @@
|
||||
.<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="zhuce1">
|
||||
<div class="w1200">
|
||||
<form action="" method="post" id="forget-form">
|
||||
<div class="zctit">
|
||||
<a href="__ORICOROOT__<?php echo url('/forgetpwd'); ?>" class="zca1">Find password</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="zca2">Has no account/Sign in </a>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<ul class="w1000 zclist zclist1 zhlist">
|
||||
<li>
|
||||
<span class="zctext1 zhpass">E-mail:</span>
|
||||
<input type="text" name="email" value="" id="email">
|
||||
<a href="javascript:;" class="zhyzm" id="nbtn">Send Captcha</a>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1 zhpass">Enter Captcha:</span>
|
||||
<input type="text" name="code" value="" id="code">
|
||||
<i class="zhdot"></i>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1 zhpass">New Password:</span>
|
||||
<input type="password" name="password" value="" id="password">
|
||||
<i class="zhdot"></i>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1 zhpass">Confirm New Password:</span>
|
||||
<input type="password" name="repassword" value="" id="repassword">
|
||||
<i class="zhdot"></i>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tjcon zhcon">
|
||||
<a href="javascript:void(0);" class="tjbtn zhbtn" id="submit-btn">Done</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
var InterValObj; //timer变量,控制时间
|
||||
var curCount; //当前剩余秒数
|
||||
$(function() {
|
||||
$('#forget-form').bind('submit', function(event) {
|
||||
var emailObj = document.getElementById('email');
|
||||
if (isNull(emailObj.value) || !validEmail(emailObj.value)) {
|
||||
alert('Please enter a valid E-mail address');
|
||||
emailObj.focus();
|
||||
return false;
|
||||
}
|
||||
var codeObj = document.getElementById('code');
|
||||
if (isNull(codeObj.value) || codeObj.value.length != 5) {
|
||||
alert('The captcha is required');
|
||||
codeObj.focus();
|
||||
return false;
|
||||
}
|
||||
var passwordObj = document.getElementById('password');
|
||||
if (isNull(passwordObj.value) || passwordObj.value.length < 6) {
|
||||
alert('Please enter user password at least 6 characters');
|
||||
passwordObj.focus();
|
||||
return false;
|
||||
}
|
||||
var repasswordObj = document.getElementById('repassword');
|
||||
if (isNull(repasswordObj.value) || repasswordObj.value.length < 6) {
|
||||
alert('Please enter confirmed password at least 6 characters');
|
||||
repasswordObj.focus();
|
||||
return false;
|
||||
}
|
||||
if (repasswordObj.value !== passwordObj.value) {
|
||||
repasswordObj.focus();
|
||||
alert('User password should be consistent with the confirmed password');
|
||||
return false;
|
||||
}
|
||||
var options = {
|
||||
type: "post",
|
||||
cache: false,
|
||||
dataType: "json",
|
||||
data: $(this).serialize(),
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
//alert(data.msg);
|
||||
location.href = data.url;
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
error: function(xhr, ajaxOptions, thrownError) {
|
||||
//alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
|
||||
}
|
||||
};
|
||||
$.ajax(options);
|
||||
return false;
|
||||
});
|
||||
$("a#submit-btn").click(function(event) {
|
||||
event.preventDefault();
|
||||
$('#forget-form').submit();
|
||||
});
|
||||
$("a#nbtn").click(function(event) {
|
||||
event.preventDefault();
|
||||
var emailObj = document.getElementById('email');
|
||||
if (isNull(emailObj.value) && !validEmail(emailObj.value)) {
|
||||
alert('Please enter a valid E-mail address');
|
||||
emailObj.focus();
|
||||
return false;
|
||||
}
|
||||
if (InterValObj) {
|
||||
return false;
|
||||
}
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '__ORICOROOT__<?php echo url('/customer/sendresetemail'); ?>',
|
||||
data: {email: emailObj.value},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
//设置button效果,开始计时
|
||||
curCount = 60;
|
||||
$("a#nbtn").css("background-color", "LightSkyBlue");
|
||||
$("a#nbtn").attr("disabled", "true");
|
||||
$("a#nbtn").html("Get captcha" + curCount + "S");
|
||||
InterValObj = window.setInterval(SetRemainTime, 1000); //启动计时器,1秒执行一次
|
||||
alert(data.msg);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$("a#nbtn").removeAttr("disabled"); //启用按钮
|
||||
$("a#nbtn").css("background-color", "");
|
||||
$("a#nbtn").html("Send Captcha");
|
||||
} else {
|
||||
curCount--;
|
||||
$("a#nbtn").html("Get captcha" + curCount + "S");
|
||||
}
|
||||
}
|
||||
function isNull(data) {
|
||||
return (data == "" || data == undefined || data == null) ? true : false;
|
||||
}
|
||||
function trim(str) {
|
||||
return str.replace(/(^\s*)|(\s*$)/g, '');
|
||||
}
|
||||
function isTelephone(value) {
|
||||
var isMobile = /^1[345789]\d{9}$/;
|
||||
return isMobile.test(value);
|
||||
}
|
||||
function validEmail(email) {
|
||||
//对电子邮件的验证
|
||||
var reg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
|
||||
return reg.test(email);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
108
app/th/view/customer/index.phtml
Executable file
108
app/th/view/customer/index.phtml
Executable file
@@ -0,0 +1,108 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="zhuce1">
|
||||
<div class="w1200">
|
||||
<form action="__ORICOROOT__<?php echo url('/customer/login'); ?>" method="post" id="login-form">
|
||||
<div class="zctit">
|
||||
<a href="__ORICOROOT__<?php echo url('/login'); ?>" class="zca1">Login</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="zca2">No Account/Quick Register</a>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<ul class="w1000 zclist">
|
||||
<li>
|
||||
<span class="zctext1 zctext1s">Username:</span>
|
||||
<input type="text" name="firstname" value="" id="firstname">
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="shorzc">Quick Register</a>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1 zctext1s">Password :</span>
|
||||
<input type="password" name="password" value="" id="password">
|
||||
<a href="__ORICOROOT__<?php echo url('/forgetpwd'); ?>" class="shorzc">Retrieve Password</a>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1 zctext1s">Verification Code:</span>
|
||||
<input type="text" name="authcode" value="" class="yzm" id="authcode">
|
||||
<span class="zctext2">Enter the characters in the image below</span>
|
||||
<p class="yznum yznums">
|
||||
<a href="javascript:void(0);" class="yanzhengma"><img id="yanzhengma" src="<?php echo url('index/authcode/verify', ['id' => 'yanzhengma'], 'png|jpg|gif'); ?>"></a>
|
||||
<a href="javascript:void(0);" class="other yanzhengma">Change</a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="tjdl">
|
||||
<input type="checkbox" name="autologin" value="0"><label>Auto Login</label>
|
||||
<a href="#" class="tjbtn" id="submit-btn">Login</a>
|
||||
</div>
|
||||
</form>
|
||||
<!--
|
||||
<div class="short">
|
||||
<span>快捷登录:</span>
|
||||
<a href="#"><img src="__PUBLIC__/web/images/wx1.png"></a>
|
||||
<a href="#"><img src="__PUBLIC__/web/images/QQ.png"></a>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("a.yanzhengma").click(function(event) {
|
||||
event.preventDefault();
|
||||
//$img = $("#authcode");
|
||||
$("#yanzhengma").attr("src", "<?php echo url('__ORICOROOT__/authcode/verify', ['id' => 'yanzhengma'], 'png|jpg|gif'); ?>" + "?" + Math.random());
|
||||
});
|
||||
$('#login-form').bind('submit', function() {
|
||||
var options = {
|
||||
url: "__ORICOROOT__<?php echo url('/customer/login'); ?>",
|
||||
type: "post",
|
||||
cache: false,
|
||||
dataType: "json",
|
||||
data: $(this).serialize(),
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
location.href = data.url;
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
complete: function() {
|
||||
//HideLoading();
|
||||
$("a.yanzhengma").click();
|
||||
}
|
||||
};
|
||||
$.ajax(options);
|
||||
return false;
|
||||
});
|
||||
$("a#submit-btn").click(function(event) {
|
||||
event.preventDefault();
|
||||
$('#login-form').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
43
app/th/view/customer/information.phtml
Executable file
43
app/th/view/customer/information.phtml
Executable file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="zhuce1">
|
||||
<div class="w1200">
|
||||
<ul class="w1000 zclist zclist1">
|
||||
<li>
|
||||
<p class="ts3"><?php echo $msg; ?>!</p>
|
||||
<p class="ts4">如果您不能正常登录,请联系在线客服QQ:XXXX 工作时间:09:00--18:00</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
203
app/th/view/customer/register.phtml
Executable file
203
app/th/view/customer/register.phtml
Executable file
@@ -0,0 +1,203 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="zhuce1">
|
||||
<div class="w1200">
|
||||
<form action="" method="post" id="register-form">
|
||||
<div class="zctit">
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="zca1">Quick Register</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/login'); ?>" class="zca2">Already have an account, login now</a>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<ul class="w1000 zclist zclist1">
|
||||
<li>
|
||||
<span class="zctext1"><i></i>Username:</span>
|
||||
<input id="firstname" type="text" name="firstname" value="">
|
||||
<span class="zctext2 zctext2s">Username consists of 3-15 characters</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1"><i></i>Password:</span>
|
||||
<input id="password" type="password" name="password" value="">
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1"><i></i>Confirm Password:</span>
|
||||
<input id="repassword" type="password" name="repassword" value="">
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1"><i></i>Email:</span>
|
||||
<input id="email" type="text" name="email" value="">
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1"><i></i>Verification Code:</span>
|
||||
<input type="text" name="authcode" value="" class="yzm">
|
||||
<p class="tishi">Enter the characters in the image below</p>
|
||||
<p class="yznum yznums">
|
||||
<a href="javascript:void(0);" class="yanzhengma"><img id="yanzhengma" src="<?php echo url('index/authcode/verify', ['id' => 'yanzhengma']); ?>"></a>
|
||||
<a href="javascript:void(0);" class="other yanzhengma">Change</a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tjcon">
|
||||
<a href="javascript:void(0);" class="tjbtn" id="submit-btn">Submit</a>
|
||||
<input type="checkbox" name="item" value="1" checked="checked">
|
||||
<label><a style="color:#002855;" href="<?php echo url_rewrite('singlepage', ['id' => 4]); ?>" target="_blank">Agree the website service terms</a></label>
|
||||
</div>
|
||||
</form>
|
||||
<!--
|
||||
<div class="short">
|
||||
<span>快捷登录:</span>
|
||||
<a href="javascript:void(0);"><img src="__PUBLIC__/web/images/wx1.png"></a>
|
||||
<a href="javascript:void(0);"><img src="__PUBLIC__/web/images/QQ.png"></a>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
<script type="text/javascript">
|
||||
var InterValObj; //timer变量,控制时间
|
||||
var curCount; //当前剩余秒数
|
||||
$(function() {
|
||||
$("a.yanzhengma").click(function(event) {
|
||||
event.preventDefault();
|
||||
//$img = $("#authcode");
|
||||
$("#yanzhengma").attr("src", "<?php echo url('index/authcode/verify', ['id' => 'yanzhengma']); ?>" + "?" + Math.random());
|
||||
});
|
||||
$('#register-form').bind('submit', function(event) {
|
||||
var nameObj = document.getElementById('firstname');
|
||||
if (isNull(nameObj.value) || nameObj.value.length < 3) {
|
||||
alert('Name is required and should be at least 3 characters');
|
||||
nameObj.focus();
|
||||
return false;
|
||||
}
|
||||
var passwordObj = document.getElementById('password');
|
||||
if (isNull(passwordObj.value) || passwordObj.value.length < 6) {
|
||||
alert('Please enter user password at least 6 characters');
|
||||
passwordObj.focus();
|
||||
return false;
|
||||
}
|
||||
var repasswordObj = document.getElementById('repassword');
|
||||
if (isNull(repasswordObj.value) || repasswordObj.value.length < 6) {
|
||||
alert('Please enter confirmed password at least 6 characters');
|
||||
repasswordObj.focus();
|
||||
return false;
|
||||
}
|
||||
if (repasswordObj.value !== passwordObj.value) {
|
||||
repasswordObj.focus();
|
||||
alert('User password should be consistent with the confirmed password');
|
||||
return false;
|
||||
}
|
||||
var emailObj = document.getElementById('email');
|
||||
if (!validEmail(emailObj.value)) {
|
||||
alert('Please enter a valid E-mail address');
|
||||
emailObj.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
var options = {
|
||||
type: "post",
|
||||
cache: false,
|
||||
dataType: "json",
|
||||
data: $(this).serialize(),
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
//alert(data.msg);
|
||||
location.href = data.url;
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
complete: function() {
|
||||
$("a.yanzhengma").click();
|
||||
}
|
||||
};
|
||||
$.ajax(options);
|
||||
return false;
|
||||
});
|
||||
$("a#submit-btn").click(function(event) {
|
||||
event.preventDefault();
|
||||
$('#register-form').submit();
|
||||
});
|
||||
$("a#nbtn").click(function(event) {
|
||||
event.preventDefault();
|
||||
var telephoneObj = document.getElementById('telephone');
|
||||
if (isNull(telephoneObj.value) || !isTelephone(telephoneObj.value)) {
|
||||
//alert('手机号码格式不正确');
|
||||
telephoneObj.focus();
|
||||
return false;
|
||||
}
|
||||
if (InterValObj) {
|
||||
return false;
|
||||
}
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo url('/index/customer/sendsms'); ?>',
|
||||
data: {telephone: telephoneObj.value},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
//设置button效果,开始计时
|
||||
curCount = 60;
|
||||
$("a#nbtn").css("background-color", "LightSkyBlue");
|
||||
$("a#nbtn").attr("disabled", "true");
|
||||
// $("a#nbtn").html("获取短信验证码" + curCount + "秒");
|
||||
//alert("验证码发送成功,请查收!");
|
||||
InterValObj = window.setInterval(SetRemainTime, 1000); //启动计时器,1秒执行一次
|
||||
//alert(data.msg);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$("a#nbtn").removeAttr("disabled"); //启用按钮
|
||||
$("a#nbtn").css("background-color", "");
|
||||
//$("a#nbtn").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
// $("a#nbtn").html("获取短信验证码" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
function isNull(data) {
|
||||
return (data == "" || data == undefined || data == null) ? true : false;
|
||||
}
|
||||
function trim(str) {
|
||||
return str.replace(/(^\s*)|(\s*$)/g, '');
|
||||
}
|
||||
function isTelephone(value) {
|
||||
var isMobile = /^1[345789]\d{9}$/;
|
||||
return isMobile.test(value);
|
||||
}
|
||||
function validEmail(email) {
|
||||
//对电子邮件的验证
|
||||
var reg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
|
||||
return reg.test(email);
|
||||
}
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
323
app/th/view/download/catelists.phtml
Executable file
323
app/th/view/download/catelists.phtml
Executable file
@@ -0,0 +1,323 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/search.css">
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<img src="/uploads/default/ban2.jpg">
|
||||
<?php if (!empty($category['picture'])): ?>
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<a href="<?php //echo url_rewrite('download', ['id' => $category['id']]); ?>"><img src="<?php echo getImage($category['picture']); ?>"/></a>
|
||||
<!-- 搜索框 s
|
||||
<div class="lsea">
|
||||
<input id="dl-search-in" type="text" value="<?php echo $skeyword; ?>" name="skeyword" placeholder="Search">
|
||||
<a id="dl-search-btn" href="#"></a>
|
||||
</div>-->
|
||||
<!-- 搜索框 e -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 视频列表 s -->
|
||||
<div class="down">
|
||||
<div class="load">
|
||||
<!--<div class="hd">
|
||||
<ul class="hdone">
|
||||
<li>驱动下载</li>
|
||||
<li><a href="__ORICOROOT__<?php echo url('/Download/catelists_down?id=3')?>">说明书下载</a></li>
|
||||
<li>Orico期刊</li>
|
||||
<li>其他</li>
|
||||
</ul>
|
||||
<a class="prev"><img src="__PUBLIC__/web/images/bfl.png"></a>
|
||||
<a class="next"><img src="__PUBLIC__/web/images/brh.png"></a>
|
||||
</div>-->
|
||||
|
||||
<!-- title s -->
|
||||
<div class="S-search-bg nsea">
|
||||
<div class="swt-Container-1200 S-search-content secon1">
|
||||
<div class="S-Searchbox">
|
||||
<div class="Search">
|
||||
<input type="text" name="textfield" class="ipt" placeholder="" id="search-in">
|
||||
<button type="submit" name="button" value="" class="searchbtn icon-search" id="search-btn"></button>
|
||||
<div id="search" class="search_content search_default">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="sput">
|
||||
<input value="dfdff" placeholder="站内搜索" id="search-input" type="text">
|
||||
<a href="javascript:void(0);" id="search-button"><img src="/frontend/web/images/images/sea1.png"></a>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Download-title">Software Drivers Download</div>
|
||||
<!-- title e -->
|
||||
|
||||
<div class="swt-Container bd">
|
||||
<?php if ($list): ?>
|
||||
<ul class="bdone">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div class="loadfl">
|
||||
<img src="<?php echo getImage($detail['picture']); ?>">
|
||||
</div>
|
||||
<div class="loadrh">
|
||||
<div class="loada"><a href="<?php //echo url_rewrite('downloaddetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<?php if ($detail['description']): ?>
|
||||
<div class="load_destri"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
<?php endif; ?>
|
||||
<div class="loadms1">Supported Models: <?php echo $detail['app_model']; ?></div>
|
||||
<div class="loadms2">Supported Systems: <?php echo $detail['support_os']; ?></div>
|
||||
<div class="loadms3">
|
||||
<?php
|
||||
$downloadpath = explode(',', $detail['downloadpath']);
|
||||
$downloadpath64 = explode(',', $detail['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? 'Download' : $downloadpath64[$k];
|
||||
//$url=url('index/download/download', ['id' => $detail['id'], 'bit' => $k]);
|
||||
?>
|
||||
<a href="<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<div style="margin-top:60px"></div>
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if ($downloadCategory): ?>
|
||||
<ul class="bdtwo">
|
||||
<?php foreach ($downloadCategory as $k => $dc): ?>
|
||||
<li>
|
||||
<p class="datatitle"><?php echo $dc['name']; ?></p>
|
||||
<?php
|
||||
$downloads = getDifferentDownload('ishot', 8, ['cid' => $dc['id']]);
|
||||
if ($downloads):
|
||||
?>
|
||||
<dl>
|
||||
<?php foreach ($downloads as $download): ?>
|
||||
<dd>
|
||||
<div class="datafl">
|
||||
<img src="<?php echo getImage($download['picture']); ?>">
|
||||
</div>
|
||||
<div class="datarh">
|
||||
<div class="datams1"><?php echo $download['name']; ?></div>
|
||||
<div class="datams2"><?php echo msubstr($download['description'], 0, 200); ?></div>
|
||||
<div class="datams3">Format :<?php echo $download['format']; ?></div>
|
||||
<div class="datams4">
|
||||
<?php
|
||||
$downloadpath = explode(',', $download['downloadpath']);
|
||||
$downloadpath64 = explode(',', $download['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? 'Download' : $downloadpath64[$k];
|
||||
?>
|
||||
<a href="__ORICOROOT__<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<script>
|
||||
jQuery(".load .hd").slide({mainCell: "ul", autoPlay: false, effect: "left", vis: 8, scroll: 1, autoPage: false, prevCell: ".prev", nextCell: ".next"});
|
||||
$(".load").slide({trigger: "click", defaultIndex: 0, });
|
||||
$(function() {
|
||||
$("#dl-search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#dl-search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/dlsearch'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#dl-search-in").keyup(function(event) {
|
||||
if (event && event.keyCode == 13) {
|
||||
$("#dl-search-btn").trigger("click");
|
||||
}
|
||||
});
|
||||
$("[data-cod='dl']").click(function(event) {
|
||||
var love = $(this), id = love.data("id"), dl = love.data("dl");
|
||||
dl = typeof (dl) == 'undefined' ? 0 : dl;
|
||||
if (dl < 10) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "__ORICOROOT__<?php echo url('download/dlcount'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
love.data("dl", dl + 1);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
event.preventDefault();
|
||||
alert('You have downloaded it!');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 视频列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$.ajax({
|
||||
url: '__ORICOROOT__/download/get_filter',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: {},
|
||||
success: function(res) {
|
||||
var data = res.data.dl_name;
|
||||
var html = '<ul>';
|
||||
// data.forEach((item, index) => {
|
||||
// html += '<li>';
|
||||
// html += item.name;
|
||||
// html += '</li>';
|
||||
// });
|
||||
var data_length = data.length;
|
||||
for(var i=0;i<data_length;i++) {
|
||||
html += '<li>';
|
||||
html += data[i].name;
|
||||
html += '</li>';
|
||||
}
|
||||
html += '</ul>';
|
||||
$('#search').html(html);
|
||||
},
|
||||
error: function(res) {
|
||||
|
||||
}
|
||||
})
|
||||
});
|
||||
// NEW selector
|
||||
jQuery.expr[':'].Contains = function(a, i, m) {
|
||||
return jQuery(a).text().toUpperCase()
|
||||
.indexOf(m[3].toUpperCase()) >= 0;
|
||||
};
|
||||
// OVERWRITES old selecor
|
||||
jQuery.expr[':'].contains = function(a, i, m) {
|
||||
return jQuery(a).text().toUpperCase()
|
||||
.indexOf(m[3].toUpperCase()) >= 0;
|
||||
};
|
||||
//Update to work for jQuery 1.8
|
||||
$.expr[":"].contains = $.expr.createPseudo(function(arg) {
|
||||
return function( elem ) {
|
||||
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
|
||||
};
|
||||
});
|
||||
|
||||
$(function() {
|
||||
var search_input = $(".Search input");
|
||||
var search_content = $(".search_content");
|
||||
$(search_input).on("keyup", function() {
|
||||
if (search_input.val().length > 0) {
|
||||
$(search_content).show().addClass("ul_add");
|
||||
}
|
||||
else if (search_input.val().length == 0) {
|
||||
$(search_content).show().removeClass("ul_add");
|
||||
}
|
||||
//$(".search_content li:contains(" + search_input.val().trim() + ")").show();
|
||||
//$(".search_content li:not(:contains(" + search_input.val().trim() + "))").hide();
|
||||
|
||||
$(".search_content li").hide().filter(":contains("+ search_input.val().toLowerCase().trim() +")").show();
|
||||
});
|
||||
});
|
||||
|
||||
$("#search ul li").live('click',function(){
|
||||
//console.log(11111);
|
||||
//获取点击的值
|
||||
var keywords = $(this).text();
|
||||
|
||||
if(keywords) {
|
||||
$('#search-in').val(keywords);
|
||||
var href = "__ORICOROOT__<?php echo url('/download'); ?>?skeyword=" + encodeURIComponent(keywords);
|
||||
location.href = href;
|
||||
$(".search_content").hide();
|
||||
}
|
||||
});
|
||||
|
||||
//点击search以外部分隐藏
|
||||
$("body").click(function (e) {
|
||||
if (!$(e.target).closest(".Search").length) {
|
||||
$(".search_content").hide()
|
||||
}
|
||||
//console.log(111);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
/*定位光标*/
|
||||
document.querySelector('#search-in').focus();
|
||||
|
||||
$(function() {
|
||||
//
|
||||
$("#search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "__ORICOROOT__<?php echo url('/download'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#search-in").keyup(function(event) {
|
||||
if (event && event.keyCode === 13) {
|
||||
$("#search-btn").trigger("click");
|
||||
}
|
||||
});
|
||||
var $category = $(".navlist");
|
||||
$category.hide();
|
||||
$(".navul li").mouseleave(function() {
|
||||
$(this).children("a").addClass("aons");
|
||||
$(this).children("dl").stop(true, true).slideUp(500);
|
||||
|
||||
});
|
||||
$(".navul li").mouseenter(function() {
|
||||
$category.hide();
|
||||
$(this).children("dl").stop(true, true).slideDown(500);
|
||||
});
|
||||
//搜索框
|
||||
$(".Searchbox .icon").click(function() {
|
||||
$(".Search").slideToggle();
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
181
app/th/view/download/catelists_down.phtml
Executable file
181
app/th/view/download/catelists_down.phtml
Executable file
@@ -0,0 +1,181 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<a href="<?php //echo url_rewrite('download', ['id' => $category['id']]); ?>"><img src="<?php echo getImage($category['picture']); ?>"/></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 视频列表 s -->
|
||||
<div class="down">
|
||||
<div class="load">
|
||||
<!-- 搜索框 s -->
|
||||
<div class="lsea">
|
||||
<input id="dl-search-in" type="text" value="<?php echo $skeyword; ?>" name="skeyword" placeholder="输入关键字查找">
|
||||
<a id="dl-search-btn" href="#"></a>
|
||||
</div>
|
||||
<!-- 搜索框 e -->
|
||||
|
||||
<div class="hd">
|
||||
<ul class="hdone">
|
||||
<li><a href="__ORICOROOT__<?php echo url('/Download/index?id=1')?>">驱动下载</a></li>
|
||||
<li><a href="__ORICOROOT__<?php echo url('/Download/catelists_down?id=3')?>">说明书下载</a></li>
|
||||
<li>Orico期刊</li>
|
||||
<li>其他</li>
|
||||
</ul>
|
||||
<a class="prev"><img src="__PUBLIC__/web/images/bfl.png"></a>
|
||||
<a class="next"><img src="__PUBLIC__/web/images/brh.png"></a>
|
||||
</div>
|
||||
|
||||
<!-- title s -->
|
||||
<div class="Download-title">说明书下载</div>
|
||||
<!-- title e -->
|
||||
|
||||
<div class="swt-Container bd">
|
||||
<?php if ($list): ?>
|
||||
<ul class="bdone">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div class="loadfl">
|
||||
<img src="<?php echo getImage($detail['picture']); ?>">
|
||||
</div>
|
||||
<div class="loadrh">
|
||||
<div class="loada"><a href="<?php //echo url_rewrite('downloaddetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
<div class="load_destri">本次更新主要解决使用大于2TB容量(有数据资料)的硬盘不能正常识别,显示为GPT保护分区 或 需要重新初始化硬盘。</div>
|
||||
<div class="loadms1">适合型号:<?php echo $detail['app_model']; ?></div>
|
||||
<div class="loadms2">支持系统:<?php echo $detail['support_os']; ?></div>
|
||||
<div class="loadms3">
|
||||
<?php
|
||||
$downloadpath = explode(',', $detail['downloadpath']);
|
||||
$downloadpath64 = explode(',', $detail['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? '下载' : $downloadpath64[$k];
|
||||
//$url=url('index/download/download', ['id' => $detail['id'], 'bit' => $k]);
|
||||
?>
|
||||
<a href="<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<div style="margin-top:60px"></div>
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if ($downloadCategory): ?>
|
||||
<ul class="bdtwo">
|
||||
<?php foreach ($downloadCategory as $k => $dc): ?>
|
||||
<li>
|
||||
<p class="datatitle"><?php echo $dc['name']; ?></p>
|
||||
<?php
|
||||
$downloads = getDifferentDownload('ishot', 8, ['cid' => $dc['id']]);
|
||||
if ($downloads):
|
||||
?>
|
||||
<dl>
|
||||
<?php foreach ($downloads as $download): ?>
|
||||
<dd>
|
||||
<div class="datafl">
|
||||
<img src="<?php echo getImage($download['picture']); ?>">
|
||||
</div>
|
||||
<div class="datarh">
|
||||
<div class="datams1"><?php echo $download['name']; ?></div>
|
||||
<div class="datams2"><?php echo msubstr($download['description'], 0, 200); ?></div>
|
||||
<div class="datams3">格式:<?php echo $download['format']; ?></div>
|
||||
<div class="datams4">
|
||||
<?php
|
||||
$downloadpath = explode(',', $download['downloadpath']);
|
||||
$downloadpath64 = explode(',', $download['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? '下载' : $downloadpath64[$k];
|
||||
?>
|
||||
<a href="__ORICOROOT__<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<script>
|
||||
jQuery(".load .hd").slide({mainCell: "ul", autoPlay: false, effect: "left", vis: 8, scroll: 1, autoPage: false, prevCell: ".prev", nextCell: ".next"});
|
||||
$(".load").slide({trigger: "click", defaultIndex: 0, });
|
||||
$(function() {
|
||||
$("#dl-search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#dl-search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/dlsearch'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#dl-search-in").keyup(function(event) {
|
||||
if (event && event.keyCode == 13) {
|
||||
$("#dl-search-btn").trigger("click");
|
||||
}
|
||||
});
|
||||
$("[data-cod='dl']").click(function(event) {
|
||||
var love = $(this), id = love.data("id"), dl = love.data("dl");
|
||||
dl = typeof (dl) == 'undefined' ? 0 : dl;
|
||||
if (dl < 10) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "__ORICOROOT__<?php echo url('/download/dlcount'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
love.data("dl", dl + 1);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
event.preventDefault();
|
||||
alert('您已下载过了!');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 视频列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
44
app/th/view/download/detail.phtml
Executable file
44
app/th/view/download/detail.phtml
Executable file
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
<!-- 视频播放页 s -->
|
||||
<div class="play">
|
||||
<div class="playv">
|
||||
<div class="plvimg">
|
||||
<video width="100%" height="auto" controls poster="<?php echo $detail['picture']; ?>">
|
||||
<source src="<?php echo $detail['videopath']; ?>">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
<div class="playt">
|
||||
<div class="plcon">
|
||||
<div class="vtext">
|
||||
<p class="tl1"><?php echo $detail['name']; ?><i><img src="__PUBLIC__/web/images/dot1.png"></i></p>
|
||||
<p class="date">发布日期:<?php echo date('Y-m-d', $detail['createtime']); ?></p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
<div class="pltext">
|
||||
<?php echo $detail['content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 视频播放页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
181
app/th/view/download/index.phtml
Executable file
181
app/th/view/download/index.phtml
Executable file
@@ -0,0 +1,181 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<a href="<?php //echo url_rewrite('download', ['id' => $category['id']]); ?>"><img src="<?php echo getImage($category['picture']); ?>"/></a>
|
||||
<!-- 搜索框 s
|
||||
<div class="lsea">
|
||||
<input id="dl-search-in" type="text" value="<?php echo $skeyword; ?>" name="skeyword" placeholder="输入关键字查找">
|
||||
<a id="dl-search-btn" href="#"></a>
|
||||
</div>-->
|
||||
<!-- 搜索框 e -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 视频列表 s -->
|
||||
<div class="down">
|
||||
<div class="load">
|
||||
<div class="hd">
|
||||
<ul class="hdone">
|
||||
<li>驱动下载</li>
|
||||
<li><a href="__ORICOROOT__<?php echo url('/Download/catelists_down?id=3')?>">说明书下载</a></li>
|
||||
<li>Orico期刊</li>
|
||||
<li>其他</li>
|
||||
</ul>
|
||||
<a class="prev"><img src="__PUBLIC__/web/images/bfl.png"></a>
|
||||
<a class="next"><img src="__PUBLIC__/web/images/brh.png"></a>
|
||||
</div>
|
||||
|
||||
<!-- title s -->
|
||||
<div class="Download-title">软件驱动下载</div>
|
||||
<!-- title e -->
|
||||
|
||||
<div class="w1440 bd">
|
||||
<?php if ($list): ?>
|
||||
<ul class="bdone">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div class="loadfl">
|
||||
<img src="<?php echo getImage($detail['picture']); ?>">
|
||||
</div>
|
||||
<div class="loadrh">
|
||||
<div class="loada"><a href="<?php //echo url_rewrite('downloaddetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="load_destri"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
|
||||
<div class="loadms1">适合型号:<?php echo $detail['app_model']; ?></div>
|
||||
<div class="loadms2">支持系统:<?php echo $detail['support_os']; ?></div>
|
||||
<div class="loadms3">
|
||||
<?php
|
||||
$downloadpath = explode(',', $detail['downloadpath']);
|
||||
$downloadpath64 = explode(',', $detail['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? '下载' : $downloadpath64[$k];
|
||||
//$url=url('index/download/download', ['id' => $detail['id'], 'bit' => $k]);
|
||||
?>
|
||||
<a href="__ORICOROOT__<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<div style="margin-top:60px"></div>
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if ($downloadCategory): ?>
|
||||
<ul class="bdtwo">
|
||||
<?php foreach ($downloadCategory as $k => $dc): ?>
|
||||
<li>
|
||||
<p class="datatitle"><?php echo $dc['name']; ?></p>
|
||||
<?php
|
||||
$downloads = getDifferentDownload('ishot', 8, ['cid' => $dc['id']]);
|
||||
if ($downloads):
|
||||
?>
|
||||
<dl>
|
||||
<?php foreach ($downloads as $download): ?>
|
||||
<dd>
|
||||
<div class="datafl">
|
||||
<img src="<?php echo getImage($download['picture']); ?>">
|
||||
</div>
|
||||
<div class="datarh">
|
||||
<div class="datams1"><?php echo $download['name']; ?></div>
|
||||
<div class="datams2"><?php echo msubstr($download['description'], 0, 200); ?></div>
|
||||
<div class="datams3">格式:<?php echo $download['format']; ?></div>
|
||||
<div class="datams4">
|
||||
<?php
|
||||
$downloadpath = explode(',', $download['downloadpath']);
|
||||
$downloadpath64 = explode(',', $download['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? '下载' : $downloadpath64[$k];
|
||||
?>
|
||||
<a href="__ORICOROOT__<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<script>
|
||||
jQuery(".load .hd").slide({mainCell: "ul", autoPlay: false, effect: "left", vis: 8, scroll: 1, autoPage: false, prevCell: ".prev", nextCell: ".next"});
|
||||
$(".load").slide({trigger: "click", defaultIndex: 0, });
|
||||
$(function() {
|
||||
$("#dl-search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#dl-search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/dlsearch'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#dl-search-in").keyup(function(event) {
|
||||
if (event && event.keyCode == 13) {
|
||||
$("#dl-search-btn").trigger("click");
|
||||
}
|
||||
});
|
||||
$("[data-cod='dl']").click(function(event) {
|
||||
var love = $(this), id = love.data("id"), dl = love.data("dl");
|
||||
dl = typeof (dl) == 'undefined' ? 0 : dl;
|
||||
if (dl < 10) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "__ORICOROOT__<?php echo url('/download/dlcount'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
love.data("dl", dl + 1);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
event.preventDefault();
|
||||
alert('您已下载过了!');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 视频列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
139
app/th/view/group/Contact111.phtml
Executable file
139
app/th/view/group/Contact111.phtml
Executable file
@@ -0,0 +1,139 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<title>联系我们</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/contact.css"></head>
|
||||
<body>
|
||||
{include file="include/top-product"/}
|
||||
|
||||
<div class="lj_contact_banner banner-other rd_img"><img src="__PUBLIC__/web/images/contact/contact_banner_02.jpg" alt=""/></div>
|
||||
<div class="vtext">
|
||||
<p class="tl1 rd_img">联系我们<i><img src="__PUBLIC__/web/images/contact/dot1.png"></i></p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
<div class="lj_contact">
|
||||
<div class="lj_contact_w">
|
||||
<div class="lj_content clearfix">
|
||||
<div class="lj_l_title">深圳市元创时代科技有限公司</div>
|
||||
<div class="lj_c_img rd_img"><img src="__PUBLIC__/web/images/contact/contact_01.jpg" alt=""/></div>
|
||||
<div class="lj_r_text">
|
||||
<p>地址:深圳市龙岗区中信海科技城14A栋9楼</p>
|
||||
<p>电话:86-755-25196059,25196115</p>
|
||||
<p>传真:86-755-82670236</p>
|
||||
<p>邮编:518112</p>
|
||||
<p>售后与技术支持热线:400-6696-298</p>
|
||||
<p>E-mail:support@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_content clearfix">
|
||||
<div class="lj_l_title_02">ORICO/奥睿科 东莞元创动力</div>
|
||||
<div class="lj_c_img_02 rd_img"><img src="__PUBLIC__/web/images/contact/contact_02.jpg" alt=""/></div>
|
||||
<div class="lj_r_text_02">
|
||||
<p>地址:广东省东莞市常平镇塘角路24号元创动力互联网+创新产业园</p>
|
||||
<p>招商热线:0769-8189 9088 / 13829103137</p>
|
||||
<p>QQ:1521625007</p>
|
||||
<p>邮编:518112</p>
|
||||
<p>入驻联系:郭生</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_content clearfix">
|
||||
<div class="lj_l_title_03">ORICO/奥睿科 长沙分公司</div>
|
||||
<div class="lj_c_img_03 rd_img"><img src="__PUBLIC__/web/images/contact/contact_03.jpg" alt=""/></div>
|
||||
<div class="lj_r_text_03">
|
||||
<p>地址:长沙市高新区岳麓西大道588号芯城科技园8栋11层、12层、13层</p>
|
||||
<p>电话:86-731-88965800/88965801 </p>
|
||||
<p>传真:410000</p>
|
||||
<p>售后与技术支持热线:400-6696-298</p>
|
||||
<p>E-mail: sales@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--联系人-->
|
||||
<div class="lj_contact lj_p">
|
||||
<div class="lj_contact_w">
|
||||
<div class="lj_contact_l clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="lj_contact_bg rd_img"> <img src="__PUBLIC__/web/images/contact/contact_bg_03.jpg" alt=""/>
|
||||
<div class="lj_contact_text">
|
||||
<p>联系人:丁贤林</p>
|
||||
<p>QQ: 122410677</p>
|
||||
<p>电话:13713763179</p>
|
||||
<p>E-mail: dingxianlin@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="li_contact_title">国内品牌业务</div>
|
||||
<div class="li_contact_img rd_img"><img src="__PUBLIC__/web/images/contact/contact_img_01.jpg" alt=""/></div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="li_contact_img rd_img"><img src="__PUBLIC__/web/images/contact/contact_img_02.jpg" alt=""/></div>
|
||||
<div class="li_contact_title02">海外品牌业务</div>
|
||||
<div class="lj_contact_bg rd_img"> <img src="__PUBLIC__/web/images/contact/contact_bg_03.jpg" alt=""/>
|
||||
<div class="lj_contact_text01 li_p">
|
||||
<p>联系人:Dannel</p>
|
||||
<p>E-mail:1209434693</p>
|
||||
<p>电话:13028825015</p>
|
||||
<p>E-mail:dannel@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_contact_bg rd_img"> <img src="__PUBLIC__/web/images/contact/contact_bg_03.jpg" alt=""/>
|
||||
<div class="lj_contact_text">
|
||||
<p>联系人:Ada</p>
|
||||
<p>QQ:3003610769</p>
|
||||
<p>电话:13510806842</p>
|
||||
<p>E-mail:ada.lynn@co.com.cn</p>
|
||||
</div>
|
||||
<div class="li_contact_title03">ODM服务</div>
|
||||
<div class="li_contact_img rd_img"><img src="__PUBLIC__/web/images/contact/contact_img_03.jpg" alt=""/></div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="li_contact_img rd_img"><img src="__PUBLIC__/web/images/contact/contact_img_04.jpg" alt=""/></div>
|
||||
<div class="li_contact_title04">ORICO市场推广及媒体合作</div>
|
||||
<div class="lj_contact_bg rd_img"> <img src="__PUBLIC__/web/images/contact/contact_bg_03.jpg" alt=""/>
|
||||
<div class="lj_contact_text01 li_p">
|
||||
<p>联系人:吴小姐</p>
|
||||
<p>QQ:2191484779</p>
|
||||
<p>E-mail:Ada@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--icon-->
|
||||
<div class="lj_contact lj_p">
|
||||
<div class="lj_contact_w">
|
||||
<div class="lj_icon clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="li_icon_p"><img src="__PUBLIC__/web/images/contact/contact_icon01.png" alt=""/></div>
|
||||
<p>售后电话:400-6696-298</p>
|
||||
</li>
|
||||
<li>
|
||||
<div class="li_icon_p"><img src="__PUBLIC__/web/images/contact/contact_icon02.png" alt=""/></div>
|
||||
<p>邮箱地址:<span class="li_color">supports@orico.com.cn</span></p>
|
||||
</li>
|
||||
<li>
|
||||
<div class="li_icon_p"><img src="__PUBLIC__/web/images/contact/contact_icon03.png" alt=""/></div>
|
||||
<p>工作时间:09:00—18:00</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="include/bottom" /}
|
||||
</body>
|
||||
</html>
|
||||
165
app/th/view/group/brand.phtml
Executable file
165
app/th/view/group/brand.phtml
Executable file
@@ -0,0 +1,165 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>เรื่องราวเกี่ยวกับ ORICO</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/brand.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/brand/group_brand_b.jpg" alt=""/></div>
|
||||
<div class="lj_brand_bg">
|
||||
<div class="vtext swt-Container">
|
||||
<p class="tl1">เรื่องราวเกี่ยวกับ ORICO</p>
|
||||
<p class="lj_brand_text">ORICO ก่อตั้งขึ้นในปี 2009 ด้วยความมุ่งมั่นที่จะสร้างสรรค์เทคโนโลยีสมัยใหม่ บนพื้นฐานจากทีมงานออกแบบ R&D ที่มากประสปการณ์ ด้วยจุดแข็งนี้ของ ORICO และความแน่วแน่ในกลุ่มสินค้าประกอบกับ ทีมงานการตลาดที่วางแผนอย่างดี ทำให้ ORICO สามารถออกแบบสินค้าที่เต็มไปด้วยเทคโนโลยีขั้นสูงแต่ยังเข้าถึงได้จากทุกกลุ่มลูกค้า ครอบครัว หรือแม้แต่องค์กรขนาดใหญ่ ORICO ได้รับความเชื่อมั่นในการสร้างสรรค์สิ่งใหม่ๆ และเป็นองค์กรที่ทำงานเชิงลึกแต่รวดเร็ว เพื่อให้ได้สินค้าที่คาดหมายที่มีคุณภาพสูง</p>
|
||||
</div>
|
||||
<div class="swt-Container">
|
||||
<div class="lj_brand_t clearfix">
|
||||
<div class="lj_brand_l">
|
||||
<div class="lj_b_big">ความกล้าหาญที่จะทำตามความฝัน</div>
|
||||
<div class="lj_b_small">Mr. Xu Yeyou ได้ก่อตั้งบริษัทและแบรนด์ ORICO โดยมีจุดมุ่งหมายเริ่มต้นเล็กๆเพียงที่จะเปลี่ยนปัญหาเล็กๆในชีวิตประจำวัน โดยใช้นวัตกรรม ด้วยความเชื่อมั่นอย่างเต็มเปี่ยมว่าการเปลี่ยนแปลงเล็กๆ ย่อมนำมาซึ่งผลลัพฑ์ที่ยิ่งใหญ่ได้เสมอ ดั่งเช่นโน๊ตบุ๊กเข้ามาทดแทนคอมพิวเตอร์ตั้งโต๊ะเพื่อความสะดวกสบาย การเริ่มต้นจับตลาดสินค้าเกี่ยวกับฮาร์ดดิสก์ เพื่อให้การเข้าถึงและจัดเก็บข้อมูลทำได้ง่ายและเป็นระบบ การเข้ามาของเทคโนโลยีที่ต่อยอด USB เพื่อทำให้คอมพิวเตอร์ยิ่งเล็กลงในยุคปัจจุบันโดยเชื่อมโยงกับแนวคิดเริ่มต้นของเราคือ "Easy Your PC" ซึ่งสร้างความเปลี่ยนแปลงอย่างยิ่งใหญ่ในโลกของคอมพิวเตอร์ส่วนบุคคล</div>
|
||||
</div>
|
||||
<div class="lj_brand_img rd_img"><img src="__PUBLIC__/web/images/brand/group_brand02.jpg" alt=""/></div>
|
||||
</div>
|
||||
<div class="lj_brand_t clearfix lj_cur_01">
|
||||
<div class="lj_brand_img_02 rd_img"><img src="__PUBLIC__/web/images/brand/group_brand03.jpg" alt=""/></div>
|
||||
<div class="lj_brand_l_02">
|
||||
<div class="lj_b_big pad_l">การเปลี่ยนแปลงเล็กเปลี่ยนโลกได้ทั้งใบ</div>
|
||||
<div class="lj_b_small pad_l">การใช้ความรู้ที่เรามีรวมกับความต้องการเล็กๆ เราเริ่มต้นด้วยแนวคิดของ "Tool Free" มาในโลกของอุปกรณ์ต่อพ่วงและฮาร์ดดิสก์พกพา มาพร้อมกับโลกยุคดิจิตอลนำพามือถือและคอมพิวเตอร์พกพาจำนวนมากเข้าสู่ตลาด ทำให้เกิดจากเติบโตอย่างก้าวกระโดดในโลกของฮาร์ดดิสก์ หรือแนวคิดที่จะพัฒนาปลั๊กไฟควบรวมกับ USB ชาร์จไฟโดยออกแบบให้เหมาะกับผู้ใช้ในยุคปัจจุบัน และล่าสุดกับการออกแบบสินค้าแบบใสจากแนวคิดของ Apple ในอดีตทำให้เราได้สร้างสินค้าที่มองเห็นภายในจนได้รับความยอมรับจากผู้ใช้ทั่วโลก</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="lj_brand_t clearfix">
|
||||
<div class="lj_brand_l_03">
|
||||
<div class="lj_b_big">ความต่อเนื่องในการเรียนรู้ในสิ่งใหม่</div>
|
||||
<div class="lj_b_small">ด้วยฐานรากของ ORICO ที่เหมือนกับสกรูอาร์คิมีดีส "Archimedes Screw" เรายังคงมุ่งหน้าที่จะค้นหาและสร้างสรรรค์สิ่งใหม่เพื่อจุดมุ่งหมายที่จะนำสิ่งใหม่ๆให้กับผู้คน ด้วยเป้าหมายที่จะทำให้ชีวิตง่ายขึ้น โดยผ่านนวัตกรรมใหม่ๆที่จะเข้ามาในอนาคต</div>
|
||||
</div>
|
||||
<div class="lj_brand_img_03 rd_img"><img src="__PUBLIC__/web/images/brand/group_brand04.jpg" alt=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--品牌大记事-->
|
||||
<div class="dis_bril_bg">
|
||||
<div class="vtext">
|
||||
<p class="vtext_01">เหตการณ์ต่างๆ</p>
|
||||
<p class="tl2 "></p>
|
||||
</div>
|
||||
<div class="dis_box position-r ">
|
||||
<div class="culture-l position-r">2018<span></span></div>
|
||||
<div class="culture-r">เริ่มต้นใหม่กับเผ้าใหม่ที่ใหญ่กว่าของ ORICO โดยผ่านการอัพเกรดแบรนด์</div>
|
||||
<div class="culture-l position-r">2017<span></span></div>
|
||||
<div class="culture-r">การสร้างระบบซัพพลายเชนระดับโลก ในนิคมอุสาหกรรมของ ORICO</div>
|
||||
<div class="culture-l position-r">2016<span></span></div>
|
||||
<div class="culture-r">ประกันความน่าเชื่อถือของสินค้าทั่วโลกผ่าน PICC IWS และ DQI</div>
|
||||
<div class="culture-l position-r">2015<span></span></div>
|
||||
<div class="culture-r">สาขา ORICO ในหูหนานได้ก่อตั้งขึ้นเพื่อดูแลกลุ่มลูกค้าทั่วโลก โดยนำสินค้าที่ผลิตจากนิคมอุตสาหรรมของ ORICO ไปสู่มือผู้ใช้ทั่วโลก</div>
|
||||
<div class="culture-l position-r">2013<span></span></div>
|
||||
<div class="culture-r">ORICO ได้รับ ใบประกาศ "National High-tech Enterprise"</div>
|
||||
<div class="culture-l position-r">2012 <span></span></div>
|
||||
<div class="culture-r ">สินค้า ORICO ได้ถูกนำไปขายและยอมรับในนาๆประเทศ อเมริกา สเปน อังกฤษ ฝรั่งเศส และประเทศอื่นๆ</div>
|
||||
<div class="culture-l position-r">2011<span></span></div>
|
||||
<div class="culture-r">ORCO ได้มีช่องทางการขายต่างประเทศเริ่มต้นที่ประเทศไทย เกาหลี เยอรมัน</div>
|
||||
<div class="culture-l position-r">2010<span></span></div>
|
||||
<div class="culture-r">ORICO จัดจำหน่ายผ่านช่องทางออนไลน์ Tmall, JD, Yixun, Newegg, Amazon, Suning, Gome และ ร้านค้าออนไลน์อีกมากมาย
|
||||
</div>
|
||||
<div class="culture-l position-r">2009<span></span></div>
|
||||
<div class="culture-r padding-b-3">เริ่มก่อตั้ง ORICO</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--技术发展-->
|
||||
|
||||
<div class="lj_brand_bg">
|
||||
<div class="swt-Container">
|
||||
<div class="vtext pad_b">
|
||||
<p class="tl1 rd_img">การพัฒนาด้านเทคโนโลยี</p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container clearfix">
|
||||
<div class="Brand-swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t01.jpg" alt=""/></div>
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_l">
|
||||
<h3>2011</h3>
|
||||
<div class="lj_small_t">"Tool Free" ออกแบบเพื่อให้การติดตั้งกล่องอ่านฮาร์ดดิสก์ทำได้อย่างง่ายดาย โดยการร่วมมือกับองต์กร SATA-IO เพื่อให้การทำงานร่วมกับสินค้า SATA ได้ประสิทธิภาพสูงสุด
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell ">
|
||||
<div class="lj_r B-D-Block">
|
||||
<h3>2013</h3>
|
||||
<div class="lj_small_t">การร่วพัฒนากับ Western Digital (WD) เพื่อให้ได้เทคโนโลยีที่ดีขึ้น และร่วมมือกับ VIA Labs ในประเทศจีนเพื่อสร้างสรรค์สินค้า Wireless Cloud แก่ผู้ใช้</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t02.jpg" alt=""/></div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t03.jpg" alt=""/></div>
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_l">
|
||||
<h3>2014</h3>
|
||||
<div class="lj_small_t">การออกแบบปลั๊กไฟยุคใหม่ร่วมกับ JD Crowdfunding ในปี 2015 และได้รับผลตอบรับด้วยยอดขายและคำชื่นชมอย่างมาก
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_r B-D-Block">
|
||||
<h3>2015</h3>
|
||||
<div class="lj_small_t">เริ่มต้นศึกษาการส่งข้อมูลและไฟ ผ่าน USB-C USB 2.0 USB 3.0 และเทคโนโลยีที่เกียวข้อง
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t04.jpg" alt=""/></div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t05.jpg" alt=""/></div>
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_l">
|
||||
<h3>2016</h3>
|
||||
<div class="lj_small_t">ORICO ทำงานใกล้ชิดร่วมกับ Fresco เพื่อออกแบบสินค้าใสที่ได้รับความนิยมสูงสุดในปัจจุบัน
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_r B-D-Block">
|
||||
<h3>2018</h3>
|
||||
<div class="lj_small_t">ทำงานอย่างใกล้ชิดร่วมกับ Toshiba เพื่อสร้างสรรค์สินค้าใหม่เช่น Wireless Cloud และ การสำรองข้อมูลมือถือ
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t06.jpg" alt=""/></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
270
app/th/view/group/charger.phtml
Executable file
270
app/th/view/group/charger.phtml
Executable file
@@ -0,0 +1,270 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/charger.css">
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-banner.jpg">
|
||||
<div class="charger_01">
|
||||
<div class="swt-Container">
|
||||
<p class="title">Travel Partner</p>
|
||||
<p class="text">A good journey starts from a good power bank</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--视频-->
|
||||
<div class="position-r charger_02_bg">
|
||||
<div class="charger_02 charger_alltext">
|
||||
<div class="swt-Container">
|
||||
<div class="charger_black left ">
|
||||
<p class="charger_title">Light & Thin<br>Fast & Powerful</p>
|
||||
<p class="charger_subtitle">Worry-free trip</p>
|
||||
<p class="charger_text"><span class="subject_span_margin">As a strong backing of mobile phone, bank is becoming more and more important.</span><br>
|
||||
Thin and light, large capacity and fast charging, bring you a burden-free trip.</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger_02_video.jpg">
|
||||
<video height="100%" controls poster="__PUBLIC__/web/images/charger/charger_02_video.jpg">
|
||||
<source src="__PUBLIC__/web/images/charger/ORICO-K10P20P.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--产品-->
|
||||
<div class="charger_03">
|
||||
<div class="swt-Container">
|
||||
<ul class="img-responsive">
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-YC10.jpg">
|
||||
<div class="title">YC10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-M10.jpg">
|
||||
<div class="title">M10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-W10000.jpg">
|
||||
<div class="title">W10000</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-S5.jpg">
|
||||
<div class="title">S5</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第四屏-->
|
||||
<div class="charger_04 img-responsive">
|
||||
<div class="charger_04_PC">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-04.jpg">
|
||||
</div>
|
||||
<div class="charger_04_M">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-04-product.jpg">
|
||||
</div>
|
||||
<div class="text">
|
||||
<div class="swt-Container">
|
||||
<div class="charger_04_word">
|
||||
<p class="charger_title">Firefly Series</p>
|
||||
<p class="charger_subtitle">Light up the dark</p>
|
||||
<p class="charger_text">Adding a cute firefly element to the power bank, integrating light and beauty, it looks like a firefly lighting up your way in the darkness.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="all_text">
|
||||
<div class="swt-Container">
|
||||
<ul class="img-responsive">
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-K10000.jpg">
|
||||
<div class="title">K10000</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-C20.jpg">
|
||||
<div class="title">C20</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Tmall</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-M6.jpg">
|
||||
<div class="title">M6</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-C10.jpg">
|
||||
<div class="title">C10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-K10S.jpg">
|
||||
<div class="title">K10S</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!--第五屏-->
|
||||
<div class="charger_05 img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-05.jpg">
|
||||
<div class="all_text">
|
||||
<div class="swt-Container">
|
||||
<div class="title">Power Bank + Wireless Charger<br>Two-in-One</div>
|
||||
<div class="sub_title">Break through tech and tradition</div>
|
||||
<div class="des"><span class="subject_span_margin">In the future, the way of charging should be diversified, innovating. ORICO has taken a small step on the road to innovation.</span><br>
|
||||
<p>We integrated power bank and wireless charging, make charging more convenient.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="charger_06">
|
||||
<div class="swt-Container">
|
||||
<div class="center_M">
|
||||
<p class="main_title">Multiple Quick Charge Modes<br>Freely Switch</p>
|
||||
<p class="sub_title">18W fast power delivery</p>
|
||||
<p class="des">Support PD3.0/QC3.0 and other quick charge protocols for Samsung, Huawei, Mi, Apple and other smart phones. Support 5V3A, 9V2A, 12V1.5A (18W Max), fast charging experience.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="charger_06_bg">
|
||||
<div class="all">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<div class="center">
|
||||
<p class="main_title">Multiple Quick Charge Modes<br>Freely Switch</p>
|
||||
<p class="sub_title">18W fast power delivery</p>
|
||||
<p class="des">Support PD3.0/QC3.0 and other quick charge protocols for Samsung, Huawei, Mi, Apple and other smart phones. Support 5V3A, 9V2A, 12V1.5A (18W Max), fast charging experience.</p>
|
||||
</div>
|
||||
<p class="img-responsive all_img"><img src="__PUBLIC__/web/images/charger/charger_06_logo.jpg"></p>
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-K10000.jpg">
|
||||
<div class="title">K10000</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-C20.jpg">
|
||||
<div class="title">C20</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--<div class="all">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<p class="main_title">多重快充模式合体<br>智能切换</p>
|
||||
<p class="sub_title">18W电力传输,不想等,就要快</p>
|
||||
<p class="des">支持PD3.0/QC3.0等七大主流快充协议,能够为三星、华为、小米、苹果等智能手机自动适配合适的快充模式,并支持5V3A、9V2A、12V1.5A(18W Max)三种快充功率边玩边充,轻松满电,开启全家人的数码快充新体验。</p>
|
||||
<p class="img-responsive all_img"><img src="__PUBLIC__/web/images/charger/charger_06_logo.jpg"></p>
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-K10000.jpg">
|
||||
<div class="title">YC10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">天猫购买</a>
|
||||
<a href="">京东购买</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-C20.jpg">
|
||||
<div class="title">YC10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">天猫购买</a>
|
||||
<a href="">京东购买</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>-->
|
||||
</div>
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/charger/charger-06-M.jpg"></div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
231
app/th/view/group/contact.phtml
Executable file
231
app/th/view/group/contact.phtml
Executable file
@@ -0,0 +1,231 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8"> {include file="include/head" /}
|
||||
<title>Contact Us</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/contact.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/web/images/contact/contact_banner_02.jpg" alt=""/>
|
||||
</div>
|
||||
|
||||
|
||||
<!--公司地址-->
|
||||
|
||||
<div class="contact_swt c_bg_c">
|
||||
<div class="contact_address_t clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="left_img"><img src="__PUBLIC__/web/images/contact/contact_01.jpg" alt=""/>
|
||||
</div>
|
||||
<div class="right_text">
|
||||
<div class="c_title_h3"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">Shenzhen ORICO
|
||||
</div>
|
||||
<div class="c_text_p">
|
||||
<p>Add: 19/F, Block 14A, Zhonghaixin Science &Technology Park, Longgang District, Shenzhen, China
|
||||
</p>
|
||||
<p>Tel: 86-755-25196059, 25196115</p>
|
||||
<p>Fax: 86-755-82670236</p>
|
||||
<p>ZIP code: 518112</p>
|
||||
<p>After-sale & Support: 400-6696-298</p>
|
||||
<p>E-mail:supports@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="left_img"><img src="__PUBLIC__/web/images/contact/contact_02.jpg" alt=""/>
|
||||
</div>
|
||||
<div class="right_text">
|
||||
<div class="c_title_h3"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">ORICO Dongguan E.I-Park</div>
|
||||
<div class="c_text_p">
|
||||
<p>Add: Dongguan Internet & Creativity Industrial Park , No.24 Tangjiao Rd, Changping Town, Dongguan, China</p>
|
||||
<p>Tel:13997611006</p>
|
||||
<p>ZIP code: 518112</p>
|
||||
<p>Contact: Darren</p>
|
||||
<p>Email: Darren@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="left_img"><img src="__PUBLIC__/web/images/contact/contact_03.jpg" alt=""/>
|
||||
</div>
|
||||
<div class="right_text">
|
||||
<div class="c_title_h3"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">ORICO Changsha Branch</div>
|
||||
<div class="c_text_p">
|
||||
<p>Add: 11-13/F, Block 8, Xincheng Science & Technology Park, NO.588 Yuelu District, Changsha, China</p>
|
||||
<p>Tel: 86-731-88965800/88965801</p>
|
||||
<p>ZIP code:410000</p>
|
||||
<p>After-sale & Support: 400-6696-298</p>
|
||||
<p>E-mail: supports@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--工厂联系方式-->
|
||||
<div class="contact_swt c_bg_c">
|
||||
<div class="factory clearfix">
|
||||
<div class="title">Group factory address / contact information
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="left"><img src="__PUBLIC__/web/images/contact/factory-01.jpg"></div>
|
||||
<div class="content">
|
||||
<div class="c_title"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">Dongguan Shengyuan Youchuang Electronic Technology Co. , Ltd</div>
|
||||
<div class="contact">
|
||||
<p>Address:F2, Building F, ORICO Internet & Creativity Industrial Park, No.24 Tangjiao Rd, Tangjiao Village, Changping Town, Dongguan, China </p>
|
||||
<p>Contact:Miss. Liu</p>
|
||||
<p>Tel:0769-82935165</p>
|
||||
<p>E-mail:Michelle@orico.com.cn </p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left"><img src="__PUBLIC__/web/images/contact/factory-02.jpg"></div>
|
||||
<div class="content">
|
||||
<div class="c_title"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">Dongguan Xinyuan Qunchuang Electronic Technology Co. , Ltd</div>
|
||||
<div class="contact">
|
||||
<p>Address:F4, Building F, ORICO Internet & Creativity Industrial Park, No.24 Tangjiao Rd, Tangjiao Village, Changping Town, Dongguan. </p>
|
||||
<p>Contact:Mr. Ding</p>
|
||||
<p>Tel:0769-83906079</p>
|
||||
<p>E-mail:dingxianlin@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="left"><img src="__PUBLIC__/web/images/contact/factory-03.jpg"></div>
|
||||
<div class="content">
|
||||
<div class="c_title"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">Dongguan Xinchuang Plastic Products Co., Ltd.</div>
|
||||
<div class="contact">
|
||||
<p>Address:No. 10, Second Road, High-tech Industrial Zone, Fourth Village, Tangxia, Dongguan, China. </p>
|
||||
<p>Contact:Mr. Zhen</p>
|
||||
<p>Tel:0769-39000958</p>
|
||||
<p>E-mail:zhengjun.mc@orico.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left"><img src="__PUBLIC__/web/images/contact/factory-04.jpg"></div>
|
||||
<div class="content">
|
||||
<div class="c_title"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">Dongguan Xinyuan Ruichuang Electronic Technology Co. , Ltd</div>
|
||||
<div class="contact">
|
||||
<p>Address:F2, Building D, ORICO Internet & Creativity Industrial Park, No.24 Tangjiao Rd, Tangjiao Village, Changping Town, Dongguan, China </p>
|
||||
<p>Contact:Mr. Zhang</p>
|
||||
<p>Tel:0769-83397358</p>
|
||||
<p>E-mail:paul@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left"><img src="__PUBLIC__/web/images/contact/factory-07.jpg"></div>
|
||||
<div class="content">
|
||||
<div class="c_title"><img src="__PUBLIC__/web/images/contact/contact_icon.jpg" alt=""/ style="vertical-align: middle;">Hunan Rongchuang Technologies Co.,Ltd</div>
|
||||
<div class="contact">
|
||||
<p>Address:F3, Building F, ORICO Internet & Creativity Industrial Park, No.24 Tangjiao Rd, Tangjiao Village, Changping Town, Dongguan, China</p>
|
||||
<p>Contact:Mr. Fang</p>
|
||||
<p>Tel:0769-83397358</p>
|
||||
<p>E-mail:281845361@qq.com</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--联系方式 -->
|
||||
<div class="contact_swt c_bg_c">
|
||||
<div class="contact_tel clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/contact/contact_img_01.jpg" alt=""/>
|
||||
<div class="con_black">
|
||||
<p>Domestic Agency</p>
|
||||
<p><img src="__PUBLIC__/web/images/contact/contact_line_03.jpg" alt=""/>
|
||||
</p>
|
||||
<p>Yuhuang Peng</p>
|
||||
</div>
|
||||
<div class="contact_tel_text">
|
||||
<p>Tel:15927488021</p>
|
||||
<p>E-mail:<span class="con_bl">pengyuhuan@orico.com.cn</span>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/contact/contact_img_02.jpg" alt=""/>
|
||||
<div class="con_black">
|
||||
<p>Oversea Agency</p>
|
||||
<p><img src="__PUBLIC__/web/images/contact/contact_line_03.jpg" alt=""/>
|
||||
</p>
|
||||
<p>Darren</p>
|
||||
</div>
|
||||
<div class="contact_tel_text">
|
||||
<p>Tel:13997611006</p>
|
||||
<p>E-mail:<span class="con_bl">Darren@orico.com.cn</span></p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<img src="__PUBLIC__/web/images/contact/contact_img_031.jpg" alt=""/>
|
||||
<div class="con_black">
|
||||
<p>ODM</p>
|
||||
<p><img src="__PUBLIC__/web/images/contact/contact_line_03.jpg" alt=""/>
|
||||
</p>
|
||||
<p>Nee</p>
|
||||
</div>
|
||||
<div class="contact_tel_text">
|
||||
<p>Telp:13480889690</p>
|
||||
<p>E-mail:<span class="con_bl">nee@orico.com.cn</span>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--icon-->
|
||||
<div class="C-All">
|
||||
<div class="contact_swt C-bg">
|
||||
<div class="lj_icon clearfix Contact-Us">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="li_icon_p"><img src="__PUBLIC__/web/images/contact/contact_icon01.png" alt=""/>
|
||||
</div>
|
||||
<p>After-sale: 400-6696-298</p>
|
||||
</li>
|
||||
<li>
|
||||
<div class="li_icon_p"><img src="__PUBLIC__/web/images/contact/contact_icon02.png" alt=""/>
|
||||
</div>
|
||||
<p>E-mail: <span class="li_color">supports@orico.com.cn</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<div class="li_icon_p"><img src="__PUBLIC__/web/images/contact/contact_icon03.png" alt=""/>
|
||||
</div>
|
||||
<p>Work time: 09:00—18:00</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file="include/bottom" /}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
86
app/th/view/group/culture.phtml
Executable file
86
app/th/view/group/culture.phtml
Executable file
@@ -0,0 +1,86 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>นวัตกรรม ความสมบูณ์แบบ เกียรติ ความรัก สุขภาพ และ ความสุข</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/culture.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-banner.jpg">
|
||||
<div class="culture_new_banner">
|
||||
<div class="swt-Container">
|
||||
<div class="title">นวัตกรรม ความสมบูณ์แบบ เกียรติ ความรัก สุขภาพ และ ความสุข</div>
|
||||
<div class="des">คำเหล่านี้เป็นตัวแทนจิดวิญญาณของทุกคนที่ ORICO และยังเป็นวัฒนธรรมองค์กรของพนักงานของเรา </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--文化与价值观-->
|
||||
<div class="culture_new">
|
||||
<div class="swt-Container">
|
||||
<div class="text-c title">ค่านิยมและวัฒนธรรม</div>
|
||||
<div class="des text-c">ORICO สร้างวัฒนธรรมองค์กรที่เรียนกว่า "Four in One" - สี่ในหนึ่ง ซึ่งรวม 4 แนวทางได้แก่ การทำให้ลูกค้าพอใจ , ทำให้พนักงานรู้ถึงคุณค่าของตน, อย่าหักหลังผู้ลงทุน, ดูแลสังคม ในรายละเอียด </div>
|
||||
<div class="swt-Table">
|
||||
<ul class="Table-Row">
|
||||
<li class="img-responsive Table-Cell">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-01.jpg">
|
||||
<p class="list-title">ความพอใจของลูกค้า</p>
|
||||
<p class="list-des">สร้างสรรค์ความมั่นใจของลูกค้าผ่านการสร้างสรรค์ผลิตภัณฑ์ แนะนำสิ่งที่เหมาะสมกับลูกค้าแทนทีสิ่งที่ไม่สมเหตุผล เลือกใช้เทคโนโลยีที่เหมาะสมเพื่อลดค่าใช้จ่ายในการสรรค์สร้างสินค้า </p>
|
||||
</li>
|
||||
<li class="R-margin Table-Cell"></li>
|
||||
<li class="img-responsive Table-Cell">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-02.jpg">
|
||||
<p class="list-title">ความพอใจของพนักงาน</p>
|
||||
<p class="list-des">ดูแลพนักงานทุกคนให้เห็นถึงคุณน่าและนำพาพนักงานทุกคนไปถึงฝั่งฝันที่ทุกคนต้องการ ผ่านระบบการปกครองภายในอย่างมีเหตุผล โดยการให้ผลตอบแทนอย่างสมเหตุสมผลและยุติธรรมเพื่อให้ทุกคนที่ทุ่มเทได้รับผลตอบแทนที่เหมาะสม มีความเห็นเจ้าของในงานที่ตนเองได้รับมอบหมาย เพื่อให้ตนเองและทุกคนในองค์กรได้รับสิ่งที่ดีกว่า</p>
|
||||
</li>
|
||||
<li class="R-margin Table-Cell"></li>
|
||||
<li class="img-responsive Table-Cell">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-03.jpg">
|
||||
<p class="list-title">ความใสใจต่อสังคม</p>
|
||||
<p class="list-des">ความใส่ใจต่อสิ่งแวดล้อมและสังคม โดยผ่านการออกแบบสินค้าภายใต้การความคุมของกฏหมายสิ่งแวดล้อมเพื่อปกป้องประเทศของเราและโลกของเรา</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="culture_new_gray">
|
||||
<div class="swt-Container center_bg">
|
||||
<div class="right">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-04.jpg">
|
||||
</div>
|
||||
<div class="left">
|
||||
<div class="content">
|
||||
<p class="title"><span>ความใส่ใจต่อผู้ลงทุน</span></p>
|
||||
<p class="subtitle">การสร้างสรรค์สิ่งที่ดีต่อสังคมจะได้ผลตอบแทนที่สมเหตุผล การลงทุนในบริษัทเกี่ยวกับเทคโนโลยีมีความเสี่ยงสูงในยุคปัจจุบัน แต่ ORICO มีความมุ่งมั่นพร้อม 6 เป้าหมายที่จะนำพาเราไปสู่ฝันได้ ได้แก่ นวัตกรรม, ความสมบูรณ์แบบ, เกียรติ, ความรัก, สุขภาพที่แข็งแรง และ ความสุข
|
||||
<p >นวัตกรรม : ผ่านการพัฒนาอย่างต่อเนื่องเพื่อให้ได้ความสมบูรณ์แบบ ความหมั่นเพียรจะสร้างความแตกต่าง
|
||||
“Perfection”: Be persistent, the power resource of exploration and breakthrough;<br>
|
||||
เกียรติ : ความเชื่อมั่นต่อผู้ร่วมงานเป็นขุมทรัพย์ในการทำงาน<br>
|
||||
ความรัก : ความแน่วแน่ในแนวทางที่ยิ่งใหญ่เพื่อให้เข้าถึงอนาคตที่ยิ่งใหญ่<br>
|
||||
สุขภาพที่แข็งแรง : สุขภาพและความสุขสรรค์สร้างผลิตภัณฑ์ที่ยิ่งใหญ่<br>
|
||||
ความสุข : ความสงบและความสุข สร้างสรรค์สังคมที่มีความสุข<br>
|
||||
ทุกคำคือจิตวิญญาณของพนักงานทุกคนที่ทำงานกับเรา </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
528
app/th/view/group/distributor.phtml
Executable file
528
app/th/view/group/distributor.phtml
Executable file
@@ -0,0 +1,528 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/distributor.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-white"/}
|
||||
|
||||
<!--top End-->
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/web/images/distributor/distributor-banner.jpg"></div>
|
||||
<!--第二屏-->
|
||||
<div class="distributor_bg_black">
|
||||
<div class="swt-Container distributor_two img-responsives">
|
||||
<div class="swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell swt-Table-border-r">
|
||||
<div class="left m-bottom"><img src="__PUBLIC__/web/images/distributor/distributor_01_one.png"></div>
|
||||
<div class="right m-bottom">
|
||||
<p class="title"><span>深具</span>影响力的寰球数码厂商。</p>
|
||||
<p class="des">寰球劲销8年,深具实力。产品在德国、美国、日本亚马逊、天猫、京东等各大平台销量稳步上升。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Table-Cell">
|
||||
<div class="left m-bottom"><img src="__PUBLIC__/web/images/distributor/distributor_01_two.png"></div>
|
||||
<div class="right m-bottom">
|
||||
<p class="title"><span>EASY</span> YOU PC 原创设计理念。</p>
|
||||
<p class="des">让您轻松享受科技数码时代的乐趣同时,为用户提供创新与易于使用的用户体验。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table swt-Table-border-b">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell swt-Table-border-r">
|
||||
<div class="left m-top"><img src="__PUBLIC__/web/images/distributor/distributor_01_three.png"></div>
|
||||
<div class="right m-top">
|
||||
<p class="title"><span>完整</span>的产业链。</p>
|
||||
<p class="des">集产品研发,模具制造,注塑,五金冲压、生产组装、市场运营推广于一体,实时、有效为用户提供创新型产品。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Table-Cell">
|
||||
<div class="left m-top"><img src="__PUBLIC__/web/images/distributor/distributor_01_four.png"></div>
|
||||
<div class="right m-top">
|
||||
<p class="title"><span>繁多</span>的数码配件。</p>
|
||||
<p class="des">包括存储、网络.WFIL.蓝牙、USB周边、电能手机等产品。同时,为业界企业提供OEM/ODM服务。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--保障-->
|
||||
<div class="distributor_faq">
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_faq_01.jpg" alt=""/>
|
||||
<div class="one">
|
||||
<div class="swt-Container bg_black">
|
||||
<div class="content">
|
||||
<p class="distributor_subtitle distributor_text_white">时尚新宠 造梦工厂</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">创意定制 未来因个性化而更美好</p>
|
||||
<div class="line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_faq_02.jpg" alt=""/>
|
||||
<div class="one">
|
||||
<div class="swt-Container contents">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">16大供应链保障体系</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">大幅提升定制产出率,各环节交付物品质可控。</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">完善软硬件技术支持</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">拥有10万平创业孵化园,并导入了PTC先进管理系统。</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--odm定制流程-->
|
||||
<div class="distributor_odm">
|
||||
<div class="swt-Container">
|
||||
<div class="line text-c">
|
||||
<div class="distributor_title distributor_text_white title">OEM/ODM定制流程</div>
|
||||
</div>
|
||||
<div class="content text-c img-responsive">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/dis_icon01.png" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/dis_icon_line.png"></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/dis_icon02.png" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/dis_icon_line.png"></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/dis_icon03.png" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/dis_icon_line.png"></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/dis_icon04.png" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">step:1</p>
|
||||
<p class="distributor_des distributor_text_white">给出产品需求和数量</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">step:2</p>
|
||||
<p class="distributor_des distributor_text_white">提供公司LOGO及定制图案和包装要求</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">step:3</p>
|
||||
<p class="distributor_des distributor_text_white">提供设计图样或ORICO设计样品</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">step:4</p>
|
||||
<p class="distributor_des distributor_text_white">样品验收出成品</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--客户与合作厂商-->
|
||||
<div class="distributor_Cooperation">
|
||||
<div class="distributor_title distributor_text_black text-c">一线方案商与合作客户</div>
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_01.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_02.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_03.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_04.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_05.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_06.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_07.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_08.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_09.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_10.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_11.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_12.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_13.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_14.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_15.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_16.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_17.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_18.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_19.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_20.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_21.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_22.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_23.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/distributor/distributor_Cooperation_24.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--八大生产线-->
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/web/images/distributor/distributor_Beltline.jpg"></div>
|
||||
<div class="distributor_Beltline">
|
||||
<div class="distributor_title distributor_text_black text-c">用科技点亮生活</div>
|
||||
<div class="distributor_des distributor_text_gray text-c">让销量引爆潮流</div>
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Beltline_01.jpg">
|
||||
<p class="distributor_text_black distributor_des">双盘位USB3.0脱机对拷硬盘底座</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO 5628US3-C</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Beltline_02.jpg">
|
||||
<p class="distributor_text_black distributor_des">清新桌面小风扇</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO FT2</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Beltline_03.jpg">
|
||||
<p class="distributor_text_black distributor_des">3.5英寸双盘位铝合金USB3.0镂空硬盘盒</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO DY352U3</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Beltline_04.jpg">
|
||||
<p class="distributor_text_black distributor_des">蜂巢系列3.5英寸Type-C磁盘阵列存储系统</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO RS400RC3</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Beltline_05.jpg">
|
||||
<p class="distributor_text_black distributor_des">USB3.1 Gen2 高速集线器</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO M3H4-G2</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Beltline_06.jpg">
|
||||
<p class="distributor_text_black distributor_des">智能无线充电器</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO WOC1-WD</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--大数据时代-->
|
||||
<div class="distributor_Big_Data">
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/web/images/distributor/distributor_Big_Data.jpg"></div>
|
||||
<div class="swt-Container content">
|
||||
<div class="distributor_title distributor_text_black text-c">大数据时代</div>
|
||||
<div class="distributor_des distributor_text_gray text-c">只做偶像实力派</div>
|
||||
<div class="swt-Table img-responsive">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Big_Data_01.jpg">
|
||||
<div class="bg_black">
|
||||
<p class="distributor_subtitle">一站式解决方案</p>
|
||||
<p class="distributor_des">提供专业的OEM/ODM服务, 完整的产业链能实时、有效、解决客户需求</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell left">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Big_Data_02.jpg">
|
||||
<div class="bg_black">
|
||||
<p class="distributor_subtitle">专业模组化设计应用</p>
|
||||
<p class="distributor_des">创新结构解决方案将设计概念巧妙转化为最终产品</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table img-responsive">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Big_Data_03.jpg">
|
||||
<div class="bg_black">
|
||||
<p class="distributor_subtitle">专业的工业设计能力</p>
|
||||
<p class="distributor_des">创新的设计理念让顾客获得效益的同时,确保产品准时上市并量产</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell left">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_Big_Data_04.jpg">
|
||||
<div class="bg_black">
|
||||
<p class="distributor_subtitle">我们的承诺</p>
|
||||
<p class="distributor_des">ORICO致力于创新及技术贡献,始终确保更好服务客户和合作伙伴。</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--大记事-->
|
||||
<div class="distributor_Chronicle">
|
||||
<div class="distributor_title distributor_text_white text-c">见证辉煌 与追梦者同行</div>
|
||||
<div class="distributor_des distributor_text_white text-c">8年 来,我们迈出的每一步只为实现 “中国原创制造”的产业梦!</div>
|
||||
<div class="Chronicle">
|
||||
<div class="swt-Container position-r">
|
||||
<div class="Chronicle-l position-r">2017<span></span></div>
|
||||
<div class="Chronicle-r">元创动力产业园新兴产业链垂直孵化平台正式成立</div>
|
||||
<div class="Chronicle-l position-r">2016<span></span></div>
|
||||
<div class="Chronicle-r">PICC全球联保与东莞质检共同成立质量控制中心!</div>
|
||||
<div class="Chronicle-l position-r">2015<span></span></div>
|
||||
<div class="Chronicle-r Chronicle-2015" >元创时代湖南分公司正式成立,此举也意味着品牌全球电商运营中心成立并正式运行,全力进军海内外线上平台。同年,为开拓自有生产产业链,投资搭建集团东莞元创动力电商产业园</div>
|
||||
<div class="Chronicle-l position-r">2013<span></span></div>
|
||||
<div class="Chronicle-r">深圳市元创时代科技有限公司获【国家高新技术企业】认定</div>
|
||||
<div class="Chronicle-l position-r">2012<span></span></div>
|
||||
<div class="Chronicle-r">品牌全系产品正式登陆美国、西班牙、英国、法国等地</div>
|
||||
<div class="Chronicle-l position-r">2011<span></span></div>
|
||||
<div class="Chronicle-r">ORICO成功开拓泰国、韩国、德国线下渠道;同年,元创时代科技有限公司总部入驻深圳龙岗区中海信工业园</div>
|
||||
<div class="Chronicle-l position-r">2010<span></span></div>
|
||||
<div class="Chronicle-r">ORICO正式入驻天猫、京东、易迅、新蛋、亚马逊、苏宁易购、国美等主流电商平台,开始品牌线上渠道的布局。</div>
|
||||
<div class="Chronicle-l position-r">2009<span></span></div>
|
||||
<div class="Chronicle-r">元创动力[ORICO]品牌正式创立</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--招商对象-->
|
||||
<div class="distributor_Attract">
|
||||
<div class="swt-Container">
|
||||
<div class="distributor_title distributor_text_white text-c">招商对象</div>
|
||||
<div class="list">
|
||||
<ul>
|
||||
<li>
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_01.jpg"></div>
|
||||
<div class="des_text">全网经销商</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_02.jpg"></div>
|
||||
<div class="des_text">全网分销商</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_03.jpg"></div>
|
||||
<div class="des_text">实体区域<br>代理商</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_04.jpg"></div>
|
||||
<div class="des_text">全网零售商</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--投资之路-->
|
||||
<div class="distributor_bg_gray">
|
||||
<div class="swt-Container distributor_Investment">
|
||||
<div class="distributor_title distributor_text_black text-c">强势品牌 助跑投资之路</div>
|
||||
<div class="Swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell bg_white">
|
||||
<p class="distributor_subtitle">品牌优势</p>
|
||||
<p class="distributor_des ">数码配件全球领先厂商、存储设备连续三年国内第一品牌。</p>
|
||||
</div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell bg_black">
|
||||
<p class="distributor_subtitle">自主创新</p>
|
||||
<p class="distributor_des">首创理念原创设计实践,致力打造最佳体验,easy your pc。</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell bg_black_01">
|
||||
<p class="distributor_subtitle">品牌优势</p>
|
||||
<p class="distributor_des ">数码配件全球领先厂商、存储设备连续三年国内第一品牌。</p>
|
||||
</div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell bg_white_01">
|
||||
<p class="distributor_subtitle">强劲的市场推广</p>
|
||||
<p class="distributor_des">囊括品牌策划、品牌设计、整合营销,一站式市场推广。</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell bg_white">
|
||||
<p class="distributor_subtitle">完备的产业链</p>
|
||||
<p class="distributor_des ">厂家供货、仓储物流、货源充足。</p>
|
||||
</div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell bg_black">
|
||||
<p class="distributor_subtitle">技术指导</p>
|
||||
<p class="distributor_des">为用户提供技术支持,专业指导服务!技术热线400-6696-298</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell bg_black_01">
|
||||
<p class="distributor_subtitle">终身质保</p>
|
||||
<p class="distributor_des ">享有售后免费,终身质保服务,让您无后顾之忧。</p>
|
||||
</div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell bg_white_01">
|
||||
<p class="distributor_subtitle">互惠共赢</p>
|
||||
<p class="distributor_des">统一管理、统一服务、实现双赢共同发展。</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div> </div>
|
||||
</div>
|
||||
<!--加盟流程-->
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/web/images/distributor/distributor_join.jpg"></div>
|
||||
<div class="distributor_bg_black02">
|
||||
<div class="swt-Container">
|
||||
<div class="distributor_join">
|
||||
<div class="distributor_title distributor_text_white text-c">加盟流程</div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">资质提交</span>
|
||||
<span class="subtitle">step:1</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_01.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">深度回访</span>
|
||||
<span class="subtitle">step:2</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_02.jpg"></div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">审核批准</span>
|
||||
<span class="subtitle">step:3</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_03.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">初步订单</span>
|
||||
<span class="subtitle">step:4</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_04.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">授权发货</span>
|
||||
<span class="subtitle">step:5</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_05.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">跟踪服务</span>
|
||||
<span class="subtitle">step:6</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_06.jpg"></div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--联系方式-->
|
||||
<div class="distributor_bg_gray">
|
||||
<div class="swt-Container distributor_contact">
|
||||
<div class="banner"><img src="__PUBLIC__/web/images/distributor/distributor_contact_01.jpg"></div>
|
||||
<div class="distributor_bg_white">
|
||||
<div class="service">
|
||||
<p class="title">联系我们</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p class="subtitle">深圳市元创时代科技有限公司</p>
|
||||
<p class="des">
|
||||
<span>地址:深圳市龙岗区中海信科技城14A栋9楼 (原总部经济中心)</span>
|
||||
<span>电话:86-755-25196059, 25196115</span>
|
||||
<span>传真:86-755-82670236</span>
|
||||
<span>邮编:518112</span>
|
||||
<span>售后与技术支持热线:400-6696-298</span>
|
||||
<span>E-mail:supports@orico.com.cn</span>
|
||||
</li>
|
||||
<li>
|
||||
<div class="subtitle">Head Office</div>
|
||||
<div class="des">
|
||||
<span>ORICO Technologies Co., Ltd</span>
|
||||
<span>Add: F9, Headquarters Economic Center Building,</span>
|
||||
<span>Zhonghaixin Science &Technology Park, </span>
|
||||
<span>BuLan Road, Shenzhen PRC</span>
|
||||
<span>TEL: 86-755-25196059, 25196115 FAX: 86-755-82670236 Post Code: 518112</span>
|
||||
<span>WEB: www.orico.com.cn</span>
|
||||
<span>E-mail:supports@orico.com.cn</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="banner"><img src="__PUBLIC__/web/images/distributor/distributor_contact_02.jpg"></div>
|
||||
<div class="distributor_bg_white">
|
||||
<div class="service">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="subtitle">ORICO/奥睿科 长沙分公司 </p>
|
||||
<p class="des">
|
||||
<span>地址:长沙市高新区岳麓西大道588号芯城科技园8栋11层、12层、13层</span>
|
||||
<span>电话:86-731-88965800/88965801 邮编:410000</span>
|
||||
<span>售后与技术支持热线:400-6696-298</span>
|
||||
<span>E-mail: sales@orico.com.cn</span>
|
||||
</li>
|
||||
<li>
|
||||
<p class="subtitle">ORICO奥睿科 — 东莞元创动力互联网+创新产业园</p>
|
||||
<p class="des">
|
||||
<span>地址:广东省东莞市常平镇塘角路24号元创动力互联网+创新产业园</span>
|
||||
<span>招商热线:0769-8189 9088 / 13829103137</span>
|
||||
<span>QQ:1521625007</span>
|
||||
<span>入驻联系:郭生</span>
|
||||
<span>E-mail:golf@orico.com.cn</span>
|
||||
</li>
|
||||
<li>
|
||||
<p class="subtitle">国内品牌业务:</p>
|
||||
<p class="des">
|
||||
<span>联系人:丁贤林</span>
|
||||
<span>QQ:122410677</span>
|
||||
<span>电话:13713763179</span>
|
||||
<span>E-mail:dingxianlin@orico.com.cn</span>
|
||||
</li>
|
||||
<li>
|
||||
<p class="subtitle">海外品牌业务: </p>
|
||||
<p class="des">
|
||||
<span>联系人:Dannel</span>
|
||||
<span>QQ:1209434693</span>
|
||||
<span>电话:13028825015</span>
|
||||
<span>E-mail:dannel@orico.com.cn</span>
|
||||
</li>
|
||||
<li>
|
||||
<p class="subtitle">OORICO市场推广及媒体合作:</p>
|
||||
<p class="des">
|
||||
<span>联系人:吴小姐</span>
|
||||
<span>QQ:2191484779</span>
|
||||
<span>电话:15817435002</span>
|
||||
<span>E-mail:Ada@orico.com.cn</span>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<p class="subtitle">产品服务</p>
|
||||
<p class="des">
|
||||
<span>售后技术反馈:supports@orico.com.cn</span>
|
||||
<span>售后与技术支持热线:400-6696-298</span>
|
||||
<span>如有非业务或是技术问题或是对于产品的其它意见,请直接写信到supports@orico.com.cn或拨打电话:086-755-25196059转619,</span>
|
||||
<span>在进行产品技术问题咨询时,请先与经销商联络并获得您应有的服务!</span>
|
||||
<span>如有问题,请先阅读ORICO产品保修,或通过网上技术支持获得帮助</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--查找经销商-->
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
195
app/th/view/group/fan.phtml
Executable file
195
app/th/view/group/fan.phtml
Executable file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/fan.css">
|
||||
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /} <!--top End-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-banner.jpg">
|
||||
<div class="fan_01">
|
||||
<div class="swt-Container">
|
||||
<p class="title">Tidy Desktop, Lovely Life</p>
|
||||
<p class="text">Summer Refreshing, Winter Moistening</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="position-r subject_02_bg Fan_02">
|
||||
<div class="subject_02 subject_alltext">
|
||||
<div class="swt-Container">
|
||||
<div class="subject_black left ">
|
||||
<p class="subject_title">Life is Artistic</p>
|
||||
<p class="subject_subtitle">Explore USB technology<br>Create safer and easier tech life</p>
|
||||
<p class="subject_text">
|
||||
<span class="subject_span_margin">Delicate details manifest exquisite life. ORICO makes brand concept “Little Change, Big Difference” integrated into our life details during the development of Smart Life Peripherals, such as Mini Fan, Humidifier, etc.
|
||||
</span><br>
|
||||
The application of USB technology brings us great convenience for using some daily products like mini fan and humidifier. They can be normally used merely by connecting power adapter, power bank, laptop, car charger and more, unlocking a beautiful life.
|
||||
</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan_02_video.jpg">
|
||||
<video height="100%" controls poster="__PUBLIC__/web/images/Fan/Fan_02_video.jpg" >
|
||||
<source src="__PUBLIC__/web/images/Fan/ORICO-FH1.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--产品-->
|
||||
<div class="Fan_03 img-responsive">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-03.jpg">
|
||||
<div class="all_content">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<p class="subject_title">Ultra-Quiet Humidifier, Perfect Companion</p>
|
||||
<p class="subject_subtitle">ORICO Premium Desktop Humidifier</p>
|
||||
<p class="subject_des"><span class="subject_span_margin">Humidifier keeps your skin moisturized even in dry seasons, which enables you to enjoy more beautiful sceneries cheerfully.
|
||||
</span><br>Atomization technology and longer duration keep humidifying environment for a long time, continuously bringing you hydrated and tender skin. No matter at home or on a trip, it is an optimal companion in your life.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="all_product">
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-03-one.jpg">
|
||||
<div class="product">
|
||||
<p class="title">Ultra-Quiet Desktop Humidifier</p>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-03-two.jpg">
|
||||
<div class="product">
|
||||
<p class="title">Ultra-Quiet Desktop Humidifier Max</p>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第四屏-->
|
||||
<div class="Fan_04 img-responsive">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04.jpg">
|
||||
<div class="all_content">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<p class="subject_title">Whisper-Quiet Fan, Cooling Summer</p>
|
||||
<p class="subject_subtitle">Mini Desk Fan</p>
|
||||
<p class="subject_des"><span class="subject_span_margin">When you work in office, study in library or take a nap in a blistering summer day, USB Mini Fan is an indispensable product to help you relieve the summerheat. Diversified power supply and multi-level adjustable wind speed make it more energy-saving and convenient, giving you refreshing and comfortable experience.</span><br>Show you the desktop new fashion.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="all_product">
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-one.jpg">
|
||||
<div class="title">Mini Desk Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/870.html">More Details</a>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-two.jpg">
|
||||
<div class="title">Mini Portable Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/606.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-three.jpg">
|
||||
<div class="title">Mini USB Clip Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/221.html">More Details</a>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-four.jpg">
|
||||
<div class="title">USB Vertical Mini Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/952.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-five.jpg">
|
||||
<div class="title">LED Handheld Mini Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/993.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-six.jpg">
|
||||
<div class="title">Desktop USB mini fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/892.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-seven.jpg">
|
||||
<div class="title">USB Mini Desktop Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/953.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-eight.jpg">
|
||||
<div class="title">Mini USB Humidifier Fan </div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/1025.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul> </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="subject_travel_text subject_title">Stay tuned for our more USB smart life products…</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
92
app/th/view/group/fq.phtml
Executable file
92
app/th/view/group/fq.phtml
Executable file
@@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<title>常见FQ</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/faq.css"></head>
|
||||
<body>
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/faq/faq-banner.jpg"></div>
|
||||
<div class="Swt-Gray">
|
||||
<div class="swt-Container">
|
||||
<div class="faq">
|
||||
|
||||
<div class="faq-all Table">
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-01.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">How to use the offline copy function with the 6629US3?</div>
|
||||
<div class="faq-des">
|
||||
<p>1. Connect 2 SATA hard drives, note that Source is the source disk, Target is the target disk (the capacity of the target disk should be larger than the source disk).</p>
|
||||
<p>2. When offline copying, select Clone on the back the hard drive dock, which is clone mode. When Clone is not used, switch to PC mode directly.</p>
|
||||
<p>3. Plug in the power and turn on the power switch.</p>
|
||||
<p>4. After the above preparations are ready, press the START button twice, the percentage indicators will light back and forth at first, and indicators will all light up when copy finished.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-02.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">How to set Raid mode?</div>
|
||||
<div class="faq-des">
|
||||
<p>RAID setting method: (If the hard disk is not a new hard disk, please backup the data and then set up the RAID mode)</p>
|
||||
<p>1. Turn off the power button of device.</p>
|
||||
<p>2. Trigger the RAID mode switch on the back of the device, set the RAID mode that you wants;</p>
|
||||
<p>3. Press and hold the set button, turn on the power switch, release the SET button after 5 seconds;</p>
|
||||
<p>4. At the same time, the RAID manager software can be installed on the computer to manage the RAID function through software.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-03.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">After the new hard drive is connected to the computer, why can't I find the hard drive and drive letter?</div>
|
||||
<div class="faq-des">
|
||||
<p>Due to the limitations of the operating system, the Windows XP system can only support 2TB capacity hard disks. Hard disks larger than 2TB capacity cannot be supported and cannot be used normally.
|
||||
*Method of operation: First, right click on "Computer", then click "Manage", open into "Disk Management", find the new hard disk, right click "Initialize", select "MBR hard disk capacity is less than or equal to 2TB" or "GPT (greater than 2TB)" Then, "New Simple Volume", the default partition is formatted in the next step. After the formatting is completed, the hard disk can be used normally, and the newly added drive letter is displayed.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-04.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">Unable to log in and enter the W150 router settings interface?</div>
|
||||
<div class="faq-des">
|
||||
<p>Plug the router into the power socket and power on. Do not connect the network cable (remember), then search for the wireless network signal connected to "ORICO" on the mobile phone. After the connection is successful, open the browser to enter the IP address: 192.168.11, log in and access the home page and enter user name: admin, password: admin, then log in. </p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-05.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">Can I connect hub to TV to expand? Can it drive a hard drive without extra power supply?</div>
|
||||
<div class="faq-des">
|
||||
<p>Answer: At present, HUB is mainly used for the PC side. It has not yet been popularized in the TV category. Your TV should support it. There is no guarantee that all TVs will be recognized. Generally 2.5-inch hard disk is ok, because USB power supply is limited, if you are using a 3.5-inch hard disk, it is recommended that you buy a HUB with power adapter.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-06.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">Brands comparison </div>
|
||||
<div class="faq-des">
|
||||
<p>Answer: ORICO uses imported control chips, ICs, original devices, PCBA boards that are developed by ourselves, and all molds are ORICO. ORICO uses all SMD components, so the materials are completely different.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="include/bottom" /}
|
||||
</body>
|
||||
</html>
|
||||
222
app/th/view/group/h_speed.phtml
Executable file
222
app/th/view/group/h_speed.phtml
Executable file
@@ -0,0 +1,222 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>10GbpsSuperSpeed_Orico</title>
|
||||
<meta name="Keywords" content="" />
|
||||
<meta name="Description" content="" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/h_speed.css">
|
||||
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsives position-r h_speed_text_white">
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_banner.jpg">
|
||||
<div class="banner_button"><span>SuperSpeed</span></div>
|
||||
<div class="banner_button_title">Speed Innovation</div>
|
||||
<div class="banner_button_subtitle">Real Type-C 10Gbps high-speed
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第二屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_02">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Explore the Way<br>Lead the Trend</p>
|
||||
<p class="h_speed_subtitle">Type-C interface, double-side pluggable</p>
|
||||
<p class="h_speed_des">ORICO is a pioneer in the field of storage and transmission. ORICO introduces Type-C interfaces which, compared with the previous Micro B interface, has longer life, more stable transmission, and powerful data transmission capability and power supply capability.</p>
|
||||
<p><a href="/product/detail/397.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_03">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text float-r">
|
||||
<p class="title h_speed_title">Powerful Chip<br>Fast Transmission</p>
|
||||
<p class="h_speed_subtitle">10Gbps transmission, VL716 strong controller</p>
|
||||
<p class="h_speed_des">ORICO HDD enclosure adopts VL716 strong main controller, high transmission performance, supports USB3.1 GEN2 solution, 10Gbps transmission rate, nearly twice the theoretical speed of USB3.0.</p>
|
||||
<p><a href="/product/detail/423.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第四屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_04">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Breakthrough </br>Speed Limit</p>
|
||||
<p class="h_speed_subtitle">UASP protocol, upgraded speed</p>
|
||||
<p class="h_speed_des">ORICO adopts the industry's high standard UASP protocol, supports SATARevision3.0 to USB3.1 Gen2 bridging solution, optimizes CPU performance during transmission, shortens program response time, and accelerates speed by 30%.</p>
|
||||
<p><a href="/product/detail/859.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第五屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_05">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text float-r">
|
||||
<p class="title h_speed_title">Transparent Design</p>
|
||||
<p class="h_speed_subtitle">PC transparent design, beauty of technology</p>
|
||||
<p class="h_speed_des">ORICO transparent series HDD enclosure is made of transparent PC material, simple and elegant, combining technology and art.</p>
|
||||
<p><a href="/product/detail/812.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_06">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Splashproof Design<br>No Worry of falling</p>
|
||||
<p class="h_speed_subtitle">360°silicone, outdoor three-proofing</p>
|
||||
<p class="h_speed_des">ORICO three-proof HDD enclosure is designed with silicone material, it is splashproof, dustproof, adapting to outdoor complex environment, protect your precious data.</p>
|
||||
<p><a href="/product/detail/398.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第七屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_07">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text float-r">
|
||||
<p class="title h_speed_title">Honeycomb Convection<br>Better heat-dissipation</p>
|
||||
<p class="h_speed_subtitle">Aluminum alloy material, honeycomb heat-dissipation</p>
|
||||
<p class="h_speed_des">A good cooling system is the basis for the stable transmission of the hard disk. When operated in a high temperature and high intensity environment, the speed may be declined or the disk even damaged. Aluminum alloy has good heat dissipation properties and is designed to be stable and efficient even with long-term operation.</p>
|
||||
<p><a href="/product/detail/403.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第八屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_08">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Light and Thin</p>
|
||||
<p class="h_speed_subtitle">Designed for 7mm SSD, burden-free trip</p>
|
||||
<p class="h_speed_des">The 12mm enclosure is designed for 7mm SSD, and built-in shockproof sponge, 4TB large capacity, portable and easy to take.</p>
|
||||
<p><a href="/product/detail/402.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第九屏-->
|
||||
<div class="img-responsives position-r h_speed_09">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Nine Protections, Worry-free Transmission</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--2.5英寸硬盘盒-->
|
||||
<div class="h_speed_10">
|
||||
<div class="swt-Container">
|
||||
<div class="text-c h_speed_title transparent_black">2.5 inch HDD Enclosure</div>
|
||||
<div class="h_speed_10_four img-responsive">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_01.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch HDD enclosure</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">Type-C interface, 10Gbps </div>
|
||||
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<span class="subject_span">Tmall</span>
|
||||
<a href="https://item.jd.com/35036915853.html">JD</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_02.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch HDD enclosure</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">Three-proofing, 10Gbps </div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<span class="subject_span">Tmall</span>
|
||||
<a href="https://item.jd.com/11868185734.html">JD</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_03.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch HDD enclosure
|
||||
</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">Aluminum alloy, 10Gbps </div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<span class="subject_span">Tmall</span>
|
||||
<a href="https://item.jd.com/35036915853.html">JD</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_04.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch SSD enclosure</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">12mm ultrathin</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<span class="subject_span">Tmall</span>
|
||||
<a href="https://item.jd.com/11868185734.html">JD</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--硬盘底座-->
|
||||
<div class="h_speed_10">
|
||||
<div class="swt-Container">
|
||||
<div class="text-c h_speed_title transparent_black">HDD Dock</div>
|
||||
<div class="h_speed_10_two img-responsive">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_05.jpg">
|
||||
<div class="all_text">
|
||||
<p class="h_speed_10_text title h_speed_text_black">Type-C external HDD dock </p>
|
||||
<p class="subtitle h_speed_text_black">2.5/3.5inch applicable, 10Gbps transmission </p>
|
||||
<p class="transparent_buy">
|
||||
<span class="subject_span">Tmall</span>
|
||||
<span class="subject_span">JD</span></p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_06.jpg">
|
||||
<div class="all_text">
|
||||
<p class="h_speed_10_text title h_speed_text_black">Type-C HDD dock </p>
|
||||
<p class="subtitle h_speed_text_black">2.5/3.5inch applicable, 10Gbps transmission</p>
|
||||
<p class="transparent_buy">
|
||||
<span class="subject_span">Tmall</span>
|
||||
<span class="subject_span">JD</span></p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="h_speed_10_one img-responsive">
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_07.jpg">
|
||||
<div class="all_text">
|
||||
<p class="h_speed_10_text title h_speed_text_black">Transparent HDD Dock </p>
|
||||
<p class="subtitle h_speed_text_black">10Gbps transmission, UASP protocol</p>
|
||||
<p class="transparent_buy">
|
||||
<span class="subject_span">Tmall</span>
|
||||
<span class="subject_span">JD</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>/html>
|
||||
202
app/th/view/group/headset.phtml
Executable file
202
app/th/view/group/headset.phtml
Executable file
@@ -0,0 +1,202 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link href="__PUBLIC__/webth/css/subject/headset.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<div class="headset">
|
||||
<img src="__PUBLIC__/web/images/headset/lj_voice_banner.jpg" alt=""/>
|
||||
<div class="headset_01">
|
||||
<div class="swt-Container">
|
||||
<div class="title">Music Era
|
||||
</div>
|
||||
<div class="text">Listen to the World
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="position-r subject_02_bg Fan_02">
|
||||
<div class="subject_02 subject_alltext">
|
||||
<div class="swt-Container">
|
||||
<div class="subject_black left ">
|
||||
<p class="subject_title">Listening to Music<br>Following the Heart</p>
|
||||
<p class="subject_subtitle">Music, into the ear, into the heart</p>
|
||||
<p class="subject_text">
|
||||
<span class="subject_span_margin">Good headphones are not only for music, but also your own voice.</span><br>
|
||||
<span class="subject_span_margin">If music is a dialogue touches the soul, the moment you put on headphones, the time seems to be still</span><br>The world is quiet, The mind is peaceful</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<img src="__PUBLIC__/weben/images/headset/headset_02_video.jpg">
|
||||
<video height="100%" controls poster="__PUBLIC__/weben/images/headset/headset_02_video.jpg" >
|
||||
<source src="__PUBLIC__/weben/images/headset/set_RP1.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--音乐耳机-->
|
||||
<div class="headset position-r"> <img src="__PUBLIC__/weben/images/headset/lj_voice_banner01.jpg" alt=""/>
|
||||
<div class="headset_02">
|
||||
<div class="title">Moving-coil, More Touching
|
||||
</div>
|
||||
<div class="subtitle">Full and mellow sound, clear vocals, immersive music atmosphere, these are all features of moving-coil。</div>
|
||||
<div class="text">We use 10mm moving-coil unit, the sound field is natural, sturdy, the music is transient and true, the sound quality is balanced, transparent. Through professional. tuning, whether classical music, pop music, or rock music can be highly resolved to restore the beauty of music.
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container">
|
||||
<div class="lj_set01_img img-responsive position-r"><a href="#"><img src="__PUBLIC__/weben/images/headset/lj_voice_img01.jpg" alt=""/></a>
|
||||
<div class="lj_set_title">IEM-01 Music Headphones</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set01_img img-responsive position-r"><img src="__PUBLIC__/weben/images/headset/lj_voice_img02.jpg" alt=""/>
|
||||
<div class="lj_set_title">RM1 Music Headphones</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set01_img img-responsive position-r"><img src="__PUBLIC__/weben/images/headset/lj_voice_img03.jpg" alt=""/>
|
||||
<div class="lj_set_title">RP1 Music Headphones</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $( window ).width();
|
||||
//alert(trans_width);
|
||||
if ( trans_width < 768 ) {
|
||||
$( '.lj_set01_product' ).bxSlider( {
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
} );
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<!--金属高保真耳机-->
|
||||
<div class="headset position-r"> <img src="__PUBLIC__/weben/images/headset/lj_voice_banner02.jpg" alt=""/>
|
||||
<div class="headset_03">
|
||||
<div class="title">Noise-isolation, Immerse Experience</div>
|
||||
<div class="subtitle">Music, into the ear, into the heart</div>
|
||||
<div class="text">
|
||||
To prevent external noise interference and make you more focused on the music, in-ear skin-friendly headphones deliver superior ambient noise isolation, bringing you wonderful listening experience.
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container">
|
||||
<div class="lj_set_img01"><a href="#"><img src="__PUBLIC__/weben/images/headset/lj_voice_img04.jpg" alt=""/></a>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">RM3 Metal Hi-fi Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set_img01"><img src="__PUBLIC__/weben/images/headset/lj_voice_img05.jpg" alt=""/>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">RM2 Metal Hi-fi Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set_img01"><img src="__PUBLIC__/weben/images/headset/lj_voice_img06.jpg" alt=""/>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">P2 Music Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set_img01"><img src="__PUBLIC__/weben/images/headset/lj_voice_img07.jpg" alt=""/>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">P1 Music Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $( window ).width();
|
||||
//alert(trans_width);
|
||||
if ( trans_width < 768 ) {
|
||||
$( '.lj_set_product' ).bxSlider( {
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
} );
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<!--金属高保真耳机-->
|
||||
<div class="headset position-r"> <img src="__PUBLIC__/web/images/headset/lj_voice_banner03.jpg" alt=""/>
|
||||
<div class="headset_04">
|
||||
<div class="title">Clear Sound, Unbounded Communication </div>
|
||||
<div class="subtitle">Clear and noiseless, one-click unbounded communication.
|
||||
</div>
|
||||
<div class="text">
|
||||
The noise reduction microphone is to provide you a face-to-face like conversation, high-quality, high-definition voice call, with noise reduction design, effectively eliminate the surrounding noise, so that communication is convenient.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_travel_text">Start a Music Tour</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
87
app/th/view/group/honor.phtml
Executable file
87
app/th/view/group/honor.phtml
Executable file
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/honor.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="honor">
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/weben/images/honor/Honor-banner.jpg"></div>
|
||||
</div>
|
||||
<div class="honner_01">
|
||||
<div class="swt-Container">
|
||||
<div class="honner_01_all">
|
||||
<div class="honner_01_text">
|
||||
<p>ORICO สร้างสรรค์อุปกรณ์บนพื้นฐานของเทคโนโลยีที่เกี่ยวกับ USB ที่ได้รับการยอมรับอย่างแพร่หลายในช่วงระยะเวลา 10 ปี โดยเฉพาะสินค้าที่เกียวข้องกับการจัดเก็บข้อมูล การชาร์จและจ่ายไฟ</p>
|
||||
<p>เกียรติยศที่ได้รับ เป็นทั้งการยอมรับและเต็มไปด้วยภาระรับผิดชอบ</p>
|
||||
<p>เราต้องการที่จะสร้างสรรค์เทคโนโลยีที่ตอบสนองความต้องการของคนทั่วโลก เพื่อให้ได้ชีวิตที่ง่ายขึ้นในโลกสมัยใหม่</p>
|
||||
</div>
|
||||
<div class="honner_01_list">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="big_text">20+</div>
|
||||
<div class="small_text">จำนวนสิทธิบัตรด้านเทคโนโลยี</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="big_text">300+</div>
|
||||
<div class="small_text">จำนวนสิทธิบัตรด้านการออกแบบ</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="big_text">100+</div>
|
||||
<div class="small_text">จำนวนสิทธิบัตรด้านการสร้างสรรค์ผลิตภันฑ์</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_02">
|
||||
<div class="honner_title">ใบอนุญาตสิทธิบัตร</div>
|
||||
<div class="honner_des">20+ สิทธิบัตรการประดิษฐ์, 300+ สิทธิบัตรการออกแบบ,100+ สิทธิบัตรทั่วไป</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_02.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_03">
|
||||
<div class="honner_title">ทรัพย์สินทางปัญญา</div>
|
||||
<div class="honner_des">สินค้าของเราประกอบด้วยสิทธิบัตร และเครื่องหมายการค้า เรามีทรัพย์สินที่เป็นสิทธิบัตรทั้งในประเทศและทั่วโลก เพื่อนำ ORICO ก้าวสู่ความเป็นสากล</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_03.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_04">
|
||||
<div class="honner_title">ใบรับรองและการทดสอบ</div>
|
||||
<div class="honner_des">สินค้า ORICO ผ่านการทดสอบและได้รับการรับรองภายใต้มาตรฐานผลิตภัณฑ์จากทั่วโลก เป็นเพียงสิ่งเริ่มต้นของการก้าวลำด้านคุณภาพของเรา</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_04.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_05">
|
||||
<div class="honner_title">ความเชื่อมั่นคุณ คือแรงผลักดันของเรา</div>
|
||||
<div class="honner_des">การทำงานร่วมกันอย่างใกล้ชิตระว่างเราและพาร์ทเนอร์คือแรงกำลังสำคัญให้เราก้าวล้ำและเป็นผู้นำ</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_05.png">
|
||||
</div>
|
||||
</div> <!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
10
app/th/view/group/index.phtml
Executable file
10
app/th/view/group/index.phtml
Executable file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
123
|
||||
</body>
|
||||
</html>
|
||||
125
app/th/view/group/industry.phtml
Executable file
125
app/th/view/group/industry.phtml
Executable file
@@ -0,0 +1,125 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/industry.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<!--Banner-->
|
||||
<div class="Industry_Banner">
|
||||
<div class="all">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<div class="title">แบบแบนการทงานของซัพพลายเชน</div>
|
||||
<div class="des">ระบบซัพพลายทั้งระบบถูกออกแบบให้ควบรวมตั้งแต่ R&D, การออกแบบสินค้า, ช่องทางการขาย และการทำตลาด เข้าด้วยกัน โดยสินค้า ORICO และบริการทุกอย่างสามารถตอบสนองความต้องการของลูกค้าได้อย่างรวดเร็วทันต่อความต้องการของตลาด ด้วยประสบการณ์กว่า 9 ปีของเรา เราได้รับประสบการณ์การทำงานร่วมกับทีมงานที่หลายหลาย และมีความรู้ที่ในเทคโนโลยีอย่างลึกซึ้ง ซึ่งสามารถให้คำแนะนำต่อลูกค้าและผู้ร่วมงานได้อย่างรวดเร็วและแม่นยำ</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<!--第二屏-->
|
||||
<div class="Industry_Gray_bg Industry_02">
|
||||
<div class="swt-Container Industry_white_bg">
|
||||
<div class="left ">
|
||||
<img src="__PUBLIC__/weben/images/industry/industry_01.jpg">
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/industry/industry_01_2.jpg"></div>
|
||||
<div class="Industry_title">ทางทฤษฏีและทีมผู้ดูแล</div>
|
||||
<div class="des">ทางทีมงานมีความเข้าใจต่อตลาดและความแข่งขันที่มีอยู่สูง สามารถสร้างสรรค์สินค้าที่ตอบสนองและเป็นผู้นำ สามารถให้ข้อแนะนำสินค้าที่เหมาะสมและตรงต่อความต้องการ รวมถึงจัดสร้างทีมที่เหมาะสมต่อตลาดและผลิตภัณฑ์ได้ </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="Industry_03 Industry_white_bg">
|
||||
<div class="swt-Container">
|
||||
<div class="Industry_title">ความสามารถในการขยายการผลิต ผ่านโรงงานทั้ง 4 โรงงาน</div>
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/weben/images/industry/industry_03_1.jpg">
|
||||
<div class="text">ORICO มีโรงงานที่มีความสมบูรณ์ในตัวถึง 4 โรง สามารถผลิตทั้งสายการผลิตด้วยตนเองและสามารถสร้างผลผลิตได้ด้วยโรงงานแต่ละโรง</div>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/weben/images/industry/industry_03_2.jpg">
|
||||
<div class="text">การที่มีทุกส่วนที่พร้อมทำงานในที่เดียวตั้งแต่ระบบการออกแบบ การทำโมล การออกแบบวงจร และ R&D เป็นศูนย์กลาง รวมถึงงานประกอบ ทำให้การทำงานเป็นได้อย่างมีประสิทธิภาพ</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--第四屏-->
|
||||
<div class="Industry_04">
|
||||
<div class="swt-Container">
|
||||
<div class="Industry_bg">
|
||||
<div class="left">
|
||||
<p class="Industry_title">ด้านเทคนิคและสินค้าของสินค้าทั้ง 9 ประเภท</p>
|
||||
<p><img src="__PUBLIC__/weben/images/industry/industry_part_3.png"></p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="Industry_des">
|
||||
<p>สินค้าทั้ง 9 ประเภทประกอบด้วยสินค้ามากกว่าพันรายการ ที่เกียวข้องกับ USB รวมถึงทั้งที่ส่งข้อมูล การชาร์จ และอุปกรณ์ใช้อื่นๆทั่วไป จากการออกแบบถึงเทคโนโลยีที่เกียวข้อง ผ่านประสบการณ์ 9 ปีของเรา รวมกันเป็นขุมกำลังที่พร้อมกับนวัตกรรมและทีมงานที่พร้อมจะสรรค์สร้างสินค้าให้ผู้ใช้</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第五屏-->
|
||||
<div class="Industry_05 Industry_Gray_bg">
|
||||
<div class="swt-Container">
|
||||
<div class="Industry_title">ระบบที่พร้อมจะสนับสนการสร้างแบรนด์</div>
|
||||
<div class="swt-Table_Industry">
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">แบรนด์</div>
|
||||
<div class="Industry_des">จากการสร้างแบรนด์ จาก Brand VI แนวทางของแบรนด์เพื่อให้ชัดเจนในการทำงาน และสร้างสรรค์สินค้า</div>
|
||||
</div>
|
||||
<div class="img-responsive "><img src="__PUBLIC__/weben/images/industry/industry_05_1.jpg"></div>
|
||||
</li>
|
||||
<li class="Table-Cell"></li>
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">ระบบ</div>
|
||||
<div class="Industry_des">ด้วยการใช้เทคโนโลยี R&D ที่เก่ยวกับ USB เป็นหลัก พร้อมการออกแบบสินค้า สายการผลิตจนถึงการขาย ORICO มีระบบที่ครอบคลุมและครบครันพร้อมสำหรับการแข่งขันในตลาด</div>
|
||||
</div>
|
||||
<div class="img-responsive "><img src="__PUBLIC__/weben/images/industry/industry_05_2.jpg"></div>
|
||||
</li>
|
||||
<li class="Table-Cell"></li>
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">พื้นที่</div>
|
||||
<div class="Industry_des">ในการแบ่งการทำงานในระว่างพื้นที่ และประเทศ ทำให้การทำงานเป็นไปได้อย่างคล่องตัวและเหมาะสมในแต่ละพื้นที่</div>
|
||||
</div>
|
||||
<div class="img-responsive "><img src="__PUBLIC__/weben/images/industry/industry_05_3.jpg"></div>
|
||||
</li>
|
||||
<li class="Table-Cell"></li>
|
||||
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">โหมด</div>
|
||||
<div class="Industry_des">211 เป็นระบบที่ชาญฉลาด รวดเร็ว และยืดหยุ่น เหมาะสำหรับการค้าขายออนไลน์ และระบบ ODM</div>
|
||||
</div>
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/industry/industry_05_4.jpg"></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
105
app/th/view/group/job.phtml
Executable file
105
app/th/view/group/job.phtml
Executable file
@@ -0,0 +1,105 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/job.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/jquery.bxslider.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.bxslider.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!--加入我们-->
|
||||
<div class="swt-Container">
|
||||
<div class="join_img_l">
|
||||
<img src="__PUBLIC__/webth/images/job/join_bg_l.jpg"></div>
|
||||
</div>
|
||||
|
||||
<div class="swt-Container">
|
||||
<div class="join_staff_t">เราสร้างสรรค์และใช้เทคโนโลยีล่าสุด เพื่อสร้างสินค้าที่ร่วมได้กับทุกสินค้าที่เกี่ยวข้อง ด้วยแนวคิดจากลูกค้า ผ่านมือวิศกรของ ORICO สามารถสร้างสรรค์สิ่งใหม่ที่ดียิ่งขึ้นในทุกๆวัน
|
||||
<br>ทีมงานของเรา <img src="__PUBLIC__/web/images/job/join_up_07.jpg" style=" vertical-align: middle;"></div>
|
||||
</div>
|
||||
<!--轮播效果-->
|
||||
<div class="swt-Container">
|
||||
<div class="slider8">
|
||||
<div class="slide"><img src="__PUBLIC__/web/images/job/join_img01.jpg"></div>
|
||||
<div class="slide"><img src="__PUBLIC__/web/images/job/join_img02.jpg"></div>
|
||||
<div class="slide"><img src="__PUBLIC__/web/images/job/join_img03.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.slider8').bxSlider({
|
||||
slideWidth: 1440,
|
||||
adaptiveHeight: true,
|
||||
startSlides: 0,
|
||||
slideMargin: 10
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!--你将获得-->
|
||||
<div class="swt-Container">
|
||||
<div class="job-title join-video-p">What You Get</div>
|
||||
<div class="join_icon clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon01.jpg"><p>Rewards</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon02.jpg"><p>Career promotions
|
||||
</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon03.jpg"><p>Recognition</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon04.jpg"><p>Career trainings</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon05.jpg"><p>Five one insurance fund</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon06.jpg"><p>Extra allowances</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon07.jpg"><p>Group activities</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon08.jpg"><p>Legal holidays </p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon09.jpg"><p>Festival gifts </p></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container join-video-p">
|
||||
<video preload="none" controls poster="__PUBLIC__/web/images/job/join_us_video.jpg">
|
||||
<source src="__PUBLIC__/web/images/job/orico_job_video.mp4" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
<!--I WANT YOU-->
|
||||
<div class="job-title join_t_big">ORICO Employees Plan </div>
|
||||
<div class="job-des">If you are a potential and diligent workplace entrant, you will make great progress in your position with the help of our superior and professional teams;
|
||||
If you are an experienced veteran, join us and you will be continuing to obtain self-improvement.
|
||||
</div>
|
||||
|
||||
<!--联系方式-->
|
||||
<section class="swt-Container" style="margin-bottom: 4%;">
|
||||
<div class="job-title job-Contact-title">Contact/Address</div>
|
||||
<div class="bg-gray overflow-f">
|
||||
<ul class="job-Contact">
|
||||
<li class="job_office_i"><img src="__PUBLIC__/web/images/job/job-10.jpg"></li>
|
||||
<li>
|
||||
<p>Contact: Ms. Jiang</p>
|
||||
<p>Telephone: 0731-88965800</p>
|
||||
<p>E-mail: <a href="mailto:hrcs@orico.com.cn">hrcs@orico.com.cn</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Shenzhen ORICO Technology Co.,Ltd: F9, Headquaters Economic Center Building, Zhonghaixin Science & Technology Park, Bu Lan Road, ShenZhen, China</p>
|
||||
<p>Dongguan Internet & Creativity Industrial Park: No.24 Tangjiao Rd, Changping Town, Dongguan, China</p>
|
||||
<p>Changsha Branch: 12/11F, Block 8, Xincheng Science & Technology Park, NO.588 Yuelu District, Changsha, China</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
226
app/th/view/group/odm.phtml
Executable file
226
app/th/view/group/odm.phtml
Executable file
@@ -0,0 +1,226 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Our team may help you advance the realization of ideas</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/odm.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/scripts/bxslider/jquery.bxslider.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/bxslider/jquery.bxslider.min.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive odm_banner_p"><img src="__PUBLIC__/web/images/odm/ODM-Banner.jpg">
|
||||
<div class="odm_b_title">
|
||||
<h3>ODM</h3>
|
||||
<div class="odn_t_small">จากความต้องการของลูกค้า เราะสามารถสร้างสรรค์รูปแบบสินค้าที่เหมาสม ผ่านประสบการณ์ของทีมงาน เพื่อสร้างมูลค้าทางการค้าให้กับลูกค้าในอนาคต</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--品牌ODM-->
|
||||
<div class="odm_usb_tex">
|
||||
<div class="odm_usb_t"> ทีมงานของเราพร้อมที่จะช่วยแนวคิดของสินค้าให้ดียิ่งขึ้น</div>
|
||||
<div class="odm_usb_sm">เรามุ่งมั่นมาตลอด 9 ปี เพื่อที่จะพัฒนาสินค้าทุกประเภทที่เกียวกับ USB และไม่ได้หมดสิ้นเพียง อุปกรณ์อ่านฮาร์ดดิกส์ แต่ยังมีสินค้าชาร์จไฟ อุปกรณ์ต่อพ่วงต่างๆอีกมายมายที่เป็นสินค้าที่ออกแบบโดยเรา </div>
|
||||
</div>
|
||||
<!--Menu-->
|
||||
<div class="odm-img clearfix">
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/157.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-01.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/157.html"><button title="Add To Cart" class="add-to-cart">Data Storage</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/158.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-02.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/158.html"><button title="Add To Cart" class="add-to-cart">Data Transmission</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/159.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-03.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/159.html"><button title="Add To Cart" class="add-to-cart">Power Storage</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/160.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-04.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/160.html"><button title="Add To Cart" class="add-to-cart">Power Delivery</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/161.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-05.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/161.html"><button title="Add To Cart" class="add-to-cart">Accessories</button></a>
|
||||
</div>
|
||||
</div>
|
||||
<!--选择我们的理由-->
|
||||
<div class="ODM-Gray ODM-Select overflow-f">
|
||||
<div class="swt-Container">
|
||||
<div class="odm_usb_tex">
|
||||
<div class="odm_usb_t">การให้บริการอย่างจริงใจ</div>
|
||||
<div class="odm_usb_sm01">ORICO มีโรงงานที่ได้มาตรฐาน ทั้งโรงงานผลิตโมล, โรงงานฉีดพลาสติก, SMT, ไลน์การประกอบ, โรงงานแพ๊กเกจ ผ่านระบบ 211 ที่ออกแบบโดยทีมงานของเรา ทำให้สร้างระบบการสร้างสรรค์สินค้าที่มีความยืดหยุ่น สามารถผลิตสินค้าที่หลาหลายได้ถึง 4 หมื่นล้าน หยวน เพื่อตอบสนองต่อความต้องการของตลาด</div>
|
||||
</div>
|
||||
<div class="table01">
|
||||
<ul>
|
||||
<li ><img src="__PUBLIC__/webth/images/odm/odm1.3_20.jpg"></li>
|
||||
<li><img src="__PUBLIC__/webth/images/odm/odm1_22.jpg"></li>
|
||||
<li><img src="__PUBLIC__/webth/images/odm/odm1_32.jpg"></li>
|
||||
<li><img src="__PUBLIC__/webth/images/odm/odm1.3_34.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="table02">
|
||||
<ul>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/odm1.3_24.jpg"></li>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/odm1.3_26.jpg"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/odm1_35.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--灵活多变的模式-->
|
||||
<div class="odm_re_all">
|
||||
<div class="odm_research">ความยืดหยุ่นของระบบงานและทีมเทคนิค</div>
|
||||
<div class="odm_re_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm1_08.jpg" >
|
||||
<div class="odm_re_text">มีประสบการณ์และความมุ่งมั่นในการพัฒนาสินค้า </div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm1_10.jpg" >
|
||||
<div class="odm_re_text">มีหลายทีมงานที่มีประสบการณ์ที่แตกต่างรวมถึง R&D</div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm1_12.jpg" >
|
||||
<div class="odm_re_text">Mould OEM</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--证书-->
|
||||
<div class="ODM-Gray">
|
||||
<div class="odm_pic_i odm_n_z">
|
||||
<div class="Patent" style="clear: both">
|
||||
<img src="__PUBLIC__/web/images/odm/odm1.3_42.jpg">
|
||||
</div>
|
||||
</div></div>
|
||||
|
||||
<!--解决方案-->
|
||||
<div class="odm_f1">
|
||||
<div class="odm_usb_tex">
|
||||
<div class="odm_usb_t"> โซลูชั่นของเรา</div>
|
||||
<div class="odm_usb_sm">ORICO มีระบบการผลิตสินค้าตั้งแต่ R&D ถึงสายการผลิต การขนส่งจนถึงมือผู้ใช้งาน</div>
|
||||
</div>
|
||||
|
||||
<div class="odm_one">
|
||||
<div class="odm_ont_bg">
|
||||
<div class="odm_ont_bor clearfix">
|
||||
<div class="odm_two_num"><img src="__PUBLIC__/web/images/odm/odm_two_03.png" ></div><div class="odm_line_l"><img src="__PUBLIC__/web/images/odm/odm_line_03.jpg" ></div> <div class="odm_two_order"><p><span class="font_one">2 สัปดาห์ในออกแบบ,</span><span class="font_one">1 สัปดาห์ ในการผลิต,</span><span class="font_one"> 1 ชิ้น</span></p> <p class="font_two">Uระบบการผลิต 211 ที่เป็นจุดแข็งของเรา
|
||||
</p></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="odm_research01">ระบบใหม่ที่เป็นขุมกำลังที่มีความยืดหยุ่น</div>
|
||||
<div class="odm_re_all">
|
||||
<div class="odm_re_img01 clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm_order_01.jpg" >
|
||||
<div class="odm_order_t">ระบบการสั่งสินค้า และการควมคุมสต๊อก</div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm_order_02.jpg" >
|
||||
<div class="odm_order_t">จากการคำนวนยอดขายใน 3 เดือนย้อนหลังเพื่อใช้คาดเดาปริมาณสินค้าที่จะใช้ในเดือนต่อไป</div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm_order_03.jpg" >
|
||||
<div class="odm_order_t">ทุกๆควอเตอร์ทำการตำนวนโดยคำนึงถึงค่าเฉลี่ยและทอนยอดที่สูงเกินจริง เพื่อสร้างสต๊อกที่เหมาะสม</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--ODM项目服务流程-->
|
||||
|
||||
<div class="odm_re_all">
|
||||
<div class="odm_service">ODM Progress</div>
|
||||
<div class="odm_se_img"><img src="__PUBLIC__/webth/images/odm/odm1_18.jpg" ></div>
|
||||
</div>
|
||||
|
||||
<!--合作伙伴-->
|
||||
<div class="odm_f1">
|
||||
<div class="w1440 wow fadeInUp" data-wow-delay="0.9s">
|
||||
<!-- 公共标题 s -->
|
||||
<div class="ODM-Title">ความร่วมมือกับ</div>
|
||||
<!-- 公共标题 e -->
|
||||
<div class="hz">
|
||||
<ul>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_01.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_02.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_03.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_04.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_05.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_06.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_07.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_08.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_09.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_10.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_11.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_12.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_13.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_14.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_15.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_16.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_17.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_18.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_19.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_20.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_21.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_22.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_23.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_24.jpg"></li>
|
||||
</ul>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.hz ul').bxSlider({
|
||||
slideWidth: 340,
|
||||
minSlides: 2,
|
||||
maxSlides: 8,
|
||||
slideMargin: 0,
|
||||
auto:true,
|
||||
controls:false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function(){
|
||||
$(".ODM-Menu li").mouseover(function(){
|
||||
$(this).find(".img-responsive").addClass("MH-after");
|
||||
})
|
||||
$(".ODM-Menu li").mouseout(function(){
|
||||
$(this).find(".img-responsive").removeClass("MH-after");
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
211
app/th/view/group/odm11.phtml
Executable file
211
app/th/view/group/odm11.phtml
Executable file
@@ -0,0 +1,211 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/odm.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive banner-other"><img src="__PUBLIC__/web/images/odm/ODM-Banner.jpg"></div>
|
||||
<section class="ODM-Gray">
|
||||
<div class=""></div>
|
||||
</section>
|
||||
<!--品牌ODM-->
|
||||
<div class="ODM-Gray ODM-Brand">
|
||||
<div class="swt-Container">
|
||||
<div class="ODM-Brand-L">
|
||||
<div class="ODM-Title">品牌<span class="Ts-Orage">ODM</span><span class="icon-culture-P Ts-Orage ODM-punctuation"></span></div>
|
||||
<div class="ODM-Des">专注于USB周边产品的研发与生产,包括不仅限于USB存储,USB数据传输,USB充电器,USB接线板,USB小家电等USB周边产品。以客户的本质需求为导向,为客户提供产品和解决方案,坚持优化创新、注重客户体验,持续为客户创造长期价值。 </div>
|
||||
<div class="img-responsive Image"><img src="__PUBLIC__/web/images/odm/ljt.png"></div>
|
||||
</div>
|
||||
<div class="ODM-Brand-R img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_01.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Menu-->
|
||||
<div class="ODM-Menu" style="position: relative">
|
||||
<div class="img-responsives"><img src="__PUBLIC__/web/images/odm/ODM-BG.png"></div>
|
||||
<ul>
|
||||
<li><a href="/product/category/75.html"><div class="P-01">电脑周边</div><div class="M-02">电脑<br>周边</div></a><div class="img-responsive MH-Before"><img src="__PUBLIC__/web/images/odm/ODM_02_01.jpg"></div></li>
|
||||
<li><a href="/product/category/85.html"><div class="P-01">手机配件</div><div class="M-02">手机<br>配件</div></a><div class="img-responsive MH-Before"><img src="__PUBLIC__/web/images/odm/ODM_02_02.jpg"></div></li>
|
||||
<li><a href="/product/category/86.html"><div class="P-01">电子电工</div><div class="M-02">电子<br>电工</div></a><div class="img-responsive MH-Before"><img src="__PUBLIC__/web/images/odm/ODM_02_03.jpg"></div></li>
|
||||
<li><a href="/product/category/87.html"><div class="P-01">影音娱乐</div><div class="M-02">影音<br>娱乐</div></a><div class="img-responsive MH-Before"><img src="__PUBLIC__/web/images/odm/ODM_02_04.jpg"></div></li>
|
||||
<li><a href="/product/category/88.html"><div class="P-01">个人护理</div><div class="M-02">个人<br>护理</div></a><div class="img-responsive MH-Before"><img src="__PUBLIC__/web/images/odm/ODM_02_05.jpg"></div></li>
|
||||
<li><a href="/product/category/89.html"><div class="P-01">生活周边</div><div class="M-02">生活<br>周边</div></a><div class="img-responsive MH-Before"><img src="__PUBLIC__/web/images/odm/ODM_02_06.jpg"></div></li>
|
||||
<li><a href="/product/category/90.html"><div class="P-01">高端游戏</div><div class="M-02">高端<br>游戏</div></a><div class="img-responsive MH-Before"><img src="__PUBLIC__/web/images/odm/ODM_02_07.jpg"></div></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<!--解决方案-->
|
||||
<div class="ODM-Gray ODM-Solution overflow-f">
|
||||
<div class="swt-Container">
|
||||
<div class="ODM-Title">解决方案<span class="icon-culture-P Ts-Orage ODM-punctuation"></span></div>
|
||||
<div class="ODM-Subtitle">拥有从设计到研发再到生产制造,物流运输到最终推向市场的完整产业链布局。</div>
|
||||
<div class="Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell ODM-Solution-L text-c">
|
||||
|
||||
<div class="line"></div>
|
||||
<div class="title"><span>特色的“211”供应模式</span></div>
|
||||
<div class="ODM-Des">2周研发,1周交付,1个起订</div>
|
||||
<div class="img-responsive Image"><img src="__PUBLIC__/web/images/odm/ODM_03.png"></div>
|
||||
</div>
|
||||
<div class="Table-Cell ODM-Solution-C"></div>
|
||||
<div class="Table-Cell ODM-Solution-R">
|
||||
<div class="all-center">
|
||||
<div class="title">灵活多变的服务模式与技术范畴</div>
|
||||
<ul>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_04.jpg"><p>全权负责产品定义与研发</p></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_05.jpg"><p>多方共同定义与研发</p></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_06.jpg"><p>转接模具代生产</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="all-center margin-t-3">
|
||||
<div class="title">全新柔性供应补货模式</div>
|
||||
<ul>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_07.jpg"><p>Forecast订单/开放销售数据,供应商滚动备货模式</p></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_08.jpg"><p>依据前三个月销售数据,按照备货系数,供应商自动开始第4个月备货</p></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_09.jpg"><p>1.5*前三个月销量平均值</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_odm_bg" style="overflow: hidden">
|
||||
<div class="lj_odm_w">
|
||||
<div class="lj_title">ODM项目服务流程<div class="dot"><img src="__PUBLIC__/web/images/odm/dot1.png" alt=""/></div></div>
|
||||
|
||||
<div class="lj_odm_process">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="text01">市场分析</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_34.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">锁定标的与目标成本</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_35.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">系列化产品规划</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_36.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">确定需求并评估</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_37.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">支付研发定金</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_38.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">支付研发定金</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_39.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">支付研发定金</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_40.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">支付研发定金</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_41.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">支付研发定金</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_42.png" alt=""/></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="text01">支付研发定金</div>
|
||||
<div class="process_img"><img src="__PUBLIC__/web/images/odm/ODM_43.png" alt=""/></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--选择我们的理由-->
|
||||
<div class="ODM-Gray ODM-Select overflow-f">
|
||||
<div class="swt-Container">
|
||||
<div class="ODM-Title">选择我们的理由<span class="icon-culture-P Ts-Orage ODM-punctuation"></span></div>
|
||||
<div class="text-c des">公司配套自有五金模具厂,塑胶模具厂,贴片厂,组装厂,包装厂。搭配具有特色的211供应模式,打造产能可突破40亿元强有力的柔性供应链,敏锐反应市场需求。简化合作流程,并为每一位合作伙伴耐心服务。</div>
|
||||
<div class="table01">
|
||||
<ul>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/ODM_10.jpg"></li>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/ODM_11.jpg"></li>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/ODM_13.jpg"></li>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/ODM_14.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="table02">
|
||||
<ul>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_12.jpg"></li>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/ODM_15.jpg"></li>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/ODM_16.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="Patent ODM-Blue" style="clear: both">
|
||||
<ul>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_17.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_18.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_19.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_20.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_21.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_22.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_23.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_24.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_25.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_26.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_27.png"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/ODM_28.png"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--合作伙伴-->
|
||||
<div class="indexbox2">
|
||||
<div class="w1440 wow fadeInUp" data-wow-delay="0.9s">
|
||||
<!-- 公共标题 s -->
|
||||
<div class="com">
|
||||
<div class="ODM-Title">合作伙伴<span class="icon-culture-P Ts-Orage ODM-punctuation"></span></div>
|
||||
|
||||
</div>
|
||||
<!-- 公共标题 e -->
|
||||
<div class="hz">
|
||||
<ul>
|
||||
<li><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h1.jpg"></a></li>
|
||||
<li><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h2.jpg"></a></li>
|
||||
<li><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h3.jpg"></a></li>
|
||||
<li><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h4.jpg"></a></li>
|
||||
<li><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h5.jpg"></a></li>
|
||||
<li class="l1"><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h6.jpg"></a></li>
|
||||
<li class="l1"><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h7.jpg"></a></li>
|
||||
<li class="l1"><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h8.jpg"></a></li>
|
||||
<li class="l1"><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h9.jpg"></a></li>
|
||||
<li class="l1"><a href=""><img src="__PUBLIC__/web/uploadfiles/image/h10.jpg"></a></li>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function(){
|
||||
$(".ODM-Menu li").mouseover(function(){
|
||||
$(this).find(".img-responsive").addClass("MH-after");
|
||||
})
|
||||
$(".ODM-Menu li").mouseout(function(){
|
||||
$(this).find(".img-responsive").removeClass("MH-after");
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
156
app/th/view/group/policy.phtml
Executable file
156
app/th/view/group/policy.phtml
Executable file
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>บริการหลังการขาย(เฉพาะในจีน)</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/policy.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/webth/images/policy/policy-01.jpg"></div>
|
||||
<div class="lj_sale_policy">บริการหลังการขาย(เฉพาะในจีน)</div>
|
||||
<div class="lj_sale_t">ORICO ให้การรับประกันโดย คืนเงินใน 7 วัน เปลี่ยนสินค้าใน 15 วัน และรับประกันคุณภาพ 1 ปี และดูแลลูกค้าและสินค้าตลอดอายุการใช้งาน</div>
|
||||
<div class="lj_w_policy">
|
||||
<div class="lj_icon_l clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon01.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">คืนเงินใน 7 วัน</div>
|
||||
<div class="lj_des">ลูกค้าสามารถได้รับเงินคืนหลังจากได้รับสินค้า 7 วัน ในกรณีที่สินค้าอยู่ในสภาพที่ 100% สามารถขายได้ โดยลูกค้าต้องรับผิดชอบค่าใช้จ่ายค่าขนส่งทั้งหมด (สินค้าบางประเภทไม่สามารถนำกลับมาขายได้ ดังนั้นการคืนสินค้า 7 วันไม่สามารถทำได้)</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon02.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">การดูแลตลอดอายุการใช้งาน</div>
|
||||
<div class="lj_des">สินค้า ORICO มีรับประกันสินค้า 1 ปีหลังจากซื้อ และยังสามารถส่งกลับมาเพื่อตรวจสอบและซ่อมแซมหลัง 1 ปี (มีค่าแรงและค่าอุปกรณ์กรณีเกินอายุประกัน 1 ปี) </div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon03.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">เปลี่ยนสินค้าใน 15 วัน</div>
|
||||
<div class="lj_des">ลูกค้าสามารถขอเปลี่ยนรุ่นสินค้าในกลุ่มสินค้าเดียวกัน หากพบข้อบกพร่องในตัวสินค้าหรือประสิทธิภาพในระหว่างวันที่ 8-15 หลังจากได้รับสินค้า โดยลูกค้าต้องรับผิดชอบค่าใช้จ่ายค่าขนส่งทั้งหมด</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon04.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">สินค้ารับประกัน 1 ปี</div>
|
||||
<div class="lj_des">ORICO ทำงานอย่างใกล้ชิดร่วมกับ Western Digital(WD) โดยมีผลิตภัณท์ที่ขายร่วมกับฮาร์ดดิสก์ WD (เฉพาะในจีน) การรับประกัน 1 ปีเปลี่ยนสินค้าใหม่ และประกันซ่อมแซมสินค้าในกรณีมีปัญหาระหว่าปี 2-3 หลังจากได้รับสินค้า</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="lj_bg_i clearfix">
|
||||
<div class="lj_img_l"><img src="__PUBLIC__/webth/images/policy/policy-img01.jpg"></div>
|
||||
<div class="lj_text_r">
|
||||
<div class="lj_h3">การรับประกันไม่ครอบคลุมถึงสาเหตุเหล่านี้(เฉพาะในจีน)</div>
|
||||
<div class="lj_des">
|
||||
<p>1、การแก้ไขหรือดัดแปลงสินค้า ที่ทำให้ Serial Number และ ป้ายรับประกันเสียหายหรือสูญหาย</p>
|
||||
<p>2、การสึกหรอหรือเสื่อมสภาพที่เกิดจากการใช้งานทั่วไป</p>
|
||||
<p>3、การใช้งานอย่างผิดปกติ หรือการจงใจทำให้เกิดความเสียหาย</p>
|
||||
<p>4、การเกิดความเสียหายจากอุบัติภัย</p>
|
||||
<p>5、การแก้ไขซ่อมแซมที่ไม่ได้เกิดจากทีมงาน ORICO</p>
|
||||
<p>6、ทางบริษัทสงวนสิทธิในการปฏิเสธการใช้บริการในกรณีอื่นๆที่บริษัทเห็นควร</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_three_policy">ข้อมูลขั้นตอนการคืนสินค้าเคลมสินค้า และซ่อมแซมสินค้า(เฉพาะในจีน)</div>
|
||||
<div class="lj_t_small">ขั้นตอนในการส่งคืนสินค้า</div>
|
||||
<div class="lj_policy_icon clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon05.jpg"></div>
|
||||
<div class="lj_icon05_text">กรุณาแสดงใบเสร็จที่แสดงระยะเวลาซื้อที่อยู่ในระยะเวลาประกัน หากไม่มีทางบริษัทจะถือการรับประกันนับจากวันส่งสินค้าออกจากคลัง 1 ปี + 90 วัน</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon06.jpg"></div>
|
||||
<div class="lj_icon05_text">กรุงณาแนบท้ายรายละเอียดผู้ซื้อและใบเสร็จ ใบเสร็จต้องออกจากตัวแทนที่ได้รับอนุญาต โดยมีลายเซ็นและตราประทับที่ไม่ได้รับการแก้ไข</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon07.jpg"></div>
|
||||
<div class="lj_icon05_text">เราจะเปลี่ยนเฉพาะส่วนสินค้าที่เสีย หากสินค้าอยู่ในการรับประกัน เช่นสายเสียทีมงานจะเปลี่ยนสายใหม่เพื่อให้ใช้งานได้ปกติ</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="lj_bg_i clearfix">
|
||||
<div class="lj_img_l"><img src="__PUBLIC__/webth/images/policy/policy-img02.jpg"></div>
|
||||
<div class="lj_text_r">
|
||||
<div class="lj_h3">สงวนสิทธิการไม่รับประกัน (เฉพาะในจีน) </div>
|
||||
<div class="lj_des">
|
||||
<p>1、หากได้รับความเสียหายจากภัยธรรมชาติ การใช้งานผิดวิธี การใช้งานผิดประเภท รวมถึงใช้งานร่วมกับอุปกรณ์ที่ไม่ได้มากับสินค้า</p>
|
||||
<p>2、 หากสินค้าได้รับการแก้ไขตกแต่งหรือเสียหายจากผู้ที่ไม่ได้เป็นตัวแทนแต่งตั้งจาก ORICO</p>
|
||||
<p>3、 หากใช้ร่วมกับอุปกรณ์ที่ผิดจากที่บ่งบอกใช้ในคู่มือ หรือความบกพร่องจากการขนส่ง</p>
|
||||
<p>4、 ความเสียหายที่เกิดจากการใช้งานโดยความเข้าใจผิดของผู้ใช้</p>
|
||||
<p>5、 ความเสียหายภายนอกที่เกิดจากการใช้งานทั่วไป เช่นรอยขีดข่วนบนสินค้าหรือป้าย</p>
|
||||
<p>6、 สินค้าหมดระยะประกัน</p>
|
||||
<p>7、 Nหากไม่มีเอกสารแสดงการซื้อจากตัวแทนที่ได้รับการแต่งตั้ง หรือไม่สามารถแสดงวันที่ซื้อสินค้าได้</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_three_policy">ส่วนที่สี่ เพิ่มเติม (เฉพาะในจีน)</div>
|
||||
<div class="lj_policy_four clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon08.jpg"></div>
|
||||
<div class="lj_icon05_text">หากสินค้ามีร่องรอยความเสียหายที่เกิดจากน้ำ ทางบริษัทจำเป็นต้องให้ผู้ใช้เซ็นข้อตกลงการซ่อมแซมเฉพาะส่วนที่ไม่ได้รับผลกระทบจากน้ำ หากไม่ทางเราขอสงวนสิทธในการปฏิเสธการซ่อม</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon09.jpg"></div>
|
||||
<div class="lj_icon05_text">หากสินค้ามีข้อบกพร่องที่เกิดจากกระทำโดยตั้งใจ การรับประกันถือว่าสิ้นสุด ทาง ORICO จะยังคงดูแลตรวจสอบแต่อะไหล่หรืออุปกรณ์ที่จำเป็นต้องใช้ในการแก้ไขให้สินค้ากลับมาอยู่ในสภาพพร้อมใช้งาน จะต้องคิดค่าใช้จ่ายจากผู้ใช้</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon10.jpg"></div>
|
||||
<div class="lj_icon05_text">หากสินค้าไม่อยู่ในการรับประกัน หรือจำเป็นต้องคิดค่าใช้จ่ายจากผู้ใช้ ORICO จะทำการแจ้งค่าใช้จ่ายที่เกิดขึ้นและต้องได้รับการยินยอมจากผู้ใช้ก่อนการซ่อม</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon11.jpg"></div>
|
||||
<div class="lj_icon05_text">For example, if Shenzhen ORICO Technologies Co., Ltd. has another advertising commitment approved by the headquarter. The effective area and effective time indicated in the advertisement must be implemented as promised.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="lj_bg_i lj_mar_5 clearfix">
|
||||
<div class="lj_img_l"><img src="__PUBLIC__/webth/images/policy/policy-img04.jpg"></div>
|
||||
<div class="lj_text_r">
|
||||
<div class="lj_h3">ข้อควรระวัง
|
||||
</div>
|
||||
<div class="lj_des">
|
||||
<p>1、 กรุณากรอกข้อมูลของผู้ใช้ให้ครบถ้วน ชื่อ และเบอร์ติดต่อ อาการปัญหา หรือสิ่งที่ต้องการให้ตรวจสอบโดยละเอียด ทางทีมงานจะตรวจสอบตามข้อแจ้งในเอกสารเป็นสำคัญ</p>
|
||||
<p>2、กรุณาสำรองข้อมูลที่อยู่ในสินค้าหากมีฮาร์ดดิสก์ การสูญหายของข้อมูลไม่อยู่ในความรับผิดชอบของบริษัท</p>
|
||||
<p>*หากข้อมูลข้างต้นไม่ได้สอดคล้อง หรือขัดต่อกฏหมาย จะถือกฏหมายของประเทศเป็นสำคัญ
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
293
app/th/view/group/rdcenter.phtml
Executable file
293
app/th/view/group/rdcenter.phtml
Executable file
@@ -0,0 +1,293 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/RDCenter.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="lj_rd_banner rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_02.jpg" alt=""/>
|
||||
<div class="lj_rd_text">
|
||||
<h3>จุดมุ่งหมายของทีมงาน R&D</h3>
|
||||
<div class="small">OORICO เป็นบริษัที่มุ่งเน้นที่จะนำเทคโนโลยีใหม่ๆเข้าสู่ตลาด ทีมงาน R&D ของเราเป็นขุมกำลังสำคัญที่นำพาเทคโนโลยีที่เกียวข้อง ทั้งแต่ USB จนถึงทุกเทคโนโลยีทั้งในปัจจุบันและอนาคต มาสร้างสรรค์สินค้า โดยยึดถือความต้องการของตลาดเป็นแนวทางสำคัญ</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--研发团队-->
|
||||
<div class="rd_team_bg">
|
||||
<div class="rd_team_w">
|
||||
<div class="rd_team_title"> ทีมงาน R&D</div>
|
||||
<div class="rd_team_sm">เรามีวิศวกรมากว่า 140 คนที่สามารถสร้างสรรค์ผลิตภัณฑ์ ทั้งการออกแบบสินค้า ออกแบบวงจรภายใน ออกแบบโมลการผลิต บริหารการผลิตทุกขั้นตอนจนได้สินค้าที่พร้อมใช้งานและจัดจำหน่าย </div>
|
||||
<div class="rd_team_icon clearfix">
|
||||
<ul>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon01.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Chief Tech Officer</p><p class="">211 service speed: 2-week R&D and 1-week production</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon02.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Project Manager</p><p>Experienced and expert</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon03.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Industrial Designer</p><p>Service-oriented and more creative</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon04.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Senior Structure Engineer</p><p>Design every component carefully</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon05.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Electronics Engineer</p><p>Examine electronic accurately</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon06.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Mould Engineer</p><p>รับผิดชอบการออกแบบโมล ผลิต การคัดเลือกวัสดุในการผลิตและอื่นๆ</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon07.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Production Manager</p><p>เพื่อประสานงานตั้งแต่ความต้องการ ถึงตลาดรวมถึงการผลิต</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon08.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Package Designer</p><p>เพื่อสรรค์สร้างแพคเกจที่เหมาะกับการใช้งานการและการขนส่ง</p>
|
||||
</div></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--研发流程-->
|
||||
<div class="n_rd_process">
|
||||
<div class="vtext">
|
||||
<p class="rd_title">ขั้นตอนของ R&D</p>
|
||||
</div>
|
||||
<div class="n_process_w">
|
||||
<div class="n_pro_img01"><img src="__PUBLIC__/webth/images/RDCenter/n_rd_process_03.jpg" alt=""/></div>
|
||||
<div class="n_pro_img02"><img src="__PUBLIC__/weben/images/RDCenter/n_rd_process_02.jpg" alt=""/></div>
|
||||
<div class="n_pro_img03"><img src="__PUBLIC__/weben/images/RDCenter/n_rd_process_04.jpg" alt=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--211快速交付-->
|
||||
<div class="rd_two_pay">
|
||||
<div class="rd_two_img">ระบบ 211</div>
|
||||
<div class="rd_img_b">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_rd_img01.jpg" alt=""/>
|
||||
<div class="rd_pay_text">
|
||||
<div class="rd_pay_r"><img src="__PUBLIC__/weben/images/RDCenter/group_num01.png" alt=""/> </div>
|
||||
<div class="rd_pay_r rd_font_i">ทำให้สามารถสร้างสินค้าใหม่ได้อย่างรวดเร็ว สร้างความแข็งแกร่งให้กับช่องทางการขาย เพิ่มยอดขายและส่วนแบ่งทางการตลาด
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rd_img_b">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_rd_img02.jpg" alt=""/>
|
||||
<div class="rd_pay_text">
|
||||
<div class="rd_pay_r"><img src="__PUBLIC__/weben/images/RDCenter/group_num02.png" alt=""/> </div>
|
||||
<div class="rd_pay_r rd_font_i">หลีกเลี้ยงการสต๊อกสินค้าเกินจำเป็น ทำให้การหมุนของการลงทุนทำได้เร็วขึ้น เพิ่มความคุ้มค้าต่อการลงทุน ลดความเสี่ยงของการขายสินค้า
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rd_img_b">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_rd_img03.jpg" alt=""/>
|
||||
<div class="rd_pay_text">
|
||||
<div class="rd_pay_r"><img src="__PUBLIC__/weben/images/RDCenter/group_num03.png" alt=""/> </div>
|
||||
<div class="rd_pay_r rd_font_i">ทำให้สามารถผลิตสินค้าได้รวดเร็วเพื่อเร่งวงจรการขายให้การลงทุนมีกำไรมากขึ้น และเพิ่มประสิทธิภาพการกระจายสินค้า
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--技术与应用-->
|
||||
<div class="n_rd_tech">
|
||||
<div class="vtext">
|
||||
<p class="rd_title">เทคโนโลยี และการนำมาใช้งาน</p>
|
||||
</div>
|
||||
|
||||
<div class="n_rd_tech_w clearfix">
|
||||
<div class="n_tech_l">
|
||||
<div class="n_tech_title">การใช้งานผลิตภัณฑ์ร่วมกันเทคโนโลยี Type-C</div>
|
||||
<div class="n_tech_line"></div>
|
||||
<div class="n_tech_text">เราใช้เทคโนโลยี Type-C ที่มีความก้าวหน้าล้ำสมัย เพื่อให้อุปกรณ์ทุกตัวในปัจจุบันสามารถทำความเร็วที่ 10Gbps และสรรค์สร้างอุปกรณ์ทุกอย่างที่เกี่ยวข้องกับการอำนวยความสะดวกในชีวิตประจำวัน โดยปัจจุบัน ORICO ผลิตสินค้ามากกว่า 65% ของสินค้าในกลุ่มการจัดเก็บข้อมูลให้กับตลาด พร้อมด้วยเทคโนโลยี Type-C ที่สามารถใช้งานร่วมกับพอร์ท Thunderbolt 3 ทำให้สารมารถส่งผ่านทั้งข้อมูลและจ่ายไฟให้กับอุปกรณ์พร้อมๆกันได้</div>
|
||||
</div>
|
||||
<div class="n_tech_r"><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech.jpg" alt=""/></div>
|
||||
</div>
|
||||
<!--数据传输技术-->
|
||||
<div class="n_rd_usb">
|
||||
<div class="n_usb_title"><div class="n_usb_m">USB2.0-3.1</div><b>เทคโนโลยีการส่งผ่านข้อมูล</b></div>
|
||||
<div class="n_usb_text">ORICO มุ่งมั่นที่จะค้นหาและพัฒนาเทคโนโลยีที่เกียวกับการส่งข้อมุลผ่าน USB ตั้งแต่ USB 2.0 ถึง 3.1 ในปัจจุบัน เรายังคงมุ่งมันพัฒนาต่อไป</div>
|
||||
<div class="n_usb_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_01.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_02.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_03.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_04.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_05.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--USB弱电运用技术-->
|
||||
<div class="n_type_c">
|
||||
<div class="n_type_c_title"><b>การนำ USB กระแสต่ำมาใช้งาน</b></div>
|
||||
<div class="n_type_c_line"></div>
|
||||
<div class="n_type_c_text">USB กระแสต่ำได้ถูกนำมาใช้งานทั่วไปตั้งแต่เมาส์ คีย์บอร์ด พัดลม และอุปกรณ์ต่างๆในชีวิตประจำวันเช่น เครื่องปั่นน้ำผลไม้ หรือโคมไฟ
|
||||
</div>
|
||||
<div class="n_type_c_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_06.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_07.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_08.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_09.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--安全家用强电技术-->
|
||||
<div class="n_rd_safe clearfix">
|
||||
<div class="n_rd_left">
|
||||
<div class="n_rd_safe_title"><b>อุปกรณ์ใช้ภายในบ้านพร้อมระบบควมคุมตวามปลอดภัย</b></div>
|
||||
<div class="n_rd_safe_line"></div>
|
||||
<div class="n_rd_safe_text">ด้วยการทำงานร่วมกับไฟบ้านกำลังไฟ 220V เราถือความปลอดภัยเป็นสำคัญในการออกแบบวงจรและเลือกใช้วัสดุที่เหมาะสม เพื่อความปลอดภัยภายใต้มาตรฐาน 3C และ มาตรฐานต่างๆทั่วโลกเช่น FCC</div>
|
||||
<div class="n_rd_safe_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_11.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_12.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="n_rd_right">
|
||||
<div class="n_rd_safe_title"><b>การสร้างโมลที่มีความแม่นยำ</b></div>
|
||||
<div class="n_rd_safe_line"></div>
|
||||
<div class="n_rd_safe_text">การออกแบบโดยทีมงาน R&D เพื่อสร้างโมลที่มีความละเอียดและแม่นยำ เพื่อสร้างสินค้าคุณภาพสูง</div>
|
||||
<div class="n_rd_safe_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_13.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_14.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--资源利用-->
|
||||
<div class="lj_make_bg">
|
||||
<div class="lj_make_all">
|
||||
<div class="vtext">
|
||||
<p class="rd_title">ใช้ทรัพยากรอย่างคุ้มค่าที่สุด</p>
|
||||
</div>
|
||||
<div class="lj_make_text">ทีมงานการผลิตจะคัดเลือกสินค้าที่ตอบสนองความต้องการของลูกค้า เพื่อให้ได้รับประสบการณ์ที่ดีที่สุดในการใช้ โดย ORCIO มีเทคนิคชั้นสูงในการผลิต มีอุปกรณ์และเครื่องมือที่พร้อมจะสร้างสรรค์สินค้าตามความต้องการของลูกค้า ทีมงาน R&D มั่นใจถึงความคุ้มค่าซึ่งตรงความต้องการ ผ่านการออกแบบที่มีประสิทธิภาพ เพื่อเพิ่มประสิทธิภาพในการลดค่าใช้จ่ายในการผลิตและเพิ่มความรวดเร็วในการผลิต</div>
|
||||
|
||||
<div class="lj_make_con clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_01.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">โรงงานผลิตโมล</div>
|
||||
<div class="lj_con_text">เรามีโมลที่มีความแม่นยำสูงที่ผลิตและใช้งานภายในมากกว่า 300 ชุด สร้างโดยเครื่องจักรที่ทันสมัย</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_02.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">เครื่องฉีดโมล</div>
|
||||
<div class="lj_con_text">สามารถผลิตสินค้ามากกว่า 40,000 ชิ้นและประกอบโมลได้มากกว่า 65,000 โมลต่อเดือน</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_03.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">การฟินนิชพื้นผิว</div>
|
||||
<div class="lj_con_text">เรามีเทคโนโลยีที่หลากหลายในการฟินนิชพื้นผิวสินค้าตั้งแต่ ฉีดสี, สกรีน, ยิงเลเซอร์ และอื่นๆ </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_04.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">การเลือกวัสดุ</div>
|
||||
<div class="lj_con_text">เราเลือกใช้พลาสติก PC คุณภาพสูง เพื่อเพิ่มสภาพการเป็นฉนวน ลดการลามไฟ รวมถึงเลือกใช้อลูมิเนียมและซิงค์ในงานประกอบ </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li> </ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="lj_make_img clearfix">
|
||||
<div class="lj-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="lj_make_al Table-Cell ">
|
||||
<div class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_make_05.jpg" alt=""/></div>
|
||||
<div class="lj_m_all">
|
||||
<div class="lj_make_l Table-Cell">เครื่องจักรฉีดพลาสติกขนาดใหญ่</div>
|
||||
<div class="lj_make_r Table-Cell">เครื่องจัก Yizumi 5เครื่อง , Haitian 16 เครื่อง
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_flow_center"></div>
|
||||
<div class="lj_make_al Table-Cell">
|
||||
<div class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_make_06.jpg" alt=""/></div>
|
||||
<div class="lj_m_all">
|
||||
<div class="lj_make_l Table-Cell">โรงงานผลิตโมล</div>
|
||||
<div class="lj_make_r Table-Cell">4 เครื่องกัด Xianfeng, 2 เตรื่องกัด Sanlian, 1 เครื่องเลื่อย Xinxing, 1 เครื่องตัด Xiongying, 1 เครื่องกัด Tianma</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_flow_center"></div>
|
||||
|
||||
<div class="lj_make_al Table-Cell">
|
||||
|
||||
<div class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_make_07.jpg" alt=""/></div>
|
||||
<div class="lj_m_all">
|
||||
<div class="lj_make_l Table-Cell">และอุปกรณ์อื่นๆ</div>
|
||||
<div class="lj_make_r Table-Cell">2 เครื่องกัดพื้นผิว, 1 เครื่องเจาะ, 1 เครื่องกลึง</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="lj_quality_bg">
|
||||
<div class="vtext rd_img">
|
||||
<p class="rd_title">ระบบควบคุมการผลิต</p>
|
||||
</div>
|
||||
<div class="lj_qua_icon clearfix">
|
||||
<ul>
|
||||
<li class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon_25.png" alt=""/>
|
||||
<div class="lj_qua_text">มีระบบ ISO 90012015</div>
|
||||
</li>
|
||||
<li class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon_26.jpg" alt=""/>
|
||||
<div class="lj_qua_text">ได้รับการรับรองสิ่งแวดล้อมจาก DMQIC ( Dongguan Municipal Quality Inspection Center)</div>
|
||||
</li>
|
||||
<li class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon_27.jpg" alt=""/>
|
||||
<div class="lj_qua_text"> มีระบบการตรวจสอบภายในอย่างเข็มมวด</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
81
app/th/view/group/search.phtml
Executable file
81
app/th/view/group/search.phtml
Executable file
@@ -0,0 +1,81 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/search.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<div class="S-search-bg banner-other nsea">
|
||||
<div class="swt-Container-1200 S-search-content secon1">
|
||||
<div class="S-Searchbox">
|
||||
<div class="Search">
|
||||
<input type="text" name="textfield" class="ipt" placeholder="HDD enclosure" id="search-in">
|
||||
<button type="submit" name="button" value="" class="searchbtn icon-search" id="search-btn"></button>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="sput">
|
||||
<input value="dfdff" placeholder="站内搜索" id="search-input" type="text">
|
||||
<a href="javascript:void(0);" id="search-button"><img src="/frontend/web/images/images/sea1.png"></a>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
/*定位光标*/
|
||||
document.querySelector('#search-in').focus();
|
||||
|
||||
|
||||
$(function() {
|
||||
//
|
||||
$("#search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/us/search'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#search-in").keyup(function(event) {
|
||||
if (event && event.keyCode === 13) {
|
||||
$("#search-btn").trigger("click");
|
||||
}
|
||||
});
|
||||
var $category = $(".navlist");
|
||||
$category.hide();
|
||||
$(".navul li").mouseleave(function() {
|
||||
$(this).children("a").addClass("aons");
|
||||
$(this).children("dl").stop(true, true).slideUp(500);
|
||||
|
||||
});
|
||||
$(".navul li").mouseenter(function() {
|
||||
$category.hide();
|
||||
$(this).children("dl").stop(true, true).slideDown(500);
|
||||
});
|
||||
//搜索框
|
||||
$(".Searchbox .icon").click(function() {
|
||||
$(".Search").slideToggle();
|
||||
});
|
||||
// 城市
|
||||
$(".zg").click(function() {
|
||||
$(".topnav").toggle();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
272
app/th/view/group/series_95.phtml
Executable file
272
app/th/view/group/series_95.phtml
Executable file
@@ -0,0 +1,272 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title> Our team may help you advance the realization of ideas</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/95_series.css">
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body style="background-color:#f2f2f2;">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/banner.jpg">
|
||||
<div class="position-a banner">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="font-60 f_weight_400">More Capacity. Easier Storage.</div>
|
||||
<div class="font-32 margin-t-20vw f_weight_400">Ultimate Data Shelter . All-New Upgrade</div>
|
||||
<div class="font-18 margin-t-15vw">ORICO 95 Series External Hard Drive Enclosure Launches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频一-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/95_series_01.jpg">
|
||||
<div class="position-a ssd_video">
|
||||
<div class="swt-Container f-black text-l">
|
||||
<div class="left">
|
||||
<p class="font-60 margin-t-50 padding-t-60">More Capacity. Easier Storage. </p>
|
||||
<p class="font-18 margin-t-20vw">The ultimate in storage, upgraded. The larger storage space of the ORICO 95 Series external hard drive enclosure is designed to meet users’ urgent need for large storage capacity. Through its’ extraordinary performance proves that: “More Capacity. Easier Storage”.</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<video controls poster="" width="100%" src="__PUBLIC__/web/images/95_series/video.mp4" loop="loop" x-webkit-airplay="true" webkit-playsinline="true">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第三屏-->
|
||||
<div class="img-responsive position-r f_weight_100 series_95_three_all">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="font-60 text-c padding-t-60">The 5 Major Upgrade.</div>
|
||||
<div class="margin-t-50 series_95_three text-c">
|
||||
<ul class="two_list">
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_01.png">Cooling Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Honeycomb heat dissipation holes with high-power silent fan, which provide excellent air circulation, thus to improve heat dissipation performance.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_02.png">Security Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Unibody aluminum alloy body, up to 4mm thick, extruded aluminum case which is hard to deform, with independent safety lock, to avoid disk damage caused by accidental falling down.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="three_list">
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_03.png">Power Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Built-in 150W power adapter, with strong power supply that provide more stable data exchange and secure data transmission.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_04.png">Speed Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Adopts SATA 3.0 TO USB3.0 bridge scheme, with UASP protocol, support theoretical transfer rate up to 5Gbps, easily transfer large files. </p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_05.png">Performance Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Adopts JMS578+JMB575 dual control chip, improve the safety and stability of data storage and transferring. </p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--RAID版本-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/95_series_03.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series_95_right series_95_mt">
|
||||
<div class="font-60 padding-t-8vw">RAID Version</div>
|
||||
<div class="font-18 margin-t-30 padding-t-8vw">On the basis of the regular version, 95 series has added RAID function, which provides 4/7 types of RAID mode. It can operate with RAID 0, 1, 3, 5, 10, as well as normal and large array modes for all your storage needs, whether it's in the pursuit of a high-speed, large capacity storage, or in the security of data, 95 series with RAID will bring you unexpected experience.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--精雕细琢,更见匠心-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/95_series_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series_95_left series_95_mt">
|
||||
<div class="font-60 padding-t-8vw">Always Pursuing Better</div>
|
||||
<div class="font-18 margin-t-30 padding-t-8vw des">Product managers at ORICO are obsessed with the appearance design of their products and strive to make them eye-catching. The whole series is forged by aluminum alloy with high quality, matched with sand-blasting anodizing process to highlight the metal quality. Pure color design with black and silver, delicate and stylish.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--适用更多场景-->
|
||||
<div class="img-responsive f_weight_100 overflow-f">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-60">Various Applications</div>
|
||||
<div class="series_95_05_text font-18 margin-t-15vw padding-t-5vw">95 Series Hard Drive Enclosure supports 16TB hard drive, combining 5-bay can provide a 80Tb large capacity, which applicable to various applications from work to life, and bring you excellent storage experience.</div>
|
||||
<div class="series_95_05 margin-t-20vw f-White">
|
||||
<div class="left position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/01.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Enterprise/Private Storage</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<ul>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/02.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Sever Expansion</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/03.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Cloud Storage</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/04.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Security Monitoring</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/05.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>HD Video Transcoding</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--95系列产品-->
|
||||
<div class="img-responsive f_weight_100">
|
||||
<div class="swt-Container f-black text-c margin-t-20vw overflow-f">
|
||||
<div class="font-60">Choose Your Preference?</div>
|
||||
<div class="font-32 margin-t-20vw">95U3 Series</div>
|
||||
<div class="subject_four_list margin-t-20vw overflow-f padding-b-30">
|
||||
<ul>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_01.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9518 RAID Enclosure</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button">
|
||||
<span class="subject_span">Learn More</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_02.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9528 RAID Enclosure</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/3563.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_03.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9548 RAID Enclosure</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<span class="subject_span">Learn More</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_04.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9558 RAID Enclosure</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/3570.html" class="subject_span" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container f-black text-c overflow-f">
|
||||
<div class="font-32 margin-t-20vw">95RU3 Series</div>
|
||||
<div class="subject_four_list margin-t-20vw padding-b-30 margin-b-30vw overflow-f">
|
||||
<ul>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_05.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9528 RAID Enclosure</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button">
|
||||
<span class="subject_span">Learn More</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_06.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9548 RAID Enclosure</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<span class="subject_span">Learn More</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_07.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9558 RAID Enclosure</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/3620.html" class="subject_span" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
142
app/th/view/group/special.phtml
Executable file
142
app/th/view/group/special.phtml
Executable file
@@ -0,0 +1,142 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>ORICO Transparent Series</title>
|
||||
<link href="__PUBLIC__/webth/css/subject/specil_new.css" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body style="background: #b5b5b5;">
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<!--banner-->
|
||||
<div class="position-r">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/banner.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container">
|
||||
<p class="banner-title img-responsive"><img src="__PUBLIC__/web/images/special/banner-title-en.png"></p>
|
||||
<p class="font-36 f-White text-c">We make technology products that perfect your life details.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第一屏-->
|
||||
<div class="special_01">
|
||||
<div class="content f-black">
|
||||
<div class="swt-Container text-c">
|
||||
<p><span><img src="__PUBLIC__/web/images/special/fly.png"></span></p>
|
||||
<p class="font-24">We’ll make unremitting efforts to provide you a better life with concise and comfort.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第二屏-->
|
||||
<div class="position-r">
|
||||
<a href="__ORICOROOT__/Group/transparent.html" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/1.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_02">
|
||||
<p class="special_small_title">ORICO Transparent Series</p>
|
||||
<p class="special_title">See The Performance Inside-Out </p>
|
||||
<p class="special_text">Crystal-clean body with high-performance chip, all confidence in technology. </p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_r">01</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/ssd.html" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/2.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_03">
|
||||
<p class="special_small_title">ORICO Troodon SSD Series</p>
|
||||
<p class="special_title"> Dominate With Furious Speed </p>
|
||||
<p class="special_text">Ultimate performance, designed to bring real speed for laptop/desk top user, easily process multitasking, take control of your game. </p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_l">02</div> </div>
|
||||
<!--第四屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/series_95.html" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/3.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_04">
|
||||
<p class="special_small_title">95 Series Hard Drive Enclosure</p>
|
||||
<p class="special_title">Enhance the Safety of Your Data</p>
|
||||
<p class="special_text">Up to 5Gbps transfer rate, easily accommodate 16TB large capacity hard disk, anodized aluminum alloy case, with safety lock, silent heat dissipation and tool-free installation. It is the optimal choice of data storage for you.</p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_r">03</div>
|
||||
</div>
|
||||
|
||||
<!--第五屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/thunderbolt_3" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/4.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_05">
|
||||
<p class="special_small_title">Thunderbolt 3 Storage + Expansion</p>
|
||||
<p class="special_title">The Power of Thunderbolt™ 3</p>
|
||||
<p class="special_text">Excellent Intel chip is here to quench your thirst for state-of-the-art technology, Thunderbolt 3 storage supports 2TB expansion, delivers up to 40 Gbps transfer speed with stable thermal management. And the Thunderbolt 3 expansion provide 8-in-1 expansion which can meet a variety of functional requirement. Let’s enjoy the real lightning speed from work to life with Thunderbolt 3.</p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_l">04</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/stripe" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/5.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_06">
|
||||
<p class="special_small_title">Pick Up Your Favorite Stripe</p>
|
||||
<p class="special_title">The Stripe Collection </p>
|
||||
<p class="special_text">Adopts stripe elements, perfect combination of shock and skid resistance, exquisite and delicate, enrich your life.</p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_r">05</div>
|
||||
</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body></body>
|
||||
</html>
|
||||
296
app/th/view/group/special01.phtml
Executable file
296
app/th/view/group/special01.phtml
Executable file
@@ -0,0 +1,296 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link href="__PUBLIC__/webth/css/subject/specil_new.css" rel="stylesheet" type="text/css">
|
||||
<link href="__PUBLIC__/webth/css/subject/jquery.bxslider.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery-1.8.3.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.bxslider.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</div>{include file="include/top-white"/}
|
||||
|
||||
<!--top End-->
|
||||
<!--top-->
|
||||
<div class="lj_trans_series"> <img src="__PUBLIC__/web/images/special/specil_ind_01.jpg" alt=""/>
|
||||
<div class="lj_all_text">
|
||||
<div class="lj_tran_a">Sweet Memories,
|
||||
<p> Deserve to be Stored and Shared</p>
|
||||
</div>
|
||||
<div class="lj_tran_b">Supply expansion peripherals to laptop/desktop users, optimize data storage, transmission and portability functions.
|
||||
</p>
|
||||
</div>
|
||||
<div class="lj_tran_c">
|
||||
<p>> Capacity expansion for PC</p>
|
||||
<p>> Large storage space</p>
|
||||
<p>> USB3.0-3.1 high-speed transmission</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_trans_img_all">
|
||||
<div class="lj_trans_img"><a href="/us/Group/transparent"><img src="__PUBLIC__/weben/images/special/spec_img_03.jpg" alt=""/></a> </div>
|
||||
</div>
|
||||
<div class="lj_tran_product">
|
||||
<div class="lj_trans_img01"><img src="__PUBLIC__/web/images/special/pro_specil_01.jpg" alt=""/>
|
||||
<div class="lj_trans_title">
|
||||
<div class="trans_font_big">Type-C Docking Station</div>
|
||||
<div class="trans_font_small">High-speed transmission</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_trans_img01"><img src="__PUBLIC__/web/images/special/pro_specil_02.jpg" alt=""/>
|
||||
<div class="lj_trans_title">
|
||||
<div class="trans_font_big">Portable HDD Enclosure</div>
|
||||
<div class="trans_font_small">High-speed transmission</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_trans_img01"><img src="__PUBLIC__/web/images/special/pro_specil_03.jpg" alt=""/>
|
||||
<div class="lj_trans_title">
|
||||
<div class="trans_font_big">HDD Duplicator</div>
|
||||
<div class="trans_font_small">Desktop data carrier</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_trans_img01"><img src="__PUBLIC__/web/images/special/pro_specil_04.jpg" alt=""/>
|
||||
<div class="lj_trans_title">
|
||||
<div class="trans_font_big">HDD enclosure with Raid</div>
|
||||
<div class="trans_font_small">Favored by fanciers</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_trans_img01"><img src="__PUBLIC__/web/images/special/pro_specil_05.jpg" alt=""/>
|
||||
<div class="lj_trans_title">
|
||||
<div class="trans_font_big">Selective Cables</div>
|
||||
<div class="trans_font_small">For audio & video</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $(window).width();
|
||||
//alert(trans_width);
|
||||
if(trans_width < 768){
|
||||
$('.lj_tran_product').bxSlider({
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<!--硬盘数据线-->
|
||||
<div class="lj_disk"> <img src="__PUBLIC__/web/images/special/specil_ind_02.jpg" alt=""/>
|
||||
<div class="lj_disk_text">
|
||||
<div class="lj_disk_a">Perfect Cellphone Partner
|
||||
<p> Sustained Power Supply</p>
|
||||
</div>
|
||||
<div class="lj_disk_b">Provide longer duration for cellphone/tablet
|
||||
<p>compact and convenient。</p>
|
||||
</div>
|
||||
<div class="lj_disk_c">
|
||||
<p>> Multiple quick charge protocols supported</p>
|
||||
<p> > Minisize and lightweight</p>
|
||||
<p>> Charge multiple devices simultaneously</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_dis_product">
|
||||
<div class="lj_dis_img01"><a href="#"><img src="__PUBLIC__/web/images/special/pro_specil_06.jpg" alt=""/></a>
|
||||
<div class="lj_dis_title">
|
||||
<div class="dis_font_big">Power Supporter</div>
|
||||
<div class="dis_font_small">Power Banks</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_dis_img01"><img src="__PUBLIC__/web/images/special/pro_specil_07.jpg" alt=""/>
|
||||
<div class="lj_dis_title">
|
||||
<div class="dis_font_big">High-performance</div>
|
||||
<div class="dis_font_small">Smart Chargers</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_dis_img01"><img src="__PUBLIC__/web/images/special/pro_specil_08.jpg" alt=""/>
|
||||
<div class="lj_dis_title">
|
||||
<div class="dis_font_big">Fast Charge Gadgets</div>
|
||||
<div class="dis_font_small">Selective Cables</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_dis_img01"><img src="__PUBLIC__/web/images/special/pro_specil_09.jpg" alt=""/>
|
||||
<div class="lj_dis_title">
|
||||
<div class="dis_font_big">Device Guardians</div>
|
||||
<div class="dis_font_small">Original Accessories</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all">
|
||||
|
||||
<script type="text/javascript">
|
||||
var trans_width = $(window).width();
|
||||
//alert(trans_width);
|
||||
if(trans_width < 768){
|
||||
$('.lj_dis_product').bxSlider({
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<!--耳机音箱专区-->
|
||||
<div class="lj_voice"><img src="__PUBLIC__/web/images/special/specil_ind_03.jpg" alt=""/>
|
||||
<div class="lj_voice_text">
|
||||
<div class="lj_voice_a">Leisure Time
|
||||
<p> Songful & Romantic</p>
|
||||
</div>
|
||||
<div class="lj_voice_b">For Music Lovers</div>
|
||||
</div>
|
||||
<div class="lj_voice_product">
|
||||
<div class="lj_voice_img01"> <a href="/us/Group/headset"><img src="__PUBLIC__/web/images/special/pro_specil_10.jpg" alt=""/></a>
|
||||
<div class="lj_voice_title">
|
||||
<div class="voice_font_big">ORICO Headphones</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_voice_img01"><img src="__PUBLIC__/web/images/special/pro_specil_11.jpg" alt=""/>
|
||||
<div class="lj_voice_title">
|
||||
<div class="voice_font_big">ORICO Vibrant Outdoor Devices</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_voice_img01"><img src="__PUBLIC__/web/images/special/pro_specil_12.jpg" alt=""/>
|
||||
<div class="lj_voice_title">
|
||||
<div class="voice_font_big">ORICO Flagship Speakers </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $(window).width();
|
||||
//alert(trans_width);
|
||||
if(trans_width < 768){
|
||||
$('.lj_voice_product').bxSlider({
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<!--收纳区域-->
|
||||
<div class="lj_usb_fan"> <img src="__PUBLIC__/web/images/special/specil_ind_04.jpg" alt=""/>
|
||||
<div class="lj_usb_text">
|
||||
<div class="lj_usb_a">Add Details to Life </div>
|
||||
<div class="lj_usb_b">Storage <span>/ </span> Clean <span>/ </span> Warm <span>/</span> Humidification <span>/</span> Summerheat </div>
|
||||
</div>
|
||||
<div class="lj_usb_product">
|
||||
<div class="lj_usb_img01"><a href="#"><img src="__PUBLIC__/web/images/special/pro_specil_13.jpg" alt=""/></a>
|
||||
<div class="lj_usb_title">
|
||||
<div class="usb_font_big">Cool summer, comfortable winter</div>
|
||||
<div class="usb_font_small">USB Fan/Humidifier</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_usb_img01"><img src="__PUBLIC__/web/images/special/pro_specil_14.jpg" alt=""/>
|
||||
<div class="lj_usb_title">
|
||||
<div class="usb_font_big">Desktop Storage</div>
|
||||
<div class="usb_font_small">For household/office</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $(window).width();
|
||||
//alert(trans_width);
|
||||
if(trans_width < 768){
|
||||
$('.lj_usb_product').bxSlider({
|
||||
slideWidth: 562,
|
||||
minSlides: 1,
|
||||
maxSlides: 1,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<!--排插专区-->
|
||||
<div class="lj_layout"> <img src="__PUBLIC__/web/images/special/specil_ind_05.jpg" alt=""/>
|
||||
<div class="lj_layout_text">
|
||||
<div class="lj_layout_a">Intelligent & Safe Power Strip </div>
|
||||
<div class="lj_layout_c">
|
||||
<p>> Ordinary power supply<span>> Office & home</span></p>
|
||||
<p>> Multiple safety norms<span>> USB power supply</span></p>
|
||||
<p>> Environment-friendly<span>> Upgraded safety</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_layout_product">
|
||||
<div class="lj_layout_img01"><a href="#"><img src="__PUBLIC__/web/images/special/pro_specil_15.jpg" alt=""/></a>
|
||||
<div class="lj_layout_title">
|
||||
<div class="layout_font_big">2018 New National Standard</div>
|
||||
<div class="layout_font_small">CCC Certification</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_layout_img01"><img src="__PUBLIC__/web/images/special/pro_specil_16.jpg" alt=""/>
|
||||
<div class="lj_layout_title">
|
||||
<div class="layout_font_big">American Standard</div>
|
||||
<div class="layout_font_small">ETL Certification</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_layout_img01"><img src="__PUBLIC__/web/images/special/pro_specil_17.jpg" alt=""/>
|
||||
<div class="lj_layout_title">
|
||||
<div class="layout_font_big">EU Import & Export Standard</div>
|
||||
<div class="layout_font_small">CE/RoSH Certification</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_layout_img01"><img src="__PUBLIC__/web/images/special/pro_specil_18.jpg" alt=""/>
|
||||
<div class="lj_layout_title">
|
||||
<div class="layout_font_big">UK BSI</div>
|
||||
<div class="layout_font_small">Import & Export Certification</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $(window).width();
|
||||
//alert(trans_width);
|
||||
if(trans_width < 768){
|
||||
$('.lj_layout_product').bxSlider({
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div class="lj_skin_fan"> <img src="__PUBLIC__/web/images/special/specil_ind_06.jpg" alt=""/>
|
||||
<div class="lj_skin_text">
|
||||
<div class="lj_skin_a">Your Beauty Secret of
|
||||
<p>Four Seasons</p> </div>
|
||||
<div class="lj_skin_b">Spring Nourishing, Summer Refreshing, Autumn Moistening, Winter Protecting</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_skin02_fan"> <img src="__PUBLIC__/web/images/special/specil_ind_07.jpg" alt=""/>
|
||||
<div class="lj_skin02_text">
|
||||
<div class="lj_skin02_a">Strong & Powerful </div>
|
||||
<div class="lj_skin02_b">Sensitive <span>/ </span> Rapid <span>/ </span> Exciting <span> </div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
374
app/th/view/group/ssd.phtml
Executable file
374
app/th/view/group/ssd.phtml
Executable file
@@ -0,0 +1,374 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Troodon Series</title>
|
||||
<meta name="Keywords" content="SSD" />
|
||||
<meta name="Description" content="SSD" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/ssd.css">
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/banner01.jpg">
|
||||
<div class="position-a ssd_banner">
|
||||
<div class="swt-Container f-White text-c">
|
||||
<div class="font-28">Troodon Series Solid State Drive</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Unfathomable Performance · Drive at Furious Speed </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频一-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/video_bg.jpg">
|
||||
<div class="position-a ssd_video">
|
||||
<div class="swt-Container f-black text-l">
|
||||
<div class="left">
|
||||
<p class="font-20 f-gray margin-t-20vw">New Generation -3D NAND TECHNOLOGY</p>
|
||||
<p class="font-48 f-black margin-t-10vw f_weight_400">Boosted Storage Density<br>Enhanced Performance</p>
|
||||
<p class="font-16 margin-t-66">The whole series of ORICO Troodon solid-state drives are powered by 3D NAND flash, and the storage density is higher than traditional 2D flash. Reached the high level of storage density in the industry, and greatly enhancing the transmission performance, making it easy to process a large amount of stored data.</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<video controls="" poster="" src="__PUBLIC__/weben/images/ssd/external_ssd.mp4" width="100%">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--SN100/SV100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/SN100_SV100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right padding-t-80">
|
||||
<div class="font-24">Troodon- Armor Series SN100/SV100</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">All it Protect is Memory</div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Armor Series adopts double protection of aluminum alloy case and silicon protector, this makes it stands up to shock, splashes, spills and dusts, and it also provide 4 optional capacity includes 128G/256G/512G/1TB.
|
||||
With Speed 1.0 version and Speed 2.0 version, SN100 internal NGFF SSD delivers high-speed transfer with up to 540MB/s read speeds; SV100 internal NVMe SSD can delivers super-speed transfer with up to 940MB/s read speeds. Both of SN100 and SV100 are supports to UASP+TRIM dual protocol, high-performance of transferring. Compatible with Type-C devices like cell phone and PCs, made for the outdoors.</div>
|
||||
<a href="__ORICOROOT__/product/detail/5455.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--FV300/GV100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/FV300_GV100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left padding-t-80">
|
||||
<div class="font-24">Troodon- Wing Series FV100/GV100</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Light. Compact. Fast.</div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Wing Series, ultra-compact and portable, it just fit in your pocket, built to go wherever you go. Built-in NVMe superspeed solid state drive, which provide 940MB/s sequential reads, transferring 1G large files in a flash.
|
||||
Equipped with two data cable of A-to-C port and C-to-C port, it supports the selection of four capacity versions, and can be compatible with mobile phone, computer, TV and other devices to expansion, creating the portable database.</div>
|
||||
<a href="__ORICOROOT__/product/detail/5491.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--BH100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/BH100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right padding-t-80">
|
||||
<div class="font-24">Troodon- Shield Series BH100/BM200/BV300</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Designed to Stable. Built to Rugged. </div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Shield Series is made of high-quality aluminum alloy + CNC technology, which help to maintain the stability of heat dissipation during the high-speed data transferring, help to transfer large files steadily and smoothly. It has two versions of highspeed and superspeed, embedded with self-encapsulated 3D NAND flash particles, it can process big data at incredible speed and be compatible with various office devices.</div>
|
||||
<a href="__ORICOROOT__/product/detail/5501.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--SSD外置产品-->
|
||||
<div class="img-responsive ssd_08 f_weight_100">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-48 f_weight_400">Complement Your Storage Experience</div>
|
||||
<div class="margin-t-15vw font-30"><i>See All The Portable SSD > </i></div>
|
||||
<div class="margin-t-66 ssd_p_three padding-t-8vw ">
|
||||
<ul class="padding-b-80">
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_01.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Armor Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO SN100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5455.html">Learn More</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_02.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Armor Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO SV100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5456.html">Learn More</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_03.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Wing Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO FV300</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5491.html">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_04.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BH100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5501.html">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_05.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BM200</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5506.html">Learn More</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_06.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BV300</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5507.html">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_07.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Wing Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO GV100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5508.html">Learn More</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--视频-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_02.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="f-White text-c ssd_02">
|
||||
<div class="font-48 margin-t-90 padding-t-5vw">ORICO’s Ten Years Experience in Storage</div>
|
||||
<div class="margin-t-30 font-24">The Excellent SSD Solution You Never Had</div>
|
||||
<div class="font-16 margin-t-30 ssd_02_des">ORICO’s SSD has achieved a strong presence in personal consumption storage through its rapidly program response, quick data processing and stable flash.</div>
|
||||
<video controls="" poster="" src="__PUBLIC__/weben/images/ssd/ssd_video.mp4" class="margin-t-20vw" width="100%">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--H100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_03.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon in Armor H100</div>
|
||||
<div class="font-48 padding-t-8vw">Cool down<br>Speed Up</div>
|
||||
<div class="font-24 margin-t-66">- SATA3.0 protocol, the SSD you better choose.</div>
|
||||
<div class="font-16 margin-t-30">Silver Troodon H100 adopts SATA3.0 protocol, up to 6Gbps data transferrin, 550MB/s sequential read and 510 MB/s sequential write, with 2.5-inch aluminum alloy case which provide steady heat dissipation at high speed transmission. </div>
|
||||
<a href="__ORICOROOT__/product/detail/4113.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--M200-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon M200 </div>
|
||||
<div class="font-48 padding-t-8vw">No Delay<br>Exceptional Responsivity</div>
|
||||
<div class="font-24 margin-t-66">- mSATA interface, born for the notebook.</div>
|
||||
<div class="font-16 margin-t-30">Troodon M200 adopts 3D flash particles that allow to processing data rapidly, it has low-delay and SATA3.0 protocol, be equipped with excellent transmission performance; Compact and lightweight, compatible with most of mSATA interface notebook.</div>
|
||||
<a href="__ORICOROOT__/product/detail/4116.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--N300-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_05.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon N300 </div>
|
||||
<div class="font-48 padding-t-8vw">SSD Master<br>Always Evolving Performance</div>
|
||||
<div class="font-24 margin-t-66">- Enhanced LDPC algorithm, less loading time.</div>
|
||||
<div class="font-16 margin-t-30">The next advancement in NVMe SSDs. Troodon series with advanced control chip, LDPC error correction, DevSleep power-saving tech, Trim SSD optimize instruction and NCQ intelligent queue management, further improving the performance and service life of SSD.</div>
|
||||
<a href="__ORICOROOT__/product/detail/4095.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--V500-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_06.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon V500</div>
|
||||
<div class="font-48 padding-t-8vw">Dominate the E-Sport with Ferocious Speed</div>
|
||||
<div class="font-24 margin-t-66">- PCI-E ×4, approximately four times faster than the traditional SSD.</div>
|
||||
<div class="font-16 margin-t-30">Experience the best. ORICO Troodon V500 combines the M.2 interface, with the NVMe protocol SSD and PCI-E Gen3.0x4 to deliver ultimate performance; Up to 2000 MB/s sequential reads and 1500 MB/s sequential writes. Approximately four times faster than the traditional SSD, built to be professional.</div>
|
||||
<a href="__ORICOROOT__/product/detail/4098.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--产品-->
|
||||
<div class="img-responsive ssd_08 f_weight_100">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-48">Complement Your Sense of Style</div>
|
||||
<div class="margin-t-15vw font-24"><i>SEE ALL THE SSD></i></div>
|
||||
<div class="ssd_p margin-t-66 padding-t-8vw ">
|
||||
<ul class="padding-b-80">
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_01.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon in Armor H100</p>
|
||||
<p class="font-20 f-gray">SATA3.0 SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4113.html">View details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_02.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon M200 </p>
|
||||
<p class="font-20 f-gray">MSATA SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4116.html">View details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_03.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon N300 </p>
|
||||
<p class="font-20 f-gray">M.2 (NGFF) SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4095.html">View details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_04.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon V500</p>
|
||||
<p class="font-20 f-gray">M.2 NVMe SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4098.html">View details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
279
app/th/view/group/stripe.phtml
Executable file
279
app/th/view/group/stripe.phtml
Executable file
@@ -0,0 +1,279 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Stripe series _ORICO Website</title>
|
||||
<meta name="Keywords" content="Stripe series" />
|
||||
<meta name="Description" content="Stripe series" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/stripe.css">
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/stripe/banner.jpg">
|
||||
<div class="position-a banner text-c">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="banner_text">
|
||||
<div class="font-60 f_weight_400">Optimizing <br>Your Life</div>
|
||||
<div class="font-24 margin-t-10vw banner_subtitle f_weight_400">Explode The Sight With Stripe</div>
|
||||
<div class="font-18 margin-t-10vw">Quality. Design. Unusual. Grip all your want.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--条纹系列移动电源-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_01.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-black text-l margin-t-90">
|
||||
<div class="stripe_right margin-t-10vw">
|
||||
<p class="font-30">Suitcase-Style Power Bank</p>
|
||||
<p class="font-60 padding-t-5vw">Get ready with enough power.</p>
|
||||
<p class="margin-t-50 f_gray font-18">Be the “suitcase” you always want to carry.</p>
|
||||
<p class="f_gray margin-t-15vw font-18">It has incredibly charging speed and large capacity, perfectly suitable for various use scenarios such as business trip, long-distance travel and power cut emergency. The case is made of high-quality ABS with unusual suitcase design, stylish and durable, bring your worry-free charging experience.</p>
|
||||
<p><a href="__ORICOROOT__/product/detail/3604.html"><span class="stripe_button font-30 margin-t-66">Learn More</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第三屏-->
|
||||
<div class="img-responsive f_weight_100 stripe_product_bg">
|
||||
<div class="swt-Container f-black text-c">
|
||||
<div class="font-60">Stripe Series Power Bank</div>
|
||||
<div class="font-30 margin-t-15vw"><span class="stripe_subtitle">See All The Power Bank ></span></div>
|
||||
<div class="subject_four_list margin-t-90">
|
||||
<ul>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_01.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">10000mAh FIREFLY Series Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO FIREFLY-K10000</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3972.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_02.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">20000mAh FIREFLY Series Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO FIREFLY-K20000</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3973.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_03.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">20000mAh Orico USB-A Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO FIREFLY-K20S</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/5113.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_04.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">3200mAh Mini Lipstick Portable Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO SL1</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/4041.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip margin-t-50">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_05.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">10000mAh Ultra-thin Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO FIREFLY-K10S</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3591.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip margin-t-50">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_06.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">10000mAh Suitcase Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO FIREFLY-TM10</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3601.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip margin-t-50">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_07.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">10000mAh Suitcase Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO FIREFLY-TR10</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3603.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip margin-t-50">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_two_08.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-20">20000mAh Suitcase Power Bank</p>
|
||||
<p class="padding-t-8vw f-l-gray font-16">ORICO FIREFLY-TR20</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3604.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--条纹系列硬盘盒-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White text-l margin-t-90">
|
||||
<div class="stripe_right margin-t-10vw">
|
||||
<p class="font-30">Stripes Series Hard Drive Enclosure</p>
|
||||
<p class="font-60 padding-t-5vw">Managing Your Disk</p>
|
||||
<p class="margin-t-50 f_gray font-18">Stripes series hard drive enclosure can bring your ultra high-speed of data transfer, beyond that, the all-aluminum heat sink with fins design surface provides high heat dissipation performance while enhances the security of data, it designed to fully protect the hard drive.</p>
|
||||
<p><a href="__ORICOROOT__/product/detail/904.html"><span class="stripe_button font-30 margin-t-66">Learn More</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--第五屏-->
|
||||
<div class="img-responsive f_weight_100 stripe_product_bg">
|
||||
<div class="swt-Container f-black text-c margin-t-20vw">
|
||||
<div class="font-60">Stripe Series Power Bank</div>
|
||||
<div class="font-30 margin-t-15vw"><span class="stripe_subtitle">See All The Power Bank ></span></div>
|
||||
<div class="subject_two_list margin-t-90">
|
||||
<ul>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_three_01.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-50 font-30 padding-t-8vw">NVMe M.2 To Type-C SSD Enclosure </p>
|
||||
<p class="margin-t-10vw f-l-gray font-24">ORICO TCM2-C3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/4039.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_three_02.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-50 font-30 padding-t-8vw">NVMe M.2 To Type-C SSD Enclosure </p>
|
||||
<p class="margin-t-10vw f-l-gray font-24">ORICO TCM2-C3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/4039.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--条纹充电系列-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_06.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-black text-l margin-t-90">
|
||||
<div class="stripe_left margin-t-10vw">
|
||||
<p class="font-30">Stripes Series Charger</p>
|
||||
<p class="font-60 padding-t-5vw">As Good As It Gets</p>
|
||||
<p class="margin-t-50 f_gray font-18">We refuse to be stereotyped and continuous efforts to make a product with distinctive design. Stripes series charger is the perfect combination of delicate bump textures and high heat dissipation. It have eye-catching appearance and unparalleled performance, with multiple model available, it’s not just about charging.</p>
|
||||
<p><a href="__ORICOROOT__/product/detail/4110.html"><span class="stripe_button font-30 margin-t-66">Learn More</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第七屏-->
|
||||
<div class="img-responsive f_weight_100 stripe_product_bg">
|
||||
<div class="swt-Container f-black text-c margin-t-20vw">
|
||||
<div class="font-60">Stripes Series Charger</div>
|
||||
<div class="font-30 margin-t-15vw"><span class="stripe_subtitle">See All The Charger></span></div>
|
||||
<div class="subject_three_list margin-t-90">
|
||||
<ul>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_five_01.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">2.1A Suitcase Series Quick Charge Cable</p>
|
||||
<p class="margin-t-10vw f-l-gray font-20">ORICO KTL2-10</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3775.html">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_five_02.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">2.1A Suitcase Series Quick Charge Cable</p>
|
||||
<p class="margin-t-10vw f-l-gray font-20">ORICO KTL1-10</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/3774.html">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_strip">
|
||||
<img src="__PUBLIC__/web/images/stripe/stripe_five_03.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">Dual Port 2.4A Smart Charger</p>
|
||||
<p class="margin-t-10vw f-l-gray font-20">ORICO WHB-2U</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy">
|
||||
<div class="subject_Popup_button stripe">
|
||||
<a href="__ORICOROOT__/product/detail/4110.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-c f-black font-48">
|
||||
<p class="margin-t-50 margin-b-30vw f_weight_100">More products, coming soon…</p>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
157
app/th/view/group/thunderbolt_3.phtml
Executable file
157
app/th/view/group/thunderbolt_3.phtml
Executable file
@@ -0,0 +1,157 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>ORICO Thunderbolt 3 Series Storage + Expansion</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/thunderbolt_3.css">
|
||||
|
||||
|
||||
<body style="background-color:#f2f2f2;">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<!--Banner-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/thunderbolt_3_banner.jpg">
|
||||
<div class="thunderbolt_3_banner">
|
||||
<div class="intel">
|
||||
<div class="swt-Container">
|
||||
<div class="intel_left">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/intel.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container content f-White">
|
||||
<p class="font-60 title">40Gbps transfer rate, built to be fast.</p>
|
||||
<p class="font-30 margin-t-15vw f_weight_100">ORICO Thunderbolt 3 Series Storage + Expansion</p>
|
||||
<p class="font-18 padding-t-8vw f_weight_100"><a href="#Thunderbolt_3_Storage" class="f_blue">Thunderbolt 3 Storage Learn More>></a></p>
|
||||
<p class="font-18 padding-t-8vw f_weight_100"><a href="#Thunderbolt_3_Expansion" class="f_blue">Thunderbolt 3 Expansion Learn More>></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/thunderbolt_3_one.jpg">
|
||||
<div class="thunderbolt_3_banner">
|
||||
<div class="swt-Container">
|
||||
<div class="thunderbolt_3_one f_black f_weight_100">
|
||||
<div class="left">
|
||||
<p class="font-60">Thunderbolt 3<br>Official Certification</p>
|
||||
<p class="font-30 margin-t-15vw f_weight_100">Real Speed More Professional </p>
|
||||
<p class="font-18 padding-t-8vw f_weight_100">ORICO Thunderbolt 3 series have introduced high-speed chip technology of Intel, the theoretical transfer rate is up to 40Gbps. Beyond that, ORICO has also reached cooperation with Intel in other field including storage and expansion. Adhering to the brand concept of “little change, big difference", ORICO keeps showing the features of latest technology and strives to make ORICO Thunderbolt 3 series more reliable in the field of Thunderbolt product.</p>
|
||||
</div>
|
||||
<div class="img-responsive right">
|
||||
<video controls poster="" width="100%" src="__PUBLIC__/weben/images/thunderbolt_3/video.mp4" loop="loop" x-webkit-airplay="true" webkit-playsinline="true">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第二屏-->
|
||||
<a name="Thunderbolt_3_Storage"></a><div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/thunderbolt_3_two.jpg">
|
||||
<div class="thunderbolt_3_banner">
|
||||
<div class="swt-Container f-White f_weight_100">
|
||||
<div class="thunderbolt_3_two">
|
||||
<p class="font-60 title">Drive At Lightning Speed</p>
|
||||
<p class="font-30 margin-t-15vw f_weight_100">Applicable to Thunderbolt 3 interface notebook and desktop. </p>
|
||||
<p class="font-18 padding-t-8vw f_weight_100">Thunderbolt 3 series NVMe M.2 SSD enclosure supports the theoretical transfer rate to 40Gbps, and is equipped with Thunderbolt 3 40Gbps data cable, which can store high-resolution images, audio and video files at superspeed. It supports large capacity of 2TB, and has multiple heat dissipation such as aluminum alloy case and silicon thermal pad, which makes the enclosure maintain the stability of heat dissipation during the data transferring.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第三屏-->
|
||||
<div class="thunderbolt_3_three clearfix">
|
||||
<div class="swt-Container img-responsive">
|
||||
<div class="subject_three_list">
|
||||
<div class="font-60 f-black f_weight_100 text-c">Thunderbolt 3 NVMe M.2 SSD Enclosure</div>
|
||||
<ul>
|
||||
<li class="solid_blue text-c">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/APM2T3-G40.jpg">
|
||||
<div class="title f_black">APM2T3-G40</div>
|
||||
<div class="subject_new_buy subject_computer">
|
||||
<span class="subject_span">View details</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue text-c">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/TFM2T3-G40.jpg">
|
||||
<div class="title f_black">TFM2T3-G40</div>
|
||||
<div class="subject_new_buy subject_computer">
|
||||
<span class="subject_span">View details</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue text-c">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/SCM2T3-G40.jpg">
|
||||
<div class="title f_black">SCM2T3-G40</div>
|
||||
<div class="subject_new_buy subject_computer">
|
||||
<span class="subject_span">View details</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第四屏-->
|
||||
<a name="Thunderbolt_3_Expansion"></a><div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/thunderbolt_3_four.jpg">
|
||||
<div class="thunderbolt_3_banner">
|
||||
<div class="swt-Container f-White f_weight_100">
|
||||
<div class="thunderbolt_3_four">
|
||||
<p class="font-60 title" style="width:75%;">Expansion With <br>Real Thunderbolt 3</p>
|
||||
<p class="font-30 margin-t-15vw f_weight_100">Thunderbolt 3, 8-In-1 Multi-Function Docking Station</p>
|
||||
<p class="font-18 padding-t-8vw f_weight_100">Thunderbolt 3 docking station with multiple ports, support Thunderbolt 3 40Gbps transfer rate; 8K@60Hz HD resolution; 2TB SD card reading; With daisy-chain function which allow to backward compatible with 6*Thunderbolt 3 devices. Meanwhile, it support external power supply, with 4 peripheral interfaces, can expand to multiple devices such as USB interface and Type-C interface devices, it supports connecting to wired network that making the game/office expansion more convenient.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第五屏-->
|
||||
<div class="swt-Container margin-t-66 margin-b-40">
|
||||
<div class="solid_blue f_black f_weight_100 img-responsive">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/thunderbolt_3_five.jpg">
|
||||
<div class="thunderbolt_3_five">
|
||||
<p class="font-24">Thunderbolt 3, 8-In-1 Multi-Function Docking Station</p>
|
||||
<p class="font-20 padding-t-5vw">8-In-1 Function + DC24V Power Supply</p>
|
||||
<div class="subject_new_buy margin-t-20vw subject_computer">
|
||||
<span class="subject_span">View details</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/thunderbolt_3_six.jpg">
|
||||
<div class="thunderbolt_3_banner">
|
||||
<div class="thunderbolt_3_six f-White text-c">
|
||||
<p class="font-60 f_weight_100">Look At The New Era</p>
|
||||
<p class="font-18 margin-t-20vw f_weight_100"> Thunderbolt 3 as one of the hot spots of latest technology, ORICO is keenly aware of the trends and always follow it, in order to create more comprehensive Thunderbolt 3 series products. From hard drive enclosure to docking station, it is a big step forward for ORICO. In terms of storage and expansion, ORICO focus on products such as Thunderbolt 3 hard drive enclosure, multi-bay enclosure and docking station, which will be release successively in the further time.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第七屏-->
|
||||
<div class="thunderbolt_3_seven text-c f-black font-48">
|
||||
<p class="margin-t-50 margin-b-30vw f_weight_100">More Thunderbolt 3 series, coming Soon…</p>
|
||||
</div>
|
||||
<!--第八屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/thunderbolt_3/thunderbolt_3_seven.jpg">
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
229
app/th/view/group/transparent.phtml
Executable file
229
app/th/view/group/transparent.phtml
Executable file
@@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<title>透明系列</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/transparent.css"></head>
|
||||
<body>
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--Banner-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_01.jpg">
|
||||
<div class="transparent_01">
|
||||
<div class="swt-Container">
|
||||
<p class="title">Transparent Series</p>
|
||||
<p class="text">Visible Chip, Technology in Your Life</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="position-r transparent_02_bg">
|
||||
<div class="transparent_02 transparent_alltext">
|
||||
<div class="swt-Container">
|
||||
<div class="transparent_black left ">
|
||||
<p class="transparent_title">Advocate Technology<br>
|
||||
Innovate the Future</p>
|
||||
<p class="transparent_subtitle">Storage + Expansion<br>
|
||||
Original transparent design, “naked” sincerity.</p>
|
||||
<p class="transparent_text">We advocate high tech as well as better life, so we’d like to merge technologies into our life and persist in innovation and fine crafts. Our USB smart life peripherals are devoted to better and more convenient life.<br>
|
||||
Since ORICO was founded, we have constantly stuck to original pioneering spirit. In 2017, our full transparent products, such as external HDD enclosure and hard drive dock appeared in the market. And we started all-round developing and producing transparent products in 2018, which meets our life and work demands continuously.
|
||||
</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_02_video.jpg">
|
||||
<video height="100%" controls poster="">
|
||||
<source src="__PUBLIC__/weben/images/transparent/video.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第三屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_03.jpg">
|
||||
<div class="transparent_03 Ts-White">
|
||||
<div class="swt-Container">
|
||||
<div class="transparent_03_alltext">
|
||||
<p class="transparent_title">Achieve More Creative Desktop Crafts</p>
|
||||
<p class="transparent_subtitle">Expansion & Storage Combined</p>
|
||||
<p class="transparent_text">Our desktop HUB, HDD enclosure, hard drive dock, Bluetooth speaker and more products make your desktop clean and tidy, which also give you a mysterious sense of technology.
|
||||
<br>
|
||||
We keep upgrading product performance constantly, for example, 4-port HUB is upgraded to 7 ports and its size becomes smaller and smaller. HDD enclosure and hard drive dock are enabled USB3.0, USB3.1, Type-C and more interfaces, supporting HDDs of various types and capacities. All your demands are satisfied.
|
||||
<br>
|
||||
Transparent design makes it easier to distinguish files without any labels. HDD enclosure, hard drive dock can be coped with HUB, which brings great convenience to your work.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第四屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_04.jpg">
|
||||
<div class="transparent_04">
|
||||
<div class="swt-Container">
|
||||
<div class="transparent_04_alltext transparent_black">
|
||||
<p class="transparent_title">Visible Charm of Technology</p>
|
||||
<p class="transparent_text">Newly emerging technology inclines to be “minimalist”, and interfaces of more laptops tend to be gradually reduced. So desktop HUB is an ideal solution to the problem.<br>
|
||||
Transparent body shows confidence in our fine craftsmanship. Its structure is clearly visible so you don’t need to worry about any damages while disassembling and installing it.
|
||||
<br>
|
||||
Like a great “artwork”, it evokes all your desire for having it.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第五屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_05.jpg">
|
||||
<div class="transparent_05">
|
||||
<div class="swt-Container">
|
||||
<div class="transparent_black transparent_05_alltext">
|
||||
<p class="transparent_title">Transparent Speaker,<br>Perfect Life Companion</p>
|
||||
<p class="transparent_text">Listen to beautiful melodies at your leisure time, relieve your pressure and make you relaxing, free to be yourself.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第六屏-->
|
||||
<div class="transparent_06">
|
||||
<div class="swt-Container">
|
||||
<div class="text-c transparent_title transparent_black">Transparent Series Products</div>
|
||||
<div class="transparent_06_four img-responsive">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_01.jpg">
|
||||
<div class="text transparent_06_text">USB3.0 7-port Desktop HUB</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.811.3441505eAuczph&id=581452943579&rn=fc5280aa4163ad14ace2062577e9f321&abbucket=19&sku_properties=148242406:21516">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_02.jpg">
|
||||
<div class="text transparent_06_text">USB3.0 7-port Desktop HUB</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.539.3441505eAuczph&id=579136094508&rn=fc5280aa4163ad14ace2062577e9f321&abbucket=19&skuId=3865302457837">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_03.jpg">
|
||||
<div class="text transparent_06_text">UUSB3.0 4-port Desktop HUB</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.539.3441505eAuczph&id=579136094508&rn=fc5280aa4163ad14ace2062577e9f321&abbucket=19&sku_properties=148242406:21516">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_04.jpg">
|
||||
<div class="text transparent_06_text">USB3.0 4-port Desktop HUB</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.97.3441505eAuczph&id=556374896537&rn=fc5280aa4163ad14ace2062577e9f321&abbucket=19">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_05.jpg">
|
||||
<div class="text transparent_06_text">2.5inch USB3.0 HDD Enclosure</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.98.3173381b2eD6Df&id=538189703406">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_06.jpg">
|
||||
<div class="text transparent_06_text">2.5inch Type-C HDD Enclosure</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.118.3173381b2eD6Df&id=538577044860">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_07.jpg">
|
||||
<div class="text transparent_06_text">3.5inch USB3.0 HDD Enclosure</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.168.3173381b2eD6Df&id=548909679923">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_08.jpg">
|
||||
<div class="text transparent_06_text">3.5inch Type-C HDD Enclosure</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.168.3173381b2eD6Df&id=548909679923">Amazon</a>
|
||||
<a href="">AliExpress</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="transparent_06_two img-responsive">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_09.jpg">
|
||||
<div class="all_text">
|
||||
<p class="transparent_06_text title">3.5inch Type-C HDD Enclosure </p>
|
||||
<p class="subtitle">Universal to 2.5/3.5 HDD </p>
|
||||
<p class="transparent_buy"><a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.143.3173381b2eD6Df&id=548996604143">Amazon</a><a href="">AliExpress</a></p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_10.jpg">
|
||||
<div class="all_text">
|
||||
<p class="transparent_06_text title">Single-bay Type-C Hard Drive Dock
|
||||
</p>
|
||||
<p class="subtitle">Universal to 2.5/3.5 HDD, USB3.1 Gen1 </p>
|
||||
<p class="transparent_buy"><a href="https://detail.tmall.com/item.htm?spm=a1z10.5-b-s.w4011-15573035611.288.3173381b2eD6Df&id=553654630082">Amazon</a><a href="">AliExpress</a></p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="transparent_06_one img-responsive">
|
||||
<img src="__PUBLIC__/web/images/transparent/transparent_06_11.jpg">
|
||||
<div class="all_text">
|
||||
<p class="transparent_06_text title">Transparent Bluetooth Speaker </p>
|
||||
<p class="subtitle">Bluetooth4.2/Hi-fi/3 Modes </p>
|
||||
<p class="transparent_buy"><a href="">Amazon</a><a href="">AliExpress</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-c transparent_title transparent_black">More Products Are Coming</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="include/bottom" /}
|
||||
</body>
|
||||
</html>
|
||||
61
app/th/view/group/vision.phtml
Executable file
61
app/th/view/group/vision.phtml
Executable file
@@ -0,0 +1,61 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>วิสัยทัศน์และเป้าหมาย</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/culture.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/culture/vision-banner.jpg"></div>
|
||||
<div class="culture_vision">
|
||||
<div class="swt-Container">
|
||||
<div class="title">วิสัยทัศน์และเป้าหมาย</div>
|
||||
<div class="swt-Table img-responsive">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left"><img src="__PUBLIC__/web/images/culture/vision-01.jpg"></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right">
|
||||
<p class="subtitle">การศึกษาเชิงลึกอย่างถ่องแท้ในเทคโนโลยี USB</p>
|
||||
<p class="des">การศึกษาในทุกเทคโนโลยีที่เกียวข้องกับ USB จะยังคงอยู่กับเรา เราจะยืนยันที่จะพัฒนาทุกเทคโนโลยีที่เกียวข้องทั้งการส่งข้อมูล ไฟ เสียง ภาพ และอะไรก็ตามที่มีความริเริ่มและสร้างชีวิตที่ดีกว่าให้กับคนในอนาคต กรุงโรมไม่ได้สร้างในวันเดียว เรารู้เรื่องนี้มานาน และเราจะสร้างมันโดยผ่านนวัตกรรมที่เราสรรค์สร้าง </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table img-responsive culture_vision_02">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left"><p class="subtitle">สร้างแนวทางที่ดีกว่าเพื่อชีวิตทีดีกว่า</p>
|
||||
<p class="des"> การเปลี่ยนแปลงไม่ใช่เพียงสิ่งเดียวที่เป็นคำสัญญาจากครอบครัว ORICO เรายังคาดหวังจากความเปลี่ยนแปลงทุกๆอย่าง ดั่งเช่นแนวทางของบริษัทที่มุ่งเน้นที่ทุกความเปลี่ยนแปลงแม้เพียงเล็ก จะก่อรวมและสร้างความเปลี่ยนแปลงที่ใหญ่ได้ในอนาคต ความฝันที่จะสรรค์สร้างนั้นใกล้เข้ามาและกำลังจะเกิดขึ้น ORICO หวังที่จะทำให้ทุกคนในครอบครัว ORICO และผู้ใช้ทั่วโลกได้เห็นสิ่งนี้</p></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right"><img src="__PUBLIC__/web/images/culture/vision-02.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table img-responsive">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left"><img src="__PUBLIC__/web/images/culture/vision-03.jpg"></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right">
|
||||
<p class="subtitle">อำนาจของการเปลี่ยนแปลง</p>
|
||||
<p class="des">ORICO หวังที่จะเปลี่ยนแปลงแนวทางการดำรงชีวิตปัจจุบัน เพื่อเข้าสู่การดำรงชีวิตใหม่ที่ดีกว่าในอนาคตผ่านอุปกรณ์ที่ออกแบบโดยเรา</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
118
app/th/view/group/weare.phtml
Executable file
118
app/th/view/group/weare.phtml
Executable file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>เราคือ</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/culture.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/web/images/culture/weare-banner.jpg"></div>
|
||||
<div class="wewill_01">
|
||||
<div class="swt-Container">
|
||||
<div class="left img-responsives"><img src="__PUBLIC__/web/images/culture/weare_lj_img.jpg"></div>
|
||||
<div class="right">
|
||||
<div class="wewill_title">เราคือ</div>
|
||||
<div class="cul_line"></div>
|
||||
<div class="wewill_des">Shenzhen ORICO Technologies Co., Ltd เริ่มก่อตั้งในปี 2009 ผ่านแบรนด์ ORICO เพื่อสร้างสรรค์สินค้าเทคโนโลยีสมัยใหม่โดยใช้เทคโนโลยีที่เกียวร่วมกับ USB การส่งถ่ายข้อมูลและการชาร์จไฟ</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--IDEA-->
|
||||
<div class="weare_bg weare_idea">
|
||||
<div class="swt-Container">
|
||||
<div class="weare_bg_white swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left">
|
||||
<div class="weare_idea_all">
|
||||
<div class="wewill_title">แนวคิด</div>
|
||||
<div class="wewill_des">
|
||||
<p>สำหรับ ORICO ทั้งด้านสินค้าและบริการ เรามีแนวคิดริเริ่มไม่ยึดติด และมีเป้าหมายที่ยิ่งใหม่ในการสร้างความเปลี่ยนแปลง</p>
|
||||
<p>ส่วนที่เป็นจุดแข็งของ ORICO คือ R&D และการออกแบบ รวมถึงห่วงโซ่การผลิต ผ่านระบบตรวจสอบตั้งแต่ R&D จนถึงระบบการขาย ตั้งแต่ระบบการผลิตถึงผู้ใช้เพื่อต่อยอดการขายสู่มือผู้ใช้ทั่วโลก เราออกแบบระบบ 211 ที่ย่อระยะเวลาการออกแบบจากหลายเดือนเป็น 2 สัปดาห์ ผลิตสินค้าได้ภายใน 1 สัปดาห์ และจำนวนขั้นต่ำ(MOQ) เพียง 1 ชิ้น โดยรวมทุกเทคโนโลยีที่เรามีประสบการณ์ในกลุ่มสินค้า USB และอุปกรณ์ต่อพ่วง ทำให้เราสามารถเติบโตอย่างรวดเร็ว สร้างความแตกต่างให้กับสินค้าและตลาดได้ในระยะเวลาอันสั้น</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell right"><img src="__PUBLIC__/web/images/culture/weare_lj_idea.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="weare_bg_white swt-Table margin-top">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left">
|
||||
<div class="weare_idea_all">
|
||||
<div class="wewill_title">หน้าที่</div>
|
||||
<div class="wewill_des">
|
||||
<p>เราแบกรับหน้าที่ที่จะสร้างสรรค์ ที่จะนำพาลูกค้า นำพาพนักงาน นำพาผู้ลงทุน และนำพาสังคมไปสู่สิ่งที่ดีกว่าผ่านการเปลี่ยนแปลงเล็กๆ ในขณะที่สร้างความพอใจให้กับทุกทีมงานที่กล่าวมาข้างต้น</p>
|
||||
<p>มองไปในอนาคต ORICO มีความมุ่งมั่นที่จะสร้างสิ่งใหม่ที่มีความซับซ้อน โดยใช้เทคโนโลยีที่เรามีประสบการณ์ ร่วมกับเทคโนโลยีใหม่ๆเพื่อสร้างสรรค์สิ่งใหม่ให้กับผู้ใช้ทั่วโลกเพื่อชีวิตที่ดีขึ้น เราจะคำนึงถึงสังคมและเป็นตัวแทนบริษัทจากจีน และผู้ผลิตสินค้าจากจีนทั้งหมด</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell right"><img src="__PUBLIC__/web/images/culture/weare_lj_mission.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--研发团队-->
|
||||
<div class="weare_bg_white">
|
||||
<div class="swt-Container">
|
||||
<ul class="weare_03">
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/culture/weare_lj_icon01.jpg">
|
||||
<p class="wewill_des">สินค้าแพร่หลายมากว่า 9 ปี</p>
|
||||
<p class="wewill_des_text">ตั้งแต่เริ่มก่อตั้ง ORICO ได้ทำงานร่วมกับทีมขายในประเทศจีน และการขายผ่านช่องทางการขายในหลายประเทศทั่วโลกมากว่า 9 ปี มีตัวแทนแต่งตั้งในหลายประเทศ และในขณะเดียวกันในในกลุ่มออนไลน์ ORICO ได้สร้างตลาดกลุ่มผู้ใช้กล่องอ่านดิสก์และอุปกรณ์ต่อพ่วง USB 3.0 มามากกว่า 4 ปี โดยเติบโตเป็นผู้นำในตลาดและเป็น Top 5 ของสินค้ากลุ่มนี้ในตลาดทั่วโลก</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/culture/weare_lj_icon02.jpg">
|
||||
<p class="wewill_des">ทีมพัฒนาที่มีคุณภาพ</p>
|
||||
<p class="wewill_des_text">ด้วยทีมงาน R&D ที่มากประสบการณ์กว่า 100 คน ทั้งวิศวรกรโครงสร้าง วิศวกรไฟฟ้า และอื่นๆ ทำให้เราสามารถสร้างสรรค์สินค้าเป็นพันรายการ ทั้ง USB storage, USB expansion, USB powerstrip, USB charging และอื่นๆอีกมากมาย เรามีสินค้าใหม่ๆพร้อมออกจำหน่ายในทุกสัปดาห์</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/culture/weare_lj_icon03.jpg">
|
||||
<p class="wewill_des">การผลิตสินค้ามากกว่า 4 หมื่นล้านชิ้นต่อปี</p>
|
||||
<p class="wewill_des_text">ORICO ลงทุนมากกว่า 80 ล้าน USD เพื่อสร้างนิคมอุตสาหกรรมของตนเอง เพื่อรวมทีมงานที่สรรค์สร้างสินค้า ทำให้ลดขั้นตอนตั้งแต่การออกแบบถึงระบบบรรจุสินค้า ทำให้สามารถสร้างสรรค์สินค้าได้รวมกว่า 4 หมื่นล้านชิ้นต่อปี</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--走进ORICO-->
|
||||
<div class="weare_bg weare_04">
|
||||
<div class="swt-Container">
|
||||
<div class="wewill_title">การทำงานของ ORICO</div>
|
||||
<div class="wewill_des">การทำงานในออฟฟิต</div>
|
||||
<div class="wewill_des_text">วัฒนธรรมการทำงานของทีมงาน ORICO เรามุ่งเน้นให้มีความเงียบ สะอาด และสว่าง ทำให้ทีมงานมีความเป็นส่วนตัวและรู้สึกสบาย เพื่อสร้างสรรค์สิ่งใหม่ๆได้อย่างเต็มที่</div>
|
||||
<ul class="img-responsive">
|
||||
<li><img src="__PUBLIC__/web/images/culture/weare_lj_img01.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/culture/weare_lj_img02.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/culture/weare_lj_img03.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="swt-Container">
|
||||
<div class="wewill_des">อุปกรณ์โรงงาน</div>
|
||||
<div class="wewill_des_text">โดยใช้ระบบบริหารจัดการแบบ S5 เพื่อสร้างสินค้าชั้นยอด ORICO ได้นับเทคโนโลยีชั้นสูงในอุตสาหกรรมมาใช้ในทุกขั้นตอนการผลิตเพื่อให้ได้ประสิทธิภาพและประสิทธิผลสูงสุด</div>
|
||||
<ul class="img-responsive">
|
||||
<li><img src="__PUBLIC__/web/images/culture/weare_lj_img04.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/culture/weare_lj_img05.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/culture/weare_lj_img06.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
161
app/th/view/group/wewill.phtml
Executable file
161
app/th/view/group/wewill.phtml
Executable file
@@ -0,0 +1,161 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>">เราจะ</</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/culture.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/web/images/culture/wewill-banner.jpg"></div>
|
||||
<div class="wewill_01">
|
||||
<div class="swt-Container">
|
||||
<div class="left img-responsives"><img src="__PUBLIC__/web/images/culture/wewill_img01.jpg"></div>
|
||||
<div class="right">
|
||||
<div class="wewill_title">เราจะ</div>
|
||||
<div class="cul_line"></div>
|
||||
<div class="wewill_des">เราจะระดมขุมกำลังทุกอย่างที่มีเพื่อสร้างความแตกต่าง เช่นการสร้างการศึกษาให้กับคนเป็นการสร้างอนาคตอันสดใส หากเราให้ความรู้กับองค์กรใดๆ องค์กรนั้นก็พร้อมจะสร้างสรรค์แต่ต่อสู้ในโลกธุรกิจ และหากเราผลักดันทีมงานให้เห็นทุกคุณค่าของทุกสิ่งที่เค้าทำ ทุกๆอย่างรอบตัวเค้ารวมถึงครอบครัวเค้าจะเปลี่ยนไป นี่คือแนวทางของ ORICO ที่จะมุ่งมั่นที่จะเปลี่ยนแปลง </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--新技术的专研实力-->
|
||||
<div class="wewill_bg wewill_02">
|
||||
<div class="swt-Container">
|
||||
<div class="wewill_title">พร้อมที่จะเรียนรู้สิ่งใหม่</div>
|
||||
<div class="swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell text_width img-responsive">
|
||||
<div class="text_all">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_tech_01.jpg" alt=""/>
|
||||
<p class="wewill_des">ทุกอย่างที่เกี่ยวกับ USB Type-C</p>
|
||||
<p class="wewill_des_text">เรามุ่งมั่นที่จะเพิ่มเติมความรู้ทุกอย่างที่เกี่ยวกับ Type-C ทั้งการส่งผ่านข้อมูลเพื่อให้ได้ความเร็ว 10Gbps ในทุกอุปกรณ์ของเรา Iรวมถึงอุปกรณ์ต่อพ่วมมือถือ 3C ให้สามารถส่งถ่ายข้อมูลได้ Power Delivery (PD) ทำให้ส่งผ่านไฟพร้อมกับส่งข้อมูลในเวลาเดียวกัน</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell spacing"></div>
|
||||
<div class="Table-Cell text_width img-responsive">
|
||||
<div class="text_all ">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_tech_02.jpg" alt=""/>
|
||||
<p class="wewill_des">เทคโนโลยีการส่งผ่านข้อมูลและไฟผ่าน USB</p>
|
||||
<p class="wewill_des_text">ORICO มุ่งมั่นที่จะเรียนรู้และพัฒนาเทคโนโลยีที่เกียวกับการเชื่อมต่อผ่าน USB ตัวอย่างเช่น เราสร้างสรรค์ทุกอุปกรณ์ตั้งแต่ USB 2.0 ถึง USB 3.1 เราจะยังคงมุ่งมั่น พัฒนาต่อไปในทุกเทคโนโลยีทั้งในปัจจุบันและอนาคต</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell spacing"></div>
|
||||
<div class="Table-Cell text_width img-responsive">
|
||||
<div class="text_all">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_tech_03.jpg" alt=""/>
|
||||
<p class="wewill_des">ความปลอดภัยร่วมกับการใช้งานในปัจจุบัน</p>
|
||||
<p class="wewill_des_text">การออกแบบปลั๊กไฟและอุปกรณ์ทุกอย่างที่ใช้กำลังไฟ 220V เรามุ่งมั่นที่จะสร้างและยืนยันในความปลอดภัยที่เกิดขึ้นกับการใช้งานสินค้า ORICO ผ่านการรับรองจากหลายกลายองค์กรทั้ง 3C , FCC, และองค์กรอื่นๆอีกมากมาย</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--不断探索与改变-->
|
||||
<div class="wewill_bg wewill_03">
|
||||
<div class="swt-Container">
|
||||
<div class="wewill_title">การเปลี่ยนแปลงอย่างไม่สิ้นสุด</div>
|
||||
<div class="wewill_des">"Little Change, Big Difference" เป็นแนวคิดและแนวทางการสร้างสรรค์สินค้าของ ORICO ด้วยความเชื่อมั่นของทุกการเปลี่ยนแปลง จากทุกความคิดเห็นทั้งทีมงาน R&D , ลูกค้า ทั้งคำชมและคำตำหนิ เราเชื่อมั่นว่าผลลัพท์จะสร้างสิ่งใหม่ที่ใหญ่โต เพื่อสร้างสรรค์สิ่งที่ดีกว่าให้กับทุกคน "Empower People to Live a Better Life"</div>
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_change_01.jpg">
|
||||
<p class="wewill_des_text">การเปลี่ยนแปลงนำชีวิตที่ดีกว่าให้กับทุกคน</p>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_change_02.jpg">
|
||||
<p class="wewill_des_text">การรวมรวมความเปลี่ยนแปลงเล็กๆเพื่อก้าวผ่านและสรรค์สร้างสิ่งใหม่ที่ใหญ่กว่า</p>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_change_03.jpg">
|
||||
<p class="wewill_des_text">ความหมั่นเพียรจะสร้างสรรค์ในผลลัพท์ที่ใหญ่และดีขึ้นเสมอ</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--承担社会责任-->
|
||||
<div class="wewill_bg wewill_02">
|
||||
<div class="swt-Container">
|
||||
<div class="wewill_title">ความใส่ใจสังคม</div>
|
||||
<div class="sub_title">เราจะระดมขุมกำลังทุกอย่างที่มีเพื่อสร้างความแตกต่าง เช่นการสร้างการศึกษาให้กับคนเป็นการสร้างอนาคตอันสดใส หากเราให้ความรู้กับองค์กรใดๆ องค์กรนั้นก็พร้อมจะสร้างสรรค์แต่ต่อสู้ในโลกธุรกิจ และหากเราผลักดันทีมงานให้เห็นทุกคุณค่าของทุกสิ่งที่เค้าทำ ทุกๆอย่างรอบตัวเค้ารวมถึงครอบครัวเค้าจะเปลี่ยนไป นี่คือแนวทางของ ORICO ที่จะมุ่งมั่นที่จะเปลี่ยนแปลง </div>
|
||||
<div class="swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell text_width img-responsive">
|
||||
<div class="text_all">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_blame_01.jpg" alt=""/>
|
||||
<p class="wewill_des">การบริจาคให้โรงเรียน</p>
|
||||
<p class="wewill_des_text">เราบริจาคให้ระบบการศึกษาของโรงเรียน เพื่อการพัฒนาคนรุ่นใหม่ในบ้านเกิด และบริเวณรอบนิคมอุตสาหกรรมของเรา</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell spacing"></div>
|
||||
<div class="Table-Cell text_width img-responsive">
|
||||
<div class="text_all ">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_blame_02.jpg" alt=""/>
|
||||
<p class="wewill_des">เรายังช่วยเหลือไปยังผู้อยู๋ในพื้นที่ห่างไกล</p>
|
||||
<p class="wewill_des_text">การส่งความช่วยเหลือไปยังขายแดนเพื่อให้ได้รับการศึกษาอย่างเหมาะสม</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Cell spacing"></div>
|
||||
<div class="Table-Cell text_width img-responsive">
|
||||
<div class="text_all">
|
||||
<img src="__PUBLIC__/web/images/culture/wewill_blame_03.jpg" alt=""/>
|
||||
<p class="wewill_des">พนักงานคือครอบครัวของเรา</p>
|
||||
<p class="wewill_des_text">สร้างที่อยู๋อาศัยให้กับพนักงานและครอบครัว เพื่อสร้างความสุขสบายและความสุขกายสบายใจให้กับครอบครัว ORICO</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--新技术的专研实力
|
||||
<div class="wewill_bg c_wewill_p">
|
||||
<div class="weweill_w">
|
||||
<div class="we_change">Undertake Social Responsibility</div>
|
||||
<div class="we_change_small wewill_blame">We will spare no efforts to make more people witness the power of change. If we help a child to school, his fate will be changed completely; If we help a SME to R&D a creative product, the future situation of an industry may be changed; if we help a staff to realize his individual value, his whole family’ s wish may be changed…Focus on changing, ORICO is on the way. </div>
|
||||
<div class="lj-tech-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="we_tech_img we_white Table-Cell">
|
||||
<div class="we_img_s "> <img src="__PUBLIC__/web/images/culture/wewill_blame_01.jpg" alt=""/> </div>
|
||||
<div class="we_tech_title">Donations to Schools</div>
|
||||
<div class="we_blame_text">Make donations for hometown’s education and always concern about development of hometown and factory district.</div>
|
||||
</div>
|
||||
<div class="we_tech_height"></div>
|
||||
<div class="we_tech_img we_white Table-Cell">
|
||||
<div class="we_img_s"> <img src="__PUBLIC__/web/images/culture/wewill_blame_02.jpg" alt=""/> </div>
|
||||
<div class="we_tech_title">Aid to Border Areas’ education</div>
|
||||
<div class="we_blame_text">Dispatch helpful persons and send funds to border areas of our country, devote to development of local educational causes.</div>
|
||||
</div>
|
||||
<div class="we_tech_height"></div>
|
||||
<div class="we_tech_img we_white Table-Cell">
|
||||
<div class="we_img_s"> <img src="__PUBLIC__/web/images/culture/wewill_blame_03.jpg" alt=""/> </div>
|
||||
<div class="we_tech_title">Staff’s Warm Family</div>
|
||||
<div class="we_blame_text">Build a “Staff Home” for staffs and their families, care for their physical and mental health and individual development.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
42
app/th/view/include/banner.phtml
Executable file
42
app/th/view/include/banner.phtml
Executable file
@@ -0,0 +1,42 @@
|
||||
<!-- 轮播 s -->
|
||||
<?php
|
||||
$bigbanners = getBannerList(31, 6);
|
||||
if ($bigbanners):
|
||||
?>
|
||||
<div class="homebans">
|
||||
<div class="hd">
|
||||
<ul class="banner_no">
|
||||
<?php foreach ($bigbanners as $k => $banner): ?>
|
||||
<li id="<?php echo $banner['alt'];?>"><?php echo $k + 1; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<?php foreach ($bigbanners as $banner): ?>
|
||||
<li><a href="<?php echo $banner['url']; ?>"><img src="<?php echo getImage($banner['picture']); ?>"/></a></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
jQuery(".homebans").slide({mainCell: ".bd ul", autoPlay: true, delayTime: 3000});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".homebans").slide(
|
||||
{mainCell: ".bd ul", autoPlay: true, delayTime: 100}
|
||||
|
||||
);
|
||||
$(function(){
|
||||
function aa() {
|
||||
var color = $(".banner_no li[class='on']").attr('id');
|
||||
$(".header-Index #header").removeClass().addClass(color);
|
||||
//console.log(color);
|
||||
}
|
||||
|
||||
window.setInterval(aa,300);
|
||||
})
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<!-- 轮播 e -->
|
||||
149
app/th/view/include/bottom.phtml
Executable file
149
app/th/view/include/bottom.phtml
Executable file
@@ -0,0 +1,149 @@
|
||||
<!--底部-->
|
||||
<div class="footer_all">
|
||||
<div class="footer">
|
||||
<div class="footl">
|
||||
<dl>
|
||||
<dt class="Under-line"><p class="icon-On-line"></p>ORICO Store<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="https://orico.tmall.com/?spm=a1z10.5-b.1997427721.d4918089.I" target="_blank">Tmall Office Store</a></dd>
|
||||
<dd><a href="http://orico-easy-your-pc.jd.com/" target="_blank">JD ORICO Office Store</a></dd>
|
||||
<dd><a href="https://www.newegg.com/ORICO-TECHNOLOGIES-CO-LTD" target="_blank">Newegg</a></dd>
|
||||
<dd><a href="https://www.amazon.com/sp?_encoding=UTF8&asin=&isAmazonFulfilled=&isCBA=&marketplaceID=ATVPDKIKX0DER&orderID=&seller=A2S4EXOOJ8Z82D&tab=&vasStoreID=" target="_blank">Amazon</a></dd>
|
||||
<dd><a href="https://orico.aliexpress.com/store/105327?spm=2114.12010108.pcShopHead_5959929.0" target="_blank">AliExpress</a></dd>
|
||||
<dd><a href="https://bokcore.1688.com/">1688 ORICO International</a></dd>
|
||||
<dd><a href="https://orico.en.alibaba.com/" target="_blank">Alibaba</a></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="On-line"><p class="icon-Under-line"></p>ORICO Offline Retail<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<!--<dd><a href="/us/Group/distributor">Dealer Network</a></dd>
|
||||
<dd><a href="">Domestic Channel</a></dd>
|
||||
<dd><a href="">Overseas Channel</a></dd>-->
|
||||
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="support"><p class="icon-support"></p>Technical Support<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="__ORICOROOT__/Group/fq">FAQ</a></dd>
|
||||
<dd><a href="__ORICOROOT__<?php echo url_rewrite('video'); ?>">วีดีโอ การใช้งาน</a></dd>
|
||||
<!--<dd><a href="">Knowledge-base</a></dd>
|
||||
<dd><a href="faq-1222.html">如何成为经销商</a></dd>-->
|
||||
<dd><a href="__ORICOROOT__/Group/policy">การรับประกัน</a></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="media"><p class="icon-media"></p>Media<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="tencent://message/?uin=429090372&Site=www.oricogroup.com.cn&Menu=yes" target="_blank">ORICO Followers</a></dd>
|
||||
<dd><a href="http://bbs.orico.com.cn/portal.php" target="_blank">ORICO Community</a></dd>
|
||||
<dd><a href="https://weibo.com/p/1006063158162522/home?from=page_100606&mod=TAB&is_all=1#place" target="_blank">Weibo</a></dd>
|
||||
<dd><a href="">WeChat</a></dd>
|
||||
<!--<dd><a href="">Facebook</a></dd>
|
||||
<dd><a href="https://twitter.com/ORICO_Official">Twitter</a></dd>
|
||||
<dd><a href="https://www.youtube.com/channel/UCi1NX8JcV3mJ1AnqrxhuLHw?view_as=public">Youtube</a></dd>-->
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="join"><p class="icon-join"></p>Join Us<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="__ORICOROOT__/Group/odm">Cooperation</a></dd>
|
||||
<!--<dd><a href="/us/Group/job" >Jobs</a></dd>-->
|
||||
</dl>
|
||||
</div>
|
||||
<div class="footr text-l f-gray">
|
||||
<div class="font-18">ติ<span>ดต่อเรา</span><span><a href="__PUBLIC__/weben/images/home/SKMBT_C35319110614220.pdf" target="_blank"><img src="__PUBLIC__/web/images/home/statement.png">Terms of Use</a></span></div>
|
||||
<p class="padding-t-8vw">Add: 19/F, Block 14A, Zhonghaixin Science &Technology Park, Longgang District, Shenzhen, China </p>
|
||||
<p>After-sale & Support: 400-6696-298</p>
|
||||
<p>E-mail:supports@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container img-responsive footer_bg position-r">
|
||||
<div style="position: absolute; bottom:0; z-index: 0;"><img src="__PUBLIC__/web/images/home/footer_bg.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer_bottom">
|
||||
<div class="rha text-c">
|
||||
<a href="https://www.youtube.com/user/ORICOVlog" target="_blank"><div class="footr-icon"><span class="icon1-youtube"></span></div>
|
||||
<a href="https://twitter.com/ORICO_Official" target="_blank"><div class="footr-icon"><span class="icon1-twitter"></span></div>
|
||||
<a href="https://www.instagram.com/orico__technologies" target="_blank"><div class="footr-icon"><span class="icon1-instagram"></span></div></a>
|
||||
<a href="https://www.facebook.com/ORICOOfficial" target="_blank"><div class="footr-icon"><span class="icon1-facebook"></span></div></a>
|
||||
</div>
|
||||
2015 ORICO Technologies Co.,Ltd copyright
|
||||
(<a href="http://www.miitbeian.gov.cn" style="color:#fff" target="_blank">GuangDong ICP No. 15,025,109</a>)</div>
|
||||
{include file="include/kefu" /}
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/owl.carousel.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/html5shiv.v3.72.min.js"></script>
|
||||
|
||||
<script>
|
||||
/*头部菜单栏*/
|
||||
$( function () {
|
||||
var $category = $( ".navlist" );
|
||||
$category.hide();
|
||||
$( ".navul li" ).mouseleave( function () {
|
||||
$( this ).children( "a" ).addClass( "aons" );
|
||||
$( ".nav" ).removeAttr("style");
|
||||
$( ".navlist_c" ).removeAttr("style");
|
||||
$( ".navul" ).find( "a" ).removeClass("menu_a");
|
||||
$( this ).find("span").removeClass("arrow-down");
|
||||
$(".all-logo").show();
|
||||
$(".all-logo-black").hide();
|
||||
//$( this ).children( "dl" ).stop( true, true ).slideUp( 500 );
|
||||
$( this ).children( "dl" ).stop().slideUp( 500 );
|
||||
} );
|
||||
$( ".navul li" ).mouseenter( function () {
|
||||
$category.hide();
|
||||
$( ".navlist_c" ).removeAttr("style");
|
||||
$( ".nav" ).css("background-color", "#FFFFFF");
|
||||
$( ".navul" ).find( "a" ).addClass("menu_a");
|
||||
$(this).find("span").addClass("arrow-down");
|
||||
$(".all-logo").hide();
|
||||
$(".all-logo-black").show();
|
||||
//$( this ).children( "dl" ).stop( true, true ).slideDown( 500 );
|
||||
$( this ).children( "dl" ).stop().slideDown( 500 );
|
||||
} );
|
||||
//搜索框
|
||||
$( ".top-R span" ).click( function () {
|
||||
$( ".search" ).slideToggle();
|
||||
} );
|
||||
// 城市
|
||||
$( ".zg" ).click( function () {
|
||||
$( ".topnav" ).slideToggle(500);
|
||||
} );
|
||||
|
||||
$(".icon-close").click(function(){
|
||||
$( ".topnav" ).slideUp(500);
|
||||
})
|
||||
|
||||
} );
|
||||
/*底部菜单弹出*/
|
||||
var body_width = $(window).width();
|
||||
if(body_width < 767){
|
||||
$(function(){
|
||||
$(".footl dt").click(function(){
|
||||
$(this).nextAll().toggle(500);
|
||||
$(this).children("span").toggleClass( "arrow-r" )
|
||||
}).mouseout(function(){
|
||||
$(".bottom_cn_box").hide();
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
/*新导航*/
|
||||
$(function(){
|
||||
$(".ca_lists").mouseover(function(){
|
||||
$(this).addClass('on').siblings().removeClass('on');
|
||||
$(this).siblings().children('div').hide();
|
||||
$(this).children('div').show();
|
||||
});
|
||||
|
||||
});
|
||||
/*底部菜单弹出*/
|
||||
var body_width = $(window).width();
|
||||
if(body_width < 767){
|
||||
$(function(){
|
||||
$(".footl dt").click(function(){
|
||||
$(this).nextAll().toggle(500);
|
||||
$(this).children("span").toggleClass( "arrow-r" )
|
||||
}).mouseout(function(){
|
||||
$(".bottom_cn_box").hide();
|
||||
});
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
50
app/th/view/include/catbanner.phtml
Executable file
50
app/th/view/include/catbanner.phtml
Executable file
@@ -0,0 +1,50 @@
|
||||
<!-- 轮播 s -->
|
||||
<?php
|
||||
if (isset($last_cate) && $last_cate)
|
||||
{
|
||||
$banners = getBannerList(34, 1, [['exp', \think\Db::raw('FIND_IN_SET(\'' . $category['pid'] . '\',`categoryid`)')]]);
|
||||
}
|
||||
else
|
||||
{
|
||||
$banners = getBannerList(34, 1, [['exp', \think\Db::raw('FIND_IN_SET(\'' . $category['id'] . '\',`categoryid`)')]]);
|
||||
}
|
||||
|
||||
if ($banners):
|
||||
?>
|
||||
<div class="homeban">
|
||||
<div class="hd">
|
||||
<ul >
|
||||
<?php /*foreach ($banners as $k => $banner): ?>
|
||||
<li id="<?php echo $banner['alt'];?>"><?php echo $k + 1; ?></li>
|
||||
<?php endforeach;*/?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bd">
|
||||
<ul class="banner_no">
|
||||
<?php foreach ($banners as $banner): ?>
|
||||
<li id="<?php echo $banner['alt'];?>"><a href="<?php echo $banner['url']; ?>"><img src="<?php echo getImage($banner['picture']); ?>"></a></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
jQuery(".homeban").slide({mainCell: ".bd ul", autoPlay: true, delayTime: 3000});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
jQuery(".homeban").slide(
|
||||
{mainCell: ".bd ul", autoPlay: true, delayTime: 100}
|
||||
|
||||
);
|
||||
$(function(){
|
||||
function aa() {
|
||||
var color = $(".banner_no li").attr('id');
|
||||
|
||||
$(".header-Index #header").removeClass().addClass(color);
|
||||
//console.log(color);
|
||||
}
|
||||
|
||||
window.setInterval(aa,300);
|
||||
})
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<!-- 轮播 e -->
|
||||
31
app/th/view/include/head-product.phtml
Executable file
31
app/th/view/include/head-product.phtml
Executable file
@@ -0,0 +1,31 @@
|
||||
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-55H3CV5');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/css_whir.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/owl.carousel.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/swiper.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/jquery.mCustomScrollbar.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/fonts.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/public_1200.css">
|
||||
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery-1.8.3.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/common.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/swiper.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/owl.carousel.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/html5shiv.v3.72.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.SuperSlide.2.1.1.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.mCustomScrollbar.concat.min.js"></script>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-55H3CV5"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
|
||||
5
app/th/view/include/head-seo.phtml
Executable file
5
app/th/view/include/head-seo.phtml
Executable file
@@ -0,0 +1,5 @@
|
||||
|
||||
<title><?php echo $seo_title; ?></title>
|
||||
<meta name="keywords" content="<?php echo $seo_keyword; ?>">
|
||||
<meta name="description" content="<?php echo $seo_description; ?>">
|
||||
|
||||
33
app/th/view/include/head.phtml
Executable file
33
app/th/view/include/head.phtml
Executable file
@@ -0,0 +1,33 @@
|
||||
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-55H3CV5');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="icon" type="image/gif" href="__PUBLIC__/web/images/animated_favicon.png">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/css_whir.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/owl.carousel.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/swiper.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/jquery.mCustomScrollbar.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/fonts.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/public_1440.css">
|
||||
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery-1.8.3.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/common.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/swiper.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/owl.carousel.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/html5shiv.v3.72.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.SuperSlide.2.1.1.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.mCustomScrollbar.concat.min.js"></script>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-55H3CV5"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
|
||||
210
app/th/view/include/kefu.phtml
Executable file
210
app/th/view/include/kefu.phtml
Executable file
@@ -0,0 +1,210 @@
|
||||
<!-- 在线客服 s -->
|
||||
<div class="suspension Swt-Phone">
|
||||
<div class="suspension-box">
|
||||
<div href="javascript:;" class="a a-acart">
|
||||
<i class="l3 icon-ys1"></i><p>Email</p>
|
||||
</div>
|
||||
<div href="javascript:;" class="a a-service-phone" style="border-bottom:1px solid #f1f1f1;">
|
||||
<i class="l4 icon-kf1"></i><p>Contact Us</p>
|
||||
<div class="d d-service-phone">
|
||||
<i class="arrow"></i>
|
||||
<div class="inner-box" style="display: block">
|
||||
<div class="d-service-item clearfix">
|
||||
<span class="circle"><i class="i-tel"></i></span>
|
||||
<div class="text">
|
||||
<p>Free Service Hotline</p>
|
||||
<p class="number"><?php echo config('website_tel'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div href="javascript:;" class="a a-top" style="border-bottom:1px solid #f1f1f1;margin-top:10px;">
|
||||
<i class="l5 icon-top1"></i><p>Top</p>
|
||||
</div>
|
||||
<div class="d d-qrcode">
|
||||
<i class="arrow"></i>
|
||||
<div class="inner-box">
|
||||
<?php if (!empty($erweima[0])): ?>
|
||||
<div class="qrcode-img"><img src="<?php echo getImage($erweima[0]['picture']); ?>" alt="<?php echo $erweima[0]['alt']; ?>"></div>
|
||||
<?php endif; ?>
|
||||
<p>更多惊喜请加微信</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="show">
|
||||
<div class="w1440 smask">
|
||||
<div class="w1200 sarea">
|
||||
<div class="stop1">
|
||||
<span>Feedback</span>
|
||||
<a href="javascript:;" class="cha"><i class="icon-close"></i></a>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<form id="feedback">
|
||||
<div class="feed">
|
||||
<div class="finput">
|
||||
<label>Type:</label>
|
||||
<select name="feedback_type">
|
||||
<?php
|
||||
$feedback_type = config('website_feedback_type_us');
|
||||
if ($feedback_type):
|
||||
foreach ($feedback_type as $type):
|
||||
?>
|
||||
<option value="<?php echo $type; ?>"><?php echo $type; ?></option>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label>Your name:</label>
|
||||
<input type="text" name="name" value="" id="name">
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label>Subject:</label>
|
||||
<input type="text" name="subject" value="" class="them">
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label class="fla">Details:</label>
|
||||
<textarea name="content"></textarea>
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label class="fla">Contact:</label>
|
||||
<select class="emal" name="way">
|
||||
<option value="E-mail">E-mail</option>
|
||||
</select>
|
||||
<input type="text" name="contact" value="" id="contact" class="them1">
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label>Security code:</label>
|
||||
<input type="text" name="authcode" value="" id="authcode">
|
||||
<a href="javascript:;" class="yzm"><img id="yanzhengma" src="<?php echo url('captcha/authcode/verify', ['id' => 'authcode']); ?>"></a>
|
||||
</div>
|
||||
<a href="javascript:;" class="feda sendbtn">Send</a>
|
||||
<a href="javascript:;" class="feda resetbtn">Reset</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
/* ----- 侧边悬浮 ---- */
|
||||
$(document).on("mouseenter", ".suspension .a", function() {
|
||||
var _this = $(this);
|
||||
var s = $(".suspension");
|
||||
var isService = _this.hasClass("a-service");
|
||||
var isServicePhone = _this.hasClass("a-service-phone");
|
||||
var isQrcode = _this.hasClass("a-qrcode");
|
||||
if (isService) {
|
||||
s.find(".d-servcie").show().siblings(".d").hide();
|
||||
}
|
||||
if (isServicePhone) {
|
||||
s.find(".d-service-phone").show().siblings(".d").hide();
|
||||
}
|
||||
if (isQrcode) {
|
||||
s.find(".d-qrcode").show().siblings(".d").hide();
|
||||
}
|
||||
});
|
||||
$(document).on("mouseleave", ".suspension .a, .suspension .a-top", function() {
|
||||
$(".suspension").find(".d").hide();
|
||||
});
|
||||
$(document).on("mouseenter", ".suspension .a-top", function() {
|
||||
$(".suspension").find(".d").hide();
|
||||
});
|
||||
$(document).on("click", ".suspension .a-top", function() {
|
||||
$("html,body").animate({scrollTop: 0});
|
||||
});
|
||||
$(window).scroll(function() {
|
||||
var st = $(document).scrollTop();
|
||||
var $top = $(".suspension .a-top");
|
||||
if (st > 400) {
|
||||
$top.css({display: 'block'});
|
||||
} else {
|
||||
if ($top.is(":visible")) {
|
||||
$top.show();
|
||||
}
|
||||
}
|
||||
});
|
||||
$(".a-acart").click(function() {
|
||||
$(".show").show();
|
||||
$("a.yzm").click();
|
||||
})
|
||||
$(".cha").click(function() {
|
||||
$(".show").hide();
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<!-- 在线客服 e -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("form a.yzm").click(function(event) {
|
||||
event.preventDefault();
|
||||
$("#yanzhengma").attr("src", "<?php echo url('captcha/authcode/verify', ['id' => 'authcode']); ?>" + "?" + Math.random());
|
||||
});
|
||||
$("form a.resetbtn").click(function(e) {
|
||||
if (confirm('确认重置所有表单项吗?')) {
|
||||
this.form.reset();
|
||||
}
|
||||
});
|
||||
$("form a.sendbtn").bind("click", function(event) {
|
||||
var nameObj = document.getElementById('name');
|
||||
if (isNull(trim(nameObj.value))) {
|
||||
alert('名称必须填写');
|
||||
nameObj.focus();
|
||||
return false;
|
||||
}
|
||||
var authcodeObj = document.getElementById('authcode');
|
||||
if (isNull(trim(authcodeObj.value))) {
|
||||
alert('验证码不能为空');
|
||||
authcodeObj.focus();
|
||||
return false;
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<?php echo url('index/index/feedback'); ?>",
|
||||
data: $("form#feedback").serialize(),
|
||||
dataType: "json",
|
||||
success: function(data, status, xhr) {
|
||||
if (data.code) {
|
||||
alert(data.msg);
|
||||
$("form#feedback").get(0).reset();
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
beforeSend: function() {
|
||||
$('form a.sendbtn').prop('disabled', true);
|
||||
},
|
||||
complete: function() {
|
||||
$('form a.sendbtn').prop('disabled', false);
|
||||
$("form a.yzm").click();
|
||||
}
|
||||
});
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
function isNull(data) {
|
||||
return (data == "" || data == undefined || data == null) ? true : false;
|
||||
}
|
||||
function trim(str) {
|
||||
return str.replace(/(^\s*)|(\s*$)/g, '');
|
||||
}
|
||||
function isTelephone(value) {
|
||||
var isMobile = /^1[345789]\d{9}$/;
|
||||
return isMobile.test(value);
|
||||
}
|
||||
function validEmail(email) {
|
||||
//对电子邮件的验证
|
||||
var reg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
|
||||
return reg.test(email);
|
||||
}
|
||||
|
||||
</script>
|
||||
214
app/th/view/include/top-header-mobile.phtml
Executable file
214
app/th/view/include/top-header-mobile.phtml
Executable file
@@ -0,0 +1,214 @@
|
||||
<header class="header-M">
|
||||
<div class="header-fixed">
|
||||
<div class="logo img-responsive"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png"></a></div>
|
||||
<div class="Menu icon-menu"></div>
|
||||
<div class="Country"><img src="__PUBLIC__/web/images/countries/UK.png"></div>
|
||||
</div>
|
||||
<div class="m-Menu" style="display: none;">
|
||||
<ul>
|
||||
<li><a href="__ORICOROOT__">HOME</a></li>
|
||||
<li><a href="__ORICOROOT__<?php echo url_rewrite('product'); ?>">สินค้า&บริการ</a><div class="icon-arrow font-18 arrow"><span></span></div>
|
||||
<div class="S-Menu" style="display: none">
|
||||
<ul>
|
||||
<?php foreach ($productCategory as $k => $pc): ?>
|
||||
<li><a href="__ORICOROOT__<?php echo url_rewrite('product', ['id' => $pc['id']]); ?>"><?php echo $pc['name']; ?></a></li>
|
||||
<?php endforeach; ?>
|
||||
<li><a href="__ORICOROOT__/Group/special">Featured Products</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="">Value & Mission</a><div class="icon-arrow font-18 arrow"><span></span></div>
|
||||
<div class="S-Menu" style="display: none">
|
||||
<ul>
|
||||
<a href="__ORICOROOT__/Group/weare">เราคือ</a>
|
||||
<a href="__ORICOROOT__/Group/wewill">เราจะ</a>
|
||||
<a href="__ORICOROOT__/Group/culture">ค่านิยมและวัฒนธรรม</a>
|
||||
<a href="__ORICOROOT__/Group/vision">เป้าหมายและวิสัยทัศน์</a>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="">ที่มาและนวัตกรรม</a><div class="icon-arrow font-18 arrow"><span></span></div>
|
||||
<div class="S-Menu" style="display: none">
|
||||
<ul>
|
||||
<li><a href="__ORICOROOT__<?php echo url_rewrite('article'); ?>">ข่าวสาร</a></li>
|
||||
<li><a href="__ORICOROOT__/Group/brand">Brand Course</a></li>
|
||||
<li><a href="__ORICOROOT__/Group/honor">เกียติยศและใบรับรอง</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="__ORICOROOT__/Group/job">เข้าร่วมกับเรา</a></li>
|
||||
<li><a href="__ORICOROOT__/Group/Contact">ติดต่อเรา</a></li>
|
||||
</ul>
|
||||
<div class="SingIn-button text-c"><a href="__ORICOROOT__/register.html">Registry</a><a href="__ORICOROOT__/login.html">Login</a></div>
|
||||
<a href="__ORICOROOT__/Group/search"><div class="search">
|
||||
<button class="updown_search_btn" type="sumbit" id="bnt_email"><span class="icon-search"></span></button>
|
||||
<input class="form-control" name="keywords" placeholder="Search" value="" type="text">
|
||||
</div> </a>
|
||||
</div>
|
||||
<div class="m-Country" style="display: none;">
|
||||
<ul>
|
||||
<li><a href="http://www.orico.com.cn"><p>China</p></a></li>
|
||||
<li><a href="http://www.orico.cc/th"><p>USA</p></a></li>
|
||||
<li><a href=""><p>Vietnam</p></a></li>
|
||||
<li><a href=""><p>Thailand</p></a></li>
|
||||
<!--
|
||||
<li><a href=""><p>Australia</p></a></li>
|
||||
<li><a href=""><p>Canada</p></a></li>
|
||||
<li><a href=""><p>Japan</p></a></li>
|
||||
<li><a href=""><p>France</p></a></li>
|
||||
<li><a href=""><p>Germany</p></a></li>
|
||||
|
||||
<li><a href=""><p>Egyiptom</p></a></li>
|
||||
<li><a href=""><p>Kazakhstan</p></a></li>
|
||||
<li><a href=""<p>Palestine</p></a></li>
|
||||
|
||||
|
||||
<li><a href=""><p>Ghána</p></a></li>
|
||||
<li><a href=""><p>Dubai</p></a></li>
|
||||
<li><a href=""><p>Korea</p></a></li>
|
||||
<li><a href=""><p>Philippines</p></a></li>
|
||||
<li><a href=""><p>Alba</p></a></li>
|
||||
|
||||
<li><a href=""><p>Morocco</p></a></li>
|
||||
<li><a href=""><p>Hong Kong,China</p></a></li>
|
||||
<li><a href=""><p>Kuwait</p></a></li>
|
||||
<li><a href=""><p>Saudi Arabia</p></a></li>
|
||||
<li><a href=""><p>Ausztria</p></a></li>
|
||||
|
||||
<li><a href=""><p>Nigéria</p></a></li>
|
||||
<li><a href=""><p>India</p></a></li>
|
||||
<li><a href=""><p>Laosz</p></a></li>
|
||||
<li><a href=""><p>Singapore</p></a></li>
|
||||
<li><a href=""><p>Belgium</p></a></li>
|
||||
|
||||
<li><a href=""><p>South Africa</p></a></li>
|
||||
<li><a href=""><p>Indonesia</p></a></li>
|
||||
<li><a href=""><p>Libanon</p></a></li>
|
||||
<li><a href=""><p>Srí Lanka</p></a></li>
|
||||
<li><a href=""><p>Bulgaria</p></a></li>
|
||||
|
||||
<li><a href=""><p>Tunézia</p></a></li>
|
||||
<li><a href=""><p>Iordan</p></a></li>
|
||||
<li><a href=""><p>Malaysia</p></a></li>
|
||||
<li><a href=""><p>Syria</p></a></li>
|
||||
<li><a href=""><p>Csehország</p></a></li>
|
||||
|
||||
<li><a href=""><p>Zambia</p></a></li>
|
||||
<li><a href=""><p>Iran</p></a></li>
|
||||
<li><a href=""><p>Maldives</p></a></li>
|
||||
<li><a href=""><p>Taiwan,China</p></a></li>
|
||||
<li><a href=""><p>Cyprus</p></a></li>
|
||||
|
||||
<li><a href=""><p>Azerbaijan</p></a></li>
|
||||
<li><a href=""><p>Iraq</p></a></li>
|
||||
<li><a href=""><p>Myanmar</p></a></li>
|
||||
|
||||
<li><a href=""><p>Denmark</p></a></li>
|
||||
|
||||
<li><a href=""><p>Bengal</p></a></li>
|
||||
<li><a href=""><p>Israel</p></a></li>
|
||||
<li><a href=""><p>Nepal</p></a></li>
|
||||
<li><a href=""><p>Turkey</p></a></li>
|
||||
<li><a href=""><p>Estonia</p></a></li>
|
||||
|
||||
|
||||
<li><a href=""><p>Cambodia</p></a></li>
|
||||
<li><a href=""><p>Pakistan</p></a></li>
|
||||
<li><a href=""><p>United Arab Emirates</p></a></li>
|
||||
|
||||
<li><a href=""><p>Pápua Új-Guinea</p></a></li>
|
||||
<li><a href=""><p>Colombia</p></a></li>
|
||||
<li><a href=""><p>Peru</p></a></li>
|
||||
<li><a href=""><p>Uruguay</p></a></li>
|
||||
|
||||
<li><a href=""><p>Brazil</p></a></li>
|
||||
<li><a href=""><p>Chile</p></a></li>
|
||||
<li><a href=""><p>Mexikó</p></a></li>
|
||||
<li><a href=""><p>Argentína</p></a></li>
|
||||
|
||||
<li><a href=""><p>Romania</p></a></li>
|
||||
<li><a href=""><p>Spain</p></a></li>
|
||||
<li><a href=""><p>Switzerland</p></a></li>
|
||||
<li><a href=""><p>Ukraine</p></a></li>
|
||||
<li><a href=""><p>Bolivia</p></a></li>
|
||||
|
||||
<li><a href=""><p>Russia</p></a></li>
|
||||
<li><a href=""><p>Sweden</p></a></li>
|
||||
<li><a href=""><p>Szlovákia</p></a></li>
|
||||
<li><a href=""><p>Netherlands</p></a></li>
|
||||
<li><a href=""><p>Portugal</p></a></li>
|
||||
|
||||
|
||||
<li><a href=""><p>Hungary</p></a></li>
|
||||
<li><a href=""><p>Italy</p></a></li>
|
||||
<li><a href=""><p>Norway</p></a></li>
|
||||
<li><a href=""><p>New Zealand</p></a></li>
|
||||
|
||||
<li><a href=""><p>Greece</p></a></li>
|
||||
<li><a href=""><p>Ireland</p></a></li>
|
||||
<li><a href=""><p>Lithuania</p></a></li>
|
||||
<li><a href=""><p>Poland</p></a></li>
|
||||
-->
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<script>
|
||||
/*菜单栏*/
|
||||
$( function () {
|
||||
$( ".Menu" ).click( function () {
|
||||
$( this ).toggleClass( "icon-close" );
|
||||
$( ".Country" ).children().show();
|
||||
$( ".m-Menu" ).slideToggle( 500 );
|
||||
$( ".Country" ).removeClass( "icon-close" );
|
||||
$( ".m-Country" ).hide();
|
||||
$( ".m-Menu ul" ).animate( {
|
||||
fontSize: "1em"
|
||||
} );
|
||||
} );
|
||||
} )
|
||||
/*国家栏*/
|
||||
$( function () {
|
||||
$( ".Country" ).click( function () {
|
||||
$( this ).children().toggle();
|
||||
$( this ).toggleClass( "icon-close" );
|
||||
$( ".Menu" ).removeClass( "icon-close" );
|
||||
$( ".m-Country" ).slideToggle( 500 );
|
||||
$( ".m-Menu" ).hide();
|
||||
} );
|
||||
} )
|
||||
/*箭头下拉*/
|
||||
$( function () {
|
||||
$( ".m-Menu .arrow" ).click( function () {
|
||||
$( this ).parent().find( ".S-Menu" ).slideToggle( 500 );
|
||||
$( this ).toggleClass( "arrow-r" )
|
||||
} );
|
||||
} )
|
||||
|
||||
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/*固定头部*/
|
||||
|
||||
|
||||
var theme_color= $("#header").attr("class");
|
||||
var header_class = $("header").attr("class");
|
||||
/*滚动条大于100固定头部*/
|
||||
$(window).scroll(function() {
|
||||
// 当滚动到最底部以上100像素时, 固定头部
|
||||
if ($(this).scrollTop() > 100) {
|
||||
$("header").removeClass("header-Index").addClass("header-Product");
|
||||
$("#header").removeClass(theme_color).addClass("theme-black");
|
||||
}
|
||||
else
|
||||
{
|
||||
$("header").removeClass("header-Product").addClass(header_class);
|
||||
$("#header").removeClass("theme-black").addClass(theme_color);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
122
app/th/view/include/top-header.phtml
Executable file
122
app/th/view/include/top-header.phtml
Executable file
@@ -0,0 +1,122 @@
|
||||
<div class="nav">
|
||||
<div class="swt-Container overflow-f">
|
||||
<div class="all-logo position-r">
|
||||
<div class="logo logo-black"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
<div class="logo logo-white"><a href="__ORICOROOT__"><img src="/uploads/default/logo-white.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="all-logo-black position-r" style="display: none">
|
||||
<div class="logo"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
<li id="index" class="products"><a href="__ORICOROOT__">HOME</a></li>
|
||||
<li id="nav1" class="products main_nav">
|
||||
<a href="<?php echo url_rewrite('us'); ?>" class="aons">สินค้า&บริการ<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist_c" style="display: none">
|
||||
<div class="swt-Container ca_list text-left">
|
||||
<?php if (!empty($productCategory)): ?>
|
||||
<?php foreach ($productCategory as $key => $value):
|
||||
if (isset($category['id']) && $category['id'] == $value['id'])
|
||||
$oneLevelCategory = isset($value['child']) ? $value['child'] : [];
|
||||
$have_3_child = 0;
|
||||
if (!empty($value['child']))
|
||||
{
|
||||
foreach ($value['child'] as $k => $v)
|
||||
{
|
||||
if (!empty($v['child']))
|
||||
{
|
||||
$have_3_child = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div class="ca_lists">
|
||||
<a href="__ORICOROOT__/product/category/<?php echo $value['id']?>.html" class="nav_title one_category"><img src="<?php echo $value['m_icon']?>"><?php echo $value['name']; ?><i class="icon-r-arrow arrow_title"></i></a>
|
||||
<?php if ($have_3_child == 0): ?>
|
||||
<div class="two_nav two_nav_other" style="display: none;">
|
||||
<?php if (!empty($value['child'])): ?>
|
||||
|
||||
<?php foreach ($value['child'] as $k => $v): ?>
|
||||
<div class=""><a href="__ORICOROOT__/product/subcategory/<?php echo $v['id']?>.html"><img src="<?php echo $v['m_icon']; ?>"><?php echo $v['name']; ?></a></div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<div style="<?php if ($key != 0): ?> display: none <?php endif; ?>">
|
||||
<?php if (!empty($value['child'])): ?>
|
||||
<div class="two_nav_<?php echo $value['id']; ?> two_nav">
|
||||
<?php foreach ($value['child'] as $k => $v): ?>
|
||||
<dl>
|
||||
<dt class="nav_list_title"><a href="__ORICOROOT__/product/subcategory/<?php echo $v['id']?>.html"><img src="<?php echo $v['m_icon']; ?>"><?php echo $v['name']; ?></a></dt>
|
||||
<?php if (!empty($v['child'])): ?>
|
||||
<?php foreach ($v['child'] as $index => $item): ?>
|
||||
<dd><a href="__ORICOROOT__/product/subcategory/<?php echo $item['id']?>.html"><img src="<?php echo $item['picture']; ?>"><?php echo $item['shortname']; ?></a></dd>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</dl>
|
||||
|
||||
</li>
|
||||
<li id="nav2" class="products">
|
||||
<a href="#">เป้าหมายขององค์กร<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist2">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__/Group/weare">เราคือ</a>
|
||||
<a href="__ORICOROOT__/Group/wewill">เราจะ</a>
|
||||
<a href="__ORICOROOT__/Group/culture">ค่านิยมและวัฒนธรรม</a>
|
||||
<a href="__ORICOROOT__/Group/vision">เป้าหมายและวิสัยทัศน์</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd1.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<li id="nav3">
|
||||
<a href="#">ที่มาและนวัตกรรม<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist1">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('article'); ?>">ข่าวสาร</a>
|
||||
<a href="__ORICOROOT__/Group/brand">Brand Course</a>
|
||||
<a href="__ORICOROOT__/Group/honor">เกียรติบัตรและใบรับรอง</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd3.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!--<li id="nav2" class="products"><a href="/index/Group/culture">价值与使命</a>
|
||||
</li>
|
||||
<li id="nav3" class="products"><a href="#">历史与创新</a>
|
||||
</li>-->
|
||||
<li id="nav4" class="products"><a href="__ORICOROOT__/Group/job">เข้าร่วมกับเรา</a>
|
||||
</li>
|
||||
<li id="nav5" class="products"><a href="__ORICOROOT__/Group/Contact">ติดต่อเรา</a>
|
||||
</li>
|
||||
<li id="nav6" class="products"><a href="__ORICOROOT__<?php echo url_rewrite('download'); ?>">ดาวโหลดไดร์เวอร์</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
99
app/th/view/include/top-header20191015.phtml
Executable file
99
app/th/view/include/top-header20191015.phtml
Executable file
@@ -0,0 +1,99 @@
|
||||
<div class="nav">
|
||||
<div class="swt-Container overflow-f">
|
||||
<div class="all-logo position-r">
|
||||
<div class="logo logo-black"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
<div class="logo logo-white"><a href="__ORICOROOT__"><img src="/uploads/default/logo-white.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="all-logo-black position-r" style="display: none">
|
||||
<div class="logo"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
<li id="index" class="products"><a href="__ORICOROOT__">HOME</a></li>
|
||||
<li id="nav1" class="products">
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('product'); ?>" class="aons">สินค้า&บริการ<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist_c" style="display: block">
|
||||
<div class="swt-Container ca_list text-left">
|
||||
<?php if (!empty($productCategory)): ?>
|
||||
<?php foreach ($productCategory as $key => $value):
|
||||
if (isset($category['id']) && $category['id'] == $value['id'])
|
||||
$oneLevelCategory = isset($value['child']) ? $value['child'] : []
|
||||
?>
|
||||
<div class="ca_lists">
|
||||
<a href="__ORICOROOT__/product/category/<?php echo $value['id']?>.html" class="nav_title"><span><?php echo $value['name']; ?></span></a>
|
||||
<div style="<?php if ($value['id'] != 75): ?> display: none <?php endif; ?>">
|
||||
<?php if (!empty($value['child'])): ?>
|
||||
<div class="two_nav_<?php echo $value['unique_id']; ?> two_nav">
|
||||
<div class="swt-Container">
|
||||
<?php foreach ($value['child'] as $k => $v): ?>
|
||||
<dl>
|
||||
<dt class="nav_list_title"><a href="__ORICOROOT__/product/subcategory/<?php echo $v['id']?>.html"><?php echo $v['name']; ?></a></dt>
|
||||
<?php if (!empty($v['child'])): ?>
|
||||
<?php foreach ($v['child'] as $index => $item): ?>
|
||||
<dd><a href="__ORICOROOT__/product/subcategory/<?php echo $item['id']?>.html"><?php echo $item['shortname']; ?></a></dd>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
<div class="ca_list_line"></div>
|
||||
</div>
|
||||
</dl>
|
||||
</li>
|
||||
<li id="nav2" class="products">
|
||||
<a href="#">เป้าหมายขององค์กร<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist2">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__/Group/weare">เราคือ</a>
|
||||
<a href="__ORICOROOT__/Group/wewill">เราจะ</a>
|
||||
<a href="__ORICOROOT__/Group/culture">ค่านิยมและวัฒนธรรม</a>
|
||||
<a href="__ORICOROOT__/Group/vision">เป้าหมายและวิสัยทัศน์</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd1.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<li id="nav3">
|
||||
<a href="#">ที่มาและนวัตกรรม<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist1">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('article'); ?>">ข่าวสาร</a>
|
||||
<a href="__ORICOROOT__/Group/brand">Brand Course</a>
|
||||
<a href="__ORICOROOT__/Group/honor">เกียรติบัตรและใบรับรอง</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd3.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!--<li id="nav2" class="products"><a href="/index/Group/culture">价值与使命</a>
|
||||
</li>
|
||||
<li id="nav3" class="products"><a href="#">历史与创新</a>
|
||||
</li>-->
|
||||
<li id="nav4" class="products"><a href="__ORICOROOT__/Group/job">เข้าร่วมกับเรา</a>
|
||||
</li>
|
||||
<li id="nav5" class="products"><a href="__ORICOROOT__/Group/Contact">ติดต่อเรา</a>
|
||||
</li>
|
||||
<li id="nav6" class="products"><a href="__ORICOROOT__<?php echo url_rewrite('download'); ?>">ดาวโหลดไดร์เวอร์</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
31
app/th/view/include/top.phtml
Executable file
31
app/th/view/include/top.phtml
Executable file
@@ -0,0 +1,31 @@
|
||||
<div class="top">
|
||||
<div class="swt-Container">
|
||||
<div class="top-R" style="vertical-align:bottom">
|
||||
<?php if(empty($customer_info)){ ?>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/register.html">Registry</a></span>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/login.html">Login</a></span>
|
||||
<?php }else{ ?>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/customer/personal.html">Personal</a></span>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/customer/new_logout.html">Sign out</a></span>
|
||||
<?php }?>
|
||||
<span id="tuichu1"><a href="__ORICOROOT__/search.html"><span class="icon-search" style="vertical-align:bottom; "></span></a></span>
|
||||
<div class="state zg"><img src="__PUBLIC__/web/images/countries/TH.png">
|
||||
<div class="top-country topnav" style="display: none;">
|
||||
<div class="swt-Container">
|
||||
<?php if(!empty($country_list)): ?>
|
||||
<ul>
|
||||
<?php foreach($country_list as $key => $value): ?>
|
||||
<?php if ($value['code'] != 'TH'): ?>
|
||||
<li><a href="<?php echo $value['url']; ?>"><p class="countries <?php echo $value['code']; ?>"></p><p><?php echo $value['country_name']; ?></p></a></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
176
app/th/view/index.phtml
Executable file
176
app/th/view/index.phtml
Executable file
@@ -0,0 +1,176 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/scripts/bxslider/jquery.bxslider.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/web/scripts/bxslider/jquery.bxslider.min.js"></script>
|
||||
<style>
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
{include file="include/banner" /}
|
||||
<?php if ($bigbanners): ?>
|
||||
<!-- phone s-->
|
||||
<div class="swiper-container deimg">
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach ($bigbanners as $k => $banner): ?>
|
||||
<div class="swiper-slide"><a href="<?php echo $banner['url']; ?>"><img src="<?php echo getImage($banner['picture']); ?>"></a></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<!-- Add Pagination -->
|
||||
<div class="swiper-pagination bandot"></div>
|
||||
</div>
|
||||
<script>
|
||||
var swiper = new Swiper('.deimg', {
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
pagination: {
|
||||
el: '.bandot',
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<!-- phone e -->
|
||||
<?php endif; ?>
|
||||
<!-- 品类探索 s -->
|
||||
<?php if ($productCategory): ?>
|
||||
<div class="lj_index_img_01">
|
||||
<div class="lj_its_img">
|
||||
<ul>
|
||||
<?php foreach ($productCategory as $k => $pc): if ($k > 8) break; ?>
|
||||
<li>
|
||||
<div class="lj-port-1 effect-1">
|
||||
<div class="image-box"> <a href="__ORICOROOT__<?php echo url_rewrite('product', ['id' => $pc['id']]); ?>"><img src="<?php echo $pc['image']; ?>" >
|
||||
<div class="groups_a"><?php echo $pc['name']; ?></div>
|
||||
</a></div>
|
||||
<div class="text-desc"> <a href="__ORICOROOT__<?php echo url_rewrite('product', ['id' => $pc['id']]); ?>"> <img src="<?php echo getImage($pc['picture']); ?>" alt=""/> </a></div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var pl_length = $(".lj_its_img li").length
|
||||
var pl_slier_width = $(".lj_its_img").width();
|
||||
//var pl_li_width = pl_slier_width * 0.1429;
|
||||
if(pl_slier_width>960){
|
||||
var pl_li_width = pl_slier_width * 0.1111111111111111;
|
||||
}else if(pl_slier_width<640){
|
||||
var pl_li_width = pl_slier_width * 0.3333;
|
||||
}else{
|
||||
var pl_li_width = pl_slier_width * 0.25;
|
||||
}
|
||||
if((pl_li_width * pl_length)>pl_slier_width){
|
||||
$(document).ready(function(){
|
||||
$('.lj_index_img_01 ul').bxSlider({
|
||||
slideWidth: pl_li_width,
|
||||
minSlides: 1,
|
||||
maxSlides: 8,
|
||||
moveSlides: 1,
|
||||
slideMargin: 0,
|
||||
auto:true,
|
||||
controls:true,
|
||||
pager:false,
|
||||
infiniteLoop:false
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--特色专题及公司实力-->
|
||||
<div class="swt-Container">
|
||||
<div class="home_new">
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<a href="__ORICOROOT__/Group/special">
|
||||
<img src="__PUBLIC__/web/images/home/special_index.jpg">
|
||||
<div class="position-a position-a-w"><img src="__PUBLIC__/weben/images/home/special_index_button.png"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="img-responsive workshop">
|
||||
<div class="workshop_all f-black">
|
||||
<a href="__ORICOROOT__/Group/odm">
|
||||
<img src="__PUBLIC__/web/images/home/workshop-01.jpg">
|
||||
<div class="content">
|
||||
<div class="content_text">
|
||||
<div class="title">บริการ ODM</div>
|
||||
<div class="subtitle">นวัตกรรม 211 (2 สัปดาห์ R&D, 1 สัปดาห์ผลิต)</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="__ORICOROOT__/Group/rdcenter">
|
||||
<img src="__PUBLIC__/web/images/home/workshop-02.jpg">
|
||||
<div class="content">
|
||||
<div class="content_text">
|
||||
<div class="title">ศูนย์รวม R&D</div>
|
||||
<div class="subtitle">เทคโนโลยีที่ได้จากความทุ่มเทเต็มกำลัง</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="__ORICOROOT__/Group/industry">
|
||||
<img src="__PUBLIC__/web/images/home/workshop-03.jpg">
|
||||
<div class="content">
|
||||
<div class="content_text">
|
||||
<div class="title">การออกแบบ Suplly Chain ยุคใหม่</div>
|
||||
<div class="subtitle">ทีม R&D ทำงานอย่างใกล้ชิดชร่วมกับ การออกแบบและการผลิตทั้งระบบ</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 聆听 s -->
|
||||
<div class="swt-Container">
|
||||
<div class="f_blue font-48 text-c video-index-title f_weight_600">Little Change Big Difference</div>
|
||||
<div class="index-video margin-t-20vw margin-b-5">
|
||||
<div class="video-index-image">
|
||||
<img src="__PUBLIC__/web/images/home/index-video.jpg" style="position: relative; z-index: -1;">
|
||||
<div class="index-video-content" >
|
||||
<video controls poster="__PUBLIC__/web/images/home/index-video.jpg" width="100%" src="__PUBLIC__/weben/images/home/brand-video.mp4" loop="loop" x-webkit-airplay="true" webkit-playsinline="true">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 聆听 e -->
|
||||
|
||||
</div>
|
||||
<script>
|
||||
/*特色专题轮播*/
|
||||
$(function(){
|
||||
$('.slider').bxSlider({
|
||||
pager:true,
|
||||
infiniteLoop:true,
|
||||
auto:true,
|
||||
pause:2000
|
||||
});
|
||||
});</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
{include file="include/kefu" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
11
app/th/view/index/index.html
Executable file
11
app/th/view/index/index.html
Executable file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>index内容</title>
|
||||
</head>
|
||||
<body>
|
||||
<div><?php echo 'index';?></div>
|
||||
</body>
|
||||
</html>
|
||||
158
app/th/view/pinglun/pinglun.phtml
Executable file
158
app/th/view/pinglun/pinglun.phtml
Executable file
@@ -0,0 +1,158 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="xq">
|
||||
<div class="w1200">
|
||||
<!-- 发表评论 -->
|
||||
<?php if (!empty($list)): ?>
|
||||
<div class="fb">
|
||||
<div class="love1 img-responsive">
|
||||
<p>已有<span id="ccount"><?php echo $total; ?></span>位网友发表评论</p>
|
||||
<p><img src="__PUBLIC__/web/images/1line.png"></p>
|
||||
</div>
|
||||
|
||||
<ul class="fbul" id="listul">
|
||||
<?php foreach ($list as $k => $comment): ?>
|
||||
<li>
|
||||
<div class="fbimg">
|
||||
<div><img src="__PUBLIC__/web/uploadfiles/image/ns<?php echo $comment['tx']; ?>.jpg"></div>
|
||||
<div class="peo3"><?php echo $comment['cname']; ?></div>
|
||||
<div class="peo4"><?php echo $comment['createtime']; ?></div>
|
||||
</div>
|
||||
<div class="fbcon" id="c<?php echo $comment['id']; ?>">
|
||||
<?php
|
||||
$content = '';
|
||||
if ($comment['pid']) {
|
||||
$child = db('Pinglun')->where(['stat' => 0, 'id' => $comment['pid']])->find();
|
||||
if ($child) {
|
||||
$content = '<div><div class="ccontent"><label class="clabel"><span class="ctimestamp">' . $child['createtime'] . '</span> <span class="cname">' . $child['cname'] . '</span>发表</label><br />' . $content . $child['content'] . '</div></div>';
|
||||
}
|
||||
echo '<div class="cli">' . $content . '</div>', $comment['content'];
|
||||
} else {
|
||||
echo $comment['content'];
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="fbnum">
|
||||
<p class="no1">NO.<?php echo $k + 1; ?></p>
|
||||
<p class="no2"><a href="javascript:void(0);" onclick="answer('<?php echo $comment['id']; ?>')">回复</a></p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!-- 回复 -->
|
||||
<div class="huifu">
|
||||
<div class="love1 img-responsive">
|
||||
<p>回复</p>
|
||||
<p><img src="__PUBLIC__/web/images/1line.png"></p>
|
||||
</div>
|
||||
<div class="login">(请<a href="<?php echo url('/login'); ?>" target="_blank">登录</a>后发表评论,若无帐号可<a href="<?php echo url('/register'); ?>" target="_blank">快速注册</a>,也可使用<a href="#">QQ</a>帐号登录。)</div>
|
||||
<textarea id="ccont"></textarea>
|
||||
<a href="javascript:void(0);" class="replay" onclick="submit_pl(0);">发布</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
<script>
|
||||
var type = "<?php echo empty($type) ? 'Article' : $type; ?>"
|
||||
var cid = "<?php echo $cid ? $cid : 1; ?>";
|
||||
//点击回复创建回复块
|
||||
function answer(id) {
|
||||
if ($('#c' + id).find('.answer_block' + id).html()) {
|
||||
$('.answer_block' + id).remove()
|
||||
} else {
|
||||
var cname = '.answer_block' + id;
|
||||
var fhHtml = '<div class="answer_block' + id + '"> \n\
|
||||
<textarea class="hf_input" placeholder="输入回复内容"></textarea> \
|
||||
<div class="csunbmit"><button class="submitBtn" onclick=submit_pl("' + cname + '")>确定回复</button></div>\n\
|
||||
</div>';
|
||||
$('#c' + id).append(fhHtml);
|
||||
$(cname).find('.hf_input').css('width', '99%')
|
||||
$(cname).find('.hf_input').css('height', '90px')
|
||||
$(cname).find('.hf_input').css('resize', 'none')
|
||||
$(cname).find('.hf_input').css('background', '#f6f9fb')
|
||||
$(cname).find('.hf_input').css('border', '1px solid #ccc')
|
||||
$(cname).children('.hf_input').focus().val("回复:");
|
||||
}
|
||||
}
|
||||
function submit_pl(cname) {
|
||||
var pid;
|
||||
var content;
|
||||
var data = {};
|
||||
if (cname == 0) {
|
||||
pid = 0;
|
||||
content = $('#ccont').val()
|
||||
if (!content.replace(/^ +| +$/g, '')) {
|
||||
return false;
|
||||
}
|
||||
$('#ccont').val('');
|
||||
}
|
||||
else {
|
||||
pid = cname.split('block')[1];
|
||||
content = $(cname).children('.hf_input').val();
|
||||
if (!content.replace('回复:', '').replace(/^ +| +$/g, '')) {
|
||||
return false;
|
||||
}
|
||||
$(cname).children('.hf_input').val('');
|
||||
$(cname).remove();
|
||||
}
|
||||
data.pid = pid;
|
||||
data.content = content;
|
||||
data.typeid = type;
|
||||
data.cid = cid;
|
||||
var options = {
|
||||
url: "<?php echo url('index/pinglun/add'); ?>",
|
||||
type: "post",
|
||||
dataType: "json",
|
||||
data: data,
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
alert(data.msg);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
error: function(xhr, ajaxOptions, thrownError) {
|
||||
alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
|
||||
}
|
||||
};
|
||||
$.ajax(options);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.csunbmit{height: 35px;margin-top: 10px;margin-bottom: 5px;}
|
||||
.submitBtn{width: 75px;height: 30px;line-height: 26px;background-color: #339b53;text-align: center;display: block;
|
||||
color: #FFFFFF;font-size: 12px;border-radius: 6px;float: left;}
|
||||
.cli{border-bottom: 1px dashed #ccc;text-align: left;font-size: 12px;/*margin-left: -40px;margin-top:10px;*/ }
|
||||
.ctimestamp{color: red;}
|
||||
.ccontent{width: 98%;padding: 10px; background: #f6f9fb;border:1px solid #ccc;margin-bottom: 10px}
|
||||
/*回复*/
|
||||
</style>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
32
app/th/view/product/ajaxcatelists.phtml
Executable file
32
app/th/view/product/ajaxcatelists.phtml
Executable file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
$r = mt_rand(10000, 100000);
|
||||
foreach ($list as $k => $product):
|
||||
?>
|
||||
<dd class="aej<?php echo $r + $k + 1; ?>">
|
||||
<div class="ejimg bd c<?php echo $k + 1; ?>">
|
||||
<ul>
|
||||
<li><a href="<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><img src="<?php echo getImage($product['picture']); ?>"></a></li>
|
||||
<li><a href="<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><img src="<?php echo getImage($product['picture_back']); ?>"></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['shortname']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<li></li><li></li>
|
||||
</ul>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
jQuery(".aej<?php echo $r + $k + 1; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="mask"><?php echo $product['categoryname']; ?></div>
|
||||
</dd>
|
||||
<?php
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
236
app/th/view/product/catelists.phtml
Executable file
236
app/th/view/product/catelists.phtml
Executable file
@@ -0,0 +1,236 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.nicescroll.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/scripts/bxslider/jquery.bxslider-list.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/bxslider/jquery.bxslider.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
|
||||
{include file="include/catbanner" /}
|
||||
|
||||
<!--if($hotproducts[0]['product_img']=='')-->
|
||||
|
||||
<?php if (!empty($oneLevelCategory[7])): ?>
|
||||
<div class="lj_index_img_02">
|
||||
<div class="lj_its_img">
|
||||
<ul>
|
||||
<?php foreach ($oneLevelCategory as $k1 => $pc1): ?>
|
||||
|
||||
<li>
|
||||
<div class="lj-port-1 effect-1">
|
||||
<div class="image-box"> <a href="__ORICOROOT__<?php echo url_rewrite('productsub', ['id' => $pc1['id']]); ?>"><img src="<?php echo $pc1['image']; ?>" >
|
||||
<div class="groups_a"><?php echo $pc1['name']; ?></div>
|
||||
</a></div>
|
||||
<div class="text-desc"> <a href="__ORICOROOT__<?php echo url_rewrite('productsub', ['id' => $pc1['id']]); ?>"> <img src="<?php echo getImage($pc1['picture']); ?>" alt=""/> </a></div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var pl_length = $(".lj_its_img li").length
|
||||
var pl_slier_width = $(".lj_its_img").width();
|
||||
//var pl_li_width = pl_slier_width * 0.1429;
|
||||
if(pl_slier_width>960){
|
||||
var pl_li_width = pl_slier_width * 0.125;
|
||||
}else if(pl_slier_width<640){
|
||||
var pl_li_width = pl_slier_width * 0.25;
|
||||
}else{
|
||||
var pl_li_width = pl_slier_width * 0.2;
|
||||
}
|
||||
if((pl_li_width * pl_length)>pl_slier_width){
|
||||
$(document).ready(function(){
|
||||
$('.lj_index_img_02 ul').bxSlider({
|
||||
slideWidth: pl_li_width,
|
||||
minSlides: 1,
|
||||
maxSlides: 7,
|
||||
moveSlides: 1,
|
||||
slideMargin: 0,
|
||||
auto:true,
|
||||
controls:true,
|
||||
pager:false,
|
||||
infiniteLoop:false
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<?php else: ?>
|
||||
<div class="lj_index_img">
|
||||
<div class="lj_its_img">
|
||||
<ul>
|
||||
<?php foreach ($oneLevelCategory as $k1 => $pc1): ?>
|
||||
|
||||
<li class="">
|
||||
<div class="lj-port-1 effect-1">
|
||||
<div class="image-box"> <a href="__ORICOROOT__<?php echo url_rewrite('productsub', ['id' => $pc1['id']]); ?>"><img src="<?php echo $pc1['image']; ?>" >
|
||||
<div class="groups_a"><?php echo $pc1['name']; ?></div>
|
||||
</a></div>
|
||||
<div class="text-desc"> <a href="__ORICOROOT__<?php echo url_rewrite('productsub', ['id' => $pc1['id']]); ?>"> <img src="<?php echo getImage($pc1['picture']); ?>" alt=""/> </a></div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var pl_length = $(".lj_its_img li").length
|
||||
var pl_slier_width = $(".lj_its_img").width();
|
||||
//var pl_li_width = pl_slier_width * 0.1429;
|
||||
if(pl_slier_width>960){
|
||||
var pl_li_width = pl_slier_width * 0.125;
|
||||
}else if(pl_slier_width<640){
|
||||
var pl_li_width = pl_slier_width * 0.25;
|
||||
}else{
|
||||
var pl_li_width = pl_slier_width * 0.2;
|
||||
}
|
||||
if((pl_li_width * pl_length)>pl_slier_width){
|
||||
$(document).ready(function(){
|
||||
$('.lj_index_img ul').bxSlider({
|
||||
slideWidth: pl_li_width,
|
||||
minSlides: 1,
|
||||
maxSlides: 7,
|
||||
moveSlides: 1,
|
||||
slideMargin: 0,
|
||||
auto:true,
|
||||
controls:true,
|
||||
pager:false,
|
||||
infiniteLoop:false
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
<!-- top 内容 s -->
|
||||
<div class="indexbox-list-white">
|
||||
<div class="swt-Container">
|
||||
<!-- 电源产品 s -->
|
||||
<?php if (empty($oneLevelCategory)){}else{?>
|
||||
<?php if (!empty($oneLevelCategory)): ?>
|
||||
<!-- 产品列表 s -->
|
||||
<ul class="dcp">
|
||||
<script src="__ORICOROOT__<?php echo url('/ad/tagsli', ['tags' => 'top_category_id_' . ($category['id']), 'num' => 4]); ?>" type="text/javascript"></script>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
<!-- 产品列表 e -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
$products = getCateProduct($category['id'], 6, ['p.ishot' => 1], true);
|
||||
// tiaoshi($products);die;
|
||||
if ($products):
|
||||
?>
|
||||
<!-- 热门产品 s -->
|
||||
<div class="rmBox">
|
||||
<div class="rmtit rmtit1">Hot products</div>
|
||||
<ul>
|
||||
<script src="<?php echo url('th/ad/tagsli', ['tags' => 'hot_category_id_' . ($category['id']), 'num' => 4]); ?>" type="text/javascript"></script>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 热门产品 e -->
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
<!-- top 内容 e -->
|
||||
|
||||
<!-- 背景灰色 内容区 s -->
|
||||
<div class="indexbox-list cdbox">
|
||||
<div class="swt-Container">
|
||||
<?php if (!empty($oneLevelCategory)): ?>
|
||||
<?php foreach ($oneLevelCategory as $k1 => $pc1): ?>
|
||||
<div class="daily">
|
||||
<div class="datit">
|
||||
<p class="da1"><?php echo $pc1['name']; ?></p>
|
||||
<p class="da2"><a href="__ORICOROOT__<?php echo url_rewrite('productsub', ['id' => $pc1['id']]); ?>" target="_blank">View all<i></i></a></p>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div class="dafl">
|
||||
<script src="<?php echo url('th/ad/tags', ['tags' => 'category_left_' . ($pc1['id'])]); ?>" type="text/javascript"></script>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$products = getCateoneProduct($pc1['id'], 4, [], true);
|
||||
//print_r($products);die;
|
||||
if ($products):
|
||||
?>
|
||||
<ul class="darh">
|
||||
<?php foreach ($products as $product): ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>" target="_blank">
|
||||
<div class="daimg"><img src="<?php echo getImage($product['list_bk_img']); ?>"></div>
|
||||
<div class="datext">
|
||||
<p class="dat1"><?php echo $product['name']; ?></p>
|
||||
<p class="dat2"><?php echo $product['brand_id']; ?></p>
|
||||
</div>
|
||||
<?php if ($product['isnew']): ?><div class="newcp">New</div><?php endif; ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
<!--底部广告图<div class="hwban">
|
||||
<script src="<?php echo url('th/ad/tags', ['tags' => 'category_bottom_' . ($pc1['id'])]); ?>" type="text/javascript"></script>
|
||||
</div>-->
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 背景灰色 内容区 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$(".hd ul li").hover(
|
||||
function() {
|
||||
$(this).children(".bds").stop(true, true).show();
|
||||
},
|
||||
function() {
|
||||
$(this).children(".bds").stop(true, true).hide();
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
/*轮播滚动条*/
|
||||
$('.hd').niceScroll({
|
||||
cursorcolor: "transparent",//#CC0071 光标颜色
|
||||
cursoropacitymax: 1, //改变不透明度非常光标处于活动状态(scrollabar“可见”状态),范围从1到0
|
||||
touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
|
||||
cursorwidth: "5px", //像素光标的宽度
|
||||
cursorborder: "0", // 游标边框css定义
|
||||
cursorborderradius: "5px",//以像素为光标边界半径
|
||||
autohidemode: false //是否隐藏滚动条
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
589
app/th/view/product/detai1l.phtml
Executable file
589
app/th/view/product/detai1l.phtml
Executable file
@@ -0,0 +1,589 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/large.js"></script>
|
||||
<div class="indexbox4 cpmbox">
|
||||
<div class="swt-Container-1200">
|
||||
<div class="product_address"><a href="/us/index">Home</a>
|
||||
<span class="icon-arrow arrow_address"></span>
|
||||
<?php if($pid==''){?>
|
||||
<a href="<?php echo url_rewrite('us/product', ['id' => $cid['id']]); ?>"><?php echo $cid['name'];?></a>
|
||||
<?php }else{?>
|
||||
<a href="<?php echo url_rewrite('us/product', ['id' => $pid['id']]); ?>"><?php echo $pid['name'];?></a>
|
||||
<?php }?>
|
||||
<span class="icon-arrow arrow_address"></span>
|
||||
<a href="<?php echo url_rewrite('us/productsub', ['id' => $detail['cid']]); ?>"><?php echo $category['name'];?></a>
|
||||
</div>
|
||||
<!-- 产品 s -->
|
||||
<div class="cp outBox">
|
||||
<div class="cpfl">
|
||||
<?php
|
||||
$color = '/uploads/product/'.$color.'.jpg';
|
||||
$proimages = [];
|
||||
$images = [];
|
||||
if ($product_images):
|
||||
foreach ($product_images as $imgrow) {
|
||||
$proimages[$imgrow['image_color']][] = $imgrow['image_url'];
|
||||
}
|
||||
if (isset($proimages[$color])) {
|
||||
$images = $proimages[$color];
|
||||
} else {
|
||||
$images = $proimages[$product_images[0]['image_color']];
|
||||
}
|
||||
?>
|
||||
<!--preview start-->
|
||||
<div class="preview">
|
||||
<div class="smallImg">
|
||||
<div class="scrollbutton smallImgUp disabled"></div>
|
||||
<div id="imageMenu">
|
||||
<ul>
|
||||
<?php
|
||||
$firstimage = '';
|
||||
foreach ($images as $k => $img):
|
||||
?>
|
||||
<li<?php if ($k == 0):$firstimage = $images[0]; ?> id="onlickImg"<?php endif; ?>><img src="<?php echo getImage($img); ?>"></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="scrollbutton smallImgDown"></div>
|
||||
</div><!--smallImg end-->
|
||||
<div id="vertical" class="bigImg">
|
||||
<img src="<?php echo getImage($firstimage); ?>" id="midimg" />
|
||||
</div><!--bigImg end-->
|
||||
</div>
|
||||
<!--preview end-->
|
||||
|
||||
<!-- phone s-->
|
||||
<div class="swiper-container banners">
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach ($images as $img): ?>
|
||||
<div class="swiper-slide"><a href="javascript:void(0);"><img src="<?php echo getImage($img); ?>"></a></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<!-- Add Pagination -->
|
||||
<div class="swiper-pagination bandot"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var swiper = new Swiper('.banners', {
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
pagination: {el: '.bandot', },
|
||||
});
|
||||
$(function() {
|
||||
$(".plbtn").click(function() {
|
||||
$(".play").show();
|
||||
var video = document.getElementById("pvideo");
|
||||
video.play();
|
||||
});
|
||||
$(".pcha").click(function() {
|
||||
var video = document.getElementById("pvideo");
|
||||
video.pause();
|
||||
$(".play").hide();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- phone e -->
|
||||
<?php endif; ?>
|
||||
<!-- 视频播放 s -->
|
||||
<?php if($detail['videopath']==""){ ?><?php } else{ ?>
|
||||
<div class="play play1">
|
||||
<a href="javascript:;" class="pcha"><img src="__PUBLIC__/web/images/images/cha1.png"></a>
|
||||
<div class="moimg"><video id="pvideo" width="100%" height="auto" controls poster="<?php echo getImage($detail['picture']); ?>">
|
||||
<source src="<?php echo $detail['videopath']; ?>">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="plbtn" ><a href="javascript:;"><img src="__PUBLIC__/web/images/images/play.png"></a></div>
|
||||
<?php }?>
|
||||
<!-- 视频播放 e -->
|
||||
|
||||
</div>
|
||||
<div class="cprh">
|
||||
<div class="cpcon">
|
||||
<p class="ctit1"><?php echo $detail['name']; ?></p>
|
||||
<p class="ctit2"><?php echo $detail['shortname']; ?></p>
|
||||
</div>
|
||||
<ul class="cpul">
|
||||
<?php
|
||||
$desc = str_replace("\r\n", "\n", $detail['description']);
|
||||
$descarr = explode("\n", $desc);
|
||||
foreach ($descarr as $l):
|
||||
?>
|
||||
<li><i></i><?php echo $l; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php if ($proimages): ?>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($proimages as $c => $imgclrs): $b=trim(strrchr($c, '/'),'/');$b=substr($b,0,strpos($b, '.'));?>
|
||||
<li class="img-responsive" <?php if ($c == $color): ?> class="on"<?php endif; ?>>
|
||||
<?php if($c==''){ ?>
|
||||
|
||||
<?php } else{?>
|
||||
<a <?php echo 'style="background: url(__PUBLIC__/web/images/' . $c . '.png);" href="' . url_rewrite('us/productdetail', ['id' => $detail['id'], 'color' => $b]) . '"'; ?>><img src="<?php echo $c;?>" alt="" style="width:18px; height: 18px; border-radius: 9px; margin:3px;"></a>
|
||||
<?php }?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php if($c==''){ ?>
|
||||
|
||||
<?php } else{?>
|
||||
<span>颜色</span>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="buy">
|
||||
<a href="<?php echo $detail['url_tm']; ?>" target="_blank">购买天猫</a>
|
||||
<a href="<?php echo $detail['url_jd']; ?>" target="_blank">购买京东</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
<!-- 产品 e -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="warp">
|
||||
<div class="warpa">
|
||||
<!-- 锚链接 s
|
||||
<ul class="w1440 cpa">
|
||||
<li><a href="#link1">亮点</a></li>
|
||||
<li><a href="#link2">相关</a></li>
|
||||
<li><a href="#link3">评论</a></li>
|
||||
<li><a href="#link4">规格</a></li>
|
||||
<li><a href="#link5">下载</a></li>
|
||||
<li><a href="#link6">常见问题</a></li>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
<!-- 锚链接 e -->
|
||||
</div>
|
||||
|
||||
<!-- 亮点 s-->
|
||||
<div class="warp1 proTfg">
|
||||
<div class="swt-Container-1200">
|
||||
<div class="light">
|
||||
<!--<div class="lgtit" id="link1">亮点</div>
|
||||
<div class="lgimg"><img src="<?php /*echo getImage($detail['ld_picture']); */?>"></div>
|
||||
<div class="lgfl"><img src="<?php /*echo getImage($detail['ld_md_picture']); */?>"></div>
|
||||
<div class="lgrh">
|
||||
<p class="lgtext"><?php /*echo $detail['ld_md_title']; */?></p>
|
||||
<p><?php /*echo $detail['ld_md_description']; */?></p>
|
||||
<?php
|
||||
/* if ($detail['ld_md_content']) {
|
||||
$ld_md_contents = unserialize($detail['ld_md_content']);
|
||||
if ($ld_md_contents) {
|
||||
*/?>
|
||||
<ul class="lgul">
|
||||
<?php /*foreach ($ld_md_contents as $ld_md_content): */?>
|
||||
<li><i></i><?php /*echo $ld_md_content; */?></li>
|
||||
<?php /*endforeach; */?>
|
||||
</ul>
|
||||
<?php
|
||||
/* }
|
||||
}
|
||||
*/?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<ul class="cplist">
|
||||
<li>
|
||||
<img src="<?php /*echo getImage($detail['ld_left_picture']); */?>">
|
||||
<p class="lg1"><?php /*echo $detail['ld_left_title']; */?></p>
|
||||
<p class="lg2"><?php /*echo $detail['ld_left_description']; */?></p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="<?php /*echo getImage($detail['ld_right_picture']); */?>">
|
||||
<p class="lg1"><?php /*echo $detail['ld_right_title']; */?></p>
|
||||
<p class="lg2"><?php /*echo $detail['ld_right_description']; */?></p>
|
||||
</li>
|
||||
<div class="clear"></div>
|
||||
</ul>-->
|
||||
<?php
|
||||
if ($detail['product_desc']) {
|
||||
$detail_descs = unserialize($detail['product_desc']);
|
||||
if ($detail_descs) {
|
||||
?>
|
||||
<ul class="msul">
|
||||
<div class="mstit">产品描述</div>
|
||||
<?php foreach ($detail_descs as $detail_desc): ?>
|
||||
<li>
|
||||
<p class="ms1"><?php echo $detail_desc['desc_title']; ?></p>
|
||||
<p class="ms2"><?php echo $detail_desc['desc_desc']; ?></p>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- 亮点 e-->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 亮点 e-->
|
||||
|
||||
<!-- 关联产品 s <?php //if ($product_relateds)print_r($product_relateds); ?>-->
|
||||
<div class="warp2 proTfg">
|
||||
<div class="swt-Container-1200">
|
||||
<div class="gltit" id="link2">关联产品</div>
|
||||
<?php if ($product_relateds): ?>
|
||||
<div class="cpBox">
|
||||
<div class="owl-carousel">
|
||||
<?php foreach ($product_relateds as $product): ?>
|
||||
<div class="item wow">
|
||||
<?php $img =getProductReated($product['id']);?>
|
||||
<a href="<?php echo url_rewrite('us/productdetail', ['id' => $product['id']]); ?>">
|
||||
<div class="glimg img-responsive"><img src="<?php if (isset($img[0]['image_url'])) {echo $img[0]['image_url'];} ; ?>"></div>
|
||||
<div class="gltext">
|
||||
<p class="gl1"><?php echo $product['name']; ?></p>
|
||||
<!-- <p class="gl2">--><?php //echo $product['shortname']; ?><!--</p>-->
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<script>
|
||||
var owl = $(".cpBox .owl-carousel");
|
||||
owl.owlCarousel({
|
||||
autoplay: true,
|
||||
navigationText: ["", ""],
|
||||
responsive: {
|
||||
0: {
|
||||
items: 1,
|
||||
margin: 0
|
||||
},
|
||||
420: {
|
||||
items: 2,
|
||||
margin: 0,
|
||||
smartSpeed: 80,
|
||||
dots: false
|
||||
},
|
||||
640: {
|
||||
items: 3,
|
||||
margin: 0,
|
||||
smartSpeed: 80,
|
||||
dots: false
|
||||
},
|
||||
998: {
|
||||
items: 4,
|
||||
margin: 0,
|
||||
smartSpeed: 80,
|
||||
dots: false
|
||||
},
|
||||
},
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 关联产品 e -->
|
||||
|
||||
<!-- 评论 s
|
||||
<div class="nybox proTfg">
|
||||
<div class="w1440">
|
||||
<div class="pltitle">
|
||||
<p class="pltit" id="link3">评论</p>
|
||||
<p class="plimg">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x2.png">
|
||||
</p>
|
||||
<p class="pltit1">128条评论</p>
|
||||
</div>
|
||||
<div class="plcon">
|
||||
<p class="py1">标题:ORICO L12000 Scharge聚合物移动电源</p>
|
||||
<p class="plimg">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x2.png">
|
||||
<span>4</span>
|
||||
</p>
|
||||
<p class="py2">2018-08-28</p>
|
||||
<p class="py3">评价内容12000mAh移动电源 LCD屏高精度显示电量 A+级聚合物安全电芯 智能快充</p>
|
||||
</div>
|
||||
<div class="plcon">
|
||||
<p class="py1">标题:ORICO L12000 Scharge聚合物移动电源</p>
|
||||
<p class="plimg">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x2.png">
|
||||
<span>4</span>
|
||||
</p>
|
||||
<p class="py2">2018-08-28</p>
|
||||
<p class="py3">评价内容12000mAh移动电源 LCD屏高精度显示电量 A+级聚合物安全电芯 智能快充</p>
|
||||
</div>
|
||||
<div class="plcon">
|
||||
<p class="py1">标题:ORICO L12000 Scharge聚合物移动电源</p>
|
||||
<p class="plimg">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x2.png">
|
||||
<span>4</span>
|
||||
</p>
|
||||
<p class="py2">2018-08-28</p>
|
||||
<p class="py3">评价内容12000mAh移动电源 LCD屏高精度显示电量 A+级聚合物安全电芯 智能快充</p>
|
||||
</div>
|
||||
<div class="plcon">
|
||||
<p class="py1">标题:ORICO L12000 Scharge聚合物移动电源</p>
|
||||
<p class="plimg">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x2.png">
|
||||
<span>4</span>
|
||||
</p>
|
||||
<p class="py2">2018-08-28</p>
|
||||
<p class="py3">评价内容12000mAh移动电源 LCD屏高精度显示电量 A+级聚合物安全电芯 智能快充</p>
|
||||
</div>
|
||||
<div class="plcon">
|
||||
<p class="py1">标题:ORICO L12000 Scharge聚合物移动电源</p>
|
||||
<p class="plimg">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x2.png">
|
||||
<span>4</span>
|
||||
</p>
|
||||
<p class="py2">2018-08-28</p>
|
||||
<p class="py3">评价内容12000mAh移动电源 LCD屏高精度显示电量 A+级聚合物安全电芯 智能快充</p>
|
||||
</div>
|
||||
<div class="plcon">
|
||||
<p class="py1">标题:ORICO L12000 Scharge聚合物移动电源</p>
|
||||
<p class="plimg">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x1.png">
|
||||
<img src="__PUBLIC__/web/images/x2.png">
|
||||
<span>4</span>
|
||||
</p>
|
||||
<p class="py2">2018-08-28</p>
|
||||
<p class="py3">评价内容12000mAh移动电源 LCD屏高精度显示电量 A+级聚合物安全电芯 智能快充</p>
|
||||
</div>
|
||||
<!-- 分页 s
|
||||
<div class="Pages" style="margin-top:20px;">
|
||||
<span class="p_page">
|
||||
<a href="javascript:void(0);" class="a_prev"></a>
|
||||
<em class="num">
|
||||
<a href="#" class="a_cur">1</a>
|
||||
<a href="#">2</a>
|
||||
<a href="#">3</a>
|
||||
<a href="#">4</a>
|
||||
<a href="#">5</a>
|
||||
<span>...</span>
|
||||
<a href="#">126</a>
|
||||
</em>
|
||||
<a href="javascript:void(0);" class="a_next"></a>
|
||||
</span>
|
||||
</div>
|
||||
<!-- 分页 e
|
||||
</div>
|
||||
</div>
|
||||
<!-- 评论 e -->
|
||||
|
||||
<!-- 规格参数 s -->
|
||||
<div class="nybox proTfg">
|
||||
<div class="swt-Container-1200">
|
||||
<?php
|
||||
if ($detail['product_view']) {
|
||||
$detail_views = unserialize($detail['product_view']);
|
||||
if ($detail_views) {
|
||||
?>
|
||||
<ul class="msul">
|
||||
<p class="gltit" id="link4"> 规格参数</p>
|
||||
|
||||
<?php foreach ($detail_views as $detail_view): ?>
|
||||
<li>
|
||||
<div class="ms3"><?php echo $detail_view['desc_title']; ?>:</div>
|
||||
<div class="ms4"><?php echo $detail_view['desc_desc']; ?></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 规格参数 e -->
|
||||
|
||||
<!-- 相关下载 s -->
|
||||
<?php if(!$product_dls){?>
|
||||
<?php }else{ ?>
|
||||
<div class="nybox proTfg">
|
||||
<div class="swt-Container-1200">
|
||||
<div class="sptit" id="link5">相关下载</div>
|
||||
<?php
|
||||
if ($product_dls):
|
||||
$selectTypeArr = config("product_dltype");
|
||||
$prodls = [];
|
||||
foreach ($product_dls as $dlrow) {
|
||||
$prodls[$dlrow['dl_type']][] = $dlrow;
|
||||
}
|
||||
?>
|
||||
<?php foreach ($prodls as $type => $dlclrs): ?>
|
||||
<div class="xz">
|
||||
<p class="xztit"><?php echo isset($selectTypeArr[$type]) ? $selectTypeArr[$type] : ''; ?></p>
|
||||
<?php foreach ($dlclrs as $dl): ?>
|
||||
<p class="xz1"><a href="<?php echo url('us/download/prodownload', ['id' => $dl['id']]); ?>"><i></i><?php echo $dl['dl_name']; ?></a></p>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- 相关下载 e -->
|
||||
<?php if ($product_questions): ?>
|
||||
<!-- 常见问题 s -->
|
||||
<div class="nybox proTfg">
|
||||
<div class="swt-Container-1200">
|
||||
<div class="sptit" id="link6">常见问题</div>
|
||||
<?php foreach ($product_questions as $k => $question): ?>
|
||||
<div class="ans" <?php if (!$k): ?>style="display:block;"<?php endif; ?>>
|
||||
<div class="antit">
|
||||
<i></i><?php echo $question['name']; ?>
|
||||
</div>
|
||||
<div class="anbox">
|
||||
<p><?php echo $question['description']; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 常见问题 e -->
|
||||
<?php endif; ?>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
var $category = $(".ans .anbox");
|
||||
$category.hide();
|
||||
$(".ans .antit").click(function() {
|
||||
if ($(this).next(".anbox").is(":visible")) {
|
||||
$(this).removeClass('on').next().slideUp(800);
|
||||
$(this).parent('.ans').removeClass('on');
|
||||
$(this).children("i").removeClass("ons")
|
||||
} else {
|
||||
$category.hide();
|
||||
$(".ans .antit").removeClass('on');
|
||||
$(this).children("i").addClass("ons")
|
||||
$(this).addClass('on').next().slideDown(800);
|
||||
$(this).parent('.ans').addClass('on');
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(function() {
|
||||
$('a[href*=#],area[href*=#]').click(function() {
|
||||
console.log(this.pathname)
|
||||
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
|
||||
var $target = $(this.hash);
|
||||
$target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']');
|
||||
if ($target.length) {
|
||||
var targetOffset = $target.offset().top - 50;
|
||||
$('html,body').animate({
|
||||
scrollTop: targetOffset
|
||||
}, 800);
|
||||
return false; //页面锚点跳转动画 后面的800是锚点跳转的时间 800ms
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
$(document).ready(function() {
|
||||
//获取div-one距离顶部的距离
|
||||
var navtop = $(".warpa").offset().top;
|
||||
$(document).scroll(function() {
|
||||
//获取滚动条滚动的高度
|
||||
var scroltop = $(document).scrollTop();
|
||||
if (scroltop > navtop) {
|
||||
$(".warpa").css({
|
||||
"position": "fixed",
|
||||
"top": "0px",
|
||||
"left": "0px",
|
||||
"right": "0px",
|
||||
"z-index": "999"
|
||||
})
|
||||
} else {
|
||||
$(".warpa").css({
|
||||
"position": "",
|
||||
"top": "",
|
||||
"left": "",
|
||||
"right": "",
|
||||
"z-index": ""
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
$("input").click(function() {
|
||||
$(this).siblings("div").children("span").addClass("active");
|
||||
$(this).parents("div").siblings("div").find("span").removeClass("active");
|
||||
});
|
||||
|
||||
|
||||
$(function() {
|
||||
$(window).scroll(function() {
|
||||
var arr = []
|
||||
$.each($(".proTfg"), function(k, v) {
|
||||
arr[k] = $(this).offset().top + $(this).height();
|
||||
})
|
||||
$.each(arr, function(k, v) {
|
||||
if (($(window).scrollTop() + $(".cpa li").eq(k - 1).height() + 10) < v) {
|
||||
if (!$(".cpa li").eq(k).hasClass("current")) {
|
||||
$(".cpa li").eq(k).attr("class", "current").siblings().removeClass();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="enlarge-img" style="display: none;">
|
||||
<div class="scrollbutton_01 smallImgUp disabled"></div>
|
||||
<img src="<?php echo getImage($firstimage); ?>">
|
||||
<div class="scrollbutton_01 smallImgDown"></div>
|
||||
<div class="close"><span class="icon-close"></div>
|
||||
|
||||
</div>
|
||||
<script>
|
||||
/*图片放大效果*/
|
||||
$(".bigImg").click(function(){
|
||||
$(".enlarge-img").show();
|
||||
});
|
||||
$(".enlarge-img .close").click(function(){
|
||||
$(".enlarge-img").hide();
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
539
app/th/view/product/detail.phtml
Executable file
539
app/th/view/product/detail.phtml
Executable file
@@ -0,0 +1,539 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/comment.js"></script>
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<script type="text/javascript" src="__PUBLIC__/web/scripts/large.js"></script>
|
||||
<div class="indexbox-product cpmbox">
|
||||
<div class="swt-Container">
|
||||
<div class="product_address">
|
||||
<a href="/index" class="href_01">Home</a>
|
||||
<span class="icon-arrow arrow_address"></span><?php if($pid==''){?>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('product', ['id' => $cid['id']]); ?>" class="href_02"><?php echo $cid['name'];?></a>
|
||||
<?php }else{?>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('product', ['id' => $pid['id']]); ?>" class="href_02"><?php echo $pid['name'];?></a>
|
||||
<?php }?>
|
||||
<span class="icon-arrow arrow_address"></span> <a href="__ORICOROOT__<?php echo url_rewrite('productsub', ['id' => $detail['cid']]); ?>" class="href_02"><?php echo $category['name'];?></a>
|
||||
</div>
|
||||
<!-- 产品 s -->
|
||||
<div class="cp outBox">
|
||||
<div class="cpfl">
|
||||
<?php
|
||||
$color = '/uploads/product/' . $color . '.jpg';
|
||||
$proimages = [];
|
||||
$images = [];
|
||||
if ($product_images):
|
||||
foreach ($product_images as $imgrow) {
|
||||
$proimages[$imgrow['image_color']][] = $imgrow['image_url'];
|
||||
}
|
||||
if (isset($proimages[$color])) {
|
||||
$images = $proimages[$color];
|
||||
} else {
|
||||
$images = $proimages[$product_images[0]['image_color']];
|
||||
}
|
||||
?>
|
||||
<!--preview start-->
|
||||
<div class="preview">
|
||||
<div class="smallImg">
|
||||
<div class="scrollbutton smallImgUp disabled"></div>
|
||||
<div id="imageMenu">
|
||||
<ul>
|
||||
<?php
|
||||
$firstimage = '';
|
||||
foreach ($images as $k => $img):
|
||||
?>
|
||||
<li<?php if ($k == 0):$firstimage = $images[0]; ?> id="onlickImg"<?php endif; ?>>
|
||||
<img src="<?php echo getImage($img); ?>"></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="scrollbutton smallImgDown"></div>
|
||||
</div><!--smallImg end-->
|
||||
<div id="vertical" class="bigImg">
|
||||
<img src="<?php echo getImage($firstimage); ?>" id="midimg"/>
|
||||
</div><!--bigImg end-->
|
||||
</div>
|
||||
<!--preview end-->
|
||||
|
||||
<!-- phone s-->
|
||||
<div class="swiper-container banners">
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach ($images as $img): ?>
|
||||
<div class="swiper-slide"><a href="javascript:void(0);"><img
|
||||
src="<?php echo getImage($img); ?>"></a></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<!-- Add Pagination -->
|
||||
<div class="swiper-pagination bandot"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var swiper = new Swiper('.banners', {
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
pagination: {el: '.bandot',},
|
||||
});
|
||||
$(function () {
|
||||
$(".plbtn").click(function () {
|
||||
$(".play").show();
|
||||
var video = document.getElementById("pvideo");
|
||||
video.play();
|
||||
});
|
||||
$(".pcha").click(function () {
|
||||
var video = document.getElementById("pvideo");
|
||||
video.pause();
|
||||
$(".play").hide();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- phone e -->
|
||||
<?php endif; ?>
|
||||
<!-- 视频播放 s -->
|
||||
<?php if ($detail['videopath'] == "") { ?><?php } else { ?>
|
||||
<div class="play play1">
|
||||
<a href="javascript:;" class="pcha"><img src="__PUBLIC__/web/images/images/cha1.png"></a>
|
||||
<div class="moimg">
|
||||
<video id="pvideo" width="100%" height="auto" controls
|
||||
poster="<?php echo getImage($detail['picture']); ?>">
|
||||
<source src="<?php echo $detail['videopath']; ?>">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="plbtn"><a href="javascript:;"><img src="__PUBLIC__/web/images/images/play.png"></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- 视频播放 e -->
|
||||
|
||||
</div>
|
||||
<div class="cprh">
|
||||
<div class="cpcon">
|
||||
<p class="ctit1"><?php echo $detail['name']; ?></p>
|
||||
<p class="ctit2"><?php echo $detail['shortname']; ?></p>
|
||||
</div>
|
||||
|
||||
<!-- 规格参数 s -->
|
||||
<div class="proTfg">
|
||||
<?php
|
||||
if ($detail['product_view']) {
|
||||
$detail_views = unserialize($detail['product_view']);
|
||||
if ($detail_views) {
|
||||
?>
|
||||
<ul class="msul swt-Table">
|
||||
<li class="Table-Row">
|
||||
<div class="ms3 Table-Cell">Product Code</div>
|
||||
<div class="ms2 Table-Cell"></div>
|
||||
<div class="ms4 Table-Cell"><?php echo $detail['brand_id']; ?></div>
|
||||
</li>
|
||||
<?php foreach ($detail_views as $detail_view): ?>
|
||||
|
||||
<li class="Table-Row">
|
||||
<div class="ms3 Table-Cell"><?php echo $detail_view['desc_title']; ?></div>
|
||||
<div class="ms2 Table-Cell "></div>
|
||||
<div class="ms4 Table-Cell"><?php echo $detail_view['desc_desc']; ?></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- 规格参数 e -->
|
||||
|
||||
<?php if ($proimages): ?>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($proimages as $c => $imgclrs): $b = trim(strrchr($c, '/'), '/');
|
||||
$b = substr($b, 0, strpos($b, '.')); ?>
|
||||
<?php if ($c == '') { ?>
|
||||
|
||||
<?php } else { ?>
|
||||
<li class="img-responsive<?php if ($c == $color): ?> on<?php endif; ?>">
|
||||
|
||||
<a <?php echo 'style="background: url(__PUBLIC__/web/images/' . $c . '.png);" href="__ORICOROOT__' . url_rewrite('productdetail', ['id' => $detail['id'], 'color' => $b]) . '"'; ?>><img
|
||||
src="<?php echo $c; ?>" alt=""
|
||||
style="width:10px; height: 10px; border-radius: 5px; margin:3px;"></a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($c == '') { ?>
|
||||
|
||||
<?php } else { ?>
|
||||
<span>Color</span>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!--<div class="buy">
|
||||
<?php if ($detail['url_tm']): ?>
|
||||
<a href="<?php echo $detail['url_tm']; ?>" target="_blank" onclick="add_click(<?php echo $detail['id']; ?>, 3, '<?php echo $detail['url_tm']; ?>')">Buy Amazon</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($detail['url_jd']): ?>
|
||||
<a href="<?php echo $detail['url_jd']; ?>" target="_blank" onclick="add_click(<?php echo $detail['id']; ?>, 4, '<?php echo $detail['url_tm']; ?>')">Buy Newegg</a>
|
||||
<?php endif; ?>
|
||||
</div>-->
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
<!-- 产品 e -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="warp">
|
||||
<div class="warpa">
|
||||
<!-- 锚链接 s -->
|
||||
<ul class="cpa">
|
||||
<li><a href="#link1">Product Description</a></li>
|
||||
<li><a href="#link2">Related Products</a></li>
|
||||
<li><a href="#link3">Related Download</a></li>
|
||||
<!--<li><a href="#link4">评论</a></li>-->
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
<!-- 锚链接 e-->
|
||||
</div>
|
||||
<div class="swt-Container">
|
||||
<!--产品详情-->
|
||||
<div class="products_des"><?php echo $detail['ld_md_content']; ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 关联产品 s <?php //if ($product_relateds)print_r($product_relateds); ?>-->
|
||||
<div class="warp2 proTfg">
|
||||
<div class="swt-Container">
|
||||
<div class="gltit" id="link2">Related Products</div>
|
||||
<?php if ($product_relateds): ?>
|
||||
<div class="cpBox">
|
||||
<div class="owl-carousel">
|
||||
<?php foreach ($product_relateds as $product):; ?>
|
||||
<div class="item wow">
|
||||
<?php $img = getProductReated($product['id']); ?>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>">
|
||||
<div class="glimg img-responsive"><img src="<?php echo $product['list_bk_img']; ?>">
|
||||
<!--换成一级列表图--></div>
|
||||
<div class="gltext">
|
||||
<p class="gl1"><?php echo $product['name']; ?></p>
|
||||
<p class="gl2"> <?php echo $product['brand_id']; ?></p>
|
||||
<!-- <p class="gl2">-->
|
||||
<?php //echo $product['shortname']; ?><!--</p>-->
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<script>
|
||||
var owl = $(".cpBox .owl-carousel");
|
||||
owl.owlCarousel({
|
||||
autoplay: true,
|
||||
navigationText: ["", ""],
|
||||
responsive: {
|
||||
0: {
|
||||
items: 1,
|
||||
margin: 0
|
||||
},
|
||||
420: {
|
||||
items: 1,
|
||||
margin: 0,
|
||||
smartSpeed: 80,
|
||||
dots: false
|
||||
},
|
||||
640: {
|
||||
items: 2,
|
||||
margin: 0,
|
||||
smartSpeed: 80,
|
||||
dots: false
|
||||
},
|
||||
998: {
|
||||
items: 3,
|
||||
margin: 0,
|
||||
smartSpeed: 80,
|
||||
dots: false
|
||||
},
|
||||
},
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- 相关下载 s -->
|
||||
<?php if (!$product_dls) { ?>
|
||||
<?php } else { ?>
|
||||
<div class="nybox proTfg">
|
||||
<div class="swt-Container">
|
||||
<div class="sptit" id="link3">Related Download</div>
|
||||
<?php
|
||||
if ($product_dls):
|
||||
$selectTypeArr = config("product_dltype");
|
||||
$prodls = [];
|
||||
foreach ($product_dls as $dlrow) {
|
||||
$prodls[$dlrow['dl_type']][] = $dlrow;
|
||||
}
|
||||
?>
|
||||
<?php foreach ($prodls as $type => $dlclrs): ?>
|
||||
<div class="xz">
|
||||
<p class="xztit"><?php echo isset($selectTypeArr[$type]) ? $selectTypeArr[$type] : ''; ?></p>
|
||||
<?php foreach ($dlclrs as $dl): ?>
|
||||
<p class="xz1"><a
|
||||
href="__ORICOROOT__<?php echo url('/download/prodownload', ['id' => $dl['id']]); ?>"><i></i><?php echo $dl['dl_name']; ?>
|
||||
</a></p>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- 相关下载 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
var $category = $(".ans .anbox");
|
||||
$category.hide();
|
||||
$(".ans .antit").click(function () {
|
||||
if ($(this).next(".anbox").is(":visible")) {
|
||||
$(this).removeClass('on').next().slideUp(800);
|
||||
$(this).parent('.ans').removeClass('on');
|
||||
$(this).children("i").removeClass("ons")
|
||||
} else {
|
||||
$category.hide();
|
||||
$(".ans .antit").removeClass('on');
|
||||
$(this).children("i").addClass("ons")
|
||||
$(this).addClass('on').next().slideDown(800);
|
||||
$(this).parent('.ans').addClass('on');
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(function () {
|
||||
$('a[href*=#],area[href*=#]').click(function () {
|
||||
console.log(this.pathname)
|
||||
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
|
||||
var $target = $(this.hash);
|
||||
$target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']');
|
||||
if ($target.length) {
|
||||
var targetOffset = $target.offset().top - 50;
|
||||
$('html,body').animate({
|
||||
scrollTop: targetOffset
|
||||
}, 800);
|
||||
return false; //页面锚点跳转动画 后面的800是锚点跳转的时间 800ms
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
$(document).ready(function () {
|
||||
//获取div-one距离顶部的距离
|
||||
var navtop = $(".warpa").offset().top;
|
||||
$(document).scroll(function () {
|
||||
//获取滚动条滚动的高度
|
||||
var scroltop = $(document).scrollTop();
|
||||
if (scroltop > navtop) {
|
||||
$(".warpa").css({
|
||||
"position": "fixed",
|
||||
"top": "0px",
|
||||
"left": "0px",
|
||||
"right": "0px",
|
||||
"z-index": "999"
|
||||
})
|
||||
} else {
|
||||
$(".warpa").css({
|
||||
"position": "",
|
||||
"top": "",
|
||||
"left": "",
|
||||
"right": "",
|
||||
"z-index": ""
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
$("input").click(function () {
|
||||
$(this).siblings("div").children("span").addClass("active");
|
||||
$(this).parents("div").siblings("div").find("span").removeClass("active");
|
||||
});
|
||||
|
||||
|
||||
$(function () {
|
||||
$(window).scroll(function () {
|
||||
var arr = []
|
||||
$.each($(".proTfg"), function (k, v) {
|
||||
arr[k] = $(this).offset().top + $(this).height();
|
||||
})
|
||||
$.each(arr, function (k, v) {
|
||||
if (($(window).scrollTop() + $(".cpa li").eq(k - 1).height() + 10) < v) {
|
||||
if (!$(".cpa li").eq(k).hasClass("current")) {
|
||||
$(".cpa li").eq(k).attr("class", "current").siblings().removeClass();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="enlarge-img" style="display: none;">
|
||||
<div class="scrollbutton_01 smallImgUp disabled"></div>
|
||||
<img src="<?php echo getImage($firstimage); ?>">
|
||||
<div class="scrollbutton_01 smallImgDown"></div>
|
||||
<div class="close"><span class="icon-close"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--详情新增样式-->
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
|
||||
var obj = new commentMove('.tm-m-photos', '.tm-m-photo-viewer');
|
||||
obj.init()
|
||||
})
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
window.onload = function () {
|
||||
var oStar = document.getElementById("star");
|
||||
|
||||
var aLi = oStar.getElementsByTagName("li");
|
||||
|
||||
var oUl = oStar.getElementsByTagName("ul")[0];
|
||||
|
||||
var oSpan = oStar.getElementsByTagName("span")[1];
|
||||
|
||||
var oP = oStar.getElementsByTagName("p")[0];
|
||||
|
||||
var i = iScore = iStar = 0;
|
||||
|
||||
for (i = 1; i <= aLi.length; i++) {
|
||||
|
||||
aLi[i - 1].index = i;
|
||||
|
||||
//鼠标移过显示分数
|
||||
|
||||
aLi[i - 1].onmouseover = function () {
|
||||
|
||||
fnPoint(this.index);
|
||||
|
||||
//浮动层显示
|
||||
|
||||
oP.style.display = "block";
|
||||
|
||||
//计算浮动层位置
|
||||
|
||||
oP.style.left = oUl.offsetLeft + this.index * this.offsetWidth - 104 + "px";
|
||||
|
||||
//匹配浮动层文字内容
|
||||
|
||||
oP.innerHTML = "<em><b>" + this.index + "</b> 分 " + aMsg[this.index - 1].match(/(.+)\|/)[1] + "</em>" + aMsg[this.index - 1].match(/\|(.+)/)[1]
|
||||
|
||||
};
|
||||
|
||||
//鼠标离开后恢复上次评分
|
||||
|
||||
aLi[i - 1].onmouseout = function () {
|
||||
|
||||
fnPoint();
|
||||
|
||||
//关闭浮动层
|
||||
|
||||
oP.style.display = "none"
|
||||
|
||||
};
|
||||
//点击后进行评分处理
|
||||
|
||||
aLi[i - 1].onclick = function () {
|
||||
|
||||
iStar = this.index;
|
||||
|
||||
oP.style.display = "none";
|
||||
|
||||
oSpan.innerHTML = "<strong>" + (this.index) + " 分</strong> (" + aMsg[this.index - 1].match(/\|(.+)/)[1] + ")"
|
||||
}
|
||||
}
|
||||
|
||||
//评分处理
|
||||
function fnPoint(iArg) {
|
||||
|
||||
//分数赋值
|
||||
|
||||
iScore = iArg || iStar;
|
||||
|
||||
for (i = 0; i < aLi.length; i++) aLi[i].className = i < iScore ? "on" : "";
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script>
|
||||
/*图片放大效果*/
|
||||
$(".bigImg").click(function () {
|
||||
$(".enlarge-img").show();
|
||||
});
|
||||
$(".enlarge-img .close").click(function () {
|
||||
$(".enlarge-img").hide();
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
/*图片放大效果*/
|
||||
$(".bigImg").click(function () {
|
||||
$(".enlarge-img").show();
|
||||
});
|
||||
$(".enlarge-img .close").click(function () {
|
||||
$(".enlarge-img").hide();
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
})
|
||||
|
||||
function add_click(content_id, type, url) {
|
||||
$.ajax({
|
||||
url: '/id/clicksum/add_click',
|
||||
data: {
|
||||
content_id: content_id,
|
||||
type: type,
|
||||
customer_id: 0,
|
||||
country_code: 'TH',
|
||||
url:url
|
||||
},
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
success: function(res) {
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
212
app/th/view/product/subcatelists.phtml
Executable file
212
app/th/view/product/subcatelists.phtml
Executable file
@@ -0,0 +1,212 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
{include file="include/catbanner" /}
|
||||
|
||||
<div class="ejbox">
|
||||
<?php
|
||||
$num = 1;
|
||||
if(empty($subproductCategory)){
|
||||
$hotproducts = getCategoryProduct($pid, 5);//dump($hotproducts);die;
|
||||
?>
|
||||
|
||||
|
||||
<div class="swt-Container day">
|
||||
<div class="daytit"><?php echo $category['name']; ?></div>
|
||||
<?php
|
||||
$products = getCateColor($category['id'], 4, [], true,'sort');
|
||||
|
||||
if ($products):
|
||||
?>
|
||||
<dl class="ejul">
|
||||
<?php foreach ($products as $product): ?>
|
||||
<dd class="ej<?php echo $num; ?>">
|
||||
<div class="ejimg bd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $v){ ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $v['product_id']]); ?>" target="_blank">
|
||||
|
||||
<img src="<?php echo getImage($v['image_url']); ?>">
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['brand_id']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $imglist){?>
|
||||
<?php if($imglist['image_color']==''){ }else{?>
|
||||
<li class="img-responsive S-small-img">
|
||||
<div class="cricle">
|
||||
<img src="<?php echo $imglist['image_color']; ?>" alt="" class="S-Cricle-Bg">
|
||||
</div>
|
||||
</li>
|
||||
<?php }};?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".ej<?php echo $num; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</dd>
|
||||
<?php
|
||||
$num++;
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
|
||||
</dl>
|
||||
<dl class="ejul ejul-show">
|
||||
<?php $products = getCateColor($category['id'], ('4,100'), [], true);?>
|
||||
<?php foreach ($products as $product): ?>
|
||||
<dd class="ej<?php echo $num; ?>">
|
||||
<div class="ejimg bd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $v){ ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $v['product_id']]); ?>" target="_blank">
|
||||
|
||||
<img src="<?php echo getImage($v['image_url']); ?>">
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['brand_id']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $imglist){?>
|
||||
<?php if($imglist['image_color']==''){ }else{?>
|
||||
<li class="img-responsive S-small-img">
|
||||
<div class="cricle">
|
||||
<img src="<?php echo $imglist['image_color']; ?>" alt="" class="S-Cricle-Bg">
|
||||
</div>
|
||||
</li>
|
||||
<?php }};?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".ej<?php echo $num; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</dd>
|
||||
<?php
|
||||
$num++;
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
|
||||
</dl>
|
||||
<?php $products = getCateColor($category['id'], null, [], true); if(count($products)<=4){?>
|
||||
|
||||
<?php }else{?>
|
||||
<div class="ejmore">Click to expand</div>
|
||||
<?php }?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}else{
|
||||
$hotproducts = getSonCategoryProduct($subproductCategory[0]['pid'], 5);
|
||||
?>
|
||||
|
||||
|
||||
<?php foreach ($subproductCategory as $spc) { ?>
|
||||
<div class="swt-Container day">
|
||||
<div class="daytit"><?php echo $spc['name']; ?></div>
|
||||
<?php
|
||||
$products = getCateColor($spc['id'], 100, [], true);//dump($products);die;
|
||||
if ($products):
|
||||
?>
|
||||
<dl class="ejul">
|
||||
<?php foreach ($products as $product): ?>
|
||||
<dd class="ej<?php echo $num; ?>">
|
||||
<div class="ejimg bd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $v){ ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $v['product_id']]); ?>" target="_blank">
|
||||
|
||||
<img src="<?php echo getImage($v['image_url']); ?>">
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['brand_id']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $imglist){?>
|
||||
<?php if($imglist['image_color']==''){ }else{?>
|
||||
<li class="img-responsive S-small-img">
|
||||
<div class="cricle">
|
||||
<img src="<?php echo $imglist['image_color']; ?>" alt="" class="S-Cricle-Bg">
|
||||
</div>
|
||||
</li>
|
||||
<?php }};?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".ej<?php echo $num; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</dd>
|
||||
<?php
|
||||
$num++;
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
|
||||
</dl>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
271
app/th/view/product/subcatelists20190826.phtml
Executable file
271
app/th/view/product/subcatelists20190826.phtml
Executable file
@@ -0,0 +1,271 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
{include file="include/catbanner" /}
|
||||
|
||||
<div class="ejbox">
|
||||
<?php
|
||||
$num = 1;
|
||||
if(empty($subproductCategory)){
|
||||
$hotproducts = getCategoryProduct($pid, 5);//dump($hotproducts);die;
|
||||
?>
|
||||
|
||||
|
||||
<div class="swt-Container day">
|
||||
<div class="daytit"><?php echo $category['name']; ?></div>
|
||||
<?php
|
||||
$products = getCateColor($category['id'], 4, [], true,'sort');
|
||||
|
||||
if ($products):
|
||||
?>
|
||||
<dl class="ejul">
|
||||
<?php foreach ($products as $product): ?>
|
||||
<dd class="ej<?php echo $num; ?>">
|
||||
<div class="ejimg bd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $v){ ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $v['product_id']]); ?>" target="_blank">
|
||||
|
||||
<img src="<?php echo getImage($v['image_url']); ?>">
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['brand_id']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $imglist){?>
|
||||
<?php if($imglist['image_color']==''){ }else{?>
|
||||
<li class="img-responsive S-small-img">
|
||||
<div class="cricle">
|
||||
<img src="<?php echo $imglist['image_color']; ?>" alt="" class="S-Cricle-Bg">
|
||||
</div>
|
||||
</li>
|
||||
<?php }};?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".ej<?php echo $num; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</dd>
|
||||
<?php
|
||||
$num++;
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
|
||||
</dl>
|
||||
<dl class="ejul ejul-show">
|
||||
<?php $products = getCateColor($category['id'], ('4,100'), [], true);?>
|
||||
<?php foreach ($products as $product): ?>
|
||||
<dd class="ej<?php echo $num; ?>">
|
||||
<div class="ejimg bd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $v){ ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $v['product_id']]); ?>" target="_blank">
|
||||
|
||||
<img src="<?php echo getImage($v['image_url']); ?>">
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['brand_id']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $imglist){?>
|
||||
<?php if($imglist['image_color']==''){ }else{?>
|
||||
<li class="img-responsive S-small-img">
|
||||
<div class="cricle">
|
||||
<img src="<?php echo $imglist['image_color']; ?>" alt="" class="S-Cricle-Bg">
|
||||
</div>
|
||||
</li>
|
||||
<?php }};?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".ej<?php echo $num; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</dd>
|
||||
<?php
|
||||
$num++;
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
|
||||
</dl>
|
||||
<?php $products = getCateColor($category['id'], null, [], true); if(count($products)<=4){?>
|
||||
|
||||
<?php }else{?>
|
||||
<div class="ejmore">Click to expand</div>
|
||||
<?php }?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}else{
|
||||
$hotproducts = getSonCategoryProduct($subproductCategory[0]['pid'], 5);
|
||||
?>
|
||||
|
||||
|
||||
<?php foreach ($subproductCategory as $spc) { ?>
|
||||
<div class="swt-Container day">
|
||||
<div class="daytit"><?php echo $spc['name']; ?></div>
|
||||
<?php
|
||||
$products = getCateColor($spc['id'], 4, [], true);//dump($products);die;
|
||||
if ($products):
|
||||
?>
|
||||
<dl class="ejul">
|
||||
<?php foreach ($products as $product): ?>
|
||||
<dd class="ej<?php echo $num; ?>">
|
||||
<div class="ejimg bd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $v){ ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $v['product_id']]); ?>" target="_blank">
|
||||
|
||||
<img src="<?php echo getImage($v['image_url']); ?>">
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['brand_id']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $imglist){?>
|
||||
<?php if($imglist['image_color']==''){ }else{?>
|
||||
<li class="img-responsive S-small-img">
|
||||
<div class="cricle">
|
||||
<img src="<?php echo $imglist['image_color']; ?>" alt="" class="S-Cricle-Bg">
|
||||
</div>
|
||||
</li>
|
||||
<?php }};?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".ej<?php echo $num; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</dd>
|
||||
<?php
|
||||
$num++;
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
|
||||
</dl>
|
||||
<dl class="ejul ejul-show">
|
||||
<?php $products = getCateColor($spc['id'], ('4,100'), [], true);?>
|
||||
<?php foreach ($products as $product): ?>
|
||||
<dd class="ej<?php echo $num; ?>">
|
||||
<div class="ejimg bd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $v){ ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $v['product_id']]); ?>" target="_blank">
|
||||
|
||||
<img src="<?php echo getImage($v['image_url']); ?>">
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ejtext">
|
||||
<div class="text1">
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['name']; ?></a></p>
|
||||
<p><a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $product['id']]); ?>"><?php echo $product['brand_id']; ?></a></p>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($product['product_two_img'] as $imglist){?>
|
||||
<?php if($imglist['image_color']==''){ }else{?>
|
||||
<li class="img-responsive S-small-img">
|
||||
<div class="cricle">
|
||||
<img src="<?php echo $imglist['image_color']; ?>" alt="" class="S-Cricle-Bg">
|
||||
</div>
|
||||
</li>
|
||||
<?php }};?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".ej<?php echo $num; ?>").slide({mainCell: ".bd ul", trigger: "click"});
|
||||
</script>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</dd>
|
||||
<?php
|
||||
$num++;
|
||||
endforeach;
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
|
||||
</dl>
|
||||
<?php $products = getCateColor($spc['id'], null, [], true); if(count($products)<=4){?>
|
||||
|
||||
<?php }else{?>
|
||||
<div class="ejmore">Click to expand</div>
|
||||
<?php }?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<script>
|
||||
$(function () {
|
||||
$(".ejmore").click(function(){
|
||||
$(this).siblings(".ejul-show").show();
|
||||
$(this).hide();
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
264
app/th/view/search/index.phtml
Executable file
264
app/th/view/search/index.phtml
Executable file
@@ -0,0 +1,264 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "0";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/subject/search.css">
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
|
||||
|
||||
<!-- 搜索页 s -->
|
||||
<div class="S-search-bg banner-other nsea">
|
||||
<div class="swt-Container S-search-content secon secon1">
|
||||
<div class="S-Searchbox">
|
||||
<div class="Search">
|
||||
<input type="text" name="textfield" class="ipt" placeholder="HDD enclosure" id="search-in">
|
||||
<button type="submit" name="button" value="" class="searchbtn icon-search" id="search-btn"></button>
|
||||
<div id="search" class="search_content search_default">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
if (!empty($list)):
|
||||
?>
|
||||
<ul class="seul">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__<?php echo $detail['link'] == 'downloaddetail' ? '/download.html' : url_rewrite($detail['link'], ['id' => $detail['id']]); ?>">
|
||||
<div class="sepic"><img src="<?php echo getImage($detail['picture']); ?>"></div>
|
||||
<div class="seinfo">
|
||||
<?php if (isset($search['skeyword'])): ?>
|
||||
<p class="info1">
|
||||
<?php
|
||||
if (stripos($detail['name'], $name_word) !== false)
|
||||
{
|
||||
$replace_str = substr($detail['name'], stripos($detail['name'], $name_word), strlen($name_word));
|
||||
echo str_replace($replace_str, '<font color=red><b>' . $replace_str . '</b></font>', $detail['name']);
|
||||
}
|
||||
else
|
||||
echo $detail['name'];
|
||||
?>
|
||||
</p>
|
||||
<p class="info2">
|
||||
<?php
|
||||
if (stripos($detail['description'], $name_word) !== false)
|
||||
{
|
||||
$replace_str = substr($detail['description'], stripos($detail['description'], $name_word), strlen($name_word));
|
||||
echo str_replace($replace_str, '<font color=red><b>' . $replace_str . '</b></font>', $detail['description']);
|
||||
}
|
||||
else
|
||||
echo $detail['description'];
|
||||
?>
|
||||
</p>
|
||||
<p class="info3">
|
||||
<?php
|
||||
if (stripos($detail['brand_id'], $brand_word) !== false)
|
||||
{
|
||||
$replace_str = substr($detail['brand_id'], stripos($detail['brand_id'], $brand_word), strlen($brand_word));
|
||||
echo str_replace($replace_str, '<font color=red><b>' . $replace_str . '</b></font>', $detail['brand_id']);
|
||||
}
|
||||
else
|
||||
echo $detail['brand_id'];
|
||||
?>
|
||||
</p>
|
||||
<?php else: ?>
|
||||
<p class="info1"><?php echo $detail['name']; ?></p>
|
||||
<p class="info2"><?php echo msubstr($detail['description'], 0, 160); ?></p>
|
||||
<p class="info3"><?php echo $detail['brand_id']; ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear" style="margin-top:20px;"></div>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 搜索页 e -->
|
||||
<script>
|
||||
$(function() {
|
||||
$("#search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "__ORICOROOT__<?php echo url('/search'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<script type="text/javascript">
|
||||
var search_list = [];
|
||||
$(function() {
|
||||
$.ajax({
|
||||
url: '/th/product/get_filter',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
success: function(res) {
|
||||
search_list = res.data.product_name;
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
function handle_mousemove(i)
|
||||
{
|
||||
index = i;
|
||||
$(".ul_add li").removeClass("ul_search");
|
||||
$(".ul_add li").eq(index).addClass('ul_search');
|
||||
}
|
||||
|
||||
var index = -1; // 鼠标悬停位置
|
||||
$(function() {
|
||||
var search_input = $(".Search input");
|
||||
var search_content = $(".search_content");
|
||||
|
||||
$(search_input).on("keyup", function(e)
|
||||
{
|
||||
if (e.keyCode != 38 && e.keyCode != 40 && e.keyCode != 13)
|
||||
{
|
||||
index = -1; // 鼠标悬停位置
|
||||
}
|
||||
var search_table_list = [];
|
||||
var value = search_input.val();
|
||||
if (value.length > 0) {
|
||||
var search_list_len = search_list.length;
|
||||
for (var i=0;i<search_list_len;i++)
|
||||
{
|
||||
if (search_table_list.length > 4)
|
||||
break;
|
||||
if(search_list[i].name.toLowerCase().indexOf(value.toLowerCase()) != -1 || search_list[i].brand_id.toLowerCase().indexOf(value.toLowerCase()) != -1)
|
||||
{
|
||||
search_table_list.push(search_list[i]);
|
||||
}
|
||||
}
|
||||
var html = '<ul>';
|
||||
var data_length = search_table_list.length;
|
||||
for(var i=0;i<data_length;i++) {
|
||||
html += '<li onmousemove="handle_mousemove(' + i + ')">';
|
||||
html += search_table_list[i].name + '(' + search_table_list[i].brand_id + ')';
|
||||
html += '</li>';
|
||||
}
|
||||
html += '</ul>';
|
||||
$('#search').html(html);
|
||||
}
|
||||
else if (value.length == 0)
|
||||
$('#search').html('');
|
||||
|
||||
if (data_length > 0)
|
||||
$(search_content).show().addClass("ul_add");
|
||||
else
|
||||
$(search_content).hide();
|
||||
|
||||
if (e.keyCode == 38)
|
||||
{
|
||||
// 上键
|
||||
if (search_table_list == '' || search_table_list == undefined)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
index = (index - 1) < 0 ? -1 : (index - 1);
|
||||
if (index < 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$(".ul_add li").removeClass("ul_search");
|
||||
$(".ul_add li").eq(index).addClass('ul_search');
|
||||
|
||||
}
|
||||
else if (e.keyCode == 40)
|
||||
{
|
||||
// 下键
|
||||
if (search_table_list == '' || search_table_list == undefined)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
index += 1;
|
||||
if (index >= search_table_list.length - 1)
|
||||
{
|
||||
index = search_table_list.length - 1;
|
||||
}
|
||||
|
||||
$(".ul_add li").removeClass("ul_search");
|
||||
$(".ul_add li").eq(index).addClass('ul_search');
|
||||
}
|
||||
|
||||
$("#search-in").keyup(function(event) {
|
||||
if (event && event.keyCode === 13) {
|
||||
if (index >= 0)
|
||||
{
|
||||
var text = $(".ul_add li").eq(index)[0].innerText;
|
||||
$("#search-in").val(text);
|
||||
}
|
||||
|
||||
$("#search-btn").trigger("click");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
/*点击获取提示关键字*/
|
||||
$("#search ul li").live('click',function(){
|
||||
//获取点击的值
|
||||
var keywords = $(this).text();
|
||||
if(keywords) {
|
||||
$('#search-in').val(keywords);
|
||||
var href = "<?php echo url('/th/search'); ?>?skeyword=" + encodeURIComponent(keywords);
|
||||
location.href = href;
|
||||
$(".search_content").hide();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//点击search以外部分隐藏
|
||||
|
||||
$("body").click(function (e) {
|
||||
if (!$(e.target).closest(".Search").length) {
|
||||
$(".search_content").hide()
|
||||
}
|
||||
});
|
||||
|
||||
$(function() {
|
||||
$("#search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/th/search'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
35
app/th/view/singlepage/contact.phtml
Executable file
35
app/th/view/singlepage/contact.phtml
Executable file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "5";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="xq">
|
||||
<div class="w1200">
|
||||
<div class="xqtitle">
|
||||
<p class="xqtext"><?php echo $singlepage['name']; ?></p>
|
||||
</div>
|
||||
<div class="xqimg">
|
||||
<img src="<?php echo getImage($singlepage['picture']); ?>">
|
||||
</div>
|
||||
<div class="xqcon">
|
||||
<?php echo $singlepage['content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
35
app/th/view/singlepage/detail.phtml
Executable file
35
app/th/view/singlepage/detail.phtml
Executable file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="xq">
|
||||
<div class="w1200">
|
||||
<div class="xqtitle">
|
||||
<p class="xqtext"><?php echo $singlepage['name']; ?></p>
|
||||
</div>
|
||||
<div class="xqimg">
|
||||
<img src="<?php echo getImage($singlepage['picture']); ?>">
|
||||
</div>
|
||||
<div class="xqcon">
|
||||
<?php echo $singlepage['content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
35
app/th/view/singlepage/item.phtml
Executable file
35
app/th/view/singlepage/item.phtml
Executable file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "0";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="xq">
|
||||
<div class="w1200">
|
||||
<div class="xqtitle">
|
||||
<p class="xqtext"><?php echo $singlepage['name']; ?></p>
|
||||
</div>
|
||||
<div class="xqimg">
|
||||
<?php echo $singlepage['content']; ?>
|
||||
</div>
|
||||
<!-- <div class="xqcon">
|
||||
<?php //echo $singlepage['description']; ?>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
35
app/th/view/singlepage/joinin.phtml
Executable file
35
app/th/view/singlepage/joinin.phtml
Executable file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "4";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="xq">
|
||||
<div class="w1200">
|
||||
<div class="xqtitle">
|
||||
<p class="xqtext"><?php echo $singlepage['name']; ?></p>
|
||||
</div>
|
||||
<div class="xqimg">
|
||||
<img src="<?php echo getImage($singlepage['picture']); ?>">
|
||||
</div>
|
||||
<div class="xqcon">
|
||||
<?php echo $singlepage['content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
35
app/th/view/singlepage/map.phtml
Executable file
35
app/th/view/singlepage/map.phtml
Executable file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "0";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="xq">
|
||||
<div class="w1200">
|
||||
<div class="xqtitle">
|
||||
<p class="xqtext"><?php echo $singlepage['name']; ?></p>
|
||||
</div>
|
||||
<div class="xqimg">
|
||||
<?php echo $singlepage['content']; ?>
|
||||
</div>
|
||||
<!-- <div class="xqcon">
|
||||
<?php //echo $singlepage['description']; ?>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
230
app/th/view/user/index.phtml
Executable file
230
app/th/view/user/index.phtml
Executable file
@@ -0,0 +1,230 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "0";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
|
||||
<div class="people">
|
||||
<div class="petit"><span> Personal Homepage </span></div>
|
||||
<div><img src="__PUBLIC__/web/images/images/tximg.jpg"></div>
|
||||
<div class="peotx">
|
||||
<!-- <p class="ptx1">
|
||||
关注
|
||||
<span>0</span>
|
||||
</p>-->
|
||||
<img src="<?php echo $customer['picture'] ? $customer['picture'] : '/uploads/user/ns0.jpg'; ?>" id="reset-tx">
|
||||
<!--<p class="ptx2">
|
||||
分享
|
||||
<span>0</span>
|
||||
</p>-->
|
||||
<div class="pname"><?php echo $customer['firstname']; ?></div>
|
||||
<div class="psf" id="sd">Hunan</div>
|
||||
<div class="pbj">Introduce yourself briefly!<a href="javascript:;"><img src="__PUBLIC__/web/images/images/b1.png"></a></div>
|
||||
</div>
|
||||
<div class="w1200 pelist">
|
||||
<div class="pecon">
|
||||
<form id="user-form">
|
||||
<div class="peinfo">Information</div>
|
||||
<div class="peput">
|
||||
<i>Gender</i>
|
||||
<input value="Male" name="sex" type="radio" <?php if ($customer['sex'] == 'Male'): ?>checked="checked"<?php endif; ?>/><label class="sex">Male</label>
|
||||
<input value="Female" name="sex" type="radio" <?php if ($customer['sex'] == 'Female'): ?>checked="checked"<?php endif; ?>/><label class="sex">Female</label>
|
||||
</div>
|
||||
<div class="peput">
|
||||
<i>E-mail Address</i>
|
||||
<span class="bding">Binding(<?php echo $customer['email']; ?>)</span>
|
||||
<div class="pearea">
|
||||
<div class="cha">
|
||||
<input type="text" value="" class="binds" placeholder="Please enter your Email" id="email"/><br>
|
||||
<a href="javascript:;" class="chas"><img src="__PUBLIC__/web/images/images/cha11.png"></a>
|
||||
</div>
|
||||
<a href="javascript:;" class="cfirm1" id="reset-email">Cancel</a>
|
||||
<a href="javascript:;" class="cfirm2" id="submit-email">Submit</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="peput">
|
||||
<i>Change Password</i>
|
||||
<input type="password" class="infos" placeholder="New password" id="password"/><br>
|
||||
<input type="password" class="infos1" placeholder="Confirm password" id="repassword"/><br>
|
||||
<a href="javascript:;" class="cfirm1" id="reset-pwd">Cancel</a>
|
||||
<a href="javascript:;" class="cfirm2" id="submit-pwd">Submit</a>
|
||||
</div>
|
||||
<div class="peput">
|
||||
<i>Birth Date</i>
|
||||
<input type="date" name="birthday" value="<?php echo $customer['birthday']; ?>" class="infos" placeholder="Select Date"/>
|
||||
</div>
|
||||
<div class="peput">
|
||||
<i>Industry</i>
|
||||
<select name="hangye">
|
||||
<?php foreach ($hangye as $hy): ?>
|
||||
<option value="<?php echo $hy; ?>" <?php if ($hy == $customer['hangye']): ?>selected="selected"<?php endif; ?>><?php echo $hy; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="peput">
|
||||
<i>Job</i>
|
||||
<select name="zhiye">
|
||||
<?php foreach ($zhiye as $zy): ?>
|
||||
<option value="<?php echo $zy; ?>" <?php if ($zy == $customer['zhiye']): ?>selected="selected"<?php endif; ?>><?php echo $zy; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<a href="javascript:;" class="save" id="submit-user">Submit</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$(".bding").click(function() {
|
||||
$(".pearea").slideDown();
|
||||
});
|
||||
$(".chas").click(function() {
|
||||
$(".pearea").hide();
|
||||
});
|
||||
$("#user-form .sex").click(function() {
|
||||
$("#user-form input[name='sex']").removeAttr('checked');
|
||||
$(this).prev().prop('checked', 'true');
|
||||
});
|
||||
$("a#submit-user").click(function(event) {
|
||||
event.preventDefault();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo url('/index/user/update'); ?>',
|
||||
data: $("form#user-form").serialize(),
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
window.location.reload();
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
$("img#reset-tx").click(function(event) {
|
||||
var that = $(this);
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo url('/index/user/resettx'); ?>',
|
||||
data: {'picture': that.attr('src')},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
that.attr('src', data.data.picture);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
$("a#reset-email").click(function(event) {
|
||||
event.preventDefault();
|
||||
var emailObj = document.getElementById('email');
|
||||
emailObj.value = '';
|
||||
emailObj.focus();
|
||||
});
|
||||
$("a#reset-pwd").click(function(event) {
|
||||
event.preventDefault();
|
||||
var passwordObj = document.getElementById('password');
|
||||
var repasswordObj = document.getElementById('repassword');
|
||||
passwordObj.value = '';
|
||||
repasswordObj.value = '';
|
||||
passwordObj.focus();
|
||||
});
|
||||
$("a#submit-email").click(function(event) {
|
||||
event.preventDefault();
|
||||
var emailObj = document.getElementById('email');
|
||||
if (isNull(emailObj.value) && !validEmail(emailObj.value)) {
|
||||
alert('Please enter a valid E-mail address');
|
||||
emailObj.focus();
|
||||
return false;
|
||||
}
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo url('/index/user/resetemail'); ?>',
|
||||
data: {email: emailObj.value},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
alert(data.msg);
|
||||
window.location.reload();
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
$("a#submit-pwd").click(function(event) {
|
||||
event.preventDefault();
|
||||
var passwordObj = document.getElementById('password');
|
||||
if (isNull(passwordObj.value) || passwordObj.value.length < 6) {
|
||||
alert('Please enter user password at least 6 characters');
|
||||
passwordObj.focus();
|
||||
return false;
|
||||
}
|
||||
var repasswordObj = document.getElementById('repassword');
|
||||
if (isNull(repasswordObj.value) || repasswordObj.value.length < 6) {
|
||||
alert('Please enter confirmed password at least 6 characters');
|
||||
repasswordObj.focus();
|
||||
return false;
|
||||
}
|
||||
if (repasswordObj.value !== passwordObj.value) {
|
||||
repasswordObj.focus();
|
||||
alert('User password should be consistent with the confirmed password');
|
||||
return false;
|
||||
}
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo url('/index/user/resetpwd'); ?>',
|
||||
data: {password: passwordObj.value, repassword: repasswordObj.value},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
alert(data.msg);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
//var timer = window.setInterval("showDate()", 1000);
|
||||
function showDate() {
|
||||
var obj;
|
||||
var dat;
|
||||
obj = new Date();
|
||||
dat = obj.getFullYear() + "-";
|
||||
dat += obj.getMonth() + 1 + "-";
|
||||
dat += obj.getDay() + 24 + " ";
|
||||
dat += obj.getHours() + ":";
|
||||
dat += obj.getMinutes() + ":";
|
||||
dat += obj.getSeconds();
|
||||
document.getElementById("sd").innerHTML = dat;
|
||||
}
|
||||
function isNull(data) {
|
||||
return (data == "" || data == undefined || data == null) ? true : false;
|
||||
}
|
||||
function trim(str) {
|
||||
return str.replace(/(^\s*)|(\s*$)/g, '');
|
||||
}
|
||||
function validEmail(email) {
|
||||
//对电子邮件的验证
|
||||
var reg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
|
||||
return reg.test(email);
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
160
app/th/view/video/catelists.phtml
Executable file
160
app/th/view/video/catelists.phtml
Executable file
@@ -0,0 +1,160 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="<?php echo url_rewrite('us/video', ['id' => $category['id']]); ?>"><img src="<?php echo getImage($category['picture']); ?>"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- 视频列表 s -->
|
||||
<div class="vmain">
|
||||
<div class="swt-Container">
|
||||
<?php if ($videoCategory): ?>
|
||||
<div class="History2">
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<?php foreach ($videoCategory as $k => $vc): ?>
|
||||
<li<?php if ($category['id'] == $vc['id']): ?> class="on"<?php endif; ?>><?php echo $vc['name']; ?></li>
|
||||
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<a class="prev"><img src="__PUBLIC__/web/images/bfl.png"></a>
|
||||
<a class="next"><img src="__PUBLIC__/web/images/brh.png"></a>
|
||||
</div>
|
||||
<div class="bd">
|
||||
<?php foreach ($videoCategory as $k => $vc): ?>
|
||||
<ul data-cid="<?php echo $vc['id']; ?>">
|
||||
<div class="vtext">
|
||||
<p class="tl1"><?php echo $vc['name']; ?></p>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
?>
|
||||
<dl class="hotul" id="dl<?php echo $vc['id']; ?>">
|
||||
<?php
|
||||
if ($vc['id'] == $category['id'] && !empty($list)):
|
||||
foreach ($list as $video):
|
||||
?>
|
||||
<dd>
|
||||
<div class="hot1">
|
||||
<video preload="none" controls="controls" poster="<?php echo getImage($video['picture']); ?>">
|
||||
<source src="<?php echo $video['videopath'];?>" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
<div class="htit1"><?php echo $video['name']; ?></div>
|
||||
<div class="htit2"><?php echo msubstr($video['description'], 0, 160, 'utf-8'); ?></div>
|
||||
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<div id="page<?php echo $vc['id']; ?>">
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($vc['id'] == $category['id'] && !empty($list) && $page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</div>
|
||||
</ul>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<script>
|
||||
jQuery(".History2 .hd").slide({mainCell: "ul", autoPlay: false, effect: "left", vis: 8, scroll: 1, autoPage: false, prevCell: ".prev", nextCell: ".next"});
|
||||
$(".History2").slide({trigger: "click", defaultIndex: 0, startFun: startFun, });
|
||||
var thiscid = "<?php echo $category['id']; ?>";
|
||||
$(function() {
|
||||
$("#page" + thiscid + " a[href^='__ORICOROOT__/video']").click(aPageClick);
|
||||
});
|
||||
function startFun(i, c, slider) {
|
||||
var $current = $(".bd ul", slider).eq(i);
|
||||
if ($current.length) {
|
||||
var cid = $current.data('cid'), url = '__ORICOROOT__/video/category/' + cid + '.html';
|
||||
if ($("#dl" + cid + " dd", $current).length == 0) {
|
||||
getPageContent(url);
|
||||
}
|
||||
}
|
||||
console.log(i);
|
||||
}
|
||||
function aPageClick(event) {
|
||||
event.preventDefault()
|
||||
var url = this.href;
|
||||
if (url) {
|
||||
getPageContent(url);
|
||||
}
|
||||
}
|
||||
function getPageContent(url) {
|
||||
$.ajax({
|
||||
url: url,
|
||||
async: false,
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
if (data.code && data.data.list) {
|
||||
var html = '', list = data.data.list, len = list.length, i, cid = data.data.category.id;
|
||||
for (i = 0; i < len; i++) {
|
||||
html += '<dd>';
|
||||
// html += '<a href="/us/video/detail/' + list[i].id + '.html">';
|
||||
//html += '<div class="hot1"><div class="himg"><img src="' + list[i].picture + '"></div></div>';
|
||||
html += '<video preload="none" controls="controls" poster="' + list[i].picture + '"><source src="' + list[i].videopath + '" type="video/mp4"></video>';
|
||||
html += '<div class="htit1">' + list[i].name + '</div>';
|
||||
html += '<div class="htit2">' + list[i].description.substring(0, 160) + '</div>';
|
||||
html += '</dd>';
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
html += '<div class="clear"></div>';
|
||||
$("#dl" + cid).html(html);
|
||||
$("#page" + cid).html(data.data.page);
|
||||
$("#page" + cid + " a[href^='/us/video']").click(aPageClick);
|
||||
$("html, body").animate({scrollTop: $("#dl" + cid).offset().top}, 1000);
|
||||
}
|
||||
},
|
||||
error: function() {
|
||||
//alert("请求超时,请重试!");
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 视频列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
52
app/th/view/video/detail.phtml
Executable file
52
app/th/view/video/detail.phtml
Executable file
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
<!-- 视频播放页 s -->
|
||||
<div class="play">
|
||||
<?php if ($detail['videourl']): ?>
|
||||
<div class="playv">
|
||||
<div class="plvimg">
|
||||
<iframe allowfullscreen="" frameborder="0" width="100%" height="320" src="<?php echo $detail['videourl']; ?>"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<?php elseif ($detail['videopath']): ?>
|
||||
<div class="playv">
|
||||
<div class="plvimg">
|
||||
<video width="100%" height="auto" controls poster="<?php echo $detail['picture']; ?>">
|
||||
<source src="<?php echo $detail['videopath']; ?>">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="playt">
|
||||
<div class="plcon">
|
||||
<div class="vtext">
|
||||
<p class="tl1"><?php echo $detail['name']; ?><i><img src="__PUBLIC__/web/images/dot1.png"></i></p>
|
||||
<p class="date">发布日期:<?php echo date('Y-m-d', $detail['createtime']); ?></p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
<div class="pltext">
|
||||
<?php echo $detail['content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 视频播放页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
94
app/th/view/video/lists.phtml
Executable file
94
app/th/view/video/lists.phtml
Executable file
@@ -0,0 +1,94 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="#"><img src="__PUBLIC__/weben/uploadfiles/image/video-list-banner.jpg"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
|
||||
<!-- 视频列表总 s -->
|
||||
<div class="vicon">
|
||||
<div class="swt-Container">
|
||||
<!-- 视频 list s -->
|
||||
<?php if ($videoCategory): ?>
|
||||
<ul class="viul">
|
||||
<?php foreach ($videoCategory as $k => $vc): ?>
|
||||
<a class="public_box_pictrue" href="__ORICOROOT__<?php echo url_rewrite('video', ['id' => $vc['id']]); ?>">
|
||||
<li>
|
||||
<img src="<?php echo getImage($vc['image1']); ?>">
|
||||
<p class="public_title"><?php echo $vc['name']; ?></p>
|
||||
<!-- <p class="public_rect"><img src="__PUBLIC__/web/images/video_icon_03.png"></p> -->
|
||||
<p class="public_cover"></p>
|
||||
<p class="public_titlemoveshow">
|
||||
<?php echo $vc['name']; ?>
|
||||
</p>
|
||||
<div class="public_border">
|
||||
<span class="line-top"></span>
|
||||
<span class="line-bottom"></span>
|
||||
<span class="line-left"></span>
|
||||
<span class="line-right"></span>
|
||||
</div>
|
||||
</li>
|
||||
</a>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<!-- 视频 list e -->
|
||||
<div class="hotv">
|
||||
<div class="vtext">
|
||||
<p class="tl1">Hot Video</p>
|
||||
</div>
|
||||
<?php
|
||||
$videos = getDifferentVideo('ishot', 2);
|
||||
if ($videos):
|
||||
?>
|
||||
<ul class="hotul">
|
||||
<?php foreach ($videos as $video): ?>
|
||||
<li>
|
||||
<div class="hot1">
|
||||
<video preload="none" controls poster="<?php echo getImage($video['picture']); ?>">
|
||||
<source src="<?php echo $video['videopath'];?>" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
<div class="htit1"><?php echo $video['name']; ?></div>
|
||||
<div class="htit2"><?php echo msubstr($video['description'], 0, 160, 'utf-8'); ?></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 视频列表总 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user