文件bookDetails.html,bookdetail.html

追书神器首页_我的书架

mui.init();

.sjxx {

list-style: none;

margin-top: 10px;

font-size: 13px;

font-family: "微软雅黑";

}

.sjxx li {

float: left;

width: 25%;

}

.sjwza {

color: #AAAAAA;

}

.mui-share {

position: fixed;

bottom: 0px;

width: 100%;

height: 180px;

background-color: #fff;

padding: 10px 5px;

margin: 0px;

}

.mui-share li {

float: left;

width: 20%;

text-align: center;

}

.mui-share li img {

width: 100%;

height: 100%;

cursor: pointer;

}

.mui-share li .mui-subtitle {

font-family: "microsoft yahei";

}

.mui-share .mui-btn {

position: fixed;

bottom: 10px;

width: 90%;

left: 5%;

right: 5%;

}

  • top100_1.jpg

    圣墟

    辰东  |  玄幻

    328万字  |  20小时前

    5书币/千字

    pf4.png

    • 追书人气
    • 读者留存
    • 社区帖子
    • 日更新字
    • 303020
    • 73.89%
    • 56009
    • 7749
  简介

在破败中崛起,在寂灭中复苏。沧海成尘,雷电枯竭,
那一缕幽雾又一次临近大地,世间的枷锁被打开了,一
个全新的世界就此揭开神秘的一角……

  标签

玄幻

东方玄幻

  •   热门短评

    c.jpg

    ChangJun@China

    小说写的特别好看,人物,情节,不夸张,脑洞大开想象力够丰富,情节细腻,人物的个性刻画非常到位,必须推荐给大家看。

    12:25

    全部短评9147
  •   热门书评

    c.jpg

    ChangJun@China

    看完遮天,怜惜里面的安妙衣,疼惜姬紫月,报悍终生的秦瑶!!希望这部不会有这么多遗憾! 希望真正的完美世界!

    12:25

    全部短评9147
  你可能会喜欢

top100_11.jpg

万古神帝

top100_13.jpg

全职法师

top100_16.jpg

我的姐姐是大明星

top100_18.jpg

永夜君王
全部短评9147
版权所有:格式化
  • weixin.png

    微信好友

  • pengyouquan.png

    朋友圈

  • sinaweibo.png

    新浪微博

  • tencentweibo.png

    腾讯微博

  • qq.png

    qq好友

取消

var shareClassName = document.querySelector('.mui-share');

// 打开分享

document.getElementById("openShare").addEventListener('tap',function(){

shareClassName.classList.remove('mui-hidden');

})

// 取消分享

document.querySelector('.mui-share .mui-btn').addEventListener('tap',function(){

shareClassName.classList.add('mui-hidden');

})

// 分享操作

var shares = {};

mui.plusReady(function () {

// 获取分享服务

plus.share.getServices(function(s) {

if (s && s.length > 0) {

for (var i = 0; i < s.length; i++) {

var t = s[i];

shares[t.id] = t;

}

}

}, function() {

console.log("获取分享服务列表失败");

});

})

/**

* 监听分享点击事件

*/

mui('.mui-share').on('tap','li',function(e){

var id = this.getAttribute('data-id');

var scene = this.getAttribute('data-scene');

console.log(id);

var share = shares[id];

if (share) {

if (share.authenticated) {

shareMessage(share, scene);

} else {

share.authorize(function() {

shareMessage(share, scene);

}, function(e) {

mui.toast("认证授权失败:" + e.code + " - " + e.message);

});

}

} else {

mui.toast("分享成功")

}

})

/**

* 分享发送消息

* @param {Object} share

* @param {Object} ex

*/

function shareMessage(share, scene) {

var msg = {

extra: {

scene: scene

}

};

msg.href = "http://www.dcloud.io/hellomui/";

msg.title = "最接近原生APP体验的高性能前端框架";

msg.content = "我正在体验HelloMUI,果然很流畅,基本看不出和原生App的差距";

if (~share.id.indexOf('weibo')) {

msg.content += ";体验地址:http://www.dcloud.io/hellomui/";

}

msg.thumbs = ["_www/img/logo.png"];

share.send(msg, function() {

mui.toast("分享到\"" + share.description + "\"成功! ");

}, function(e) {

mui.toast("分享到\"" + share.description + "\"失败: " + e.code + " - " + e.message);

});

}

一键复制

编辑

Web IDE

原始数据

按行查看

历史

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值