消息暂时回退

cyl/dev
wangxia 1 year ago
parent 1a84fa3d47
commit c4d5bf2fef

@ -100,6 +100,8 @@
"todayData/index",
"addressBook/index",
"billShowInfo/index",
"systemMessage/index",
"todayBill/index",
"addAddress/index"
]
}

@ -298,6 +298,9 @@ page {
.bt1 {
border-top: 1px solid #eee;
}
.bt61 {
border-top: 1px solid #333;
}
.bl1 {
border-left: 1px solid #eee;
}
@ -455,9 +458,14 @@ page {
}
.f12 {
font-size: 12px;
font-size: 12px !important;
}
.f13 {
font-size: 13px;
}
.f15 {
font-size: 15px !important;
}
.f16 {
font-size: 16px !important;
}
@ -785,9 +793,6 @@ button {
/*margin-left: 30rpx;*/
}
.f13 {
font-size: 13px;
}
.row-title.f14 {
font-size: 14px;

@ -1,8 +1,8 @@
@font-face {
font-family: 'iconfont'; /* Project id 2708790 */
src: url('//at.alicdn.com/t/c/font_2708790_ma287fiyats.woff2?t=1739762965828') format('woff2'),
url('//at.alicdn.com/t/c/font_2708790_ma287fiyats.woff?t=1739762965828') format('woff'),
url('//at.alicdn.com/t/c/font_2708790_ma287fiyats.ttf?t=1739762965828') format('truetype');
font-family: "iconfont"; /* Project id 2708790 */
src: url('//at.alicdn.com/t/c/font_2708790_0dvih56qdt3.woff2?t=1741316773850') format('woff2'),
url('//at.alicdn.com/t/c/font_2708790_0dvih56qdt3.woff?t=1741316773850') format('woff'),
url('//at.alicdn.com/t/c/font_2708790_0dvih56qdt3.ttf?t=1741316773850') format('truetype');
}
.iconfont {
@ -13,6 +13,14 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-file-copy:before {
content: "\e7f6";
}
.icon-share:before {
content: "\e7fb";
}
.icon-fasong:before {
content: "\e6a6";
}
@ -1484,4 +1492,3 @@
.icon-xiayiye1:before {
content: "\e695";
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1741227423662" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16721" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M0 0h1024v1024H0z" fill="#FF4D3C" p-id="16722"></path><path d="M747.52 302.08H640v-40.96a5.136 5.136 0 0 0-5.12-5.12h-35.84a5.136 5.136 0 0 0-5.12 5.12v40.96h-163.84v-40.96a5.136 5.136 0 0 0-5.12-5.12h-35.84a5.136 5.136 0 0 0-5.12 5.12v40.96h-107.52A20.458 20.458 0 0 0 256 322.56v424.96c0 11.328 9.152 20.48 20.48 20.48h471.04c11.328 0 20.48-9.152 20.48-20.48V322.56c0-11.328-9.152-20.48-20.48-20.48z m-25.6 419.84H302.08V348.16H384v30.72a5.136 5.136 0 0 0 5.12 5.12h35.84a5.136 5.136 0 0 0 5.12-5.12v-30.72h163.84v30.72a5.136 5.136 0 0 0 5.12 5.12h35.84a5.136 5.136 0 0 0 5.12-5.12v-30.72h81.92v373.76z" fill="#FFFFFF" p-id="16723"></path><path d="M624.64 453.12h-35.328c-3.264 0-6.4 1.6-8.32 4.224l-96.576 132.992-41.408-56.96a10.306 10.306 0 0 0-8.32-4.224H399.36c-4.16 0-6.592 4.736-4.16 8.128l80.896 111.36c4.096 5.632 12.544 5.632 16.64 0l136.064-187.328c2.432-3.456 0-8.192-4.16-8.192z" fill="#FFFFFF" p-id="16724"></path></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1741227440943" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16876" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M0 0h1024v1024H0z" fill="#1890FF" p-id="16877"></path><path d="M578.572 280a18.018 18.018 0 0 0-10.17 3.098L361.206 418.52h-95.854a9.38 9.38 0 0 0-9.352 9.352V596.2a9.38 9.38 0 0 0 9.352 9.352h95.854L568.4 740.976c3.214 2.104 6.78 3.098 10.17 3.098 9.76 0 18.76-7.774 18.76-18.762V298.76c0-10.988-9-18.762-18.76-18.762z m-23.32 402.12l-171.02-111.812-10.52-6.838h-75.63v-102.868h75.632l10.46-6.838 171.078-111.81V682.12z m203.396-191.124h-74.812a9.38 9.38 0 0 0-9.352 9.352v23.378a9.38 9.38 0 0 0 9.352 9.352h74.812a9.38 9.38 0 0 0 9.352-9.352v-23.38a9.38 9.38 0 0 0-9.352-9.35z m-24.49 153.014l-64.466-37.23a9.42 9.42 0 0 0-4.618-1.228 9.296 9.296 0 0 0-8.066 4.676l-11.63 20.164c-2.572 4.442-1.052 10.17 3.39 12.742l64.466 37.232a9.296 9.296 0 0 0 12.684-3.448l11.63-20.166c2.572-4.44 0.994-10.17-3.39-12.74z m-77.208-230.166a9.296 9.296 0 0 0 8.066 4.676 9.42 9.42 0 0 0 4.616-1.226l64.468-37.232c4.442-2.572 5.962-8.3 3.39-12.74l-11.572-20.108a9.296 9.296 0 0 0-8.066-4.676 9.42 9.42 0 0 0-4.618 1.228L648.768 381c-4.442 2.57-5.962 8.3-3.39 12.74l11.572 20.106z" fill="#FFFFFF" p-id="16878"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -1,4 +1,5 @@
const app = getApp();
const app = getApp()
// let app = null;
Component({
data: {
labelColor: ["#c41d7f", "#096dd9", "#531dab", "#d46b08", "#389e0d", "#08979c", "#cf1322"],
@ -30,13 +31,34 @@ Component({
selectJob: {
type: Boolean,
value: false
},
loginUserInfo: {
type: Object,
value: {}
}
},
ready () {
lifetimes: {
attached: function () {
app.getLoginUserTokenInfo().then(() => {
this.setData({
corpUserFlag: app.globalData.loginUserInfo.corpUserFlag
corpUserFlag: this.properties.loginUserInfo.corpUserFlag
})
});
// 在组件实例进入页面节点树时执行
},
detached: function () {
// 在组件实例被从页面节点树移除时执行
},
},
ready () {
// console.log('app.globalData.loginUserInfo.corpUserFlag', app.globalData.loginUserInfo.corpUserFlag);
console.log('this.properties.loginUserInfo', this.properties.loginUserInfo);
// app.getLoginUserTokenInfo().then(() => {
// });
},
methods: {

@ -1302,7 +1302,12 @@ Page({
// console.log("agencyUserId", agencyUserId);
app.globalData.isCommission = 1;
}
app.getLoginUserTokenInfo();
app.getLoginUserTokenInfo().then((res)=>{
console.log('res', app.globalData.loginUserInfo)
this.setData({
userInfo: app.globalData.loginUserInfo,
});
});
// this.getJobList();
if (wx.getStorageSync("FILTER_LIST")) {

@ -589,7 +589,7 @@
</view>
</view>-->
<view x:if="{{recordList != null && recordList.length > 0}}" style="padding-top: 0;overflow-x: hidden;">
<job-sub storeJobListSearchForm="{{storeJobListSearchForm}}" bindgetPhoneNumber="getPhoneNumber" bindcollectPaste="collectPaste" bindgetUserInfoBtn="getUserInfoBtn" recordList="{{recordList}}" isLogin="{{isLogin}}" agencyStatus="{{agencyStatus}}" hasUserInfo="{{hasUserInfo}}"></job-sub>
<job-sub storeJobListSearchForm="{{storeJobListSearchForm}}" bindgetPhoneNumber="getPhoneNumber" bindcollectPaste="collectPaste" bindgetUserInfoBtn="getUserInfoBtn" recordList="{{recordList}}" isLogin="{{isLogin}}" agencyStatus="{{agencyStatus}}" hasUserInfo="{{hasUserInfo}}" loginUserInfo="{{userInfo}}"></job-sub>
<view wx:if="{{(recordList == null || recordList.length == 0) }}" class="tc">
<block wx:if="{{pageShow}}">
<view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 50% auto 20px"></view>
@ -1076,7 +1076,7 @@
</view>
</view>
</view>
<view class="pabtm" wx:if="{{!whichOneShow && false}}" style="top:{{(systemInfo.windowHeight - 200)}}px">
<view class="pabtm" wx:if="{{!whichOneShow && true}}" style="top:{{(systemInfo.windowHeight - 200)}}px">
<!-- <view class="typeChange" catchtap="choosenTop" data-id="{{toped == 2 ? 1 : 2}}" hover-class="none" hover-stop-propagation="false">
<image class style="border-radius: 70px;width:36px;height:28px;display:{{toped == 1 ? 'block' : 'none'}}" src="{{'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/biao1.svg'}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>
<image class style="border-radius: 70px;width:36px;height:28px;display:{{toped == 2 ? 'block' : 'none'}}" src="{{'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/jian1.svg'}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>

@ -13,6 +13,21 @@ Page({
isLoading: true,
messageClick: false,
infoList: [],
list: [
{
title: '平台消息',
url: '/subPage/systemMessage/index',
img: '../../assets/images/ptxx.svg',
content: '新春祝福与品牌升级...',
time: '下午 2:30',
}, {
title: '每日发单',
url: '/subPage/todayBill/index',
img: '../../assets/images/mrfd.svg',
content: '按偏好订阅每日接收推送',
time: '下午 1:30',
},
]
},
/**
@ -79,9 +94,9 @@ Page({
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
onShareAppMessage () {
return app.sharePageImage()
},
},
makePhoneCall () {
console.log(1);

@ -59,15 +59,15 @@
<view class="f14 c9 oelps" style="width:100%">伯才(以下简称“伯才”),让天下没有难做的劳务。</view>
</view>
<!-- 消息列表 -->
<view class="mb10 br_8" wx:for="{{infoList}}" style="padding:20px 10px;background-color:#fff" hover-class="thover" hover-stop-propagation="false" bindtap="goDetail" data-id="{{item.id}}" data-type="info">
<view class="fw500 f16 mb12 fsa" style="line-height:16px">
<view class='oelps' hover-class="none" style="max-width:240px" hover-stop-propagation="false">
<view class="mb10 br_8" wx:for="{{infoList}}" style="padding:12px;background-color:#fff;line-height:1" hover-class="thover" hover-stop-propagation="false" bindtap="goDetail" data-id="{{item.id}}" data-type="info">
<view class="fw500 f16 mb12 fsa" style>
<view class="oelps f18 fw500" hover-class="none" style="max-width:240px" hover-stop-propagation="false">
<i wx:if="{{item.readed == 0}}" class="mr4 mb2" style="display:inline-block;width: 8px;height: 8px;background: #f5222d;border-radius: 50%;"></i>
{{item.title}}
</view>
<view class="fw400 c9 f14" hover-class="none" hover-stop-propagation="false">{{item.pubTime == '8月30日' ? '6月16日' : item.pubTime}}</view>
</view>
<view class="f14 c9 oelps" style="width:100%">{{item.remark || '[图片]'}}</view>
<view class="c9 f15 oelps" style="width:100%">{{item.remark || '[图片]'}}</view>
</view>
<view class wx:if="{{infoList.length <= 0}}" style="text-align:center" hover-class="none" hover-stop-propagation="false">
<view class="t-icon t-icon-zanwu" style="width:80px;height:80px;margin:60px auto 20px;"></view>

@ -1,56 +1,15 @@
/* pages/message/index.wxss */
.container{
padding: 10px;
padding-top: 10px;
}
.container .servicebox {
/* display: flex; */
/* justify-content: space-between; */
/* flex-direction: column; */
/* align-items: start; */
/* padding: 20px; */
padding: 16px 12px;
/* padding-bottom: 0; */
/* padding-right: 10px; */
background-color: #fff;
}
.container .servicebox .serviceinfo{
}
.container .servicebox .serviceinfo image {
width: 52px;
height: 52px;
}
.servicebox .serviceBottom {
.noticImg{
width: 48px;
height: 48px;
line-height: 48px;
width: 100%;
justify-content: space-between;
}
.servicebox .serviceBottom > view {
flex: 1;
justify-content: space-between;
padding: 0 10px 0 16px;
}
.contact {
width: 80%;
height: 350px;
border-radius: 8px;
}
.contact .weui-dialog__hd{
margin-top: 40px;
padding: 0;
position: relative;
}
.contact .contact_bottomBtn .v-center {
width: 80px !important;
}
.contact .contact_bottomBtn .rflex button {
padding: 0;
width: 100%;
}
.guanbi{
position: absolute;
right: 16px;
top: -28px;
}
.mb32{
margin-bottom: 32px;
.sub{
padding: 12px;
font-size: 14px;
background-color: #fff;
/* border-radius: 8px; */
}

@ -0,0 +1,164 @@
// pages/message/index.js
const app = getApp();
import dateUtil from "../../utils/dateUtil";
import { customRequest } from '../../utils/request.js';
Page({
/**
* 页面的初始数据
*/
data: {
isLogin: app.globalData.isLogin,
serviceInfo: {},
iosDialog: false,
isLoading: true,
messageClick: false,
infoList: [],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad (options) {
this.setData({
messageClick: wx.getStorageSync("messageClick" + app.globalData.loginUserInfo.id),
});
console.log(this.data.messageClick);
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady () { },
/**
* 生命周期函数--监听页面显示
*/
onShow () {
// let serviceInfo = wx.getStorageSync('ServiceInfo')
this.getInfoList();
console.log('messageTab' + typeof this.getTabBar);
if (typeof this.getTabBar === "function" && this.getTabBar()) {
this.getTabBar().setData({
isShow: true,
selected: 2,
});
}
setTimeout(() => {
this.setData({
serviceInfo: app.globalData.serviceInfo,
isLoading: true,
messageClick: wx.getStorageSync("messageClick" + app.globalData.loginUserInfo.id),
});
}, 10);
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide () {
this.setData({
iosDialog: false,
});
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload () { },
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh () { },
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom () { },
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return app.sharePageImage()
},
makePhoneCall () {
console.log(1);
var that = this;
wx.makePhoneCall({
// number: that.data.jobDetail.assistantUserTel + ""
phoneNumber: that.data.serviceInfo.workPhone || "0371-6611 3723",
});
},
showdialog () {
this.setData({
iosDialog: true,
loading: true,
});
},
closeDialog () {
this.setData({
iosDialog: false,
});
},
imageLoad () {
this.setData({
isLoading: false,
});
},
getInfoList () {
let that = this;
customRequest("/bocai/cms/list", { header: 'headers', method: 'post', data: { pageSize: 100, pageNum: 1, keys: "" } }).then((res) => {
if (res.data.status == 200) {
res.data.data.pageBean.recordList.forEach(item => {
item['pubTime'] = dateUtil.timeShow(item.publishTime);
console.log(item);
});
that.setData({
infoList: res.data.data.pageBean.recordList,
});
}
})
// wx.request({
// url: app.globalData.ip + "/bocai/cms/list",
// data: { pageSize: 100, pageNum: 1, keys: "" },
// header: app.globalData.headers,
// method: "post",
// success: function (res) {
// console.log(res);
// if (res.data.status == 200) {
// res.data.data.pageBean.recordList.forEach(item => {
// item['pubTime'] = dateUtil.timeShow(item.publishTime);
// console.log(item);
// });
// that.setData({
// infoList: res.data.data.pageBean.recordList,
// });
// }
// },
// });
},
/**
* 阻止滑动穿透
*
*
*/
modalMove () {
return false;
},
goDetail (e) {
console.log(e);
if (e.currentTarget.dataset.type == "wellcome") {
wx.setStorageSync("messageClick" + app.globalData.loginUserInfo.id, true);
wx.navigateTo({
url: "/pages/messageDetail/index?type=1",
});
} else {
wx.navigateTo({
url: "/pages/messageDetail/index?id=" + e.currentTarget.dataset.id,
});
}
},
});

@ -0,0 +1,7 @@
{
"usingComponents": {},
"navigationBarTitleText" : "消息",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#f5f5f5",
"navigationBarTextStyle": "black"
}

@ -0,0 +1,107 @@
<view class="container">
<!-- wx:if="{{isLogin}}" -->
<!-- <view class="servicebox br_8">
<view class="serviceinfo display-flex pb16" hover-class="none">
<view class="mr10">
<image wx:if="{{serviceInfo.avatar}}" class="br_8" src="{{serviceInfo.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
<image wx:else class="br_8" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
</view>
<view class="servicenamebox">
<view class="mb2 f18 fw500">客户经理</view>
<view class="c3 f16">
{{serviceInfo.userName}}
<i class="mr4"></i>
<p class="f14">{{serviceInfo.tel || '0371-6611 3723'}}</p>
</view>
</view>
</view>
<view class="display-flex bt1 serviceBottom" hover-class="none" hover-stop-propagation="false">
<view class="display-flex br1 f14" bindtap="makePhoneCall" hover-class="thover">
<view class hover-stop-propagation="false">
<i class="iconfont icon-dianhua fw500 c6 mr4"></i>
拨打电话
</view>
<i class="iconfont icon-gengduo11 c9 f12 mr10"></i>
</view>
<view class="display-flex pl16 f14" bindtap="showdialog" hover-class="thover">
<view class hover-stop-propagation="false">
<i class="iconfont icon-qiyeweixin fw500 c6 mr4"></i>
加我微信
</view>
<i class="iconfont icon-gengduo11 c9 f12"></i>
</view>
</view>
</view>-->
<view class="servicebox br_8 fsa dn">
<view class="serviceinfo display-flex" hover-class="none">
<view class="mr8">
<image wx:if="{{serviceInfo.avatar}}" class="br_8" src="{{serviceInfo.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
<image wx:else class="br_8" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
</view>
<view class="servicenamebox">
<view class="mb2 f18 fw500">客户经理</view>
<view class="c3 f16">
{{serviceInfo.userName}}
<i class="mr4"></i>
<p class="f14">{{serviceInfo.tel || '0371-6611 3723'}}</p>
</view>
</view>
</view>
<view class hover-class="none" hover-stop-propagation="false">
<i class="t-icon t-icon-dianhua6 mr10" bindtap="makePhoneCall" hover-class="thover" style="width:40px;height:40px "></i>
<i class="t-icon t-icon-qiyeweixin" bindtap="showdialog" hover-class="thover" style="width:40px;height:40px "></i>
</view>
</view>
<view class="mt10 br_8 dn" style="padding:20px 10px;background-color:#fff" hover-class="thover" hover-stop-propagation="false" bindtap="goDetail" data-type="wellcome">
<view class="fw500 f16 mb12" style="line-height:16px">
<i wx:if="{{!messageClick}}" class="mr4 mb2" style="display:inline-block;width: 8px;height: 8px;background: #f5222d;border-radius: 50%;"></i>伯才欢迎您
</view>
<view class="f14 c9 oelps" style="width:100%">伯才(以下简称“伯才”),让天下没有难做的劳务。</view>
</view>
<!-- 消息列表 -->
<view class="mb10 br_8" wx:for="{{infoList}}" style="padding:12px;background-color:#fff;line-height:1" hover-class="thover" hover-stop-propagation="false" bindtap="goDetail" data-id="{{item.id}}" data-type="info">
<view class="fw500 f16 mb12 fsa" style>
<view class="oelps f18 fw500" hover-class="none" style="max-width:240px" hover-stop-propagation="false">
<i wx:if="{{item.readed == 0}}" class="mr4 mb2" style="display:inline-block;width: 8px;height: 8px;background: #f5222d;border-radius: 50%;"></i>
{{item.title}}
</view>
<view class="fw400 c9 f14" hover-class="none" hover-stop-propagation="false">{{item.pubTime == '8月30日' ? '6月16日' : item.pubTime}}</view>
</view>
<view class="c9 f15 oelps" style="width:100%">{{item.remark || '[图片]'}}</view>
</view>
<view class wx:if="{{infoList.length <= 0}}" style="text-align:center" hover-class="none" hover-stop-propagation="false">
<view class="t-icon t-icon-zanwu" style="width:80px;height:80px;margin:60px auto 20px;"></view>
<view class="tc f14 c045">暂无消息</view>
</view>
</view>
<view aria-role="dialog" aria-modal="true" class="fadeIn" catchtouchmove="modalMove" wx:if="{{iosDialog}}">
<view class="weui-mask"></view>
<view class="weui-dialog contact" style="box-sizing:border-box;">
<view class="weui-dialog__hd">
<!-- <strong class="weui-dialog__title">17639080029</strong></view> -->
<!-- <view class="weui-dialog__bd">
<view>现在登录吗?</view>
</view>-->
<!-- <image src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg" style="width:56px;height:56px;"></image> -->
<!-- <image src="../../assets/Snipaste_2023-06-13_09-25-14.png" show-menu-by-longpress='{{true}}' style="width:56px;height:56px;"></image> -->
<i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closeDialog"></i>
<view class="f16 c3 fw500 mb32">加客户经理微信</view>
<view wx:if="{{isLoading}}" class style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)" hover-class="none" hover-stop-propagation="false">
<view aria-role="img" aria-label="加载中" style class="weui-primary-loading">
<view class="weui-primary-loading__dot"></view>
</view>
<view class hover-class="none" hover-stop-propagation="false">加载中...</view>
</view>
<image src="{{serviceInfo.qrCode}}" bindload="imageLoad" show-menu-by-longpress="{{true}}" style="width: 184px;height: 184px;"></image>
<!-- <view class="f14 c9">人才经纪人</view> -->
<!-- <view class="mt20 f22 c3">{{pmdUserInfo.tel}}</view> -->
<view class="f14 c3 mt6">长按识别二维码</view>
</view>
<!-- <view class="display-flex contact_bottomBtn pb20" style="padding-top:20px;">
<view class="flex-1 lflex v-center" bindtap="closeDialog" hover-class="thover">取消</view>
<view class="rflex">
<button class="" type="primary" hover-class="thover" bindtap="makePhoneCall">呼叫</button>
</view>
</view>-->
</view>
</view>

@ -0,0 +1,56 @@
/* pages/message/index.wxss */
.container{
padding: 10px;
}
.container .servicebox {
/* display: flex; */
/* justify-content: space-between; */
/* flex-direction: column; */
/* align-items: start; */
/* padding: 20px; */
padding: 16px 12px;
/* padding-bottom: 0; */
/* padding-right: 10px; */
background-color: #fff;
}
.container .servicebox .serviceinfo{
}
.container .servicebox .serviceinfo image {
width: 52px;
height: 52px;
}
.servicebox .serviceBottom {
height: 48px;
line-height: 48px;
width: 100%;
justify-content: space-between;
}
.servicebox .serviceBottom > view {
flex: 1;
justify-content: space-between;
padding: 0 10px 0 16px;
}
.contact {
width: 80%;
height: 350px;
}
.contact .weui-dialog__hd{
margin-top: 40px;
padding: 0;
position: relative;
}
.contact .contact_bottomBtn .v-center {
width: 80px !important;
}
.contact .contact_bottomBtn .rflex button {
padding: 0;
width: 100%;
}
.guanbi{
position: absolute;
right: 16px;
top: -28px;
}
.mb32{
margin-bottom: 32px;
}

@ -0,0 +1,77 @@
// subPage/todayBill/index.js
Page({
/**
* 页面的初始数据
*/
data: {
text: `【泰州LG冰箱】
🚻 18-48 18-45黑户纹身不在明处都可以案底卡的不严身份证有效期内临时消磁均可
💰 底薪2490元+成果工资+夜班津贴15元/+特殊岗位津贴0-200+加班工资加班费 平时1.5倍21.47/周末2倍28.62/法定假日3倍42.93/综合工资5300~8000
发薪时间28号发放上月20号到当月19号工资工作不满七天无工资
📣 1. 三餐免费365天不上班也免费2. 免费提供住宿住宿人员班车免费接送3. 主要生产冰箱及冰箱用压缩机工作简单易操作详情咨询15936360682`
},
/**
* 生命周期函数--监听页面加载
*/
onLoad (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom () {
},
selectionChangeHandler (e) {
console.log(e);
let item = e.currentTarget.dataset.item;
const query = wx.createSelectorQuery()
query.select('#copy' + item).context().exec((res) => {
console.log(res);
});
},
/**
* 用户点击右上角分享
*/
onShareAppMessage () {
}
})

@ -0,0 +1,4 @@
{
"navigationBarTitleText" : "每日发单"
}

@ -0,0 +1,28 @@
<view class>
<scroll-view class scroll-y enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" refresher-triggered="{{isTrigger}}" style="height:calc(100vh)">
<view class="container">
<view class="sub" wx:for="{{4}}">
<view class="timeTitle c9 tac">{{item == 0 ? '今天' :( item == 1 ? '昨天' : item == 2 ? '前天' : '2025-3-3')}} 15:3{{item + 1}}</view>
<view class="por fss" style="align-items:unset;margin-right:58px">
<view class>
<image class="avatarImg" src="{{'../../assets/images/chatAvatar.jpg'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
</view>
<view class="ml12">
<view class="userName f12 c9">{{'客服刘丽'}}</view>
<view class="chatContent">
<view class="pb4" hover-class="none" hover-stop-propagation="false">
<view class="triangle"></view>
<rich-text class="linefeed f18" user-select="{{true}}" nodes="{{text}}"></rich-text>
</view>
<view class="bt1 c6 pt8 pb8 fss f14">
<view class="copy">
<i class="iconfont icon-file-copy"></i>复制
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</view>

@ -0,0 +1,49 @@
/* subPage/todayBill/index.wxss */
.container {
padding: 0 0 120px 16px;
}
.timeTitle {
height: 32px;
line-height: 32px;
font-size: 14px;
padding: 32px 16px 12px 16px;
/* position: sticky;
position: -webkit-sticky; */
top: 0px;
z-index: 999;
/* background: #f5f5f5; */
}
.sub {
/* margin-right: 58px; */
}
.avatarImg {
width: 40px;
height: 40px;
border-radius: 8px;
}
.chatContent {
position: relative;
background-color: #fff;
padding: 12px 16px 0 16px;
/* margin-left: 16px; */
border-radius: 4px;
}
.userName {
line-height: 1;
margin-bottom: 8px;
}
.triangle {
position: absolute;
top: 4px;
left: -14px;
width: 0;
height: 0;
border: 8px solid transparent;
border-right: 12px solid #fff;
}
.copy {
padding: 1px 4px;
border-radius: 8px;
background-color: #1890ff26;
color: #1890ff;
}
Loading…
Cancel
Save