Skip to content

Commit

Permalink
增加联想搜索开关,
Browse files Browse the repository at this point in the history
修复手机QQ浏览器无法播放视频的问题,
修复试看视频结束不显示试看结束的问题,
个人中心关闭广告显示,
首页增加文章分类列表,
修复微信公众号码不显示二维码的问题,
导航栏改为异步加载模式,
增加扫码下载功能,
增加视频文章密码查看
  • Loading branch information
amujie committed May 30, 2020
1 parent ffb4fe4 commit 38b9063
Show file tree
Hide file tree
Showing 70 changed files with 1,165 additions and 810 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
# Mojia

#### 项目介绍
苹果CMS v10 多功能响应式主题 魔加影视模板 https://mojia.amujie.com
苹果CMS v10 多功能响应式主题 魔加影视模板 [https://mojia.amujie.com](https://mojia.amujie.com)

#### 免责声明
魔加影视模板无任何内置数据,对用户在使用过程中的信息内容本程序不负任何责任!请知悉!

#### 主题作者
- 主题名称:魔加 1.0(苹果CMS v10版)
- 主题作者:大橙子
- 联系作者:[QQ:15704757334](http://wpa.qq.com/msgrd?v=3&uin=1570457334&site=qq&menu=yes)
- 作者寄语:用心做模板,让你体验不一样的苹果CMS
- 作者首页:[https://amujie.com](https://amujie.com)
- 加群链接:[https://jq.qq.com/?_wv=1027&k=5Cpumac](https://jq.qq.com/?_wv=1027&k=5Cpumac)
- 扣群号码:137183109

#### 主题简介
- 主题定价:¥198(一个站点丨售后永久免费更新)
- 主题优化:全站响应式 自带主题设置面板 优化联盟资源库
- 主题优化:全站响应式 自带主题设置面板 资源采集功能优化
- 主题模块:视频 文章 专题 明星 用户中心 站内公告 影院热映
- 搜索功能:搜索联想 热门搜索 搜索记录 一键求片 同音字搜索
- 视频功能:播放记录 切换接口 视频报错 自动播放下一集
Expand Down
11 changes: 11 additions & 0 deletions about/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"1.0.2": [
"增加联想搜索开关",
"修复手机QQ浏览器无法播放视频的问题",
"修复试看视频结束不显示试看结束的问题",
"个人中心关闭广告显示",
"首页增加文章分类列表",
"修复微信公众号码不显示二维码的问题",
"导航栏改为异步加载模式",
"增加扫码下载功能",
"增加视频文章密码查看"
],
"1.0.1": [
"优化主题更新逻辑",
"修改视频集数列表显示逻辑",
Expand Down
32 changes: 27 additions & 5 deletions asset/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,12 @@
* {font-weight: 400;margin: 0;padding: 0;outline: 0;font-family: Helvetica, Arial, Microsoft Yahei, sans-serif;-webkit-tap-highlight-color: rgba(0, 0, 0, 0)}
a {color: inherit;text-decoration: none}
p {line-height: 1.875rem;word-wrap: break-word}
i {font-style: normal}
i {font-style: normal;display: inline-block}
li {list-style: none}
img {display: inline-block;border: 0;vertical-align: middle;max-width: 100%;}
table {border-collapse: collapse;border-spacing: 0}
html,
body {height: auto !important;}
body {overflow-y: scroll}
input,
textarea {background: transparent;box-sizing: border-box;font-size: 100%;font-family: inherit;font-size: inherit;font-style: inherit;font-weight: inherit;outline: 0;-webkit-appearance: none}
Expand Down Expand Up @@ -277,6 +279,7 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-cols-show {display: block}
.mo-cols-zero {font-size: 0}
.mo-cols-high {height: 100%}
.mo-cols-topo {padding-top: 0 !important}
.mo-cols-minh {min-height: 25rem;height: calc(100vh - (5.625rem))}
.mo-cols-rows {position: relative;overflow: hidden;clear: both;box-sizing: border-box;}
.mo-cols-cell {display: table-cell;width: 1%}
Expand All @@ -296,6 +299,8 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-cols-xs1x {width: 10%}
.mo-cols-case {width: 100%;position: relative;margin: 0 auto}
.mo-cols-lays {box-sizing: border-box;padding: .3125rem;margin-top: .625rem}
.mo-coxs-west {float: left;}
.mo-coxs-east {float: right;}
.mo-coxs-none {display: none !important}
.mo-coxs-block {display: block !important}
.mo-coxs-inline {display: inline !important}
Expand Down Expand Up @@ -323,6 +328,7 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-paxs-10x5 {padding: 0.625rem 0.3125rem}
.mo-ptxs-0px {padding-top: 0}
.mo-ptxs-5px {padding-top: 0.3125rem}
.mo-ptxs-10px {padding-top: 0.625rem}
.mo-plxs-0px {padding-left: 0}
.mo-plxs-2px {padding-left: 0.125rem}
.mo-plxs-5px {padding-left: .3125rem}
Expand Down Expand Up @@ -376,6 +382,8 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-cols-ss12 {width: 100%}
.mo-cols-ss1x {width: 10%}
.mo-cols-case {width: 100%}
.mo-coss-west {float: left;}
.mo-coss-east {float: right;}
.mo-coss-none {display: none !important}
.mo-coss-block {display: block !important}
.mo-coss-inline {display: inline !important}
Expand Down Expand Up @@ -412,6 +420,8 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-cols-sm12 {width: 100%}
.mo-cols-sm1x {width: 10%}
.mo-cols-case {width: 33.75rem}
.mo-cosm-west {float: left;}
.mo-cosm-east {float: right;}
.mo-cosm-none {display: none !important}
.mo-cosm-block {display: block !important}
.mo-cosm-inline {display: inline !important}
Expand Down Expand Up @@ -450,6 +460,8 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-cols-md1x {width: 10%}
.mo-cols-case {width: 45rem}
.mo-cols-lays {padding: .9375rem;margin-top: 1.25rem}
.mo-comd-west {float: left;}
.mo-comd-east {float: right;}
.mo-comd-none {display: none !important}
.mo-comd-block {display: block !important}
.mo-comd-inline {display: inline !important}
Expand Down Expand Up @@ -510,6 +522,8 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-cols-lg12 {width: 100%}
.mo-cols-lg1x {width: 10%}
.mo-cols-case {width: 60rem}
.mo-colg-west {float: left;}
.mo-colg-east {float: right;}
.mo-colg-none {display: none !important}
.mo-colg-block {display: block !important}
.mo-colg-inline {display: inline !important}
Expand Down Expand Up @@ -544,6 +558,8 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-cols-xl12 {width: 100%}
.mo-cols-xl1x {width: 10%}
.mo-cols-case {width: 71.25rem}
.mo-coxl-west {float: left;}
.mo-coxl-east {float: right;}
.mo-coxl-none {display: none !important}
.mo-coxl-block {display: block !important}
.mo-coxl-inline {display: inline !important}
Expand All @@ -564,6 +580,8 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-byxl-20by15 {padding-top: 75%}
}
/* 通用组件 */
.mo-part-hide {display: none !important}
.mo-part-show {display: block !important}
.mo-part-curs {cursor: pointer}
.mo-part-coin {border-radius: 100%}
.mo-part-hund {border-radius: 6.25rem}
Expand All @@ -572,6 +590,7 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-part-mtop {margin-top: -0.1875rem}
.mo-part-ptop {margin-top: 0.1875rem}
.mo-part-bold {font-weight: bold}
.mo-part-zero {border: 0 !important;}
.mo-part-bord {border: .0625rem solid;}
.mo-part-btsd {border-top: 0.0625rem solid;}
.mo-part-blsd {border-left: 0.0625rem solid;}
Expand All @@ -583,15 +602,15 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-part-toos {width: 12.5rem;height: 12.5rem;}
.mo-part-code {width: 12.5rem;margin: 0 auto;}
.mo-part-peer {position: absolute;top: 0;left: 0;z-index: 1}
.mo-part-more {position: absolute;top: 0;right: 0;z-index: 1}
.mo-part-more {position: absolute;bottom: 1px;right: 0;z-index: 1}
.mo-part-core {position: absolute;top: 50%;left: 50%;width: 100%;box-sizing: border-box;transform: translate(-50%, -50%)}
.mo-part-full {position: absolute !important;top: 0;left: 0;width: 100%;height: 100%}
.mo-part-view {width: 100%;height: 100%;overflow: hidden;}
.mo-part-move {transition: all .2s;-webkit-transition: all .2s}
.mo-part-over {overflow: visible !important}
.mo-part-maxw {max-width: 25rem;margin: 0 auto}
.mo-part-minh {min-height: 25rem;height: calc(100vh - (6.25rem))}
.mo-part-advs {position: absolute;top: 0;right: 0;bottom: 3.125rem;width: 15px;height: 15px;line-height: 15px;background-color: rgba(0, 0, 0, 0.5);z-index: 998}
.mo-part-advs {position: absolute;top: 0;right: 0;bottom: 3.125rem;width: 20px;height: 20px;line-height: 20px;background-color: rgba(0, 0, 0, 0.5);z-index: 998}
.mo-part-ramp {background-image: linear-gradient(transparent, rgba(0, 0, 0, .5))}
.mo-part-slip {white-space: nowrap;overflow-y: hidden;overflow-x: overlay;-webkit-overflow-scrolling: touch}
.mo-part-seal {position: relative;top: -0.0625rem;font-size: .75rem;padding: .0625rem .3125rem;border-radius: .125rem;margin-right: .3125rem;}
Expand Down Expand Up @@ -639,6 +658,7 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
}
/* 导航栏 */
.mo-head-info {position: fixed;top: 0;width: 100%;height: 5rem;z-index: 1000}
.mo-head-info .mo-navs-ajax {line-height: 5rem}
.mo-head-info .mo-navs-item {line-height: 40px;padding-right: 10px;vertical-align: middle}
.mo-head-info .mo-navs-item:first-child {padding-left: 10px;}
.mo-head-info .mo-navs-right {position: absolute;top: 30px}
Expand Down Expand Up @@ -696,8 +716,9 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-danm-info .mo-danm-text {position: relative;width: 100%;padding: 0 65px 0 35px;border-radius: 1.875rem;}
.mo-danm-info .mo-danm-icon {left: 10px;z-index: 1;width: 30px;}
.mo-danm-info .mo-danm-send {top: 5px;right: 5px;border-radius: 0 30px 30px 0;}
.mo-danm-info .mo-danm-code {top: 5px;right: 65px;width: 85px;}
.mo-danm-info .mo-danm-pics {top: 5px;right: 155px;}
.mo-danm-info .mo-danm-code {top: 5px;right: 65px;width: 50px;}
.mo-danm-info .mo-danm-pics {top: 5px;right: 115px;}
.mo-danm-info .mo-danm-padd {padding-right: 175px;}
/* 评论留言 */
.mo-comm-info .mo-comm-avat {width: 2.5rem;height: 2.5rem}
.mo-comm-info .mo-comm-east {margin-left: 3.125rem}
Expand Down Expand Up @@ -753,6 +774,7 @@ input:-webkit-autofill:focus {background-clip: content-box !important;}
.mo-logs-info .mo-logs-item {border-top: 0;border-right: 0}
/* 主题设置弹窗 */
.mo-open-info .mo-open-item {width: 100px;margin: 0.3125rem;box-sizing: border-box;height: 40px;line-height: 38px;text-align: center;}
.mo-open-info .mo-open-head {height: 34px;}
/* 主题设置图标选择 */
.mo-font-info .mo-font-anim {width: 245px;}
.mo-font-info .mo-font-boxs {border: 1px solid #e6e6e6;height: 38px;border-radius: 2px;cursor: pointer;position: relative;background: #fff;min-width: 60px;}
Expand Down
70 changes: 41 additions & 29 deletions asset/exc/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'src' => 'template/mojia/asset/img/logo.png',
'link' => '/',
'type' => 'logo',
'desktop' => 'on',
'desktop' => 'on',
),
'home' =>
array (
Expand All @@ -30,7 +30,7 @@
array (
'id' => '1',
'icon' => 'mo-icon-shuju',
'name' => '精英律师',
'name' => '',
'link' => '/index.php/vod/detail/id/1.html',
'type' => 'vod',
),
Expand Down Expand Up @@ -175,7 +175,7 @@
'type' => '',
'level' => '9',
'sort' => 'time',
'sub' => '8',
'sub' => '9',
'num' => '5',
'state' => '0',
),
Expand All @@ -192,10 +192,10 @@
'taoke' =>
array (
'name' => '精品推荐',
'qiang' => '0',
'qiang' => '',
'type' => '',
'brand' => '0',
'sort' => '0',
'brand' => '',
'sort' => '2',
'ver' => '1.2.2',
'num' => '12',
'state' => '0',
Expand Down Expand Up @@ -246,7 +246,7 @@
),
'class' =>
array (
'name' => '分类列表',
'name' => '视频分类',
'advs' => '',
'type' => '1,2,3,4',
'level' => '',
Expand All @@ -255,6 +255,17 @@
'num' => '12',
'state' => '1',
),
'inform' =>
array (
'name' => '文章分类',
'advs' => '',
'type' => '',
'level' => '',
'sort' => 'time',
'order' => 'desc',
'num' => '8',
'state' => '0',
),
'actor' =>
array (
'name' => '饭团剧场',
Expand All @@ -273,7 +284,7 @@
'sort' => 'time',
'order' => 'desc',
'num' => '6',
'state' => '1',
'state' => '0',
),
'site' =>
array (
Expand Down Expand Up @@ -311,7 +322,7 @@
'logo' =>
array (
'name' => '视频标志',
'pics' => 'template/mojia/asset/img/favicon.png',
'pics' => 'template/mojia/asset/img/logo.png',
'state' => '0',
'width' => '25%',
'height' => '60px',
Expand Down Expand Up @@ -352,36 +363,36 @@
'name' => '其他设置',
'pass' => '1',
'auto' => '1',
'cuts' => '1',
'cuts' => '0',
),
),
'color' =>
'color' =>
array (
'type' =>
'type' =>
array (
'name' => '1',
),
'white' =>
array (
'name' => '主要颜色',
'name' => '全局背景',
'back' => '#ffffff',
'text' => '#333333',
),
'muted' =>
array (
'name' => '辅助颜色',
'name' => '灰色背景',
'back' => '#f6f6f6',
'text' => '#666666',
),
'black' =>
array (
'name' => '播放背景',
'name' => '黑色背景',
'back' => '#000000',
'text' => '#ffffff',
),
'lazys' =>
array (
'name' => '加载背景',
'name' => '懒加载背',
'back' => '#dedede',
'text' => '#333333',
),
Expand All @@ -395,19 +406,19 @@
array (
'name' => '普通按钮',
'back' => '#ededed',
'text' => '#666666',
'text' => '#333333',
),
'write' =>
array (
'name' => '访问按钮',
'back' => '#cacaca',
'text' => '#666666',
'text' => '#333333',
),
'disad' =>
array (
'name' => '禁用按钮',
'back' => '#dfdfdf',
'text' => '#999999',
'text' => '#c9c9c9',
),
'mojia' =>
array (
Expand Down Expand Up @@ -533,15 +544,16 @@
array (
'name' => '编辑按钮',
'link' => 'admin.php',
'debug' => '0',
'search' => '1',
'state' => '1',
),
'cdns' =>
array (
'name' => '静态加速',
'link' => 'https://cdn.jsdelivr.net/gh/amujie/mojia',
'debug' => '1',
'state' => '1',
),
'cdns' =>
array (
'name' => '静态加速',
'link' => 'https://cdn.jsdelivr.net/gh/amujie/mojia',
'state' => '1',
),
'demo' =>
array (
'name' => '站点演示',
Expand Down Expand Up @@ -579,7 +591,7 @@
'name' => '默认大图',
'pics' => '',
),
'move' =>
'move' =>
array (
'name' => '移动背景',
'pics' => '',
Expand Down Expand Up @@ -612,8 +624,8 @@
array (
'name' => '圆角尺寸',
'round' => '3px',
'pics' => '缩略图模式',
'type' => '0',
'pics' => '缩略图模式',
'type' => '0',
),
'chain' =>
array (
Expand Down
Loading

0 comments on commit 38b9063

Please sign in to comment.