diff --git a/1517060309/1517060309/Untitled-1.html b/1517060309/1517060309/Untitled-1.html new file mode 100644 index 0000000..24b42d5 --- /dev/null +++ b/1517060309/1517060309/Untitled-1.html @@ -0,0 +1,27 @@ + + + + +无标题文档 + + + +
+

123木头人

+
+ + + + + + +
+ 不许动 +
+ + + diff --git a/1517060309/1517060309/style.css b/1517060309/1517060309/style.css new file mode 100644 index 0000000..77da1de --- /dev/null +++ b/1517060309/1517060309/style.css @@ -0,0 +1,9 @@ +@charset "utf-8"; +/* CSS Document */ + +p{ + text-align:center; + } +.tb{ + display:block; + } \ No newline at end of file diff --git a/1517060309/20171025/app.js b/1517060309/20171025/app.js new file mode 100644 index 0000000..b545190 --- /dev/null +++ b/1517060309/20171025/app.js @@ -0,0 +1,39 @@ +//app.js +App({ + onLaunch: function () { + // 展示本地存储能力 + var logs = wx.getStorageSync('logs') || [] + logs.unshift(Date.now()) + wx.setStorageSync('logs', logs) + + // 登录 + wx.login({ + success: res => { + // 发送 res.code 到后台换取 openId, sessionKey, unionId + } + }) + // 获取用户信息 + wx.getSetting({ + success: res => { + if (res.authSetting['scope.userInfo']) { + // 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框 + wx.getUserInfo({ + success: res => { + // 可以将 res 发送给后台解码出 unionId + this.globalData.userInfo = res.userInfo + + // 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回 + // 所以此处加入 callback 以防止这种情况 + if (this.userInfoReadyCallback) { + this.userInfoReadyCallback(res) + } + } + }) + } + } + }) + }, + globalData: { + userInfo: null + } +}) \ No newline at end of file diff --git a/1517060309/20171025/app.json b/1517060309/20171025/app.json new file mode 100644 index 0000000..aa674fa --- /dev/null +++ b/1517060309/20171025/app.json @@ -0,0 +1,44 @@ +{ +"pages": [ + "pages/comp/scroll", + "pages/index/index", + "pages/logs/logs", + "pages/comp/view", + "pages/example/list/list", + "pages/example/article/article", + "pages/form/form", + "pages/example/arti1/arti1", + "pages/example/arti2/article", + "pages/example/arti3/article", + "pages/example/luobin/lb", + "pages/example/qiaoba/qb" +], +"window": { + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#BBDEF8", + "navigationBarTitleText": "海贼王", + "navigationBarTextStyle": "white" +}, +"tabBar": { + "list": [ + { + "pagePath": "pages/index/index", + "iconPath": "images/1.png", + "selectedIconPath": "images/11.png", + "text": "首页" + }, + { + "pagePath": "pages/comp/scroll", + "iconPath": "images/2.png", + "selectedIconPath": "images/22.png", + "text": "发现" + }, + { + "pagePath": "pages/form/form", + "iconPath": "images/3.png", + "selectedIconPath": "images/33.png", + "text": "我" + } + ] +} +} \ No newline at end of file diff --git a/1517060309/20171025/app.wxss b/1517060309/20171025/app.wxss new file mode 100644 index 0000000..f58bfe5 --- /dev/null +++ b/1517060309/20171025/app.wxss @@ -0,0 +1,11 @@ +/**app.wxss**/ +@import 'style/weui.wxss'; +.container { + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + padding: 200rpx 0; + box-sizing: border-box; +} diff --git a/1517060309/20171025/images/1.png b/1517060309/20171025/images/1.png new file mode 100644 index 0000000..f232792 Binary files /dev/null and b/1517060309/20171025/images/1.png differ diff --git a/1517060309/20171025/images/11.png b/1517060309/20171025/images/11.png new file mode 100644 index 0000000..6fc4805 Binary files /dev/null and b/1517060309/20171025/images/11.png differ diff --git a/1517060309/20171025/images/2.png b/1517060309/20171025/images/2.png new file mode 100644 index 0000000..49033ba Binary files /dev/null and b/1517060309/20171025/images/2.png differ diff --git a/1517060309/20171025/images/22.png b/1517060309/20171025/images/22.png new file mode 100644 index 0000000..ab2dce3 Binary files /dev/null and b/1517060309/20171025/images/22.png differ diff --git a/1517060309/20171025/images/3.png b/1517060309/20171025/images/3.png new file mode 100644 index 0000000..6ffbcae Binary files /dev/null and b/1517060309/20171025/images/3.png differ diff --git a/1517060309/20171025/images/33.png b/1517060309/20171025/images/33.png new file mode 100644 index 0000000..1d224c5 Binary files /dev/null and b/1517060309/20171025/images/33.png differ diff --git a/1517060309/20171025/pages/comp/index.js b/1517060309/20171025/pages/comp/index.js new file mode 100644 index 0000000..2a9f73c --- /dev/null +++ b/1517060309/20171025/pages/comp/index.js @@ -0,0 +1,110 @@ +// pages/comp/scroll.js +var base64 = require("../example/images/base64"); + +Page({ + + /** + * 页面的初始数据 + */ + data: { + isEnd: false, + messages: [{ + name: "张三", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }] + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({ + icon20: base64.icon20, + icon60: base64.icon60 + }); + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + + onEnd: function () { + console.log("onEnd") + var that = this; + var data = that.data; + that.setData({ + isEnd: true /*, + messages: data.messages.concat([{ + name: "Tom", + last: "Hello!" + }, { + name: "john", + last: "yes." + }]) */ + }); + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/index.json b/1517060309/20171025/pages/comp/index.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/comp/index.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/index.wxml b/1517060309/20171025/pages/comp/index.wxml new file mode 100644 index 0000000..5e598b2 --- /dev/null +++ b/1517060309/20171025/pages/comp/index.wxml @@ -0,0 +1,27 @@ + + + + Panel + 面板 + + + + + + + + + + + {{index}} {{item.name}} + {{item.last}} + + + + + + + 正在加载…… + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/index.wxss b/1517060309/20171025/pages/comp/index.wxss new file mode 100644 index 0000000..14343d6 --- /dev/null +++ b/1517060309/20171025/pages/comp/index.wxss @@ -0,0 +1 @@ +/* pages/comp/scroll.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scorll.js b/1517060309/20171025/pages/comp/scorll.js new file mode 100644 index 0000000..2a9f73c --- /dev/null +++ b/1517060309/20171025/pages/comp/scorll.js @@ -0,0 +1,110 @@ +// pages/comp/scroll.js +var base64 = require("../example/images/base64"); + +Page({ + + /** + * 页面的初始数据 + */ + data: { + isEnd: false, + messages: [{ + name: "张三", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }] + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({ + icon20: base64.icon20, + icon60: base64.icon60 + }); + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + + onEnd: function () { + console.log("onEnd") + var that = this; + var data = that.data; + that.setData({ + isEnd: true /*, + messages: data.messages.concat([{ + name: "Tom", + last: "Hello!" + }, { + name: "john", + last: "yes." + }]) */ + }); + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scorll.json b/1517060309/20171025/pages/comp/scorll.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/comp/scorll.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scorll.wxml b/1517060309/20171025/pages/comp/scorll.wxml new file mode 100644 index 0000000..41034e7 --- /dev/null +++ b/1517060309/20171025/pages/comp/scorll.wxml @@ -0,0 +1,27 @@ + + + + 海贼王 + 面板 + + + + + + + + + + + {{index}} {{item.name}} + {{item.last}} + + + + + + + 正在加载…… + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scorll.wxss b/1517060309/20171025/pages/comp/scorll.wxss new file mode 100644 index 0000000..b4b450f --- /dev/null +++ b/1517060309/20171025/pages/comp/scorll.wxss @@ -0,0 +1 @@ +/* pages/comp/scorll.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scroll.js b/1517060309/20171025/pages/comp/scroll.js new file mode 100644 index 0000000..2a9f73c --- /dev/null +++ b/1517060309/20171025/pages/comp/scroll.js @@ -0,0 +1,110 @@ +// pages/comp/scroll.js +var base64 = require("../example/images/base64"); + +Page({ + + /** + * 页面的初始数据 + */ + data: { + isEnd: false, + messages: [{ + name: "张三", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }] + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({ + icon20: base64.icon20, + icon60: base64.icon60 + }); + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + + onEnd: function () { + console.log("onEnd") + var that = this; + var data = that.data; + that.setData({ + isEnd: true /*, + messages: data.messages.concat([{ + name: "Tom", + last: "Hello!" + }, { + name: "john", + last: "yes." + }]) */ + }); + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scroll.json b/1517060309/20171025/pages/comp/scroll.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/comp/scroll.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scroll.wxml b/1517060309/20171025/pages/comp/scroll.wxml new file mode 100644 index 0000000..1abb15a --- /dev/null +++ b/1517060309/20171025/pages/comp/scroll.wxml @@ -0,0 +1,38 @@ + + + + 查看详情 + 海贼王 + + + + + + + + 路飞 + 查看详情 + + + 索隆 + 查看详情 + + + 山治 + 查看详情 + + + 娜美 + 查看详情 + + + 罗宾 + 查看详情 + + + 乔巴 + 查看详情 + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/scroll.wxss b/1517060309/20171025/pages/comp/scroll.wxss new file mode 100644 index 0000000..14343d6 --- /dev/null +++ b/1517060309/20171025/pages/comp/scroll.wxss @@ -0,0 +1 @@ +/* pages/comp/scroll.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/view.js b/1517060309/20171025/pages/comp/view.js new file mode 100644 index 0000000..de536c8 --- /dev/null +++ b/1517060309/20171025/pages/comp/view.js @@ -0,0 +1,66 @@ +// pages/comp/view.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/view.json b/1517060309/20171025/pages/comp/view.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/comp/view.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/comp/view.wxml b/1517060309/20171025/pages/comp/view.wxml new file mode 100644 index 0000000..731277d --- /dev/null +++ b/1517060309/20171025/pages/comp/view.wxml @@ -0,0 +1,32 @@ + + + + Flex + Flex布局 + + + + weui + + + weui + weui + + + weui + weui + weui + + + weui + weui + weui + weui + + + weui + weui + weui + + + diff --git a/1517060309/20171025/pages/comp/view.wxss b/1517060309/20171025/pages/comp/view.wxss new file mode 100644 index 0000000..34bd5ed --- /dev/null +++ b/1517060309/20171025/pages/comp/view.wxss @@ -0,0 +1 @@ +/* pages/comp/view.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/example/.DS_Store b/1517060309/20171025/pages/example/.DS_Store new file mode 100644 index 0000000..604d275 Binary files /dev/null and b/1517060309/20171025/pages/example/.DS_Store differ diff --git a/1517060309/20171025/pages/example/actionsheet/actionsheet.js b/1517060309/20171025/pages/example/actionsheet/actionsheet.js new file mode 100644 index 0000000..8f02eac --- /dev/null +++ b/1517060309/20171025/pages/example/actionsheet/actionsheet.js @@ -0,0 +1,12 @@ +Page({ + open: function(){ + wx.showActionSheet({ + itemList: ['A', 'B', 'C'], + success: function(res) { + if (!res.cancel) { + console.log(res.tapIndex) + } + } + }); + } +}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/actionsheet/actionsheet.wxml b/1517060309/20171025/pages/example/actionsheet/actionsheet.wxml new file mode 100644 index 0000000..8ea4e15 --- /dev/null +++ b/1517060309/20171025/pages/example/actionsheet/actionsheet.wxml @@ -0,0 +1,11 @@ + + + ActionSheet + 弹出式菜单,采用小程序原生的actionsheet + + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/actionsheet/actionsheet.wxss b/1517060309/20171025/pages/example/actionsheet/actionsheet.wxss new file mode 100644 index 0000000..922ad0e --- /dev/null +++ b/1517060309/20171025/pages/example/actionsheet/actionsheet.wxss @@ -0,0 +1,3 @@ +page{ + background-color: #FFFFFF; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti1/arti1.js b/1517060309/20171025/pages/example/arti1/arti1.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/arti1.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti1/arti1.json b/1517060309/20171025/pages/example/arti1/arti1.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/arti1.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti1/arti1.wxml b/1517060309/20171025/pages/example/arti1/arti1.wxml new file mode 100644 index 0000000..05c5571 --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/arti1.wxml @@ -0,0 +1,31 @@ + + + + + + + + + + + 索隆 + + 罗罗诺亚·索隆(Roronoa Zoro)日本漫画《海贼王》中的男二号,草帽一伙中的战斗员,是悬赏过亿武艺高强的三刀流剑士,二年前超新星11人之一,能够自由操纵三把刀战斗。爱喝酒,爱睡觉,讲义气,海贼第一超级大路痴。为了小时候与挚友的约定而踏上了前往世界第一剑士的道路,随后成为主角蒙奇·D·路飞的第一个伙伴。在初次败给世界第一剑士"鹰眼米霍克"后向路飞发誓永不再败,并且更加努力的锻炼自己。两年后的他成功与伙伴们汇合,并且为了实现自己的梦想,奔赴强者如云的新世界。 + + + + + + + + + + 在成为世界第一剑士的路途上,索隆以捕捉通缉犯赚取奖金为生(因为路痴迷路了,回不去,所以当海贼猎人赚取生活费),海贼猎人索隆”(海贼狩りのゾロ)的称号。这段期间,索隆曾被巴洛克工作社的原Mr.7邀请加入,不过他要求只要由他取代克洛克达尔的社长座位就愿意加入,这造成巴洛克工作社的反对,杀死了Mr.7。有一次,为了支付铁匠修剑的钱,而去打倒悬赏1千万贝里的山鲸迪克,同时约瑟夫和强尼对他甘拜下风,决定跟随索隆。 + +后来为了拯救女孩莉嘉而将海军的蒙卡大佐的儿子贝鲁梅伯饲养的狼杀死,因此被海军拘捕,绑在海军基地的刑场上,不给食物和水。原先贝鲁梅伯答应只要索隆能活足一个月,就会释放他。但这是贝鲁梅伯的戏言,其实打算要公开处决他。路飞知道后决定帮助索隆,并让索隆成为他的伙伴。起初索隆拒绝路飞,说不要成为一位海贼,但在克比的口中得知贝鲁梅伯要处决他后,为了实现与古伊娜的约定,决定成为路飞的伙伴,但誓言如果路飞没有成为海贼王或阻碍了他,将要路飞在他面前切腹谢罪。 + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti1/arti1.wxss b/1517060309/20171025/pages/example/arti1/arti1.wxss new file mode 100644 index 0000000..fa064c6 --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/arti1.wxss @@ -0,0 +1,6 @@ +page{ + background-color: #FFFFFF; +} +image{ + margin: 4px 0; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti1/article.js b/1517060309/20171025/pages/example/arti1/article.js new file mode 100644 index 0000000..3263a0c --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/article.js @@ -0,0 +1,66 @@ +// pages/example/arti1/article.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti1/article.json b/1517060309/20171025/pages/example/arti1/article.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/article.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti1/article.wxml b/1517060309/20171025/pages/example/arti1/article.wxml new file mode 100644 index 0000000..a3374b3 --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/article.wxml @@ -0,0 +1,2 @@ + +{{page}}.wxml diff --git a/1517060309/20171025/pages/example/arti1/article.wxss b/1517060309/20171025/pages/example/arti1/article.wxss new file mode 100644 index 0000000..487e766 --- /dev/null +++ b/1517060309/20171025/pages/example/arti1/article.wxss @@ -0,0 +1 @@ +/* pages/example/arti1/article.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti2/article.js b/1517060309/20171025/pages/example/arti2/article.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/arti2/article.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti2/article.json b/1517060309/20171025/pages/example/arti2/article.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/arti2/article.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti2/article.wxml b/1517060309/20171025/pages/example/arti2/article.wxml new file mode 100644 index 0000000..746216b --- /dev/null +++ b/1517060309/20171025/pages/example/arti2/article.wxml @@ -0,0 +1,79 @@ + + + + + + + + + + + 山治 + + 草帽海贼团厨师,金发,有着卷曲眉毛,永远遮住半边脸的家伙,香烟不离口,最爱女人,很花心但很有风度,海贼中的绅士。小时候跟随大海贼红脚哲普学习厨艺。踢技以快准狠被海军称之为"黑足",但从不愿意伤害任何的女性,哪怕是敌人。在经过司法岛一战后也成了悬赏对象,首次悬赏就有7700万之高(但通缉令是画上去的)。梦想是找到传说之海All Blue而跟随路飞一同进入了伟大航路。是文斯莫克家族的第三子。 + + + + + + + + + + 沉着冷静 + +遇到事情能冷静的分析思考,并做出正确有利的判断(女性面前除外),时常扮演奇兵的角色,为伙伴解难,让人出其不意。 + +骑士道精神 + +山治在草帽一伙的历险中经常表现出"骑士道精神"的原则。 + +在空岛与"神"艾涅尔的战斗中,山治不惜牺牲自己,让娜美逃走并对"神"艾涅尔说:"正想跟你借个火。" + +在水之七岛篇时跟乔巴说过:"能原谅女人说谎的才是男人。" + +与CP9的卡莉法的战斗中,山治实力明显高于卡莉法,但山治忠于自己的原则,好几次也没有对她出手,反被她用泡沫打倒。被CP9的卡莉法击败后掉到地下层时跟娜美说:"我死也不会踢女人。"[9] + +在恐怖三桅帆船篇中,与阿布萨罗姆战斗时,放开昏迷中的娜美说:"我不能让我的血……弄脏你纯白的裙子!" + +在鱼人岛与新鱼人海贼团对决时,看到了白星流泪,说:"不能抚去女人眼泪的男人,根本不配做男人。" + +在庞克哈萨德篇,被特拉法尔加·罗使用能力和同伴身心调换的山治,透过罗的协助恢复原状时,得悉娜美被调换到他的身体的期间因故身受重伤,不但没有提出抱怨,还十分庆幸受伤的不是娜美而是自己,令乌索普感动得形容山治是个真男人。甚至在见到海军达丝琪被多佛朗明哥的旗下干部维尔戈殴伤时,不惜挺身和维尔戈展开对决。 + +在德蕾斯罗萨篇,虽然身负重伤,却仍坚信舞娘紫罗兰先前曾流的泪,并说:"即便……会被100万个人苛责,我还是不会怀疑……女士的泪水!" + +信赖同伴 + +有事没事会和索隆干起架来,与索隆是死对头,也是默契无比的好伙伴。对路飞表面上总是粗暴相待,但是他可以和索隆一样为了船长交出自己的性命。对乌索普和乔巴总是表现出保护与体贴。 + +厨师精神 + +山治对厨师、厨艺,或是对食物的态度都非常认真,不能原谅糟蹋食物的行为。对待肚子饿的人相当拥有同情心,厨艺也是一流,对各种食材的烹饪方法、特点都极其了解,绝对高超的厨师。 + +沉迷女色 + +罗宾登场之前非常喜欢娜美,不管娜美有什么举动,在他的眼里都是值得原谅且非常可爱的。 + +罗宾登场后同时兼爱二人,然而若遇到别的美女也会立刻爱上。 + +只要遇到美女立刻十分开心,且在战斗中不会攻击女人,若敌人非常美丽则往往因为主动投怀送抱而吃大亏(例如与CP9的卡莉法对战时不仅完全没踢中对方,反而被卡莉法一脚踢中要害),被娜美骂做"白痴"。 + +在第二部剧情初期,容易因为见到或幻想到美女而狂喷鼻血,甚至在见到波雅·汉考克的美貌时还会自动石化,虽然在输入人妖的血中和之后,缓轻狂喷鼻血问题,直至见到白星公主,狂喷鼻血毛病不药而愈,还称呼没有任何画布可以形容美貌,但山治还是容易因为见到美女而当场石化。 + +庞克哈萨德篇,山治被调换至娜美的身体,为了躲避史莱姆的追逐而感到精疲力尽之时,因为触摸到娜美的胸部而感到异常兴奋,顿时爆发出异于常人的奔跑速度,还因此惹来索隆的吐嘈。 + +德雷斯罗萨篇,身为特雷波尔军杀手的维奥莱特利用恶魔果实能力窥看陷入昏迷状态的山治,发现山治即便处于昏迷状态,脑里仍充满著桃色思想。[2] + +万国篇,在婚礼上即将要枪杀自己的夏洛特布琳露出藏在刘海的第三只眼睛时,山治依旧情不自禁地称赞她的眼睛,说是"多么美丽的眼睛"。 + +折叠通缉令 + +在司法岛救罗宾之后,山治首次就被悬赏77000000(7千7百万)贝里,却似乎因为拍摄员忘记将照相机的盖子打开,所以拍起来的照片便是全黑的,因此拍摄员干脆用画的,画的相当难看,和迪巴鲁一模一样,这让山治深受打击。[3] 但山治的家族也通过这张画出来的通缉令,顺藤摸瓜地找到了迪巴鲁,从而不得不使迪巴鲁背井离乡当起了人口贩子。 + +在草帽一伙复出的消息被确认之后,山治的照片终于捕获成功。在文斯莫克家族的影响下,山治的赏金变为1亿7700万贝里,并且明确规定为"Only Alive(只能活捉)"。 + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti2/article.wxss b/1517060309/20171025/pages/example/arti2/article.wxss new file mode 100644 index 0000000..fa064c6 --- /dev/null +++ b/1517060309/20171025/pages/example/arti2/article.wxss @@ -0,0 +1,6 @@ +page{ + background-color: #FFFFFF; +} +image{ + margin: 4px 0; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti3/article.js b/1517060309/20171025/pages/example/arti3/article.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/arti3/article.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti3/article.json b/1517060309/20171025/pages/example/arti3/article.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/arti3/article.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti3/article.wxml b/1517060309/20171025/pages/example/arti3/article.wxml new file mode 100644 index 0000000..5005583 --- /dev/null +++ b/1517060309/20171025/pages/example/arti3/article.wxml @@ -0,0 +1,41 @@ + + + + + + + + + + + 娜美 + + 娜美(ナミ,Nami,CV:冈村明美,港译:奈美\娜米)是日本漫画及动画《海贼王》登场的人物,草帽海贼团的航海士。路飞的第二个伙伴,特征是橘色的短发(现在已经长至肩膀)和左肩的刺青(风车与橘子的图案,原来是阿龙海贼团的标志,加入路飞的海贼团后才改为风车与橘子的图案),使用棍术,武器是乌索普(骗人布)的发明天候棒(能操纵天气)及其后乌索普利用贝改装成加强版天候棒。精通气象学和航海术,擅长偷术、骗术、谈判及威胁恐吓,头脑聪明又机灵,能精确画出海图的天才。本质上是个细心、善良、重视感情、嫉恶如仇、偶尔有些温柔、能干的女性。出海的目的是为了绘出世界地图。 + + + + + + + + + + 1、精通气象知识 + +娜美靠着自己的身体去感觉空气,来预测天气!这应该是结合了从书上学来的知识以及航海的经验才能做到的事情。对她来说,天候棒就是一种非常可靠的武器。 + +因为她可以在必须要靠力量进行的战斗之中,靠着自己擅长的知识来弥补力量不足的缺点!战斗时攻击力虽不强但靠着极高智慧和技巧运用加强版天候棒战胜对手,擅长群体战。 + +2、擅长使用棒术 + +当了八年的小偷,娜美靠着高超的棒术与海贼进行战斗!因此对她来说,使用天候棒是非常简单的事情!虽然在第一次使用天候棒的战斗中,她还在进行摸索,但是却能够根据状况来立即改变棒子的组合,使出各种各样的绝招。就是因为娜美擅长使用棒术,才能够做到这种事情! + +外表看起来是个柔弱的女孩子,但其实她是个不逊于男人的女战士!战斗的时候她拿着她爱用的“天候棒”来对抗攻击她的敌人! + +以当专门对海贼下手之“小偷”为生的娜美,本来根本不需要学会战斗的技术。但是在跟着路飞等人一起冒险的过程中,她发现在即必须要具有“战斗的力量”,于是就决定要超越柔弱的自己,呼唤这个决心的东西,就是乌索普所发明的“天候棒”!得到全心强力武器的娜美,变得可以堂堂正正地对抗敌人了! + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/arti3/article.wxss b/1517060309/20171025/pages/example/arti3/article.wxss new file mode 100644 index 0000000..fa064c6 --- /dev/null +++ b/1517060309/20171025/pages/example/arti3/article.wxss @@ -0,0 +1,6 @@ +page{ + background-color: #FFFFFF; +} +image{ + margin: 4px 0; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/article/article.js b/1517060309/20171025/pages/example/article/article.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/article/article.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/article/article.json b/1517060309/20171025/pages/example/article/article.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/article/article.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/article/article.wxml b/1517060309/20171025/pages/example/article/article.wxml new file mode 100644 index 0000000..7fb47f7 --- /dev/null +++ b/1517060309/20171025/pages/example/article/article.wxml @@ -0,0 +1,35 @@ + + + + + + + + + + + 路飞 + + 蒙奇·D·路飞,是日本动漫《航海王》的男主角。草帽海贼团船长。由于他的标志性特征是一顶草帽,因此常被直接称呼为草帽小子或草帽路飞。梦想是找到传说中的One Piece,成为海贼王。 + +性格积极乐观,爱憎分明且十分重视伙伴,对任何危险的事物都超感兴趣。看似白痴,却是一个大智若愚型的无愧船长之职的人。和其他传统的海贼所不同的是,他并不会为了追求财富而无故杀戮,而是享受着身为海贼的冒险。 + + + + + + + + + + 路飞是超人系“橡胶果实”能力者,全身拥有橡胶体质,在战斗中路飞利用发挥了这一体质,并在不断的战斗中升级自己的招式。 + +果实特点:能够将身体的任何部位,包含内脏、血管、牙齿,依自己的意思伸长和反弹,使看似普通的打击具有更强的威力。因为身体变成橡胶的缘故,便不用担心打出去的肢体会因为反作用力而受到伤害。变成橡胶的身躯具有绝佳的弹性与延展性。能够伸缩的距离跟能力者本身的实力成正比。 大多数的物理攻击(除了霸气)在打中橡胶人身体时会弹回去或是完全无效,小型的子弹或是普通的炮弹射中身体也能弹回去。此外,橡胶的身体不能导电,因此雷电的招式对他无效。 + +果实弱点:斩击、砍击、高热以及低温的攻击。 + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/article/article.wxss b/1517060309/20171025/pages/example/article/article.wxss new file mode 100644 index 0000000..fa064c6 --- /dev/null +++ b/1517060309/20171025/pages/example/article/article.wxss @@ -0,0 +1,6 @@ +page{ + background-color: #FFFFFF; +} +image{ + margin: 4px 0; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/badge/badge.js b/1517060309/20171025/pages/example/badge/badge.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/badge/badge.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/badge/badge.wxml b/1517060309/20171025/pages/example/badge/badge.wxml new file mode 100644 index 0000000..af753f6 --- /dev/null +++ b/1517060309/20171025/pages/example/badge/badge.wxml @@ -0,0 +1,54 @@ + + + Badge + 徽章 + + + + 新消息提示跟摘要信息后,统一在列表右侧 + + + 单行列表 + + 详细信息 + + + + + + 未读数红点跟在主题信息后,统一在列表左侧 + + + + + 8 + + + 联系人名称 + 摘要信息 + + + + + 单行列表 + 8 + + + + + + 单行列表 + 8 + + 详细信息 + + + + 单行列表 + New + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/button/button.js b/1517060309/20171025/pages/example/button/button.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/button/button.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/button/button.json b/1517060309/20171025/pages/example/button/button.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/button/button.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/button/button.wxml b/1517060309/20171025/pages/example/button/button.wxml new file mode 100644 index 0000000..7a52ce2 --- /dev/null +++ b/1517060309/20171025/pages/example/button/button.wxml @@ -0,0 +1,28 @@ + + + Button + 按钮,WeUI采用小程序原生的按钮为主体,加入一些间距的样式。 + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/button/button.wxss b/1517060309/20171025/pages/example/button/button.wxss new file mode 100644 index 0000000..5adb1f8 --- /dev/null +++ b/1517060309/20171025/pages/example/button/button.wxss @@ -0,0 +1,8 @@ +.button-sp-area{ + margin: 0 auto; + padding-top: 15px; + width: 60%; +} +.mini-btn{ + margin-right: 5px; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/comp.js b/1517060309/20171025/pages/example/comp/comp.js new file mode 100644 index 0000000..512739c --- /dev/null +++ b/1517060309/20171025/pages/example/comp/comp.js @@ -0,0 +1,66 @@ +// pages/example/comp/comp.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/comp.json b/1517060309/20171025/pages/example/comp/comp.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/comp/comp.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/comp.wxml b/1517060309/20171025/pages/example/comp/comp.wxml new file mode 100644 index 0000000..de85fd7 --- /dev/null +++ b/1517060309/20171025/pages/example/comp/comp.wxml @@ -0,0 +1,2 @@ + +pages/example/comp/comp.wxml diff --git a/1517060309/20171025/pages/example/comp/comp.wxss b/1517060309/20171025/pages/example/comp/comp.wxss new file mode 100644 index 0000000..ad51551 --- /dev/null +++ b/1517060309/20171025/pages/example/comp/comp.wxss @@ -0,0 +1 @@ +/* pages/example/comp/comp.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/form.js b/1517060309/20171025/pages/example/comp/form.js new file mode 100644 index 0000000..896efd6 --- /dev/null +++ b/1517060309/20171025/pages/example/comp/form.js @@ -0,0 +1,66 @@ +// pages/example/comp/form.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/form.json b/1517060309/20171025/pages/example/comp/form.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/comp/form.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/form.wxml b/1517060309/20171025/pages/example/comp/form.wxml new file mode 100644 index 0000000..bc855dc --- /dev/null +++ b/1517060309/20171025/pages/example/comp/form.wxml @@ -0,0 +1,2 @@ + +pages/example/comp/form.wxml diff --git a/1517060309/20171025/pages/example/comp/form.wxss b/1517060309/20171025/pages/example/comp/form.wxss new file mode 100644 index 0000000..ce9e600 --- /dev/null +++ b/1517060309/20171025/pages/example/comp/form.wxss @@ -0,0 +1 @@ +/* pages/example/comp/form.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/from.js b/1517060309/20171025/pages/example/comp/from.js new file mode 100644 index 0000000..d967fd1 --- /dev/null +++ b/1517060309/20171025/pages/example/comp/from.js @@ -0,0 +1,66 @@ +// pages/example/comp/from.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/from.json b/1517060309/20171025/pages/example/comp/from.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/comp/from.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/comp/from.wxml b/1517060309/20171025/pages/example/comp/from.wxml new file mode 100644 index 0000000..f8c15bc --- /dev/null +++ b/1517060309/20171025/pages/example/comp/from.wxml @@ -0,0 +1,2 @@ + +pages/example/comp/from.wxml diff --git a/1517060309/20171025/pages/example/comp/from.wxss b/1517060309/20171025/pages/example/comp/from.wxss new file mode 100644 index 0000000..0efa470 --- /dev/null +++ b/1517060309/20171025/pages/example/comp/from.wxss @@ -0,0 +1 @@ +/* pages/example/comp/from.wxss */ \ No newline at end of file diff --git a/1517060309/20171025/pages/example/dialog/dialog.js b/1517060309/20171025/pages/example/dialog/dialog.js new file mode 100644 index 0000000..5459e87 --- /dev/null +++ b/1517060309/20171025/pages/example/dialog/dialog.js @@ -0,0 +1,29 @@ +Page({ + openConfirm: function () { + wx.showModal({ + title: '弹窗标题', + content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', + confirmText: "主操作", + cancelText: "辅助操作", + success: function (res) { + console.log(res); + if (res.confirm) { + console.log('用户点击主操作') + }else{ + console.log('用户点击辅助操作') + } + } + }); + }, + openAlert: function () { + wx.showModal({ + content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', + showCancel: false, + success: function (res) { + if (res.confirm) { + console.log('用户点击确定') + } + } + }); + } +}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/dialog/dialog.wxml b/1517060309/20171025/pages/example/dialog/dialog.wxml new file mode 100644 index 0000000..44d9531 --- /dev/null +++ b/1517060309/20171025/pages/example/dialog/dialog.wxml @@ -0,0 +1,12 @@ + + + Dialog + 对话框,采用小程序原生的modal + + + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/dialog/dialog.wxss b/1517060309/20171025/pages/example/dialog/dialog.wxss new file mode 100644 index 0000000..922ad0e --- /dev/null +++ b/1517060309/20171025/pages/example/dialog/dialog.wxss @@ -0,0 +1,3 @@ +page{ + background-color: #FFFFFF; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/flex/flex.js b/1517060309/20171025/pages/example/flex/flex.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/flex/flex.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/flex/flex.json b/1517060309/20171025/pages/example/flex/flex.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/20171025/pages/example/flex/flex.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/flex/flex.wxml b/1517060309/20171025/pages/example/flex/flex.wxml new file mode 100644 index 0000000..71f9133 --- /dev/null +++ b/1517060309/20171025/pages/example/flex/flex.wxml @@ -0,0 +1,31 @@ + + + Flex + Flex布局 + + + + weui + + + weui + weui + + + weui + weui + weui + + + weui + weui + weui + weui + + + weui + weui + weui + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/flex/flex.wxss b/1517060309/20171025/pages/example/flex/flex.wxss new file mode 100644 index 0000000..e4e6c54 --- /dev/null +++ b/1517060309/20171025/pages/example/flex/flex.wxss @@ -0,0 +1,9 @@ +.placeholder{ + margin: 5px; + padding: 0 10px; + text-align: center; + background-color: #EBEBEB; + height: 2.3em; + line-height: 2.3em; + color: #cfcfcf; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/footer/footer.js b/1517060309/20171025/pages/example/footer/footer.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/footer/footer.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/footer/footer.wxml b/1517060309/20171025/pages/example/footer/footer.wxml new file mode 100644 index 0000000..c96515f --- /dev/null +++ b/1517060309/20171025/pages/example/footer/footer.wxml @@ -0,0 +1,36 @@ + + + Footer + 页脚 + + + + Copyright © 2008-2016 weui.io + + + + + + 底部链接 + + Copyright © 2008-2016 weui.io + + + + + + 底部链接 + 底部链接 + + Copyright © 2008-2016 weui.io + + + + + + WeUI首页 + + Copyright © 2008-2016 weui.io + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/footer/footer.wxss b/1517060309/20171025/pages/example/footer/footer.wxss new file mode 100644 index 0000000..0f19fc8 --- /dev/null +++ b/1517060309/20171025/pages/example/footer/footer.wxss @@ -0,0 +1,8 @@ +/* 作为展示用的样式 */ + +.weui-footer{ + margin-bottom: 50px; +} +.weui-footer_fixed-bottom{ + margin-bottom: 0; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/gallery/gallery.js b/1517060309/20171025/pages/example/gallery/gallery.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/gallery/gallery.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/gallery/gallery.wxml b/1517060309/20171025/pages/example/gallery/gallery.wxml new file mode 100644 index 0000000..82deb5d --- /dev/null +++ b/1517060309/20171025/pages/example/gallery/gallery.wxml @@ -0,0 +1,6 @@ + + + Gallery + 画廊,建议采用小程序原生的wx.previewImage来实现。详情请看小程序文档。 + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/grid/grid.js b/1517060309/20171025/pages/example/grid/grid.js new file mode 100644 index 0000000..30f260e --- /dev/null +++ b/1517060309/20171025/pages/example/grid/grid.js @@ -0,0 +1,5 @@ +Page({ + data: { + grids: [0, 1, 2, 3, 4, 5, 6, 7, 8] + } +}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/grid/grid.wxml b/1517060309/20171025/pages/example/grid/grid.wxml new file mode 100644 index 0000000..dfda12d --- /dev/null +++ b/1517060309/20171025/pages/example/grid/grid.wxml @@ -0,0 +1,16 @@ + + + Grid + 九宫格 + + + + + + + Grid + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/icons/icons.js b/1517060309/20171025/pages/example/icons/icons.js new file mode 100644 index 0000000..f16cc1a --- /dev/null +++ b/1517060309/20171025/pages/example/icons/icons.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/icons/icons.wxml b/1517060309/20171025/pages/example/icons/icons.wxml new file mode 100644 index 0000000..52a9a50 --- /dev/null +++ b/1517060309/20171025/pages/example/icons/icons.wxml @@ -0,0 +1,53 @@ + + + Icons + 图标 + + + + + + 成功 + 用于表示操作顺利达成 + + + + + + 提示 + 用于表示信息提示;也常用于缺乏条件的操作拦截,提示用户所需信息 + + + + + + 普通警告 + 用于表示操作后将引起一定后果的情况 + + + + + + 强烈警告 + 用于表示操作后将引起严重的不可挽回的后果的情况 + + + + + + 等待 + 用于表示等待 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/icons/icons.wxss b/1517060309/20171025/pages/example/icons/icons.wxss new file mode 100644 index 0000000..abe70ea --- /dev/null +++ b/1517060309/20171025/pages/example/icons/icons.wxss @@ -0,0 +1,28 @@ +icon{ + margin-right: 13px; +} +.page__bd { + padding-left: 40px; + padding-right: 40px; + text-align: left; +} +.icon-box{ + margin-bottom: 25px; + display: flex; + align-items: center; +} +.icon-box__ctn{ + flex-shrink: 100; +} +.icon-box__title{ + font-size: 20px; +} +.icon-box__desc{ + margin-top: 6px; + font-size: 12px; + color: #888888; +} +.icon_sp_area { + margin-top: 10px; + text-align: left; +} \ No newline at end of file diff --git a/1517060309/20171025/pages/example/images/.DS_Store b/1517060309/20171025/pages/example/images/.DS_Store new file mode 100644 index 0000000..c26a242 Binary files /dev/null and b/1517060309/20171025/pages/example/images/.DS_Store differ diff --git a/1517060309/20171025/pages/example/images/025.png b/1517060309/20171025/pages/example/images/025.png new file mode 100644 index 0000000..ee0fdd6 Binary files /dev/null and b/1517060309/20171025/pages/example/images/025.png differ diff --git a/1517060309/20171025/pages/example/images/111111.jpg b/1517060309/20171025/pages/example/images/111111.jpg new file mode 100644 index 0000000..9e47e83 Binary files /dev/null and b/1517060309/20171025/pages/example/images/111111.jpg differ diff --git a/1517060309/20171025/pages/example/images/a.png b/1517060309/20171025/pages/example/images/a.png new file mode 100644 index 0000000..0b49433 Binary files /dev/null and b/1517060309/20171025/pages/example/images/a.png differ diff --git a/1517060309/20171025/pages/example/images/b.png b/1517060309/20171025/pages/example/images/b.png new file mode 100644 index 0000000..5955171 Binary files /dev/null and b/1517060309/20171025/pages/example/images/b.png differ diff --git a/1517060309/20171025/pages/example/images/banner.jpg b/1517060309/20171025/pages/example/images/banner.jpg new file mode 100644 index 0000000..c2ecaf0 Binary files /dev/null and b/1517060309/20171025/pages/example/images/banner.jpg differ diff --git a/1517060309/20171025/pages/example/images/base64.js b/1517060309/20171025/pages/example/images/base64.js new file mode 100644 index 0000000..97e51d0 --- /dev/null +++ b/1517060309/20171025/pages/example/images/base64.js @@ -0,0 +1,4 @@ +module.exports = { + icon20: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAMAAABgZ9sFAAAAVFBMVEXx8fHMzMzr6+vn5+fv7+/t7e3d3d2+vr7W1tbHx8eysrKdnZ3p6enk5OTR0dG7u7u3t7ejo6PY2Njh4eHf39/T09PExMSvr6+goKCqqqqnp6e4uLgcLY/OAAAAnklEQVRIx+3RSRLDIAxE0QYhAbGZPNu5/z0zrXHiqiz5W72FqhqtVuuXAl3iOV7iPV/iSsAqZa9BS7YOmMXnNNX4TWGxRMn3R6SxRNgy0bzXOW8EBO8SAClsPdB3psqlvG+Lw7ONXg/pTld52BjgSSkA3PV2OOemjIDcZQWgVvONw60q7sIpR38EnHPSMDQ4MjDjLPozhAkGrVbr/z0ANjAF4AcbXmYAAAAASUVORK5CYII=", + icon60: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAeFBMVEUAwAD///+U5ZTc9twOww7G8MYwzDCH4YcfyR9x23Hw+/DY9dhm2WZG0kbT9NP0/PTL8sux7LFe115T1VM+zz7i+OIXxhes6qxr2mvA8MCe6J6M4oz6/frr+us5zjn2/fa67rqB4IF13XWn6ad83nxa1loqyirn+eccHxx4AAAC/klEQVRo3u2W2ZKiQBBF8wpCNSCyLwri7v//4bRIFVXoTBBB+DAReV5sG6lTXDITiGEYhmEYhmEYhmEYhmEY5v9i5fsZGRx9PyGDne8f6K9cfd+mKXe1yNG/0CcqYE86AkBMBh66f20deBc7wA/1WFiTwvSEpBMA2JJOBsSLxe/4QEEaJRrASP8EVF8Q74GbmevKg0saa0B8QbwBdjRyADYxIhqxAZ++IKYtciPXLQVG+imw+oo4Bu56rjEJ4GYsvPmKOAB+xlz7L5aevqUXuePWVhvWJ4eWiwUQ67mK51qPj4dFDMlRLBZTqF3SDvmr4BwtkECu5gHWPkmDfQh02WLxXuvbvC8ku8F57GsI5e0CmUwLz1kq3kD17R1In5816rGvQ5VMk5FEtIiWislTffuDpl/k/PzscdQsv8r9qWq4LRWX6tQYtTxvI3XyrwdyQxChXioOngH3dLgOFjk0all56XRi/wDFQrGQU3Os5t0wJu1GNtNKHdPqYaGYQuRDfbfDf26AGLYSyGS3ZAK4S8XuoAlxGSdYMKwqZKM9XJMtyqXi7HX/CiAZS6d8bSVUz5J36mEMFDTlAFQzxOT1dzLRljjB6+++ejFqka+mXIe6F59mw22OuOw1F4T6lg/9VjL1rLDoI9Xzl1MSYDNHnPQnt3D1EE7PrXjye/3pVpr1Z45hMUdcACc5NVQI0bOdS1WA0wuz73e7/5TNqBPhQXPEFGJNV2zNqWI7QKBd2Gn6AiBko02zuAOXeWIXjV0jNqdKegaE/kJQ6Bfs4aju04lMLkA2T5wBSYPKDGF3RKhFYEa6A1L1LG2yacmsaZ6YPOSAMKNsO+N5dNTfkc5Aqe26uxHpx7ZirvgCwJpWq/lmX1hA7LyabQ34tt5RiJKXSwQ+0KU0V5xg+hZrd4Bn1n4EID+WkQdgLfRNtvil9SPfwy+WQ7PFBWQz6dGWZBLkeJFXZGCfLUjCgGgqXo5TuSu3cugdcTv/HjqnBTEMwzAMwzAMwzAMwzAMw/zf/AFbXiOA6frlMAAAAABJRU5ErkJggg==" +}; \ No newline at end of file diff --git a/1517060309/20171025/pages/example/images/c.png b/1517060309/20171025/pages/example/images/c.png new file mode 100644 index 0000000..2836a7c Binary files /dev/null and b/1517060309/20171025/pages/example/images/c.png differ diff --git a/1517060309/20171025/pages/example/images/conf64.png b/1517060309/20171025/pages/example/images/conf64.png new file mode 100644 index 0000000..e86006e Binary files /dev/null and b/1517060309/20171025/pages/example/images/conf64.png differ diff --git a/1517060309/20171025/pages/example/images/conf64_on.png b/1517060309/20171025/pages/example/images/conf64_on.png new file mode 100644 index 0000000..48a7208 Binary files /dev/null and b/1517060309/20171025/pages/example/images/conf64_on.png differ diff --git a/1517060309/20171025/pages/example/images/conference128.png b/1517060309/20171025/pages/example/images/conference128.png new file mode 100644 index 0000000..56bb77b Binary files /dev/null and b/1517060309/20171025/pages/example/images/conference128.png differ diff --git a/1517060309/20171025/pages/example/images/conference64.png b/1517060309/20171025/pages/example/images/conference64.png new file mode 100644 index 0000000..4de40d3 Binary files /dev/null and b/1517060309/20171025/pages/example/images/conference64.png differ diff --git a/1517060309/20171025/pages/example/images/copy24.png b/1517060309/20171025/pages/example/images/copy24.png new file mode 100644 index 0000000..b83ac20 Binary files /dev/null and b/1517060309/20171025/pages/example/images/copy24.png differ diff --git a/1517060309/20171025/pages/example/images/copy24_on.png b/1517060309/20171025/pages/example/images/copy24_on.png new file mode 100644 index 0000000..d588216 Binary files /dev/null and b/1517060309/20171025/pages/example/images/copy24_on.png differ diff --git a/1517060309/20171025/pages/example/images/d.png b/1517060309/20171025/pages/example/images/d.png new file mode 100644 index 0000000..a4b474e Binary files /dev/null and b/1517060309/20171025/pages/example/images/d.png differ diff --git a/1517060309/20171025/pages/example/images/di (1).jpg b/1517060309/20171025/pages/example/images/di (1).jpg new file mode 100644 index 0000000..9e47e83 Binary files /dev/null and b/1517060309/20171025/pages/example/images/di (1).jpg differ diff --git a/1517060309/20171025/pages/example/images/di (1).png b/1517060309/20171025/pages/example/images/di (1).png new file mode 100644 index 0000000..2247bac Binary files /dev/null and b/1517060309/20171025/pages/example/images/di (1).png differ diff --git a/1517060309/20171025/pages/example/images/di (2).png b/1517060309/20171025/pages/example/images/di (2).png new file mode 100644 index 0000000..ee0fdd6 Binary files /dev/null and b/1517060309/20171025/pages/example/images/di (2).png differ diff --git a/1517060309/20171025/pages/example/images/dollar24.png b/1517060309/20171025/pages/example/images/dollar24.png new file mode 100644 index 0000000..5fed029 Binary files /dev/null and b/1517060309/20171025/pages/example/images/dollar24.png differ diff --git a/1517060309/20171025/pages/example/images/drink64.png b/1517060309/20171025/pages/example/images/drink64.png new file mode 100644 index 0000000..16d4262 Binary files /dev/null and b/1517060309/20171025/pages/example/images/drink64.png differ diff --git a/1517060309/20171025/pages/example/images/drink64_on.png b/1517060309/20171025/pages/example/images/drink64_on.png new file mode 100644 index 0000000..bf941fc Binary files /dev/null and b/1517060309/20171025/pages/example/images/drink64_on.png differ diff --git a/1517060309/20171025/pages/example/images/e.png b/1517060309/20171025/pages/example/images/e.png new file mode 100644 index 0000000..7fbc94d Binary files /dev/null and b/1517060309/20171025/pages/example/images/e.png differ diff --git a/1517060309/20171025/pages/example/images/edit64.png b/1517060309/20171025/pages/example/images/edit64.png new file mode 100644 index 0000000..cd33866 Binary files /dev/null and b/1517060309/20171025/pages/example/images/edit64.png differ diff --git a/1517060309/20171025/pages/example/images/edit64_on.png b/1517060309/20171025/pages/example/images/edit64_on.png new file mode 100644 index 0000000..91c0a40 Binary files /dev/null and b/1517060309/20171025/pages/example/images/edit64_on.png differ diff --git a/1517060309/20171025/pages/example/images/email64.png b/1517060309/20171025/pages/example/images/email64.png new file mode 100644 index 0000000..9b6917f Binary files /dev/null and b/1517060309/20171025/pages/example/images/email64.png differ diff --git a/1517060309/20171025/pages/example/images/email64_on.png b/1517060309/20171025/pages/example/images/email64_on.png new file mode 100644 index 0000000..334d051 Binary files /dev/null and b/1517060309/20171025/pages/example/images/email64_on.png differ diff --git a/1517060309/20171025/pages/example/images/explore64.png b/1517060309/20171025/pages/example/images/explore64.png new file mode 100644 index 0000000..abd6075 Binary files /dev/null and b/1517060309/20171025/pages/example/images/explore64.png differ diff --git a/1517060309/20171025/pages/example/images/explore64_on.png b/1517060309/20171025/pages/example/images/explore64_on.png new file mode 100644 index 0000000..b03a753 Binary files /dev/null and b/1517060309/20171025/pages/example/images/explore64_on.png differ diff --git a/1517060309/20171025/pages/example/images/f.png b/1517060309/20171025/pages/example/images/f.png new file mode 100644 index 0000000..787a0c5 Binary files /dev/null and b/1517060309/20171025/pages/example/images/f.png differ diff --git a/1517060309/20171025/pages/example/images/g.png b/1517060309/20171025/pages/example/images/g.png new file mode 100644 index 0000000..727ddbd Binary files /dev/null and b/1517060309/20171025/pages/example/images/g.png differ diff --git a/1517060309/20171025/pages/example/images/gh_3f30c746ba34.png b/1517060309/20171025/pages/example/images/gh_3f30c746ba34.png new file mode 100644 index 0000000..2a6e0b2 Binary files /dev/null and b/1517060309/20171025/pages/example/images/gh_3f30c746ba34.png differ diff --git a/1517060309/20171025/pages/example/images/h.png b/1517060309/20171025/pages/example/images/h.png new file mode 100644 index 0000000..765a1d0 Binary files /dev/null and b/1517060309/20171025/pages/example/images/h.png differ diff --git a/1517060309/20171025/pages/example/images/hat24.png b/1517060309/20171025/pages/example/images/hat24.png new file mode 100644 index 0000000..6e004b2 Binary files /dev/null and b/1517060309/20171025/pages/example/images/hat24.png differ diff --git a/1517060309/20171025/pages/example/images/hat24_on.png b/1517060309/20171025/pages/example/images/hat24_on.png new file mode 100644 index 0000000..564af2e Binary files /dev/null and b/1517060309/20171025/pages/example/images/hat24_on.png differ diff --git a/1517060309/20171025/pages/example/images/home64.png b/1517060309/20171025/pages/example/images/home64.png new file mode 100644 index 0000000..138b099 Binary files /dev/null and b/1517060309/20171025/pages/example/images/home64.png differ diff --git a/1517060309/20171025/pages/example/images/home64_on.png b/1517060309/20171025/pages/example/images/home64_on.png new file mode 100644 index 0000000..13b6120 Binary files /dev/null and b/1517060309/20171025/pages/example/images/home64_on.png differ diff --git a/1517060309/20171025/pages/example/images/i.png b/1517060309/20171025/pages/example/images/i.png new file mode 100644 index 0000000..ae291a6 Binary files /dev/null and b/1517060309/20171025/pages/example/images/i.png differ diff --git a/1517060309/20171025/pages/example/images/icon_footer.png b/1517060309/20171025/pages/example/images/icon_footer.png new file mode 100644 index 0000000..8e65c75 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_footer.png differ diff --git a/1517060309/20171025/pages/example/images/icon_footer_link.png b/1517060309/20171025/pages/example/images/icon_footer_link.png new file mode 100644 index 0000000..8e65c75 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_footer_link.png differ diff --git a/1517060309/20171025/pages/example/images/icon_intro.png b/1517060309/20171025/pages/example/images/icon_intro.png new file mode 100644 index 0000000..d2bf4a5 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_intro.png differ diff --git a/1517060309/20171025/pages/example/images/icon_nav_feedback.png b/1517060309/20171025/pages/example/images/icon_nav_feedback.png new file mode 100644 index 0000000..8c03743 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_nav_feedback.png differ diff --git a/1517060309/20171025/pages/example/images/icon_nav_form.png b/1517060309/20171025/pages/example/images/icon_nav_form.png new file mode 100644 index 0000000..9d2addb Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_nav_form.png differ diff --git a/1517060309/20171025/pages/example/images/icon_nav_nav.png b/1517060309/20171025/pages/example/images/icon_nav_nav.png new file mode 100644 index 0000000..b4fe0f6 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_nav_nav.png differ diff --git a/1517060309/20171025/pages/example/images/icon_nav_search.png b/1517060309/20171025/pages/example/images/icon_nav_search.png new file mode 100644 index 0000000..6efea86 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_nav_search.png differ diff --git a/1517060309/20171025/pages/example/images/icon_nav_special.png b/1517060309/20171025/pages/example/images/icon_nav_special.png new file mode 100644 index 0000000..7c46cf9 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_nav_special.png differ diff --git a/1517060309/20171025/pages/example/images/icon_nav_widget.png b/1517060309/20171025/pages/example/images/icon_nav_widget.png new file mode 100644 index 0000000..1d07c1f Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_nav_widget.png differ diff --git a/1517060309/20171025/pages/example/images/icon_nav_z-index.png b/1517060309/20171025/pages/example/images/icon_nav_z-index.png new file mode 100644 index 0000000..f32f620 Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_nav_z-index.png differ diff --git a/1517060309/20171025/pages/example/images/icon_tabbar.png b/1517060309/20171025/pages/example/images/icon_tabbar.png new file mode 100644 index 0000000..20b30ab Binary files /dev/null and b/1517060309/20171025/pages/example/images/icon_tabbar.png differ diff --git a/1517060309/20171025/pages/example/images/item.png b/1517060309/20171025/pages/example/images/item.png new file mode 100644 index 0000000..fb99e53 Binary files /dev/null and b/1517060309/20171025/pages/example/images/item.png differ diff --git a/1517060309/20171025/pages/example/images/item_on.png b/1517060309/20171025/pages/example/images/item_on.png new file mode 100644 index 0000000..2b08020 Binary files /dev/null and b/1517060309/20171025/pages/example/images/item_on.png differ diff --git a/1517060309/20171025/pages/example/images/j.png b/1517060309/20171025/pages/example/images/j.png new file mode 100644 index 0000000..9f63802 Binary files /dev/null and b/1517060309/20171025/pages/example/images/j.png differ diff --git a/1517060309/20171025/pages/example/images/k.png b/1517060309/20171025/pages/example/images/k.png new file mode 100644 index 0000000..c353a87 Binary files /dev/null and b/1517060309/20171025/pages/example/images/k.png differ diff --git a/1517060309/20171025/pages/example/images/l.png b/1517060309/20171025/pages/example/images/l.png new file mode 100644 index 0000000..7c55c92 Binary files /dev/null and b/1517060309/20171025/pages/example/images/l.png differ diff --git a/1517060309/20171025/pages/example/images/like64.png b/1517060309/20171025/pages/example/images/like64.png new file mode 100644 index 0000000..f4a6d29 Binary files /dev/null and b/1517060309/20171025/pages/example/images/like64.png differ diff --git a/1517060309/20171025/pages/example/images/like64_on.png b/1517060309/20171025/pages/example/images/like64_on.png new file mode 100644 index 0000000..c2a56b7 Binary files /dev/null and b/1517060309/20171025/pages/example/images/like64_on.png differ diff --git a/1517060309/20171025/pages/example/images/logo.png b/1517060309/20171025/pages/example/images/logo.png new file mode 100644 index 0000000..0810604 Binary files /dev/null and b/1517060309/20171025/pages/example/images/logo.png differ diff --git a/1517060309/20171025/pages/example/images/lufei.jpg b/1517060309/20171025/pages/example/images/lufei.jpg new file mode 100644 index 0000000..7d03f2e Binary files /dev/null and b/1517060309/20171025/pages/example/images/lufei.jpg differ diff --git a/1517060309/20171025/pages/example/images/luobin.jpg b/1517060309/20171025/pages/example/images/luobin.jpg new file mode 100644 index 0000000..19734ec Binary files /dev/null and b/1517060309/20171025/pages/example/images/luobin.jpg differ diff --git a/1517060309/20171025/pages/example/images/m.png b/1517060309/20171025/pages/example/images/m.png new file mode 100644 index 0000000..519a813 Binary files /dev/null and b/1517060309/20171025/pages/example/images/m.png differ diff --git a/1517060309/20171025/pages/example/images/mail24.png b/1517060309/20171025/pages/example/images/mail24.png new file mode 100644 index 0000000..f59bcba Binary files /dev/null and b/1517060309/20171025/pages/example/images/mail24.png differ diff --git a/1517060309/20171025/pages/example/images/mail24_on.png b/1517060309/20171025/pages/example/images/mail24_on.png new file mode 100644 index 0000000..d28d32e Binary files /dev/null and b/1517060309/20171025/pages/example/images/mail24_on.png differ diff --git a/1517060309/20171025/pages/example/images/n.png b/1517060309/20171025/pages/example/images/n.png new file mode 100644 index 0000000..698d30c Binary files /dev/null and b/1517060309/20171025/pages/example/images/n.png differ diff --git a/1517060309/20171025/pages/example/images/namei.jpg b/1517060309/20171025/pages/example/images/namei.jpg new file mode 100644 index 0000000..1533b52 Binary files /dev/null and b/1517060309/20171025/pages/example/images/namei.jpg differ diff --git a/1517060309/20171025/pages/example/images/o.png b/1517060309/20171025/pages/example/images/o.png new file mode 100644 index 0000000..5b1fb9c Binary files /dev/null and b/1517060309/20171025/pages/example/images/o.png differ diff --git a/1517060309/20171025/pages/example/images/p.png b/1517060309/20171025/pages/example/images/p.png new file mode 100644 index 0000000..c995cb3 Binary files /dev/null and b/1517060309/20171025/pages/example/images/p.png differ diff --git a/1517060309/20171025/pages/example/images/pic_160.png b/1517060309/20171025/pages/example/images/pic_160.png new file mode 100644 index 0000000..ba94170 Binary files /dev/null and b/1517060309/20171025/pages/example/images/pic_160.png differ diff --git a/1517060309/20171025/pages/example/images/pic_article.png b/1517060309/20171025/pages/example/images/pic_article.png new file mode 100644 index 0000000..c240812 Binary files /dev/null and b/1517060309/20171025/pages/example/images/pic_article.png differ diff --git a/1517060309/20171025/pages/example/images/post24.png b/1517060309/20171025/pages/example/images/post24.png new file mode 100644 index 0000000..0c016bb Binary files /dev/null and b/1517060309/20171025/pages/example/images/post24.png differ diff --git a/1517060309/20171025/pages/example/images/q.png b/1517060309/20171025/pages/example/images/q.png new file mode 100644 index 0000000..4d58605 Binary files /dev/null and b/1517060309/20171025/pages/example/images/q.png differ diff --git a/1517060309/20171025/pages/example/images/qiaoba.jpg b/1517060309/20171025/pages/example/images/qiaoba.jpg new file mode 100644 index 0000000..2e0ffa6 Binary files /dev/null and b/1517060309/20171025/pages/example/images/qiaoba.jpg differ diff --git a/1517060309/20171025/pages/example/images/r.png b/1517060309/20171025/pages/example/images/r.png new file mode 100644 index 0000000..993fca2 Binary files /dev/null and b/1517060309/20171025/pages/example/images/r.png differ diff --git a/1517060309/20171025/pages/example/images/s.png b/1517060309/20171025/pages/example/images/s.png new file mode 100644 index 0000000..7126b55 Binary files /dev/null and b/1517060309/20171025/pages/example/images/s.png differ diff --git a/1517060309/20171025/pages/example/images/scholar24.png b/1517060309/20171025/pages/example/images/scholar24.png new file mode 100644 index 0000000..61134cb Binary files /dev/null and b/1517060309/20171025/pages/example/images/scholar24.png differ diff --git a/1517060309/20171025/pages/example/images/shanzhi.jpg b/1517060309/20171025/pages/example/images/shanzhi.jpg new file mode 100644 index 0000000..3917c2f Binary files /dev/null and b/1517060309/20171025/pages/example/images/shanzhi.jpg differ diff --git a/1517060309/20171025/pages/example/images/star64.png b/1517060309/20171025/pages/example/images/star64.png new file mode 100644 index 0000000..3cd9625 Binary files /dev/null and b/1517060309/20171025/pages/example/images/star64.png differ diff --git a/1517060309/20171025/pages/example/images/star64_on.png b/1517060309/20171025/pages/example/images/star64_on.png new file mode 100644 index 0000000..b3e0428 Binary files /dev/null and b/1517060309/20171025/pages/example/images/star64_on.png differ diff --git a/1517060309/20171025/pages/example/images/suolong.jpg b/1517060309/20171025/pages/example/images/suolong.jpg new file mode 100644 index 0000000..6e25094 Binary files /dev/null and b/1517060309/20171025/pages/example/images/suolong.jpg differ diff --git a/1517060309/20171025/pages/example/images/t.png b/1517060309/20171025/pages/example/images/t.png new file mode 100644 index 0000000..09d024b Binary files /dev/null and b/1517060309/20171025/pages/example/images/t.png differ diff --git a/1517060309/20171025/pages/example/images/tags/agricultural.png b/1517060309/20171025/pages/example/images/tags/agricultural.png new file mode 100644 index 0000000..5c845e5 Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/agricultural.png differ diff --git a/1517060309/20171025/pages/example/images/tags/architecture.png b/1517060309/20171025/pages/example/images/tags/architecture.png new file mode 100644 index 0000000..5ead570 Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/architecture.png differ diff --git a/1517060309/20171025/pages/example/images/tags/art.png b/1517060309/20171025/pages/example/images/tags/art.png new file mode 100644 index 0000000..bdb8569 Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/art.png differ diff --git a/1517060309/20171025/pages/example/images/tags/biology.png b/1517060309/20171025/pages/example/images/tags/biology.png new file mode 100644 index 0000000..4d11dbd Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/biology.png differ diff --git a/1517060309/20171025/pages/example/images/tags/chemistry.png b/1517060309/20171025/pages/example/images/tags/chemistry.png new file mode 100644 index 0000000..a131f07 Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/chemistry.png differ diff --git a/1517060309/20171025/pages/example/images/tags/computer.png b/1517060309/20171025/pages/example/images/tags/computer.png new file mode 100644 index 0000000..23abe5a Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/computer.png differ diff --git a/1517060309/20171025/pages/example/images/tags/economics.png b/1517060309/20171025/pages/example/images/tags/economics.png new file mode 100644 index 0000000..115ee8f Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/economics.png differ diff --git a/1517060309/20171025/pages/example/images/tags/education.png b/1517060309/20171025/pages/example/images/tags/education.png new file mode 100644 index 0000000..f9d1161 Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/education.png differ diff --git a/1517060309/20171025/pages/example/images/tags/history.png b/1517060309/20171025/pages/example/images/tags/history.png new file mode 100644 index 0000000..feaedca Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/history.png differ diff --git a/1517060309/20171025/pages/example/images/tags/mathematics.png b/1517060309/20171025/pages/example/images/tags/mathematics.png new file mode 100644 index 0000000..20b4727 Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/mathematics.png differ diff --git a/1517060309/20171025/pages/example/images/tags/medicine.png b/1517060309/20171025/pages/example/images/tags/medicine.png new file mode 100644 index 0000000..ac87980 Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/medicine.png differ diff --git a/1517060309/20171025/pages/example/images/tags/physical.png b/1517060309/20171025/pages/example/images/tags/physical.png new file mode 100644 index 0000000..e2346bd Binary files /dev/null and b/1517060309/20171025/pages/example/images/tags/physical.png differ diff --git a/1517060309/20171025/pages/example/images/upload64.png b/1517060309/20171025/pages/example/images/upload64.png new file mode 100644 index 0000000..33e2c02 Binary files /dev/null and b/1517060309/20171025/pages/example/images/upload64.png differ diff --git a/1517060309/20171025/pages/example/images/upload64_on.png b/1517060309/20171025/pages/example/images/upload64_on.png new file mode 100644 index 0000000..d334443 Binary files /dev/null and b/1517060309/20171025/pages/example/images/upload64_on.png differ diff --git a/1517060309/20171025/pages/example/images/user64.png b/1517060309/20171025/pages/example/images/user64.png new file mode 100644 index 0000000..1030fc9 Binary files /dev/null and b/1517060309/20171025/pages/example/images/user64.png differ diff --git a/1517060309/20171025/pages/example/images/user64_on.png b/1517060309/20171025/pages/example/images/user64_on.png new file mode 100644 index 0000000..375614b Binary files /dev/null and b/1517060309/20171025/pages/example/images/user64_on.png differ diff --git a/1517060309/20171025/pages/example/images/vcode.jpg b/1517060309/20171025/pages/example/images/vcode.jpg new file mode 100644 index 0000000..de54b38 Binary files /dev/null and b/1517060309/20171025/pages/example/images/vcode.jpg differ diff --git a/1517060309/20171025/pages/example/index.js b/1517060309/20171025/pages/example/index.js new file mode 100644 index 0000000..aee218e --- /dev/null +++ b/1517060309/20171025/pages/example/index.js @@ -0,0 +1,49 @@ +Page({ + data: { + list: [ + { + id: 'form', + name: '表单', + open: false, + pages: ['button', 'list', 'input', 'slider', 'uploader'] + }, + { + id: 'widget', + name: '基础组件', + open: false, + pages: ['article', 'badge', 'flex', 'footer', 'gallery', 'grid', 'icons', 'loadmore', 'panel', 'preview', 'progress'] + }, + { + id: 'feedback', + name: '操作反馈', + open: false, + pages: ['actionsheet', 'dialog', 'msg', 'picker', 'toast'] + }, + { + id: 'nav', + name: '导航相关', + open: false, + pages: ['navbar', 'tabbar'] + }, + { + id: 'search', + name: '搜索相关', + open: false, + pages: ['searchbar'] + } + ] + }, + kindToggle: function (e) { + var id = e.currentTarget.id, list = this.data.list; + for (var i = 0, len = list.length; i < len; ++i) { + if (list[i].id == id) { + list[i].open = !list[i].open + } else { + list[i].open = false + } + } + this.setData({ + list: list + }); + } +}); diff --git a/1517060309/20171025/pages/example/index.wxml b/1517060309/20171025/pages/example/index.wxml new file mode 100644 index 0000000..4d8eef9 --- /dev/null +++ b/1517060309/20171025/pages/example/index.wxml @@ -0,0 +1,31 @@ + + + WeUI + WeUI 是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信内网页和微信小程序量身设计,令用户的使用感知更加统一。 + + + + + + + {{item.name}} + + + + + + + {{page}} + + + + + + + + + + + + + \ No newline at end of file diff --git a/1517060309/20171025/pages/example/index.wxss b/1517060309/20171025/pages/example/index.wxss new file mode 100644 index 0000000..7d9120a --- /dev/null +++ b/1517060309/20171025/pages/example/index.wxss @@ -0,0 +1,53 @@ +.weui-flex { + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.weui-cells { + margin-top: 0; + opacity: 0; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + -webkit-transition: .3s; + transition: .3s; +} +.weui-cells:before, +.weui-cells:after { + display: none; +} +.weui-cells_show { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); +} +.weui-cell:before { + right: 15px; +} +.kind-list__item { + margin: 10px 0; + background-color: #FFFFFF; + border-radius: 2px; + overflow: hidden; +} +.kind-list__item:first-child { + margin-top: 0; +} +.kind-list__img { + width: 30px; + height: 30px; +} +.kind-list__item-hd { + padding: 20px; + -webkit-transition: opacity .3s; + transition: opacity .3s; +} +.kind-list__item-hd_show { + opacity: .4; +} +.kind-list__item-bd { + height: 0; + overflow: hidden; +} +.kind-list__item-bd_show { + height: auto; +} diff --git a/1517060309/20171025/pages/example/input/input.js b/1517060309/20171025/pages/example/input/input.js new file mode 100644 index 0000000..421dec5 --- /dev/null +++ b/1517060309/20171025/pages/example/input/input.js @@ -0,0 +1,106 @@ +Page({ + data: { + showTopTips: false, + + radioItems: [ + {name: 'cell standard', value: '0'}, + {name: 'cell standard', value: '1', checked: true} + ], + checkboxItems: [ + {name: 'standard is dealt for u.', value: '0', checked: true}, + {name: 'standard is dealicient for u.', value: '1'} + ], + + date: "2016-09-01", + time: "12:01", + + countryCodes: ["+86", "+80", "+84", "+87"], + countryCodeIndex: 0, + + countries: ["中国", "美国", "英国"], + countryIndex: 0, + + accounts: ["微信号", "QQ", "Email"], + accountIndex: 0, + + isAgree: false + }, + showTopTips: function(){ + var that = this; + this.setData({ + showTopTips: true + }); + setTimeout(function(){ + that.setData({ + showTopTips: false + }); + }, 3000); + }, + radioChange: function (e) { + console.log('radio发生change事件,携带value值为:', e.detail.value); + + var radioItems = this.data.radioItems; + for (var i = 0, len = radioItems.length; i < len; ++i) { + radioItems[i].checked = radioItems[i].value == e.detail.value; + } + + this.setData({ + radioItems: radioItems + }); + }, + checkboxChange: function (e) { + console.log('checkbox发生change事件,携带value值为:', e.detail.value); + + var checkboxItems = this.data.checkboxItems, values = e.detail.value; + for (var i = 0, lenI = checkboxItems.length; i < lenI; ++i) { + checkboxItems[i].checked = false; + + for (var j = 0, lenJ = values.length; j < lenJ; ++j) { + if(checkboxItems[i].value == values[j]){ + checkboxItems[i].checked = true; + break; + } + } + } + + this.setData({ + checkboxItems: checkboxItems + }); + }, + bindDateChange: function (e) { + this.setData({ + date: e.detail.value + }) + }, + bindTimeChange: function (e) { + this.setData({ + time: e.detail.value + }) + }, + bindCountryCodeChange: function(e){ + console.log('picker country code 发生选择改变,携带值为', e.detail.value); + + this.setData({ + countryCodeIndex: e.detail.value + }) + }, + bindCountryChange: function(e) { + console.log('picker country 发生选择改变,携带值为', e.detail.value); + + this.setData({ + countryIndex: e.detail.value + }) + }, + bindAccountChange: function(e) { + console.log('picker account 发生选择改变,携带值为', e.detail.value); + + this.setData({ + accountIndex: e.detail.value + }) + }, + bindAgreeChange: function (e) { + this.setData({ + isAgree: !!e.detail.value.length + }); + } +}); \ No newline at end of file diff --git a/1517060309/20171025/pages/example/input/input.wxml b/1517060309/20171025/pages/example/input/input.wxml new file mode 100644 index 0000000..7669d1f --- /dev/null +++ b/1517060309/20171025/pages/example/input/input.wxml @@ -0,0 +1,194 @@ + + + Input + 表单输入 + + + 错误提示 + + 单选列表项 + + + + + + 添加更多 + + + + 复选列表项 + + + + + + 添加更多 + + + + 表单 + + + + qq + + + + + + + + 手机号 + + + + + + 获取验证码 + + + + + 日期 + + + + {{date}} + + + + + + 时间 + + + + {{time}} + + + + + + 验证码 + + + + + + + + + + 底部说明文字底部说明文字 + + 表单报错 + + + + 卡号 + + + + + + + + + + + 开关 + + + 标题文字 + + + + + + + 文本框 + + + + + + + + + 文本域 + + + +