分享朋友圈调整

This commit is contained in:
唐明明
2023-09-14 09:25:37 +08:00
parent 510cbeb181
commit 0dcf23bfde
43 changed files with 458 additions and 219 deletions

View File

@@ -0,0 +1,28 @@
Page({
/**
* 页面的初始数据
*/
data: {
content: ""
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
wx.showLoading({
title: '加载中...',
mask : true
})
wx.$api.auth.richText(options.id).then(res => {
this.setData({
content: res.data.content
})
wx.setNavigationBarTitle({
title: res.data.title,
})
wx.hideLoading()
})
}
})

View File

@@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@@ -0,0 +1,4 @@
<view class="content">
<rich-text nodes="{{content}}"></rich-text>
</view>

View File

@@ -0,0 +1,2 @@
.content{ padding: 30rpx 50rpx 50rpx; font-size: 30rpx; color: #333; line-height: 50rpx; }