codecamp

destoon_ad_place(广告位)

字段名 注释 备注 类型
pid 广告位ID
moduleid 所属模块
typeid 广告位类型
open 前台显示
name 广告位名称
thumb 广告位示意图
style 广告位名称颜色
introduce 广告位介绍
code 默认广告代码
width 广告位宽度
height 广告位高度
price 广告位价格
ads 广告数量
listorder 排序
addtime 添加时间
editor 编辑
edittime 修改时间
template 广告代码模
destoon_admin_online(在线管理员)
destoon_alert(贸易提醒)
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

二次开发指南

数据字典

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }