From 25c037b274f5e014d0eec7bb34708e9a980a97c2 Mon Sep 17 00:00:00 2001 From: lsl Date: Sat, 20 May 2023 22:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9C=80=E6=96=B0=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 4 +- components/popover-item.js | 40 + components/popover-item.json | 4 + components/popover-item.wxml | 3 + components/popover-item.wxss | 14 + components/popover.js | 99 ++ components/popover.json | 4 + components/popover.wxml | 6 + components/popover.wxss | 40 + pages/home/xx/index.js | 4 - pages/home/xx/index.wxss | 17 + pages/home/xx/lindex/lindex.js | 416 ++++++- pages/home/xx/lindex/lindex.json | 4 +- pages/home/xx/lindex/lindex.wxml | 246 +++- pages/home/xx/lindex/lindex.wxss | 508 +++++++- pages/home/xx/lindex/lxz/assets/iconfont.wxss | 240 ++++ pages/home/xx/lindex/lxz/assets/print.png | Bin 0 -> 2841 bytes pages/home/xx/lindex/lxz/common/foot.wxml | 5 + pages/home/xx/lindex/lxz/common/head.wxml | 7 + pages/home/xx/lindex/lxz/common/index.wxss | 111 ++ pages/home/xx/lindex/lxz/common/lib/weui.wxss | 1042 +++++++++++++++++ pages/home/xx/lindex/lxz/lxz.js | 115 ++ pages/home/xx/lindex/lxz/lxz.json | 7 + pages/home/xx/lindex/lxz/lxz.wxml | 36 + pages/home/xx/lindex/lxz/lxz.wxss | 159 +++ pages/home/xx/lindex/xz/xz.js | 66 ++ pages/home/xx/lindex/xz/xz.json | 3 + pages/home/xx/lindex/xz/xz.wxml | 2 + pages/home/xx/lindex/xz/xz.wxss | 1 + pages/index/index.js | 21 + project.private.config.json | 20 + 31 files changed, 3167 insertions(+), 77 deletions(-) create mode 100644 components/popover-item.js create mode 100644 components/popover-item.json create mode 100644 components/popover-item.wxml create mode 100644 components/popover-item.wxss create mode 100644 components/popover.js create mode 100644 components/popover.json create mode 100644 components/popover.wxml create mode 100644 components/popover.wxss create mode 100644 pages/home/xx/lindex/lxz/assets/iconfont.wxss create mode 100644 pages/home/xx/lindex/lxz/assets/print.png create mode 100644 pages/home/xx/lindex/lxz/common/foot.wxml create mode 100644 pages/home/xx/lindex/lxz/common/head.wxml create mode 100644 pages/home/xx/lindex/lxz/common/index.wxss create mode 100644 pages/home/xx/lindex/lxz/common/lib/weui.wxss create mode 100644 pages/home/xx/lindex/lxz/lxz.js create mode 100644 pages/home/xx/lindex/lxz/lxz.json create mode 100644 pages/home/xx/lindex/lxz/lxz.wxml create mode 100644 pages/home/xx/lindex/lxz/lxz.wxss create mode 100644 pages/home/xx/lindex/xz/xz.js create mode 100644 pages/home/xx/lindex/xz/xz.json create mode 100644 pages/home/xx/lindex/xz/xz.wxml create mode 100644 pages/home/xx/lindex/xz/xz.wxss diff --git a/app.json b/app.json index 36dbe6b..309e5e6 100644 --- a/app.json +++ b/app.json @@ -30,7 +30,9 @@ "pages/home/xx/hy/hx/hx", "pages/home/xx/hy/xz/zt", "pages/home/xx/hy/zt/zt", - "pages/home/xx/lindex/lindex" + "pages/home/xx/lindex/lindex", + "pages/home/xx/lindex/xz/xz", + "pages/home/xx/lindex/lxz/lxz" ], "window": { "backgroundTextStyle": "light", diff --git a/components/popover-item.js b/components/popover-item.js new file mode 100644 index 0000000..8a75246 --- /dev/null +++ b/components/popover-item.js @@ -0,0 +1,40 @@ + +Component({ + relations: { + './popover': { + type: 'parent' + } + }, + /** + * 组件的属性列表 + */ + properties: { + // 是否有底线 + hasline: { + type: Boolean, + value: false + } + }, + + /** + * 组件的初始数据 + */ + data: { + // 每项的高度 + height: 40 + }, + + /** + * 组件的方法列表 + */ + methods: { + onClick: function() { + let { index } = this.properties; + let eventDetail = { + index: index + }; + let eventOption = {}; + this.triggerEvent('tap', eventDetail, eventOption); + } + } +}) diff --git a/components/popover-item.json b/components/popover-item.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/components/popover-item.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/components/popover-item.wxml b/components/popover-item.wxml new file mode 100644 index 0000000..f0e47d3 --- /dev/null +++ b/components/popover-item.wxml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/components/popover-item.wxss b/components/popover-item.wxss new file mode 100644 index 0000000..f38aaea --- /dev/null +++ b/components/popover-item.wxss @@ -0,0 +1,14 @@ +.popover-item { + width: 100%; + font-size: 14px; + text-align: center; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.popover-item-hover { + background-color: #EEE; +} +.underline{ + border-bottom:1px #EEE solid; +} \ No newline at end of file diff --git a/components/popover.js b/components/popover.js new file mode 100644 index 0000000..7452688 --- /dev/null +++ b/components/popover.js @@ -0,0 +1,99 @@ +const { windowWidth, windowHeight } = wx.getSystemInfoSync(); + +// 三角形箭头的高度 +const trangleHeight = 12; + +Component({ + relations: { + './popover-item': { + type: 'child' + } + }, + + data: { + // 当前显隐状态 + visible: false, + // popover 宽 + pw: 100, + // popover 高 + ph: 120, + // popover 距左距离 + px: 0, + // popover 距上距离 + py: 0, + // 垂直方向 top/bottom + vertical: '', + // 水平方向 left/center/right + align: '' + }, + + methods: { + onDisplay: function(e) { + let self = this; + + if (self.last && self.last === e.id) { + self.setData({ + visible: !self.data.visible + }); + } else { + wx.createSelectorQuery().selectViewport().scrollOffset(view => { + let { pw, ph, px, py, vertical, align } = self.data; + + let pOverW = (pw - e.width) / 2; + + let offsetL = e.left, + offsetR = windowWidth - e.right, + offsetB = windowHeight - e.bottom; + + if (offsetL >= pOverW && offsetR >= pOverW) { + align = 'center'; + px = e.left - pOverW; + } else if (offsetL > pOverW && offsetR < pOverW) { + align = 'left'; + px = windowWidth - (offsetR + pw); + // 如果向右贴边了,设置一点距离 + if ((windowWidth - pw) == px) px -= 5; + } else if (offsetL < pOverW && offsetR > pOverW) { + align = 'right'; + px = e.left; + // 如果向左贴边了,设置一点距离 + if (px == 0) px += 5; + } + + if (offsetB >= (ph + trangleHeight)) { + vertical = 'bottom'; + py = view.scrollTop + e.bottom + trangleHeight; + } else { + vertical = 'top'; + py = view.scrollTop + e.top - ph - trangleHeight; + } + + self.setData({ + visible: true, + px: px, + py: py, + ph: self.getItemsHeight(), + vertical: vertical, + align: align + }); + }).exec(); + } + // 记录上一次点击的元素 + self.last = e.id; + }, + onHide: function() { + this.setData({ + visible: false + }); + }, + // 获取所有子元素 + getItems: function() { + return this.getRelationNodes('./popover-item'); + }, + // 获取所有子元素的总高度 + getItemsHeight() { + return this.getItems().map(item => item.data.height).reduce((a, b) => a + b, 0); + } + } + +}) \ No newline at end of file diff --git a/components/popover.json b/components/popover.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/components/popover.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/components/popover.wxml b/components/popover.wxml new file mode 100644 index 0000000..6ba8b49 --- /dev/null +++ b/components/popover.wxml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/components/popover.wxss b/components/popover.wxss new file mode 100644 index 0000000..2d35453 --- /dev/null +++ b/components/popover.wxss @@ -0,0 +1,40 @@ +.popover-view { + position: absolute; + background-color: white; + box-shadow: 0 0 2px 2px #ddd; + border-radius: 6rpx; +} +/* 实现三角形 */ +.popover-view::before { + position: absolute; + display: inline-block; + width: 0; + height: 0px; + content: ''; + border-style: solid; + border-width: 6px; + border-color: #fff #fff transparent transparent; + box-shadow: 2px -2px 2px #ddd; +} +/* 上 */ +.popover-view.top::before { + bottom: -6px; + transform: rotate(135deg); +} +/* 下 */ +.popover-view.bottom::before { + top: -6px; + transform: rotate(-45deg); +} +/* 左 */ +.popover-view.left::before { + right: 20px; +} +/* 中 */ +.popover-view.center::before { + left: 47px; +} +/* 右 */ +.popover-view.right::before { + left: 20px; +} \ No newline at end of file diff --git a/pages/home/xx/index.js b/pages/home/xx/index.js index 8304621..fb56b7c 100644 --- a/pages/home/xx/index.js +++ b/pages/home/xx/index.js @@ -25,20 +25,16 @@ Page({ req.getRequest('/api/user/curt/message/lover',{}).then((res)=>{ if(res.data.code==200){ this.setData({messages:res.data.data.records}) - console.log("这是打印,。。。。") - console.log(this.data.messages) } }).catch((err)=>{ console.log(err); }) }, doQueryInit(){ - console.log('查询。。。。') req.getRequest('/api/user/curt',{}).then((res)=>{ if(res.data.code==200){ this.setData({hasLover:res.data.data.hasLover}) this.setData({userInfo:res.data.data}) - console.log(this.data.userInfo) if(res.data.data.hasLover){ wx.navigateTo({ url: '/pages/home/xx/lindex/lindex' diff --git a/pages/home/xx/index.wxss b/pages/home/xx/index.wxss index 0baeace..90495af 100644 --- a/pages/home/xx/index.wxss +++ b/pages/home/xx/index.wxss @@ -502,4 +502,21 @@ font-family: SourceHanSansSC-regular; width:750rpx ; height: 1624rpx; z-index: 999; +} +.xzylanbtn{ + position: absolute; + + top: 396px; + width: 105px; + height: 35px; + line-height: 70rpx; + border-radius: 10px; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + text-align: center; + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); + border: 3px solid rgba(255, 255, 255, 1); + color: rgba(255, 255, 255, 1); + font-size: 14px; + text-align: center; + font-family: SourceHanSansSC-medium; } \ No newline at end of file diff --git a/pages/home/xx/lindex/lindex.js b/pages/home/xx/lindex/lindex.js index cad550a..f72931b 100644 --- a/pages/home/xx/lindex/lindex.js +++ b/pages/home/xx/lindex/lindex.js @@ -7,6 +7,27 @@ Page({ * 页面的初始数据 */ data: { + formats: {}, + readOnly: false, + placeholder: '开始输入...', + editorHeight: 300, + keyboardHeight: 0, + isIOS: false,//文本编辑器相关 + placeholder:'请输入文字', + xinzhaVisible:false, + luYInRes:'',//点击录音弹出的录音资源 + RM:'', + xhCstP:[,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,], + timer:null, + minute: 0, // 分 + second: 0 , // 秒 + millisecond:0, + dsQTime:'00:00:00', + luYinStatus:0,//录音状态,0代表还没开始,1代表进行中,2代表录音完毕 + delId:'', + luyinVisible:false, + imgPicUrl:'', + dkTpVisible:false, ztDetial:{},//打开纸条弹窗详情 dkZtVisible:false,//打开纸条弹窗 ztText:"", @@ -16,28 +37,333 @@ Page({ hasLover:false,// 是否单身 userInfo:{} - },go2Reback(){ + }, + //编辑器相关 + readOnlyChange() { + this.setData({ + readOnly: !this.data.readOnly + }) + }, + updatePosition(keyboardHeight) { + const toolbarHeight = 50 + const { windowHeight, platform } = wx.getSystemInfoSync() + let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight + this.setData({ editorHeight, keyboardHeight }) + }, + calNavigationBarAndStatusBar() { + const systemInfo = wx.getSystemInfoSync() + const { statusBarHeight, platform } = systemInfo + const isIOS = platform === 'ios' + const navigationBarHeight = isIOS ? 44 : 48 + return statusBarHeight + navigationBarHeight + }, + onEditorReady() { + const that = this + wx.createSelectorQuery().select('#editor').context(function (res) { + that.editorCtx = res.context + }).exec() + }, + blur() { + this.editorCtx.blur() + }, + format(e) { + let { name, value } = e.target.dataset + if (!name) return + // console.log('format', name, value) + this.editorCtx.format(name, value) + + }, + onStatusChange(e) { + const formats = e.detail + this.setData({ formats }) + }, + insertDivider() { + this.editorCtx.insertDivider({ + success: function () { + console.log('insert divider success') + } + }) + }, + clear() { + this.editorCtx.clear({ + success: function (res) { + console.log("clear success") + } + }) + }, + removeFormat() { + this.editorCtx.removeFormat() + }, + insertDate() { + const date = new Date() + const formatDate = `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}` + this.editorCtx.insertText({ + text: formatDate + }) + }, + insertImage() { + const that = this + wx.chooseImage({ + count: 1, + success: function (res) { + that.editorCtx.insertImage({ + src: res.tempFilePaths[0], + data: { + id: 'abcd', + role: 'god' + }, + width: '80%', + success: function () { + console.log('insert image success') + } + }) + } + }) + }, + + + + + do2FsLuyin(){/**发送录音按钮 */ + this.data.RM.stop(); + console.log('发送录音') + this.setData({luyinVisible:false}) + let tt= this + this.data.RM.onStop((res)=>{ + //录音时长判断 + console.log('发送录音了1111。。') + // 先计算分钟 + let fz = 0 + let mz = 0 + let hm = 0 + if(res.duration>=60*1000){ + fz = Math.floor(res.duration/(60*1000)) + } + if(res.duration>=1000){ + mz = Math.floor((res.duration-fz*60*1000)/(60*1000)) + } + hm = res.duration - fz*60*1000-mz*1000 + let sec = Math.floor(res.duration/1000) + let ssec = fz+'\''+mz+'\'\''+hm+'\'\'\'' + console.log(ssec) + wx.uploadFile({ + url: 'https://xzjl-api.windymuse.cn/api/resource', + filePath: res.tempFilePath, + name: 'file', + header: { + 'Authorization': wx.getStorageSync('token'), + 'Content-Type': 'multipart/form-data' + }, + formData: { + type: 'audio' + + }, + success(res){ + let data = JSON.parse(res.data); + let id = data.data.id + req.postRequest('/api/user/curt/message/lover',{"type": "audio","resourceId": id,extra:{ + ssec:ssec + }}).then((res)=>{ + tt.onLoad() + if(res.data.code==200){ + console.log(res.data) + } + }).catch((err)=>{ + console.log(err); + }) + }, + + fail(res) { + showToast('图片上传失败'); + } + }) + + + + console.log(res)//这里是必须写完成事件的,因为最后的文件,就在这里面; + res.tempFilePath;//是临时的文件地址 + res.duration;//录音的时长 + res.fileSize;//文件的大小 + }) + }, + doStopLuyin(){ + this.setData({luYinStatus:2}) + clearInterval(this.data.timer) + console.log('结束录音') + this.data.RM.pause() + + }, + doStartLuyin(){ + this.setData({RM:wx.getRecorderManager()}) + let option = { + duration:10000, //录音的时长,之前最大值好像只有1分钟,现在最长可以录音10分钟 + format:'mp3', //录音的格式,有aac和mp3两种 + } + this.data.RM.start(option); + console.log(this.data.RM) + this.setData({luYinStatus:1}) + console.log('开始录音。。。') + this.setData({ + minute:0, + second:0, + millisecond:0 + }) + this.data.timer = setInterval(this.counter,50) + // 开始定时器 + }, + counter:function(){ + + let second = this.data.second + let minute = this.data.minute + let millisecond = this.data.millisecond + this.setData({ + millisecond:millisecond+5 + }) + if(millisecond >=99){ + this.setData({ + millisecond:0, + second:second+1 + }) + } + if(second == 60){ + this.setData({ + second : 0, + minute:minute+1 + }) + } + if(this.data.minute==3){ + this.setData({ + dsQTime:'03:00:00' + }) + clearInterval(this.data.timer) + } + + let tt = '0'+minute + if(second<10){ + tt = tt + ":0"+second + }else{ + tt = tt + ":"+second + } + if(millisecond<10){ + tt = tt + ":0"+millisecond + }else{ + tt = tt + ":"+millisecond + } + + this.setData({ + dsQTime: tt + }) + + + }, + DsJs(){ + this.data.timer = setInterval(this.Dsq(),1) + }, + Dsq(){ + console.log('开始执行') + this.setData({second:this.data.second+1}) + this.setData({dsQTime:this.data.dsQTime+this.data.second+1}) + console.log(this.data.dsQTime) + }, + allTap(){ + this.popover.onHide(); + }, + // 响应popover组件中的子元素点击事件 + doDelXiaoxi(){ + req.deleteRequest('/api/user/curt/message/'+this.data.delId,{}).then((res)=>{ + this.popover.onHide(); + if(res.data.code==200){ + wx.showToast({ + title: '删除消息成功', + icon: 'none' + }); + this.onLoad() + }else{ + wx.showToast({ + title: res.data.msg, + icon: 'none' + }); + } + }).catch((err)=>{ + wx.showToast({ + title: '删除消息失败', + icon: 'none' + }); + console.log(err); + }) + }, + onClickA: function (e) { + wx.showToast({ + title: '你点击了A', + icon: 'none' + }); + // 调用自定义组件 popover 中的 onHide 方法 + this.popover.onHide(); + }, + changAn(e){ + if(!this.popover){ + this.popover = this.selectComponent('#popover'); + } + console.log('执行了长按。。。')// +e.currentTarget.dataset['index'] + console.log(e.currentTarget.dataset['id']) + this.setData({delId:e.currentTarget.dataset['id']}) + + // 获取按钮元素的坐标信息 + let id = 'button'// 或者 e.target.id 获取点击元素的 ID 值 + console.log(e.currentTarget.dataset['index']) + wx.createSelectorQuery().select('#' + e.currentTarget.dataset['index']).boundingClientRect(res => { + // 调用自定义组件 popover 中的 onDisplay 方法 + this.popover.onDisplay(res); + }).exec(); + + }, + go2BcPic(){/**保存图片 */ + let that= this; + wx.downloadFile({ + url: that.data.imgPicUrl,//图片的地址 + success:function(res){ + const tempFilePath = res.tempFilePath //通过res中的tempFilePath 得到需要下载的图片地址 + wx.saveImageToPhotosAlbum({ + filePath: tempFilePath, //设置下载图片的地址 + success:function(){ + wx.showToast({ + title: '保存图片成功', + }) + } + }) + } + }) + + }, + go2Reback1(){ + //wx.navigateBack({ changed: true }); + this.setData({dkTpVisible:false}) + }, + go2Reback(){ wx.switchTab({ url: '/pages/home/xy/index', }) }, + go2SeeHxDetail(e){ + this.setData({imgPicUrl:e.currentTarget.dataset.tp}) + this.setData({dkTpVisible:true}) + console.log(e.currentTarget.dataset.tp) + console.log('查看图片详情') + }, //bindtap="dKztDetial" data-xq="{{item}}" dKztDetial(e){/**查看详情 */ let detail = e.currentTarget.dataset['xq'] - console.log(detail) if(!detail.isSelf&&detail.status=='unread'){ // 不是自己发的消息,且消息状态为未读,需要设置消息状态为已读 ///api/user/curt/message/{id}/read req.patchRequest('/api/user/curt/message/'+detail.id+'/read',{}).then((res)=>{ if(res.data.code==200){ - console.log(this.data.messages) } }).catch((err)=>{ console.log(err); }) } if(detail.isSelf){ - console.log('是自己发的消息,不做操作') } this.setData({dkZtVisible:true,tDetial:e.currentTarget.dataset['xq']}) }, @@ -62,7 +388,6 @@ Page({ this.onLoad() if(res.data.code==200){ - console.log(this.data.messages) } }).catch((err)=>{ console.log(err); @@ -80,8 +405,6 @@ Page({ req.getRequest('/api/user/curt/message/lover',{}).then((res)=>{ if(res.data.code==200){ this.setData({messages:res.data.data.records.reverse()}) - console.log("这是打印,。。。。") - console.log(this.data.messages) } }).catch((err)=>{ console.log(err); @@ -92,7 +415,6 @@ Page({ if(res.data.code==200){ this.setData({hasLover:res.data.data.hasLover}) this.setData({userInfo:res.data.data}) - console.log(this.data.userInfo) if(!res.data.data.hasLover){ wx.navigateTo({ url: '/pages/home/xx/index' @@ -116,13 +438,86 @@ Page({ }, + doClickHx(){ + console.log('点击了画像') + let tt = this + wx.chooseImage({ + count:1,//默认9 + sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有 + sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有 + success: res=>{ + var tempFilePaths = res.tempFilePaths; + wx.uploadFile({ + url: 'https://xzjl-api.windymuse.cn/api/resource', + filePath: tempFilePaths[0], + name: 'file', + header: { + 'Authorization': wx.getStorageSync('token'), + 'Content-Type': 'multipart/form-data' + }, + formData: { + type: 'graphic' + }, + success(res){ + console.log('执行成功了') + console.log(res) + let data = JSON.parse(res.data); + console.log(data, '111111'); + let id = data.data.id + console.log('打印id') + console.log(id) + + req.postRequest('/api/user/curt/message/lover',{"type": "graphic","resourceId": id}).then((res)=>{ + tt.onLoad() + if(res.data.code==200){ + console.log(res.data) + } + }).catch((err)=>{ + console.log(err); + }) + }, + + fail(res) { + showToast('图片上传失败'); + } + }) + } + }) + }, + doClickYx(){ + this.setData({luyinVisible:true,luYinStatus:0,dsQTime:'00:00:00'}) + console.log('点击了音讯') + }, + quxiaoLuyin(){/**取消录音 */ + this.setData({luyinVisible:false}) + clearInterval(this.data.timer) + }, + fasLuyin(){/**发送录音文件 */ + clearInterval(this.data.timer) + this.setData({luyinVisible:false}) + }, + doClickXz(){ + this.setData({xinzhaVisible:true}) + console.log('点击了信札') + wx.navigateTo({ + url: '/pages/home/xx/lindex/lxz/lxz' + }) + }, + doCancelXz(){ + this.setData({xinzhaVisible:false}) + }, /** * 生命周期函数--监听页面加载 */ onLoad(options) { + console.log('开始。。。。') + this.popover = this.selectComponent('#popover'); + console.log('结束。。。。') this.doQueryInit() this.doMessageInfo() + /**----------------一下为编辑器代码-----------------*/ + }, /** @@ -144,14 +539,15 @@ Page({ * 生命周期函数--监听页面隐藏 */ onHide() { - + console.log('隐藏了页面') }, /** * 生命周期函数--监听页面卸载 */ onUnload() { - + clearInterval(this.data.timer) + console.log('卸载隐藏了页面') }, /** diff --git a/pages/home/xx/lindex/lindex.json b/pages/home/xx/lindex/lindex.json index 09095f2..38710c7 100644 --- a/pages/home/xx/lindex/lindex.json +++ b/pages/home/xx/lindex/lindex.json @@ -2,6 +2,8 @@ "usingComponents": { "t-image": "tdesign-miniprogram/image/image", "t-popup": "tdesign-miniprogram/popup/popup", - "t-textarea": "tdesign-miniprogram/textarea/textarea" + "t-textarea": "tdesign-miniprogram/textarea/textarea", + "popover": "/components/popover", + "popover-item": "/components/popover-item" } } \ No newline at end of file diff --git a/pages/home/xx/lindex/lindex.wxml b/pages/home/xx/lindex/lindex.wxml index e2ccf4c..a6c916a 100644 --- a/pages/home/xx/lindex/lindex.wxml +++ b/pages/home/xx/lindex/lindex.wxml @@ -1,67 +1,97 @@ - - - - - - - - - - - 欢迎来到你们的专属情侣树洞 - 在这里,你可以将你的心意传递给ta - 所有美好的回忆都将被精灵记录 - - - - + + + + + + + + 欢迎来到你们的专属情侣树洞 + 在这里,你可以将你的心意传递给ta + 所有美好的回忆都将被精灵记录 + + + + + + + - - - {{item.createdAt}} - - - - + + + + + + {{item.createdAt}} + + + + + + + + + {{item.status=='unread'?'未读':'已读'}} + + + + + + + + + {{item.status=='unread'?'未读':'已读'}} + + + - - {{item.status=='unread'?'未读':'已读'}} + + 1111 + + {{item.status=='unread'?'未读':'已读'}} - - - - - 1111 + + + + {{item.content}} + {{item.status=='unread'?'未读':'已读'}} + + + + + + + + + + + + + + + + {{item.status=='unread'?'未读':'已读'}} + + + + + + + + {{item.status=='unread'?'未读':'已读'}} + + {{item.content}} + {{item.status=='unread'?'未读':'已读'}} + + + + 2222 + {{item.status=='unread'?'未读':'已读'}} - {{item.status=='unread'?'未读':'已读'}} - - - - - {{item.content}} - {{item.status=='unread'?'未读':'已读'}} - - - - - - - {{item.status=='unread'?'未读':'已读'}} - - {{item.content}} - {{item.status=='unread'?'未读':'已读'}} - - - - 2222 - {{item.status=='unread'?'未读':'已读'}} - - + - - @@ -74,9 +104,9 @@ -信札 -音讯 -画像 +信札 +音讯 +画像 纸条 @@ -96,3 +126,99 @@ + + + + + + 画像 + 保存 + + + + + + + {{dsQTime}} + + + + + + + + + + + + + + + + + + + + + + + + 取消 + 发送 + 发送 + + + + + + + 删除 + + + + + + + + + + + + To: + + + + + + + + + From: + + + + + + + + + + + + + + + + + 预览 + 发送 + + + + 音讯 + + 画像 + + + \ No newline at end of file diff --git a/pages/home/xx/lindex/lindex.wxss b/pages/home/xx/lindex/lindex.wxss index d2577bf..9acf4a2 100644 --- a/pages/home/xx/lindex/lindex.wxss +++ b/pages/home/xx/lindex/lindex.wxss @@ -562,7 +562,7 @@ top: 568px; .cqlgd{ width: 750rpx; - height: 230rpx; + height: 530rpx; } .fhan11{ border-radius: 58rpx; @@ -590,4 +590,510 @@ background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xtr } .t-textarea{ background-color: transparent!important; +} +.zjtableatp1{ + width: 750rpx; + height: 220rpx; +} +.zjxftp1{ + float: right; + margin-right:130rpx; + z-index: 9999; + height: 200rpx; + background-repeat: no-repeat; +} +.zjydwdtp1{ + position: absolute; + margin-left: 360rpx; + margin-top: 50px; + width: 28px; + height: 20px; + color: rgba(206, 206, 206, 1); + font-size: 12px; + text-align: left; + font-family: SourceHanSansSC-regular; +} + +.zjydwdtp2{ + display: inline-block; + margin-top: 50px; + width: 28px; + height: 20px; + color: rgba(206, 206, 206, 1); + font-size: 12px; + text-align: left; + font-family: SourceHanSansSC-regular; +} +.zjxftp2{ + display: inline-block; + margin-left:10rpx; + height: 200rpx; + background-repeat: no-repeat; + max-width: 500rpx; +} +.zttp11{ + float: right; + margin-right: 130rpx; +} +.zttp12{ + float: left; + margin-left: 10rpx; +} +.zjydwdtp3{ + display: inline-block; + margin-top: 80px; + margin-left: 10rpx; + width: 28px; + height: 20px; + color: rgba(206, 206, 206, 1); + font-size: 12px; + text-align: left; + font-family: SourceHanSansSC-regular; +} +.zjxftp3{ + display: inline-block; + margin-left:10rpx; + height: 200rpx; + background-repeat: no-repeat; + max-width: 500rpx; +} +.wchattxk11{ + float: left; + margin-left: 19px; + margin-top: 7rpx; + width: 36px; + height: 36px; + background-color: chartreuse; +} + +.tppp1{ + position: absolute; + width: 750rpx; + height: auto; + top:50%; + margin-top: 300rpx; +} +.ztPop1{ + position: absolute; + width:750rpx ; + height: 1624rpx; + margin: 0!important; + padding: 0!important; + display: table-cell; + vertical-align: middle; +} +.tpBcan1{ + position: absolute; + left: 304px; +top: 727px; + width: 55px; + height: 35px; + line-height: 70rpx; + border-radius: 10px; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + text-align: center; + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); + border: 3px solid rgba(255, 255, 255, 1); + color: rgba(255, 255, 255, 1); + font-size: 14px; + text-align: center; + font-family: SourceHanSansSC-medium; +} +.block{ + width: 750rpx; + height: 300rpx; +} +.block { + width: 100vw; + height: 240px; + background: #fff; + border-top-left-radius: 16rpx; + border-top-right-radius: 16rpx; + } + + .wrapper { + margin: 32rpx; + display: block; + } + + .header { + display: flex; + align-items: center; + height: 116rpx; + } + + .title { + flex: 1; + text-align: center; + font-weight: 600; + font-size: 36rpx; + } + + .btn { + font-size: 32rpx; + padding: 32rpx; + } + + .btn--cancel { + color: rgba(0, 0, 0, .6); + } + + .btn--confirm { + color: #0052d9; + } + + .zjxftp21{ + margin-top: -90rpx; + height: 200rpx; + max-width: 500rpx; +} +.luyinblock{ + left: 0px; + top: 547px; + width: 375px; + height: 231px; + line-height: 20px; + border-radius: 10px 10px 0px 0px; + background-color: rgba(255, 255, 255, 1); + color: rgba(16, 16, 16, 1); + font-size: 14px; + text-align: center; + font-family: Arial; +} +.qxly{ + position: absolute; + left: 16px; + top: 12rpx; + width: 32px; + height: 25px; + color: rgba(108, 108, 108, 1); + font-size: 16px; + text-align: left; + font-family: SourceHanSansSC-regular; +} +.qrfs{ + position: absolute; + left: 325px; + top: 12rpx; + width: 32px; + height: 25px; + + font-size: 16px; + text-align: left; + font-family: SourceHanSansSC-regular; +} +.qrfs1{ + color: rgba(206, 206, 206, 1); +} +.qrfs2{ + color: rgba(108, 108, 108, 1); +} +.lyhx{ + position: absolute; + left: 0px; + top: 72rpx; + width: 375px; + height: NaNpx; + border: 1px solid rgba(233, 233, 232, 1); +} +.luyinjishiqi{ + position: absolute; + left: 143px; +top: 114rpx; +width: 89px; +height: 22px; +color: rgba(108, 108, 108, 1); +font-size: 16px; +text-align: center; +font-family: SourceHanSansSC-regular; +} +.weiluyinanniu{ + position: absolute; + left: 158px; + top: 300rpx; + width: 60px; + height: 60px; + border-radius: 60rpx; + line-height: 17px; + background-color: rgba(255, 255, 255, 1); + text-align: center; + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); + border: 3px solid rgba(255, 255, 255, 1); +} +.wlyan1{ + position: absolute; + left: 15rpx; + top: 15rpx; + width: 45px; + height: 45px; + border-radius: 45rpx; + line-height: 17px; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + text-align: center; +} +.luyinlbt{ + position: absolute; + width: 750rpx; + height: 50rpx; + top:198rpx; + overflow: hidden; + + /* background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/lylbt.png); */ + /* scroll-snap-type: x mandatory; + scroll-snap-align: start; */ +} +.box2{ + animation: move 5s infinite linear; +} +/* 定义动画 */ + /* 定义和调用动画 */ + @keyframes move { + + /* 动画的第一个状态和盒子的默认状态相同, 可以省略动画的开始状态代码 */ + /* from { + transform: translateX(0); + } */ + to { + transform: translateX(-750rpx); + /* transform: translateX(-900px); */ + /* transform: translateX(-800px); */ + } +} + +/* 增加需求: 当用户鼠标移入, 动画暂定 */ +/* .box:hover ul { + animation-play-state: paused; +} */ +.wlyan2{ + position: absolute; + left: 15px; +top: 15px; +width: 30px; +height: 30px; +line-height: 17px; +border-radius: 5px; +background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); +text-align: center; +} + +.wlyan3{ + position: absolute; + left: 40rpx; + top: 10px; + width: 35px; + height: 35px; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + width: 0; + height: 0; + border-top: 50rpx solid transparent; + border-left: 60rpx solid rgba(248,99,42,1); + border-bottom: 35rpx solid transparent; +} +.luyinlbt1{ + position: absolute; + width: 750rpx; + height: 50rpx; + top:198rpx; + overflow: hidden; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/lylbt.png); +} + +.xiexinzha{ + height: 1624rpx; + width: 750rpx; +} + +.xzjcan{ + position: fixed; + margin-left: 224px; +top: 727px; +width: 105px; +height: 35px; +border-radius: 10px; +background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); +text-align: center; +box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); +border: 3px solid rgba(255, 255, 255, 1); +} +.xzylanbtn{ + position: absolute; + + top: 396px; + width: 105px; + height: 35px; + line-height: 70rpx; + border-radius: 10px; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + text-align: center; + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); + border: 3px solid rgba(255, 255, 255, 1); + color: rgba(255, 255, 255, 1); + font-size: 14px; + text-align: center; + font-family: SourceHanSansSC-medium; +} +.xzylan1{ + left: 62px; +} +.xzylan2{ + left: 448rpx; +} +.xzsfhl{ + position: fixed; + left: 15px; + top: 52px; + width: 345px; + height: 115px; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xzhlpic.png); +} + +.xfxfhl{ + z-index: 100; + position: fixed; + left: 0px; + top: 331px; + width: 375px; + height: 462px; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xfxfhlpic.png); +} +.xzxfnr{ + position: absolute; + left: 31px; + top: 64px; + width: 315px; + height: 657px; + overflow: auto; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xznrpic.png); +} +.xfzjhz{ + position: absolute; + left: 154px; + top: 482rpx; + width: 73px; + height: 71px; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xfzjhzpic.png); +} + +.xzfhan{ + position: absolute; + width: 55px; + height: 55px; + line-height: 110rpx; + border-radius: 59rpx; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + color: rgba(16, 16, 16, 1); + font-size: 12px; + text-align: center; + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); + font-family: Arial; + border: 3px solid rgba(255, 255, 255, 1); + color: rgba(255, 255, 255, 1); + font-size: 16px; + text-align: center; + font-family: SourceHanSansSC-medium; +} + +.xzfhan1{ + left: 16px; + top: 592rpx; +} +.xzfhan2{ + left: 608rpx; + top: 440rpx; +} +.xzfhan3{ + left: 608rpx; + top: 592rpx; +} + +.fan11r2{ + position: absolute; + left: 26rpx; +top: 24rpx; +width: 30px; +height: 30px; +background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xtreturn.png); +} +.xzxjto{ + margin-left: 50rpx; + margin-top: 68rpx; + width: 147px; + height: 21px; + color: rgba(108, 108, 108, 1); + font-size: 14px; + text-align: left; + font-family: SourceHanSansSC-regular; +} +.xzxjto111{ + position: absolute; + width: 147px; + height: 21px; + color: rgba(108, 108, 108, 1); + font-size: 14px; + text-align: left; + font-family: SourceHanSansSC-regular; +} +.toText111{ + position: absolute; + height: 21px; + line-height: 42rpx; +} +.xzxjfrom{ + margin-left: 50rpx; + margin-top: 30rpx; + width: 147px; + height: 21px; + color: rgba(108, 108, 108, 1); + font-size: 14px; + text-align: left; + font-family: SourceHanSansSC-regular; + +} +.xzxjtot1{ + display: inline-block; + width: 30rpx; + background-color: blue; +} +.xzxjtoipt{ + position: absolute; + margin-left: 60rpx; + width: 110px; + height: 21px; + border-bottom: 1rpx solid #000; +} +.xzxjtoiptfrom{ + display: inline-block; + position: absolute; + margin-left: 90rpx; + width: 90px; + height: 21px; + border-bottom: 1rpx solid #000; +} +.xzcgk{ + height:560rpx; +} +.ltwbk{ + margin-left: 52rpx; + margin-top: 20rpx; + width: 264px; + color: rgba(108, 108, 108, 1); + font-size: 14px; + text-align: left; + font-family: SourceHanSansSC-regular; + height: 30rpx; +} +.tttt{ + background-color: chocolate; +} +.ql-container{ + height: 900rpx!important; + overflow: auto!important; + z-index: 99; +} +.editorc{ + color: rgba(108, 108, 108, 1); + font-size: 14px!important; + text-align: left; + font-family: SourceHanSansSC-regular; + } \ No newline at end of file diff --git a/pages/home/xx/lindex/lxz/assets/iconfont.wxss b/pages/home/xx/lindex/lxz/assets/iconfont.wxss new file mode 100644 index 0000000..9ff2f5c --- /dev/null +++ b/pages/home/xx/lindex/lxz/assets/iconfont.wxss @@ -0,0 +1,240 @@ +@font-face {font-family: "iconfont"; + src: url('//at.alicdn.com/t/font_945958_zfsfjju1dim.eot?t=1547618146468'); /* IE9 */ + src: url('//at.alicdn.com/t/font_945958_zfsfjju1dim.eot?t=1547618146468#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABdkAAsAAAAALvAAABcWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCKSgrBdLN+ATYCJAOBZAt0AAQgBYRtB4YRG7smRSQnqz4jqjWV7P9bAidjcG3cMssRirV6WRdYIhSPI7KwpqTEWqtc6K4YeK6yr9OvxbcdprxM/yib6gio0BZ+n7Rt/V9XwX9lINMYSgkPeG++5I+ba4GUClKqlqSIS6hYyq38QNv8d5x65OEhRh+sdQE7jL5NnPgnihL75TgDFuUqOW2WuvRY8VkVv8LJj8Zl6Y80f+Xx8HZ7/9/tWGoR13aUWBZEaSABZpQkkIVz9psLXwo4ADJiSk74UeimQCl/LdkLu3A5Lb9fLdiAfKs0jVd6s5bW0vrllU9aXUOpAIbgIBQAP4AF4GQAwNjv66z+twPSe3YyEXkJoUQ7zmyGcJHc2NV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+B+RaCou/EYDqkDJ8NI3fVGVAPSvBJdQ6hD87g0IrtT5uNG5f9lnBs37IpVdnvubED0io6v/9OYcPz7uc4dfgJP8IyjE3/F87j+p3KFjAJHV9n4G1btRcWtkf7rqvwZyg8ev/OIyJHA7h8Bf/cvD/naLEtNGLnEKvtVEySE30eBUlUxPd6LFYzrR5nSY6Nbx7vM9IoJDovoM2n5aE4Wg3xMlvy9iyDx/iAnPy0RL3D9sMyBjottrkyI96r23XwUEQZ3l24yU5yIqpO21fY8mOQgksPikzxgiec4uzy7O9e+QMZjIEVfmSqTIiuCr7K2VBZ3zWR18iUrOLHX10/l5sfkOZ8pXe20XAQICaZnc1p2ZKB4rzizakb/+PWQkDgiKLR5m/gwFEd185tKZCw3pHWOtLVbFGq0YV4TwQsbWD7xK5i3hyDk1XqaWd1ZCijhjUxi1J+dkT4UuOyteqeYlY/RtlRZeJUUJRIsRK078bw6UPwv+xKSUSkhYRFRMXEJSSlpGVk5eQVFJWUVVTV1DU0tbR1dP38DQyNjE1MzcwtLKuqMVtT9KrP0JsUaWhk/CabMH/1WRdjgofKhATi2CxnB6Kc7qZla3Xb1rvDmEkOpGHXBFuD7SINgxnJYb5Z0PvcQI6jT0SOp4dn91nRNwSUta6ARsfSrT/P5vrM0kdBlqntqCG1lks6Vi93QlOr5u97aonh1FOcnBq8QdR4wqExkrzaW5f7AmNj1NAZWQ59MgTpjaSWhFdE8Bzh0XaWepES2wsqlbKXHE5wTUKpANbiJqQ1/wLpp3lYWQnFrDTohLqtfi9jptUg3kCLtlZoZno1PtjMaWeGvjTgYTSTOQE0StHQlpoAqaOVCfpXzbpCRQaWD7KwT3FdwTiSlf2LcJ8qJC/TVUrrYJNqlXbggl6/ttgSM2d8kX1mqbHHAnBUpPOkmB6pCGS0w1xScmAefUjxbZ1IAvot2ro1f15aBkAFI/1KCIzd4e') format('woff2'), + url('//at.alicdn.com/t/font_945958_zfsfjju1dim.woff?t=1547618146468') format('woff'), + url('//at.alicdn.com/t/font_945958_zfsfjju1dim.ttf?t=1547618146468') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('//at.alicdn.com/t/font_945958_zfsfjju1dim.svg?t=1547618146468#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-redo:before { + content: "\e627"; +} + +.icon-undo:before { + content: "\e633"; +} + +.icon-indent:before { + content: "\eb28"; +} + +.icon-outdent:before { + content: "\e6e8"; +} + +.icon-fontsize:before { + content: "\e6fd"; +} + +.icon-format-header-1:before { + content: "\e860"; +} + +.icon-format-header-4:before { + content: "\e863"; +} + +.icon-format-header-5:before { + content: "\e864"; +} + +.icon-format-header-6:before { + content: "\e865"; +} + +.icon-clearup:before { + content: "\e64d"; +} + +.icon-preview:before { + content: "\e631"; +} + +.icon-date:before { + content: "\e63e"; +} + +.icon-fontbgcolor:before { + content: "\e678"; +} + +.icon-clearedformat:before { + content: "\e67e"; +} + +.icon-font:before { + content: "\e684"; +} + +.icon-723bianjiqi_duanhouju:before { + content: "\e65f"; +} + +.icon-722bianjiqi_duanqianju:before { + content: "\e660"; +} + +.icon-text_color:before { + content: "\e72c"; +} + +.icon-format-header-2:before { + content: "\e75c"; +} + +.icon-format-header-3:before { + content: "\e75d"; +} + +.icon--checklist:before { + content: "\e664"; +} + +.icon-baocun:before { + content: "\ec09"; +} + +.icon-line-height:before { + content: "\e7f8"; +} + +.icon-quanping:before { + content: "\ec13"; +} + +.icon-direction-rtl:before { + content: "\e66e"; +} + +.icon-direction-ltr:before { + content: "\e66d"; +} + +.icon-selectall:before { + content: "\e62b"; +} + +.icon-fuzhi:before { + content: "\ec7a"; +} + +.icon-shanchu:before { + content: "\ec7b"; +} + +.icon-bianjisekuai:before { + content: "\ec7c"; +} + +.icon-fengexian:before { + content: "\ec7f"; +} + +.icon-dianzan:before { + content: "\ec80"; +} + +.icon-charulianjie:before { + content: "\ec81"; +} + +.icon-charutupian:before { + content: "\ec82"; +} + +.icon-wuxupailie:before { + content: "\ec83"; +} + +.icon-juzhongduiqi:before { + content: "\ec84"; +} + +.icon-yinyong:before { + content: "\ec85"; +} + +.icon-youxupailie:before { + content: "\ec86"; +} + +.icon-youduiqi:before { + content: "\ec87"; +} + +.icon-zitidaima:before { + content: "\ec88"; +} + +.icon-xiaolian:before { + content: "\ec89"; +} + +.icon-zitijiacu:before { + content: "\ec8a"; +} + +.icon-zitishanchuxian:before { + content: "\ec8b"; +} + +.icon-zitishangbiao:before { + content: "\ec8c"; +} + +.icon-zitibiaoti:before { + content: "\ec8d"; +} + +.icon-zitixiahuaxian:before { + content: "\ec8e"; +} + +.icon-zitixieti:before { + content: "\ec8f"; +} + +.icon-zitiyanse:before { + content: "\ec90"; +} + +.icon-zuoduiqi:before { + content: "\ec91"; +} + +.icon-zitiyulan:before { + content: "\ec92"; +} + +.icon-zitixiabiao:before { + content: "\ec93"; +} + +.icon-zuoyouduiqi:before { + content: "\ec94"; +} + +.icon-duigoux:before { + content: "\ec9e"; +} + +.icon-guanbi:before { + content: "\eca0"; +} + +.icon-shengyin_shiti:before { + content: "\eca5"; +} + +.icon-Character-Spacing:before { + content: "\e964"; +} diff --git a/pages/home/xx/lindex/lxz/assets/print.png b/pages/home/xx/lindex/lxz/assets/print.png new file mode 100644 index 0000000000000000000000000000000000000000..da9d71459556515679357ca32d82c5803a06b69c GIT binary patch literal 2841 zcmbuB`8yPP8^*sgqnWXdC9-50WZxYUQKQC|FjHpiYqr6O2^kclbt<7v*(OISVJLE} ziR_GB_B|7Z7@`#MdavvK58fZ1`}4#7+`m27_1t%Gc9#4+k~{zaerqf2xqVXqJ4pDx zHk|P80Dx!O8f)f2@%WbIo;XevZRuVsH035G9Q8bYkns4(a?HPSs;UAid3Yh(zg9Rw zGy$EBX4IDmU) z9e>-!3aC1uQvJge!x6=d|5LEa#U;M%ETqLu?wpDc@-%r8z;K3fB*8^ysh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m>l!e_WNU#KL`7j`0mu&fmKGwJv^oQXFBb|6#GkEm>253_^Nt)$z1^SRRa|!0pjA3x zEhotKg>mgz0bx?9^Z->coFtZ7b0_0LZCoSgzGp#dH^?)l z_+23a>P);~%S5{vA7ELg6i#YK$`q_?VWd*bJQO4OFqr2pxtV<9S83(o1Eb$ zmNr)=T1OoHFdGy7WXB~-sSoB9bXLYp|Ki#9x;SO^tqVC74IgTP+@;cwz_~Uwk_^@U zx&>jeSYKxeXDsx<>@B|;LdD^=MZQ$GZDFW~bf(X8?Gfjix%vmrG)cFnKy2=cD7*mL zp#DV5=Z$wP?U;qx-hE#?osANsNc@Xl*MHRdH`FNe2ty5|{So2H`a^Z0p8T0Tq-MgY zei6kvHuAvBuY{i#bn4ro@c2(qsKd3J4cwWR_-gEJ2apED_XBe^ISY&x%h#;ft313X z4(JQrA9&7sn5lw4Y-y;aUX0vPN-|tdPjEUjR#b?6$xyhr;~Z^1*Uja~^+$+1)YjFB znA11-z7tR+<;<~eikFfl*Bsod{7#}dGV#Xj^j=0pRd z_CA2FF%|t~-{sQ3DzJLGY==EEA50pGObv}YltEF4+L~>-Cyc7|3Y zzkoLQY4-;k1dzDUg4IQ*fwp#CoeFWum&=h*l2X`wM={%egR8freEB+U5|3XbX1 znfN3DCXChI+=is+pDo|-9_2}A*xuj>f4^oXq=)h1VT?GiZiwIw01-=hxibG}#L@;( zi>7ctj%r!OyhAmR-uW9HE)}Maq}O3^BW1F3b=87i=ZR2Dk__}2g4)6+ZsLfM0X!ID z4n>BH5C`Pq_ldsXeMmut3LG=8uBjjaG{@Am*n7+j1m%LN9c{nz0&8 + + + + \ No newline at end of file diff --git a/pages/home/xx/lindex/lxz/common/head.wxml b/pages/home/xx/lindex/lxz/common/head.wxml new file mode 100644 index 0000000..73b26e6 --- /dev/null +++ b/pages/home/xx/lindex/lxz/common/head.wxml @@ -0,0 +1,7 @@ + diff --git a/pages/home/xx/lindex/lxz/common/index.wxss b/pages/home/xx/lindex/lxz/common/index.wxss new file mode 100644 index 0000000..6f84054 --- /dev/null +++ b/pages/home/xx/lindex/lxz/common/index.wxss @@ -0,0 +1,111 @@ +.index-hd { + padding: 80rpx; + text-align: center; +} +.index-bd { + padding: 0 30rpx 40rpx; +} +.index-ft { + padding-bottom: 20rpx; + text-align: center; +} +.index-logo { + width: 86rpx; + height: 86rpx; +} +.index-desc { + margin-top: 20rpx; + color: #888888; + font-size: 28rpx; +} + + +.navigator-box { + opacity: 0; + position: relative; + background-color: #FFFFFF; + line-height: 1.41176471; + font-size: 34rpx; + + transform: translateY(-50%); + transition: .3s; +} +.navigator-box-show { + opacity: 1; + transform: translateY(0); +} +.navigator { + padding: 20rpx 30rpx; + position: relative; + display: flex; + align-items: center; +} +.navigator:before { + content: " "; + position: absolute; + left: 30rpx; + top: 0; + right: 30rpx; + height: 1px; + border-top: 1rpx solid #D8D8D8; + color: #D8D8D8; +} +.navigator:first-child:before { + display: none; +} +.navigator-text { + flex: 1; +} +.navigator-arrow { + padding-right: 26rpx; + position: relative; +} +.navigator-arrow:after { + content: " "; + display: inline-block; + height: 18rpx; + width: 18rpx; + border-width: 2rpx 2rpx 0 0; + border-color: #888888; + border-style: solid; + transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0); + position: absolute; + top: 50%; + margin-top: -8rpx; + right: 28rpx; +} + + +.kind-list-item { + margin: 20rpx 0; + background-color: #FFFFFF; + border-radius: 4rpx; + overflow: hidden; +} +.kind-list-item:first-child { + margin-top: 0; +} +.kind-list-text{ + flex: 1; +} +.kind-list-img { + width: 60rpx; + height: 60rpx; +} +.kind-list-item-hd { + padding: 30rpx; + display: flex; + align-items: center; + + transition: opacity .3s; +} +.kind-list-item-hd-show { + opacity: .2; +} +.kind-list-item-bd { + height: 0; + overflow: hidden; +} +.kind-list-item-bd-show { + height: auto; +} \ No newline at end of file diff --git a/pages/home/xx/lindex/lxz/common/lib/weui.wxss b/pages/home/xx/lindex/lxz/common/lib/weui.wxss new file mode 100644 index 0000000..4cb7da8 --- /dev/null +++ b/pages/home/xx/lindex/lxz/common/lib/weui.wxss @@ -0,0 +1,1042 @@ +/*! + * weui.js v1.1.0 (https://github.com/weui/weui-wxss) + * Copyright 2016, wechat ui team + * MIT license + */ +page { + line-height: 1.6; + font-family: -apple-system-font, "Helvetica Neue", sans-serif; +} +icon { + vertical-align: middle; +} +.weui-cells { + position: relative; + margin-top: 1.17647059em; + background-color: #FFFFFF; + line-height: 1.41176471; + font-size: 17px; +} +.weui-cells:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1rpx solid #D9D9D9; + color: #D9D9D9; +} +.weui-cells:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1rpx solid #D9D9D9; + color: #D9D9D9; +} +.weui-cells__title { + margin-top: .77em; + margin-bottom: .3em; + padding-left: 15px; + padding-right: 15px; + color: #999999; + font-size: 14px; +} +.weui-cells_after-title { + margin-top: 0; +} +.weui-cells__tips { + margin-top: .3em; + color: #999999; + padding-left: 15px; + padding-right: 15px; + font-size: 14px; +} +.weui-cell { + padding: 10px 15px; + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.weui-cell:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1rpx solid #D9D9D9; + color: #D9D9D9; + left: 15px; +} +.weui-cell:first-child:before { + display: none; +} +.weui-cell_active { + background-color: #ECECEC; +} +.weui-cell_primary { + -webkit-box-align: start; + -webkit-align-items: flex-start; + align-items: flex-start; +} +.weui-cell__bd { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; +} +.weui-cell__ft { + text-align: right; + color: #999999; +} +.weui-cell_access { + color: inherit; +} +.weui-cell__ft_in-access { + padding-right: 13px; + position: relative; +} +.weui-cell__ft_in-access:after { + content: " "; + display: inline-block; + height: 6px; + width: 6px; + border-width: 2px 2px 0 0; + border-color: #C8C8CD; + border-style: solid; + -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0); + transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0); + position: relative; + top: -2px; + position: absolute; + top: 50%; + margin-top: -4px; + right: 2px; +} +.weui-cell_link { + color: #586C94; + font-size: 14px; +} +.weui-cell_link:active { + background-color: #ECECEC; +} +.weui-cell_link:first-child:before { + display: block; +} +.weui-icon-radio { + margin-left: 3.2px; + margin-right: 3.2px; +} +.weui-icon-checkbox_circle, +.weui-icon-checkbox_success { + margin-left: 4.6px; + margin-right: 4.6px; +} +.weui-check__label:active { + background-color: #ECECEC; +} +.weui-check { + position: absolute; + left: -9999px; +} +.weui-check__hd_in-checkbox { + padding-right: 0.35em; +} +.weui-cell__ft_in-radio { + padding-left: 0.35em; +} +.weui-cell_input { + padding-top: 0; + padding-bottom: 0; +} +.weui-label { + width: 105px; + word-wrap: break-word; + word-break: break-all; +} +.weui-input { + height: 2.58823529em; + min-height: 2.58823529em; + line-height: 2.58823529em; +} +.weui-toptips { + position: fixed; + -webkit-transform: translateZ(0); + transform: translateZ(0); + top: 0; + left: 0; + right: 0; + padding: 5px; + font-size: 14px; + text-align: center; + color: #FFFFFF; + z-index: 5000; + word-wrap: break-word; + word-break: break-all; +} +.weui-toptips_warn { + background-color: #E64340; +} +.weui-textarea { + display: block; + width: 100%; +} +.weui-textarea-counter { + color: #B2B2B2; + text-align: right; +} +.weui-textarea-counter_warn { + color: #E64340; +} +.weui-cell_warn { + color: #E64340; +} +.weui-form-preview { + position: relative; + background-color: #FFFFFF; +} +.weui-form-preview:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1rpx solid #D9D9D9; + color: #D9D9D9; +} +.weui-form-preview:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1rpx solid #D9D9D9; + color: #D9D9D9; +} +.weui-form-preview__value { + font-size: 14px; +} +.weui-form-preview__value_in-hd { + font-size: 26px; +} +.weui-form-preview__hd { + position: relative; + padding: 10px 15px; + text-align: right; + line-height: 2.5em; +} +.weui-form-preview__hd:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1rpx solid #D9D9D9; + color: #D9D9D9; + left: 15px; +} +.weui-form-preview__bd { + padding: 10px 15px; + font-size: .9em; + text-align: right; + color: #999999; + line-height: 2; +} +.weui-form-preview__ft { + position: relative; + line-height: 50px; + display: -webkit-box; + display: -webkit-flex; + display: flex; +} +.weui-form-preview__ft:after { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1rpx solid #D5D5D6; + color: #D5D5D6; +} +.weui-form-preview__item { + overflow: hidden; +} +.weui-form-preview__label { + float: left; + margin-right: 1em; + min-width: 4em; + color: #999999; + text-align: justify; + text-align-last: justify; +} +.weui-form-preview__value { + display: block; + overflow: hidden; + word-break: normal; + word-wrap: break-word; +} +.weui-form-preview__btn { + position: relative; + display: block; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + color: #3CC51F; + text-align: center; +} +.weui-form-preview__btn:after { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1rpx solid #D5D5D6; + color: #D5D5D6; +} +.weui-form-preview__btn:first-child:after { + display: none; +} +.weui-form-preview__btn_active { + background-color: #EEEEEE; +} +.weui-form-preview__btn_default { + color: #999999; +} +.weui-form-preview__btn_primary { + color: #0BB20C; +} +.weui-cell_select { + padding: 0; +} +.weui-select { + position: relative; + padding-left: 15px; + padding-right: 30px; + height: 2.58823529em; + min-height: 2.58823529em; + line-height: 2.58823529em; + border-right: 1rpx solid #D9D9D9; +} +.weui-select:before { + content: " "; + display: inline-block; + height: 6px; + width: 6px; + border-width: 2px 2px 0 0; + border-color: #C8C8CD; + border-style: solid; + -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0); + transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0); + position: relative; + top: -2px; + position: absolute; + top: 50%; + right: 15px; + margin-top: -4px; +} +.weui-select_in-select-after { + padding-left: 0; +} +.weui-cell__hd_in-select-after, +.weui-cell__bd_in-select-before { + padding-left: 15px; +} +.weui-cell_vcode { + padding-right: 0; +} +.weui-vcode-img { + margin-left: 5px; + height: 2.58823529em; + vertical-align: middle; +} +.weui-vcode-btn { + display: inline-block; + height: 2.58823529em; + margin-left: 5px; + padding: 0 0.6em 0 0.7em; + border-left: 1px solid #E5E5E5; + line-height: 2.58823529em; + vertical-align: middle; + font-size: 17px; + color: #3CC51F; + white-space: nowrap; +} +.weui-vcode-btn:active { + color: #52a341; +} +.weui-cell_switch { + padding-top: 6px; + padding-bottom: 6px; +} +.weui-uploader__hd { + display: -webkit-box; + display: -webkit-flex; + display: flex; + padding-bottom: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.weui-uploader__title { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; +} +.weui-uploader__info { + color: #B2B2B2; +} +.weui-uploader__bd { + margin-bottom: -4px; + margin-right: -9px; + overflow: hidden; +} +.weui-uploader__file { + float: left; + margin-right: 9px; + margin-bottom: 9px; +} +.weui-uploader__img { + display: block; + width: 79px; + height: 79px; +} +.weui-uploader__file_status { + position: relative; +} +.weui-uploader__file_status:before { + content: " "; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: rgba(0, 0, 0, 0.5); +} +.weui-uploader__file-content { + position: absolute; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + color: #FFFFFF; +} +.weui-uploader__input-box { + float: left; + position: relative; + margin-right: 9px; + margin-bottom: 9px; + width: 77px; + height: 77px; + border: 1px solid #D9D9D9; +} +.weui-uploader__input-box:before, +.weui-uploader__input-box:after { + content: " "; + position: absolute; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + background-color: #D9D9D9; +} +.weui-uploader__input-box:before { + width: 2px; + height: 39.5px; +} +.weui-uploader__input-box:after { + width: 39.5px; + height: 2px; +} +.weui-uploader__input-box:active { + border-color: #999999; +} +.weui-uploader__input-box:active:before, +.weui-uploader__input-box:active:after { + background-color: #999999; +} +.weui-uploader__input { + position: absolute; + z-index: 1; + top: 0; + left: 0; + width: 100%; + height: 100%; + opacity: 0; +} +.weui-article { + padding: 20px 15px; + font-size: 15px; +} +.weui-article__section { + margin-bottom: 1.5em; +} +.weui-article__h1 { + font-size: 18px; + font-weight: 400; + margin-bottom: .9em; +} +.weui-article__h2 { + font-size: 16px; + font-weight: 400; + margin-bottom: .34em; +} +.weui-article__h3 { + font-weight: 400; + font-size: 15px; + margin-bottom: .34em; +} +.weui-article__p { + margin: 0 0 .8em; +} +.weui-msg { + padding-top: 36px; + text-align: center; +} +.weui-msg__link { + display: inline; + color: #586C94; +} +.weui-msg__icon-area { + margin-bottom: 30px; +} +.weui-msg__text-area { + margin-bottom: 25px; + padding: 0 20px; +} +.weui-msg__title { + margin-bottom: 5px; + font-weight: 400; + font-size: 20px; +} +.weui-msg__desc { + font-size: 14px; + color: #999999; +} +.weui-msg__opr-area { + margin-bottom: 25px; +} +.weui-msg__extra-area { + margin-bottom: 15px; + font-size: 14px; + color: #999999; +} +@media screen and (min-height: 438px) { + .weui-msg__extra-area { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + text-align: center; + } +} +.weui-flex { + display: -webkit-box; + display: -webkit-flex; + display: flex; +} +.weui-flex__item { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; +} +.weui-btn { + margin-top: 15px; +} +.weui-btn:first-child { + margin-top: 0; +} +.weui-btn-area { + margin: 1.17647059em 15px 0.3em; +} +.weui-agree { + display: block; + padding: .5em 15px; + font-size: 13px; +} +.weui-agree__text { + color: #999999; +} +.weui-agree__link { + display: inline; + color: #586C94; +} +.weui-agree__checkbox { + position: absolute; + left: -9999px; +} +.weui-agree__checkbox-icon { + position: relative; + top: 2px; + display: inline-block; + border: 1px solid #D1D1D1; + background-color: #FFFFFF; + border-radius: 3px; + width: 11px; + height: 11px; +} +.weui-agree__checkbox-icon-check { + position: absolute; + top: 1px; + left: 1px; +} +.weui-footer { + color: #999999; + font-size: 14px; + text-align: center; +} +.weui-footer_fixed-bottom { + position: fixed; + bottom: .52em; + left: 0; + right: 0; +} +.weui-footer__links { + font-size: 0; +} +.weui-footer__link { + display: inline-block; + vertical-align: top; + margin: 0 .62em; + position: relative; + font-size: 14px; + color: #586C94; +} +.weui-footer__link:before { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1rpx solid #C7C7C7; + color: #C7C7C7; + left: -0.65em; + top: .36em; + bottom: .36em; +} +.weui-footer__link:first-child:before { + display: none; +} +.weui-footer__text { + padding: 0 .34em; + font-size: 12px; +} +.weui-grids { + border-top: 1rpx solid #D9D9D9; + border-left: 1rpx solid #D9D9D9; + overflow: hidden; +} +.weui-grid { + position: relative; + float: left; + padding: 20px 10px; + width: 33.33333333%; + box-sizing: border-box; + border-right: 1rpx solid #D9D9D9; + border-bottom: 1rpx solid #D9D9D9; +} +.weui-grid_active { + background-color: #ECECEC; +} +.weui-grid__icon { + display: block; + width: 28px; + height: 28px; + margin: 0 auto; +} +.weui-grid__label { + margin-top: 5px; + display: block; + text-align: center; + color: #000000; + font-size: 14px; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.weui-loading { + margin: 0 5px; + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + -webkit-animation: weuiLoading 1s steps(12, end) infinite; + animation: weuiLoading 1s steps(12, end) infinite; + background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhla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MwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat; + background-size: 100%; +} +@-webkit-keyframes weuiLoading { + 0% { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } + 100% { + -webkit-transform: rotate3d(0, 0, 1, 360deg); + transform: rotate3d(0, 0, 1, 360deg); + } +} +@keyframes weuiLoading { + 0% { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } + 100% { + -webkit-transform: rotate3d(0, 0, 1, 360deg); + transform: rotate3d(0, 0, 1, 360deg); + } +} +.weui-badge { + display: inline-block; + padding: .15em .4em; + min-width: 8px; + border-radius: 18px; + background-color: #F43530; + color: #FFFFFF; + line-height: 1.2; + text-align: center; + font-size: 12px; + vertical-align: middle; +} +.weui-badge_dot { + padding: .4em; + min-width: 0; +} +.weui-loadmore { + width: 65%; + margin: 1.5em auto; + line-height: 1.6em; + font-size: 14px; + text-align: center; +} +.weui-loadmore__tips { + display: inline-block; + vertical-align: middle; +} +.weui-loadmore_line { + border-top: 1px solid #E5E5E5; + margin-top: 2.4em; +} +.weui-loadmore__tips_in-line { + position: relative; + top: -0.9em; + padding: 0 .55em; + background-color: #FFFFFF; + color: #999999; +} +.weui-loadmore__tips_in-dot { + position: relative; + padding: 0 .16em; + width: 4px; + height: 1.6em; +} +.weui-loadmore__tips_in-dot:before { + content: " "; + position: absolute; + top: 50%; + left: 50%; + margin-top: -1px; + margin-left: -2px; + width: 4px; + height: 4px; + border-radius: 50%; + background-color: #E5E5E5; +} +.weui-panel { + background-color: #FFFFFF; + margin-top: 10px; + position: relative; + overflow: hidden; +} +.weui-panel:first-child { + margin-top: 0; +} +.weui-panel:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1rpx solid #E5E5E5; + color: #E5E5E5; +} +.weui-panel:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1rpx solid #E5E5E5; + color: #E5E5E5; +} +.weui-panel__hd { + padding: 14px 15px 10px; + color: #999999; + font-size: 13px; + position: relative; +} +.weui-panel__hd:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1rpx solid #E5E5E5; + color: #E5E5E5; + left: 15px; +} +.weui-media-box { + padding: 15px; + position: relative; +} +.weui-media-box:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1rpx solid #E5E5E5; + color: #E5E5E5; + left: 15px; +} +.weui-media-box:first-child:before { + display: none; +} +.weui-media-box__title { + font-weight: 400; + font-size: 17px; + width: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + word-wrap: normal; + word-wrap: break-word; + word-break: break-all; +} +.weui-media-box__desc { + color: #999999; + font-size: 13px; + line-height: 1.2; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; +} +.weui-media-box__info { + margin-top: 15px; + padding-bottom: 5px; + font-size: 13px; + color: #CECECE; + line-height: 1em; + list-style: none; + overflow: hidden; +} +.weui-media-box__info__meta { + float: left; + padding-right: 1em; +} +.weui-media-box__info__meta_extra { + padding-left: 1em; + border-left: 1px solid #CECECE; +} +.weui-media-box__title_in-text { + margin-bottom: 8px; +} +.weui-media-box_appmsg { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.weui-media-box__thumb { + width: 100%; + height: 100%; + vertical-align: top; +} +.weui-media-box__hd_in-appmsg { + margin-right: .8em; + width: 60px; + height: 60px; + line-height: 60px; + text-align: center; +} +.weui-media-box__bd_in-appmsg { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + min-width: 0; +} +.weui-media-box_small-appmsg { + padding: 0; +} +.weui-cells_in-small-appmsg { + margin-top: 0; +} +.weui-cells_in-small-appmsg:before { + display: none; +} +.weui-progress { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.weui-progress__bar { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; +} +.weui-progress__opr { + margin-left: 15px; + font-size: 0; +} +.weui-navbar { + display: -webkit-box; + display: -webkit-flex; + display: flex; + position: absolute; + z-index: 500; + top: 0; + width: 100%; + border-bottom: 1rpx solid #CCCCCC; +} +.weui-navbar__item { + position: relative; + display: block; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + padding: 13px 0; + text-align: center; + font-size: 0; +} +.weui-navbar__item.weui-bar__item_on { + color: #1AAD19; +} +.weui-navbar__slider { + position: absolute; + content: " "; + left: 0; + bottom: 0; + width: 6em; + height: 3px; + background-color: #1AAD19; + -webkit-transition: -webkit-transform .3s; + transition: -webkit-transform .3s; + transition: transform .3s; + transition: transform .3s, -webkit-transform .3s; +} +.weui-navbar__title { + display: inline-block; + font-size: 15px; + max-width: 8em; + width: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + word-wrap: normal; +} +.weui-tab { + position: relative; + height: 100%; +} +.weui-tab__panel { + box-sizing: border-box; + height: 100%; + padding-top: 50px; + overflow: auto; + -webkit-overflow-scrolling: touch; +} +.weui-search-bar { + position: relative; + padding: 8px 10px; + display: -webkit-box; + display: -webkit-flex; + display: flex; + box-sizing: border-box; + background-color: #EFEFF4; + border-top: 1rpx solid #D7D6DC; + border-bottom: 1rpx solid #D7D6DC; +} +.weui-icon-search { + margin-right: 8px; + font-size: inherit; +} +.weui-icon-search_in-box { + position: absolute; + left: 10px; + top: 7px; +} +.weui-search-bar__text { + display: inline-block; + font-size: 14px; + vertical-align: middle; +} +.weui-search-bar__form { + position: relative; + -webkit-box-flex: 1; + -webkit-flex: auto; + flex: auto; + border-radius: 5px; + background: #FFFFFF; + border: 1rpx solid #E6E6EA; +} +.weui-search-bar__box { + position: relative; + padding-left: 30px; + padding-right: 30px; + width: 100%; + box-sizing: border-box; + z-index: 1; +} +.weui-search-bar__input { + height: 28px; + line-height: 28px; + font-size: 14px; +} +.weui-icon-clear { + position: absolute; + top: 0; + right: 0; + padding: 7px 8px; + font-size: 0; +} +.weui-search-bar__label { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 2; + border-radius: 3px; + text-align: center; + color: #9B9B9B; + background: #FFFFFF; + line-height: 28px; +} +.weui-search-bar__cancel-btn { + margin-left: 10px; + line-height: 28px; + color: #09BB07; + white-space: nowrap; +} diff --git a/pages/home/xx/lindex/lxz/lxz.js b/pages/home/xx/lindex/lxz/lxz.js new file mode 100644 index 0000000..16b1fa3 --- /dev/null +++ b/pages/home/xx/lindex/lxz/lxz.js @@ -0,0 +1,115 @@ +Page({ + data: { + formats: {}, + readOnly: false, + placeholder: '开始输入...', + editorHeight: 300, + keyboardHeight: 0, + isIOS: false + }, + readOnlyChange() { + this.setData({ + readOnly: !this.data.readOnly + }) + }, + onLoad() { + const platform = wx.getSystemInfoSync().platform + const isIOS = platform === 'ios' + this.setData({ isIOS}) + const that = this + this.updatePosition(0) + let keyboardHeight = 0 + wx.onKeyboardHeightChange(res => { + if (res.height === keyboardHeight) return + const duration = res.height > 0 ? res.duration * 1000 : 0 + keyboardHeight = res.height + setTimeout(() => { + wx.pageScrollTo({ + scrollTop: 0, + success() { + that.updatePosition(keyboardHeight) + that.editorCtx.scrollIntoView() + } + }) + }, duration) + + }) + }, + updatePosition(keyboardHeight) { + const toolbarHeight = 50 + const { windowHeight, platform } = wx.getSystemInfoSync() + let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight + this.setData({ editorHeight, keyboardHeight }) + }, + calNavigationBarAndStatusBar() { + const systemInfo = wx.getSystemInfoSync() + const { statusBarHeight, platform } = systemInfo + const isIOS = platform === 'ios' + const navigationBarHeight = isIOS ? 44 : 48 + return statusBarHeight + navigationBarHeight + }, + onEditorReady() { + const that = this + wx.createSelectorQuery().select('#editor').context(function (res) { + that.editorCtx = res.context + }).exec() + }, + blur() { + this.editorCtx.blur() + }, + format(e) { + let { name, value } = e.target.dataset + if (!name) return + // console.log('format', name, value) + this.editorCtx.format(name, value) + + }, + onStatusChange(e) { + const formats = e.detail + this.setData({ formats }) + }, + insertDivider() { + this.editorCtx.insertDivider({ + success: function () { + console.log('insert divider success') + } + }) + }, + clear() { + this.editorCtx.clear({ + success: function (res) { + console.log("clear success") + } + }) + }, + removeFormat() { + this.editorCtx.removeFormat() + }, + insertDate() { + const date = new Date() + const formatDate = `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}` + this.editorCtx.insertText({ + text: formatDate + }) + }, + insertImage() { + const that = this + wx.chooseImage({ + count: 1, + success: function (res) { + that.editorCtx.insertImage({ + src: res.tempFilePaths[0], + data: { + id: 'abcd', + role: 'god' + }, + width: '100%', + success: function () { + console.log('insert image success') + } + }) + } + }) + } + }) + \ No newline at end of file diff --git a/pages/home/xx/lindex/lxz/lxz.json b/pages/home/xx/lindex/lxz/lxz.json new file mode 100644 index 0000000..6e4a260 --- /dev/null +++ b/pages/home/xx/lindex/lxz/lxz.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "发表文章", + "disableScroll": true, + "usingComponents": { + + } +} \ No newline at end of file diff --git a/pages/home/xx/lindex/lxz/lxz.wxml b/pages/home/xx/lindex/lxz/lxz.wxml new file mode 100644 index 0000000..919b459 --- /dev/null +++ b/pages/home/xx/lindex/lxz/lxz.wxml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + 预览 + 发送 + + + + 音讯 + + 画像 + \ No newline at end of file diff --git a/pages/home/xx/lindex/lxz/lxz.wxss b/pages/home/xx/lindex/lxz/lxz.wxss new file mode 100644 index 0000000..7b97052 --- /dev/null +++ b/pages/home/xx/lindex/lxz/lxz.wxss @@ -0,0 +1,159 @@ +/* pages/home/xx/lindex/lxz/lxz.wxss */ +@import "./common/lib/weui.wxss"; +@import "./assets/iconfont.wxss" + +.container { + position: absolute; + top: 0; + left: 0; + width: 100%; +} +.xzsfhl{ + position: fixed; + left: 15px; + top: 52px; + width: 345px; + height: 115px; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xzhlpic.png); +} +.xzxfnr{ + position: absolute; + left: 31px; + top: 64px; + width: 315px; + height: 657px; + overflow: auto; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xznrpic.png); +} + +.ql-container { + box-sizing: border-box; + width: 264px; + margin-left: 52rpx; + height: 100%; + font-size: 16px; + line-height: 1.5; + overflow: auto; + padding: 10px 10px 20px 10px; +} + +.ql-active { + color: #22C704; +} + +.iconfont { + display: inline-block; + width: 30px; + height: 30px; + cursor: pointer; + font-size: 20px; +} + +.toolbar { + box-sizing: border-box; + padding: 0 10px; + height: 50px; + width: 100%; + position: fixed; + left: 0; + right: 100%; + bottom: 0; + display: flex; + align-items: center; + justify-content: space-between; + border: 1px solid #ECECEC; + border-left: none; + border-right: none; +} + + +.xfxfhl{ + z-index: 100; + position: fixed; + left: 0px; + top: 331px; + width: 375px; + height: 462px; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xfxfhlpic.png); +} +.xzxfnr{ + position: absolute; + left: 31px; + top: 64px; + width: 315px; + height: 657px; + overflow: auto; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xznrpic.png); +} +.xfzjhz{ + position: absolute; + left: 154px; + top: 482rpx; + width: 73px; + height: 71px; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xfzjhzpic.png); +} + +.xzfhan{ + position: absolute; + width: 55px; + height: 55px; + line-height: 110rpx; + border-radius: 59rpx; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + color: rgba(16, 16, 16, 1); + font-size: 12px; + text-align: center; + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); + font-family: Arial; + border: 3px solid rgba(255, 255, 255, 1); + color: rgba(255, 255, 255, 1); + font-size: 16px; + text-align: center; + font-family: SourceHanSansSC-medium; +} + +.xzfhan1{ + left: 16px; + top: 592rpx; +} +.xzfhan2{ + left: 608rpx; + top: 440rpx; +} +.xzfhan3{ + left: 608rpx; + top: 592rpx; +} +.xzylanbtn{ + position: absolute; + + top: 396px; + width: 105px; + height: 35px; + line-height: 70rpx; + border-radius: 10px; + background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%); + text-align: center; + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4); + border: 3px solid rgba(255, 255, 255, 1); + color: rgba(255, 255, 255, 1); + font-size: 14px; + text-align: center; + font-family: SourceHanSansSC-medium; +} +.xzylan1{ + left: 62px; +} +.xzylan2{ + left: 448rpx; +} +.fan11r2{ + position: absolute; + left: 26rpx; + top: 24rpx; + width: 30px; + height: 30px; + background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xx/xtreturn.png); +} + diff --git a/pages/home/xx/lindex/xz/xz.js b/pages/home/xx/lindex/xz/xz.js new file mode 100644 index 0000000..ce9375e --- /dev/null +++ b/pages/home/xx/lindex/xz/xz.js @@ -0,0 +1,66 @@ +// pages/home/xx/lindex/xz/xz.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/home/xx/lindex/xz/xz.json b/pages/home/xx/lindex/xz/xz.json new file mode 100644 index 0000000..3928faa --- /dev/null +++ b/pages/home/xx/lindex/xz/xz.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/home/xx/lindex/xz/xz.wxml b/pages/home/xx/lindex/xz/xz.wxml new file mode 100644 index 0000000..0846b4b --- /dev/null +++ b/pages/home/xx/lindex/xz/xz.wxml @@ -0,0 +1,2 @@ + +pages/home/xx/lindex/xz/xz.wxml diff --git a/pages/home/xx/lindex/xz/xz.wxss b/pages/home/xx/lindex/xz/xz.wxss new file mode 100644 index 0000000..37ae528 --- /dev/null +++ b/pages/home/xx/lindex/xz/xz.wxss @@ -0,0 +1 @@ +/* pages/home/xx/lindex/xz/xz.wxss */ \ No newline at end of file diff --git a/pages/index/index.js b/pages/index/index.js index 76cc2e3..2333824 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -16,6 +16,11 @@ Page({ onLoad(options) { if(options&&options.sn&&options.sn!=null&&options.sn!=''){ console.log('有数据'+options.sn) + wx.showToast({ + title:options.sn, + icon: 'none', + duration: 5000 + }) login('nfc',options.sn) }else{ console.log('无数据') @@ -73,6 +78,22 @@ Page({ * code为用户码参数,用户码为空则代表为扫码登录 */ login(mode,code){ + //如果有token,直接进入 + if(wx.getStorageSync('token')){ + wx.showToast({ + title:'有token'+wx.getStorageSync('token'), + icon: 'none', + duration: 5000 + }) + wx.switchTab({ + url: '/pages/home/xy/index' + }) + } + wx.showToast({ + title:'没有token', + icon: 'none', + duration: 5000 + }) console.log('进入登录了!!!') var DEV_CODE = code var PUBLIC_KEY = "" diff --git a/project.private.config.json b/project.private.config.json index d1772d4..086d650 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -4,5 +4,25 @@ "setting": { "compileHotReLoad": true, "urlCheck": false + }, + "condition": { + "miniprogram": { + "list": [ + { + "name": "", + "pathName": "pages/home/xx/lindex/lindex", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "", + "pathName": "pages/home/xx/lindex/lindex", + "query": "", + "launchMode": "default", + "scene": null + } + ] + } } } \ No newline at end of file