You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bocai_supplyChain/subPage/todayBill/index.js

181 lines
4.4 KiB
JavaScript

// subPage/todayBill/index.js
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
text: `伯才【在招】企业 3月7日
1 year ago
1[红包]中牟零食厂
工价180/ 18-50
代理共300元
1 year ago
2[红包]港区优质长白班
工价3500-4500/ 25-50
代理500/
1 year ago
3[红包]港区南港长白班电子厂
工价4000-5500/ 18-45
代理300/
1 year ago
4[红包]郑州九龙仪表盘厂小时工
工价184/男女 18-40
代理1.5/小时
1 year ago
5[红包]郑州地铁安检员
工价5400-7350/男女 18-33
代理35/
1 year ago
6[红包]郑州康师傅
工价170/男女 18-45
代理20/
1 year ago
7[红包]郑州思念食品
工价5500-8000/ 18-52
代理共1000元
1 year ago
8[红包]郑州超压新材料
工价200/男女 22-45
代理200/
1 year ago
9[红包]信阳鑫达辉电子厂
工价17/小时男女 16-40
代理1.5/小时
1 year ago
10[红包]信阳采茶工日结工
工价150/男女 16-68
代理工人收入16%
1 year ago
11[红包]新乡新飞电器
工价14/小时男女 18-53
代理1.5/小时
1 year ago
12[红包]新乡新能源材料厂
工价17/小时 18-50
代理1.5/小时
1 year ago
13[红包]新乡立白包装厂
工价135/男女 18-50
代理15/
1 year ago
14[红包]薛店镇民族食品厂
工价180/男女 18-45
代理20/
1 year ago
15[红包]洛阳翔通光电
工价5000-6000/男女 18-35
代理50/
1 year ago
16[红包]洛阳中航富士达
工价15/小时男女 18-30
代理1/小时
1 year ago
17[红包]鹤壁耕德小时工
工价17/小时男女 16-46
代理费用待定
1 year ago
18[红包]太仓食品包装
工价6500-8000/男女 18-52
代理15/
1 year ago
19[红包]常熟东南书本厂
工价5500-6000/ 25-40
代理500/
1 year ago
20[红包]苏州华星外包
工价6200-7200/男女 18-40
代理500/
1 year ago
==这里一键看详单👇==
点击#小程序伯才供应链
点击#小程序伯才供应链
1 year ago
点击#小程序伯才供应链`,
textShow: ''
},
/**
* 生命周期函数--监听页面加载
*/
onLoad (options) {
1 year ago
this.setData({
textShow: this.data.text.replace(/\*\*\*\*\*/g, "")
.replace(/\[红包\]/g, `<img src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/adminIcon/hongbao.svg" style="width: 20px;vertical-align: middle;position: relative;top: -2px;" alt="">`)
.replace(/\[太阳\]/g, `<img src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/adminIcon/taiyang.svg" style="width: 20px;vertical-align: text-top;" alt="">`)
.replace(/\[爱心\]/g, `<img src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/adminIcon/aixin.svg" style="width: 20px;vertical-align: text-top;" alt="">`)
.replace(/\[注意\]/g, `<img src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/adminIcon/zhuyi.svg" style="width: 20px;vertical-align: text-top;" alt="">`)
.replace(/⚠/g, `<img src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/adminIcon/zhuyi.svg" style="width: 20px;vertical-align: middle;position: relative;top: -2px;" alt="">`)
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
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);
});
},
copyInfo (e) {
app.vibrateShort()
// wx.setClipboardData({
// data: this.data.text,
// success (res) {
// },
// });
app.copyFun(this.data.text, () => {
console.log(123123);
})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage () {
}
})