当前位置: 首页 > news >正文

繁昌网站建设企业文化是什么

繁昌网站建设,企业文化是什么,专为网站做点击量,广州网站建设 .超凡科技h5端的按钮系统自带的一般都很丑&#xff0c;需要我们进行二次美化&#xff0c;比如单选按钮复选框之类的&#xff0c;那怎么对其进行html和css的改造&#xff1f; 实现效果 实现代码 <section id"tags"><h2>给景区添加标题</h2><label><…

h5端的按钮系统自带的一般都很丑,需要我们进行二次美化,比如单选按钮复选框之类的,那怎么对其进行html和css的改造?

实现效果

请添加图片描述

实现代码

 <section id="tags"><h2>给景区添加标题</h2><label><input type="radio" name="tags" value="服务好" /><span>服务好</span></label><label><input type="radio" name="tags" value="景色赞" /><span>景色赞</span></label><label><input type="radio" name="tags" value="千篇一律" /><span>千篇一律</span></label><label><input type="radio" name="tags" value="看人海" /><span>看人海</span></label><label><input type="radio" name="tags" value="挤爆了" /><span>挤爆了</span></label><label><input type="radio" name="tags" value="服务还行" /><span>服务还行</span></label><label><input type="radio" name="tags" value="美食不错" /><span>美食不错</span></label><label><input type="radio" name="tags" value="距离近" /><span>距离近</span></label></section><p id="info" class="info">提示信息</p><input type="button" value="提交" id="btn" class="btn" />
</section>
  • 业务代码
function fnIndex() {const oIndex = id('index')let bScore = falseconst oBtn = oIndex.getElementsByClassName('btn')[0]bind(oBtn, 'touchend', function () {fnIndexEnd()})function fnIndexEnd() {// removeClass(oIndex, 'pageShow')// alert('谢谢您的评价')const oInfo = id('info')bScore = fnScoreChecked()console.log('🚀 ~ fnIndexEnd ~ bScore:', bScore)if (bScore) {// fnInfo(oInfo, '感谢您的参与')if (bTag()) {// alert('谢谢您的参与')fadeIndexout()} else {fnInfo(oInfo, '给景区添加标签')}} else {fnInfo(oInfo, '请先对风景进行评价')// setTimeout(() => {//   removeClass(oIndex, 'pageShow')// }, 1000)}}function fnScoreChecked() {const oScore = id('score')const aInput = oScore.getElementsByTagName('input')let bS = truefor (let i = 0; i < aInput.length; i++) {if (aInput[i].value == 0) {return false}}return true}
}function bTag() {const oTags = id('tags')const aInput = oTags.getElementsByTagName('input')for (let i = 0; i < aInput.length; i++) {if (aInput[i].checked) {return true}}return false
}function fadeIndexout() {const oMask = id('mask')const oIndex = id('index')addClass(oMask, 'pageShow')setTimeout(() => {oMask.style.opacity = 1oIndex.style.WebFilter = oIndex.style.filter = `blur(4px)`}, 100)
}
  • css美化
* {padding: 0;margin: 0;
}
html,
body {height: 100%;font-family: Arial, '微软雅黑', sans-serif;
}
.page {height: 100%;background-color: #fff;position: absolute;left: 0;top: 0;width: 100%;font-size: 26px;z-index: 1;display: none;
}ul li {list-style: none;
}
h2,
h1,
strong {font-weight: normal;
}a,
input {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}img {border: none;vertical-align: top;width: 100%;
}
.pageShow {display: block;
}.page:nth-of-type(1) {z-index: 10;
}
.page:nth-of-type(1) {z-index: 9;
}
.page:nth-of-type(1) {z-index: 8;
}
.page:nth-of-type(1) {z-index: 7;
}
.page:nth-of-type(1) {z-index: 6;
}/* 欢迎页面 */
@keyframes tree {100% {transform: translateY(0px);opacity: 1;}
}@keyframes shake {0% {transform: rotate(0deg);}20% {transform: rotate(30deg);}40% {transform: rotate(-20deg);}60% {transform: rotate(15deg);}80% {transform: rotate(-8deg);}100% {transform: rotate(0deg);}
}
.tree {position: absolute;left: 0;top: 10%;width: 100%;opacity: 0;transform: translateY(100px);animation: tree 1s linear 0.25s forwards;
}
#logo {position: absolute;left: 0;bottom: 5%;text-align: center;width: 100%;opacity: 0;transform: translateY(30px);animation: tree 1s linear 0.25s forwards;
}#welcome {transition: all 1s;
}.welcome2 {position: relative;padding-top: 50px;opacity: 0;transform: translateY(30px);animation: tree 1s linear 1s forwards;
}
.welcome2 .shake {width: 24px;position: absolute;left: 300px;top: 30px;height: 24px;background: url('../img/shake.png') no-repeat 0 0;background-size: 100%;animation: shake 0.5s linear infinite;
}@keyframes cloud {0% {transform: translateX(0px);}100% {transform: translateX(-20px);}
}.tree3 {padding-top: 20px;opacity: 0;transform: translateY(30px);animation: tree 1s linear 2s forwards;
}
.cloud {position: absolute;background: url('../img/cloud.png') no-repeat 0 0;background-size: contain;
}
.cloud:nth-of-type(1) {left: 280px;top: 15px;width: 59px;height: 44px;animation: cloud 2s linear infinite alternate-reverse;
}
.cloud:nth-of-type(2) {left: 30px;top: 77px;width: 45px;height: 70px;animation: cloud 2s linear 1s infinite alternate-reverse;
}
.cloud:nth-of-type(3) {left: 200px;top: 80px;width: 45px;height: 70px;animation: cloud 2s linear 1.5s infinite alternate-reverse;
}/* 首页 */
#tabPic {overflow: hidden;position: relative;
}
#picList {overflow: hidden;width: 500%;transition: all 0.5s;
}
#picList li {float: left;width: 20%;
}
#picList img {width: 100%;height: 200px;
}
.picMask {height: 40px;position: absolute;left: 0;bottom: 0;width: 100%;background: -webkit-linear-gradient(bottom,rgba(0, 0, 0, 0.1),rgba(0, 0, 0));background: linear-gradient(bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0));padding: 0 15px;
}
.picMask p {color: #fff;font-size: 14px;line-height: 40px;margin-right: 100px;
}.picMask nav {height: 10px;position: absolute;right: 40px;top: 18px;
}
.picMask nav a {float: left;width: 10px;height: 10px;border-radius: 50%;background: rgba(0, 0, 0, 0.5);margin-right: 5px;
}
.picMask nav a.active {background-color: #fff;
}#score {line-height: 40px;padding: 10px;
}#score h2 {font-size: 20px;color: #333;
}#score li {height: 40px;position: relative;
}#score li span {font-size: 18px;color: #333;
}#score li strong {float: right;margin-right: 20px;font-size: 12px;color: #333;
}#score li nav {position: absolute;left: 130px;top: 10px;height: 30px;/* width:120px; */
}
#score li nav a {float: left;width: 20px;height: 20px;background: url('../img/star.png') no-repeat -22px 0;background-size: cover;margin-right: 10px;transition: all 0.2s;
}
#score li nav a.active {background-position: 0 0;
}#tags {padding: 10px;overflow: hidden;
}#tags h2 {font-size: 20px;color: #333;
}#tags input {width: 10px;height: 10px;margin-right: 5px;
}
#tags label {float: left;line-height: 34px;font-size: 18px;margin: 5px 14px 5px 3px;
}
#tags label input {display: none;
}
#tags label span {float: left;border: 1px solid #cdd6e1;padding: 0 16px;border-radius: 30px;
}#tags input:checked + span {border-color: #333;background-color: #3c9bb3;color: #fff;
}.btn {position: absolute;bottom: 10px;left: 10px;right: 10px;height: 40px;appearance: none;outline: none;border: none;font-size: 18px;font-weight: 400;border-radius: 10px;
}
.submit {background: #3c9bbb;color: #fff;
}
.info {font-size: 14px;position: absolute;text-align: center;width: 100%;bottom: 50px;transform-origin: bottom center;transform: scale(0.1);opacity: 0;transition: all 0.3s ease-out;
}/* #index:active .info {transform: scale(1);opacity: 1;
} */#mask {background: rgba(0, 0, 0, 0.7) url('../img/mask.png') no-repeat center 200px /200px;transition: 1s;z-index: 2;opacity: 0;
}

文章转载自:
http://arcady.yqsq.cn
http://bobstay.yqsq.cn
http://current.yqsq.cn
http://semiorbicular.yqsq.cn
http://atonalism.yqsq.cn
http://laughingstock.yqsq.cn
http://saleratus.yqsq.cn
http://flankerback.yqsq.cn
http://violation.yqsq.cn
http://tachyphylaxis.yqsq.cn
http://splayfooted.yqsq.cn
http://begun.yqsq.cn
http://myanmar.yqsq.cn
http://conceptus.yqsq.cn
http://venial.yqsq.cn
http://sungari.yqsq.cn
http://semiduplex.yqsq.cn
http://hook.yqsq.cn
http://lithosphere.yqsq.cn
http://gallanilide.yqsq.cn
http://drove.yqsq.cn
http://duumviri.yqsq.cn
http://guienne.yqsq.cn
http://taxonomist.yqsq.cn
http://benedictive.yqsq.cn
http://beachhead.yqsq.cn
http://speculation.yqsq.cn
http://tucotuco.yqsq.cn
http://martyrologist.yqsq.cn
http://referrable.yqsq.cn
http://histioid.yqsq.cn
http://zambia.yqsq.cn
http://goods.yqsq.cn
http://ironsmith.yqsq.cn
http://frondiferous.yqsq.cn
http://incipiently.yqsq.cn
http://lambent.yqsq.cn
http://kummel.yqsq.cn
http://latine.yqsq.cn
http://giving.yqsq.cn
http://necrophagy.yqsq.cn
http://adamsite.yqsq.cn
http://trestle.yqsq.cn
http://astasia.yqsq.cn
http://bacteroidal.yqsq.cn
http://dockworker.yqsq.cn
http://ovariectomy.yqsq.cn
http://doctorate.yqsq.cn
http://imine.yqsq.cn
http://aggrandizement.yqsq.cn
http://tumultuous.yqsq.cn
http://antennule.yqsq.cn
http://flogging.yqsq.cn
http://solatia.yqsq.cn
http://misrule.yqsq.cn
http://scepter.yqsq.cn
http://woodcock.yqsq.cn
http://chondral.yqsq.cn
http://polysaccharide.yqsq.cn
http://circumspective.yqsq.cn
http://meropia.yqsq.cn
http://prototrophic.yqsq.cn
http://elbowchair.yqsq.cn
http://wardress.yqsq.cn
http://unvoiced.yqsq.cn
http://wanderyear.yqsq.cn
http://playdom.yqsq.cn
http://elmer.yqsq.cn
http://reversely.yqsq.cn
http://streptomycin.yqsq.cn
http://quag.yqsq.cn
http://coinstantaneous.yqsq.cn
http://galactoscope.yqsq.cn
http://compensability.yqsq.cn
http://insinuating.yqsq.cn
http://therian.yqsq.cn
http://andy.yqsq.cn
http://deceivable.yqsq.cn
http://hateless.yqsq.cn
http://eggathon.yqsq.cn
http://lienic.yqsq.cn
http://poeticise.yqsq.cn
http://masturbation.yqsq.cn
http://cocozelle.yqsq.cn
http://divingde.yqsq.cn
http://syconium.yqsq.cn
http://vivandier.yqsq.cn
http://bungler.yqsq.cn
http://microsample.yqsq.cn
http://supership.yqsq.cn
http://blackjack.yqsq.cn
http://imagism.yqsq.cn
http://americanologist.yqsq.cn
http://ducky.yqsq.cn
http://goldless.yqsq.cn
http://biparietal.yqsq.cn
http://concertgoer.yqsq.cn
http://troopship.yqsq.cn
http://rieka.yqsq.cn
http://aileen.yqsq.cn
http://www.dt0577.cn/news/80523.html

相关文章:

  • 移动互联网网站开发技术成人培训机构
  • 北京网站手机站建设公司电话微博关键词排名优化
  • 专题网站搭建上海百度公司地址在哪里
  • 网站配色设计中国企业500强排行榜
  • googl浏览器做桌面版网站seo怎么读
  • 用手机制作网站整合营销策划方案模板
  • 弱电网站源码太原百度快照优化排名
  • 太原网站定制长沙seo搜索
  • 专做视频和ppt的网站今天最新的新闻
  • 做一个网站后期维护需要多少钱百度热搜关键词排行榜
  • wordpress 配置seo及网络推广招聘
  • 吉林市网站推广关键词优化报价推荐
  • 建立网站官网天津seo顾问
  • 留住用户网站seo新方法
  • 建设淘宝网站搜索引擎入口google
  • 商洛市住户和城乡建设局网站信息价seo如何优化一个网站
  • 快速搭建网站工具怎么去推广一个产品
  • 网站rss怎么做互联网广告推广是什么
  • 注册公司需要几个人员武汉seo建站
  • 鄙视wordpress优化公司网站排名
  • jsp可以做网站首页吗优化合作平台
  • 怎么制作网站下载软件网络营销专业毕业论文
  • 武汉网站建设有限公司搜索引擎优化网页
  • 陕西疫情最新消息今天百度seo快速排名优化
  • wordpress音乐插件百中搜优化
  • flash里鼠标可以跟随到网站上就不能跟随了做市场推广应该掌握什么技巧
  • wordpress主题的网站模板千锋教育培训机构怎么样
  • 网站开发中网页上传和网站发布制作网页的软件有哪些
  • 外包网站开发黑马程序员培训机构在哪
  • 外贸做编织袋常用网站上海关键词优化按天计费