first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1 @@
afa0fd18-6efe-4e14-bf8b-a95363579b1b

View File

@@ -0,0 +1,81 @@
// pages/serviceInfo/serviceInfo.js
const app = getApp();
const regeneratorRuntime = app.loadAsync()
const model = app.loadModel("index")
const util = app.loadUtils("util")
const http = app.loadHttp()
Page({
/**
* 页面的初始数据
*/
data: {
system: app.globalData.system, //设备相关信息
pageTitle: "服务说明", //头部标题
isBack: true,//显示返回
},
// 获取富文本
async newsDetails(id) {
let res = await http.http.request1({ url: `${http.api.getWashWarn}`, method: "POST", data:{id: id} })
this.setData({
nodes: res.data.data.description
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
if(options.group_type !== void 0){
this.newsDetails(options.group_type)
}
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

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

View File

@@ -0,0 +1,9 @@
<!-- 头部导航 -->
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}" />
<!--pages/richText/richText.wxml-->
<view class="richText pd30">
<rich-text nodes="{{nodes}}" />
</view>
<!-- toasta提示 -->
<i-toast id="toast" />

View File

@@ -0,0 +1,9 @@
/* pages/serviceInfo/serviceInfo.wxss */
page{
background-color: #ffffff !important;
}
.richText{
border-top: 2rpx solid #ebebeb;
padding-top: 30rpx;
word-wrap: break-word;
}