完成单人信札调整

wk-dev
Wkang921 2 years ago
parent 8343976940
commit 987dcbb4d1

@ -13,13 +13,13 @@ Page({
content:'', content:'',
audioList:[], // 音频列表 audioList:[], // 音频列表
imgList:[], // 图片列表 imgList:[], // 图片列表
messageList: [], //消息列表
sound:'', sound:'',
soundTime:'00:00:00', soundTime:'00:00:00',
duration: '', duration: '',
minute:0, //分 minute:0, //分
second:0, //秒 second:0, //秒
millisecond:0, //毫秒 millisecond:0, //毫秒
showBtn:true,
showImgBig:false, //图片太大弹层 showImgBig:false, //图片太大弹层
showSoundMore:false, //语音太多提示 showSoundMore:false, //语音太多提示
showSend:false, //寄出提示 showSend:false, //寄出提示
@ -33,20 +33,15 @@ Page({
btn3:false, btn3:false,
btn4:false, btn4:false,
showSoundImg:true, showSoundImg:true,
isPlaying: false, // 是否正在播放语音 isPlaying: false // 是否正在播放语音
}, },
already(){ already(){
console.log('确定寄出'); console.log('确定寄出');
this.setData({showAlready:true}) this.setData({showAlready:true})
const list = [ ...this.data.audioList, ...this.data.imgList]
list.push({
type: 'text',
content: this.data.content
})
const fromData = { const fromData = {
from: this.data.from, from: this.data.from,
to: this.data.to, to: this.data.to,
messageList: list, messageList: this.data.messageList,
status:'unread' status:'unread'
} }
console.log(fromData); console.log(fromData);
@ -74,31 +69,47 @@ Page({
closeShowImgToast(){this.setData({showImgToast: false})}, closeShowImgToast(){this.setData({showImgToast: false})},
openPreview(){ openPreview(){
console.log('预览'); console.log('预览');
this.setData({Preview:true}) this.setData({Preview : !this.data.Preview})
}, },
ClearYl(e){ ClearYl(e){
console.log('清除语音'); console.log('清除语音');
const id = e.currentTarget.dataset.id const id = e.currentTarget.dataset.id
const list = this.data.audioList.filter(item => { const list = this.data.messageList.filter(item => {
return item.resourceId !== id return item.resourceId !== id
}) })
this.setData({audioList: list}) this.setData({messageList: list})
}, },
ClearImg(e){ ClearImg(e){
console.log('清除图片'); console.log('清除图片');
const id = e.currentTarget.dataset.id const id = e.currentTarget.dataset.id
const list = this.data.imgList.filter(item => { const list = this.data.messageList.filter(item => {
return item.resourceId !== id return item.resourceId !== id
}) })
this.setData({imgList: list}) this.setData({messageList: list})
}, },
goBack(){ goBack(){
if (this.data.Preview) { // if (this.data.Preview) {
this.setData({Preview: false}) // this.setData({Preview: false})
}else{ // }else{
console.log('返回'); // console.log('返回');
// wx.navigateBack()
// }
wx.navigateBack() wx.navigateBack()
},
// 获取文本框内容
getTextValue(e){
const index = e.currentTarget.dataset.index
const content = e.detail.value
const list = this.data.messageList.map(item => {
if (item.index === index) {
return {
...item,
content : content
}
} }
return item
})
this.setData({messageList: list})
}, },
// 上传图片 // 上传图片
addImg(){ addImg(){
@ -114,6 +125,7 @@ Page({
} }
}) })
}, },
// 文件上传 // 文件上传
uploadFile(file,type) { uploadFile(file,type) {
wx.uploadFile({ wx.uploadFile({
@ -129,35 +141,53 @@ Page({
}, },
success: (async(res) => { success: (async(res) => {
const data = JSON.parse(res.data); const data = JSON.parse(res.data);
console.log(data);
if (data.data.type === 'audio') { if (data.data.type === 'audio') {
console.log('添加音频'); console.log('添加音频');
const list = this.data.audioList const list = this.data.messageList
if(list.length >= 3){ const index = list.length + 1
const audioList = list.filter(item => {
return item.type === 'audio'
})
if(audioList.length >= 3){
this.setData({showSoundMore:true ,showSoundImg:true}) this.setData({showSoundMore:true ,showSoundImg:true})
console.log('语音太多了');
}else { }else {
list.push({ list.push({
type: 'audio', type: 'audio',
resourceId: data.data.id, resourceId: data.data.id,
duration: this.data.duration, duration: this.data.duration,
videoSrc: this.data.videoSrc, videoSrc: this.data.videoSrc,
index:index,
extra: {duration : this.data.ssec} extra: {duration : this.data.ssec}
}) })
this.setData({audioList: list}) list.push({
type: 'text',
content: '',
index: index + 1
})
this.setData({messageList: list})
} }
} else if (data.data.type === 'poster') { } else if (data.data.type === 'poster') {
console.log('添加图片'); console.log('添加图片');
const list = this.data.imgList const list = this.data.messageList
if (list.length >= 9) { const migList = list.filter(item => {
return item.type === 'graphic'
})
if (migList.length >= 9) {
this.setData({showImgToast : true}) this.setData({showImgToast : true})
}else { }else {
const index = list.length + 1
list.push({ list.push({
type: 'graphic', type: 'graphic',
resourceId: data.data.id, resourceId: data.data.id,
img: data.data.abUrl, img: data.data.abUrl,
index: index
}) })
this.setData({imgList: list, showImg:true}) list.push({
type: 'text',
content: '',
index: index + 1
})
this.setData({messageList: list, showImg:true})
} }
} }
}), }),
@ -302,10 +332,32 @@ Page({
modify(){ modify(){
this.setData({showAlready: false, showSend: false}) this.setData({showAlready: false, showSend: false})
}, },
// 获取信札内容
getLetter(){ getLetter(){
console.log('获取当前用户信札内容');
req.getRequest('/api/user/curt/letter',{}).then(res => { req.getRequest('/api/user/curt/letter',{}).then(res => {
console.log(res); if (res.data.code === 200) {
console.log(res.data.data);
const data = res.data.data
const id = wx.getStorageSync('xinyuan-userInfo').id
if (!data.messageList.length) {
data.messageList.push({content: '', type: 'text', index: 1})
}
data.messageList.forEach((item, index) => {
item.index = index + 1
if (item.type === 'audio') {
const src = `https://xzjl-api.windymuse.cn/api/resource/${item.resourceId}?k=${id}`
item.videoSrc = src
}else if(item.type === 'graphic'){
const src = `https://xzjl-api.windymuse.cn/api/resource/${item.resourceId}?k=${id}`
item.img = src
}
})
this.setData({
from: data.from,
to: data.to,
messageList: data.messageList
})
}
}) })
}, },
// 点击音频试听 // 点击音频试听
@ -314,7 +366,7 @@ Page({
return; // 如果正在播放语音,则不触发事件 return; // 如果正在播放语音,则不触发事件
} }
const id = e.currentTarget.dataset.url.resourceId const id = e.currentTarget.dataset.url.resourceId
const videoSrc = this.data.audioList.find(item => { const videoSrc = this.data.messageList.find(item => {
return item.resourceId === id return item.resourceId === id
}).videoSrc }).videoSrc
console.log(videoSrc); console.log(videoSrc);
@ -333,6 +385,7 @@ Page({
this.setData({id:id}) this.setData({id:id})
}) })
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */

@ -1,11 +1,8 @@
<!--pages/home/xx/xz/xz.wxml--> <!--pages/home/xx/xz/xz.wxml-->
<view class="bgt1"></view> <view class="bgt1"></view>
<view class="xinfo"> <view class="xinfo" wx:if="{{!Preview}}">
<scroll-view scroll-y enhanced="{{true}}" show-scrollbar="{{false}}" class="xinfo-content"> <scroll-view scroll-y enhanced="{{true}}" show-scrollbar="{{false}}" class="xinfo-content">
<view class="xinfo-yl-title" wx:if="{{Preview}}"> <view class="xinfo-title">
To: {{to}}
</view>
<view class="xinfo-title" wx:if="{{!Preview}}">
<view class="title-to"> <view class="title-to">
<view class="text">To:</view> <view class="text">To:</view>
<t-input model:value="{{to}}" /> <t-input model:value="{{to}}" />
@ -15,39 +12,38 @@
<t-input model:value="{{from}}"/> <t-input model:value="{{from}}"/>
</view> </view>
</view> </view>
<view wx:for="{{messageList}}" wx:key="index">
<!-- 信件文本 --> <!-- 信件文本 -->
<view class="xinfo-main"> <view class="xinfo-main" wx:if="{{item.type === 'text'}}">
<t-textarea autosize="true" model:value="{{content}}" placeholder="信件正文" /> <t-textarea bindblur="getTextValue" data-index="{{item.index}}" autosize="true" value="{{item.content}}" placeholder="信件正文" />
</view> </view>
<!-- 信件语音 --> <!-- 信件语音 -->
<view class="{{Preview ? 'xinfo-ltqp-yl' : 'xinfo-ltqp'}}" wx:for="{{audioList}}" wx:key="index" bindtap="listen" data-url="{{item}}"> <view class="xinfo-ltqp" wx:if="{{item.type === 'audio'}}" bindtap="listen" data-url="{{item}}">
<image class="xinfo-yuying" src="https://wish-assets.windymuse.com.cn/xy/%E8%AF%AD%E9%9F%B3.png"></image> <image class="xinfo-yuying" src="https://wish-assets.windymuse.com.cn/xy/%E8%AF%AD%E9%9F%B3.png"></image>
<view class="xinfo-ltqp-text">{{item.extra.duration}}</view> <view class="xinfo-ltqp-text">{{item.extra.duration}}</view>
<t-icon class="xinfo-close" name="close-circle" size="48rpx" wx:if="{{!Preview}}" bindtap="ClearYl" data-id="{{item.resourceId}}"/> <t-icon class="xinfo-close" name="close-circle" size="48rpx" catchtap="ClearYl" data-id="{{item.resourceId}}"/>
</view> </view>
<!-- 信件图片 --> <!-- 信件图片 -->
<view class="{{Preview ? 'xinfo-img-yl' : 'xinfo-img'}}" wx:for="{{imgList}}" wx:key="index"> <view class="xinfo-img" wx:if="{{item.type === 'graphic'}}">
<image src="{{item.img}}" mode="widthFix"></image> <image src="{{item.img}}" mode="widthFix"></image>
<view class="xinfo-img-close" bindtap="ClearImg" data-id="{{item.resourceId}}"> <view class="xinfo-img-close" bindtap="ClearImg" data-id="{{item.resourceId}}">
<t-icon name="close-circle" size="48rpx" wx:if="{{!Preview}}"/> <t-icon name="close-circle" size="48rpx"/>
</view> </view>
</view> </view>
<view class="xinfo-yl-form" wx:if="{{Preview}}">
From: {{from}}
</view> </view>
<view class="xinfo-yl" wx:if="{{Preview}}"></view>
</scroll-view> </scroll-view>
</view> </view>
<view class="bgt2" wx:if="{{showBtn}}">
<view class="bgt2" wx:if="{{!Preview}}">
<view class="bgt2-btn1" bindtap="goBack"> <view class="bgt2-btn1" bindtap="goBack">
<image src="https://wish-assets.windymuse.com.cn/xy/iconPark-return%401x.png"></image> <image src="https://wish-assets.windymuse.com.cn/xy/iconPark-return%401x.png"></image>
</view> </view>
<view class="bgt2-btn2" bindtap="openSound" wx:if="{{!Preview}}">音讯</view> <view class="bgt2-btn2" bindtap="openSound">音讯</view>
<view class="bgt2-btn3" bindtap="addImg" wx:if="{{!Preview}}">画像</view> <view class="bgt2-btn3" bindtap="addImg">画像</view>
<view class="bgt2-btn4" bindtap="openPreview" wx:if="{{!Preview}}">预览</view> <view class="bgt2-btn4" bindtap="openPreview">预览</view>
<view class="bgt2-btn5" bindtap="openShowSend" wx:if="{{!Preview}}">寄出</view> <view class="bgt2-btn5" bindtap="openShowSend">寄出</view>
<view class="bgt2-yz"></view> <view class="bgt2-yz"></view>
</view> </view>
@ -132,3 +128,36 @@
</view> </view>
<view class="already-bom"></view> <view class="already-bom"></view>
</view> </view>
<!-- 预览页面 -->
<view wx:if="{{Preview}}" class="preview">
<!-- 信件主体内容 -->
<view class="preview-content">
<view class="content">
<view class="preview-content-title">To可能性的艺术</view>
<view wx:for="{{messageList}}" wx:key="index">
<!-- 信条 -->
<view class="preview-content-main" wx:if="{{item.type === 'text' && item.content !== ''}}">
<t-textarea bindblur="getTextValue" data-index="{{item.index}}" autosize="true" value="{{item.content}}" disabled/>
</view>
<!-- 语音 -->
<view class="preview-content-ltqp" bindtap="listen" wx:if="{{item.type === 'audio'}}" data-url="{{item}}">
<image src="https://wish-assets.windymuse.com.cn/xy/%E8%AF%AD%E9%9F%B3.png"></image>
<view class="text">{{item.extra.duration}}</view>
</view>
<!-- 图片 -->
<view class="preview-content-img" wx:if="{{item.type === 'graphic'}}">
<image src="{{item.img}}" mode="widthFix"></image>
</view>
</view>
<view class="preview-content-end">Form可能性的艺术</view>
</view>
</view>
<view class="preview-bkg">
<view class="preview-yz"></view>
</view>
<view class="preview-btn" bindtap="openPreview"><view class="preview-btn-img" /></view>
</view>

@ -54,43 +54,26 @@ page {
.xinfo-content { .xinfo-content {
width: 100%; width: 100%;
height: 100%; height: 100%;
padding-bottom: 100rpx; padding-bottom: 300rpx;
padding-top: 60rpx;
box-sizing: border-box; box-sizing: border-box;
overflow: auto; overflow: auto;
position: relative; position: relative;
pointer-events: auto; pointer-events: auto;
} background-size: cover;
background-image: url(https://wish-assets.oss-cn-hangzhou.aliyuncs.com/xy/zx-bkg.png);
.xinfo-yl {
width: 100%;
height: 200rpx;
} }
.xinfo-title { .xinfo-title {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
margin-top: 60rpx; margin-bottom: 60rpx;
padding-left: 64rpx; padding-left: 64rpx;
box-sizing: border-box; box-sizing: border-box;
font-size: 28rpx; font-size: 28rpx;
color: rgba(108, 108, 108, 1); color: rgba(108, 108, 108, 1);
} }
.xinfo-yl-title {
margin: 60rpx 0 0 50rpx;
font-size: 32rpx;
color: rgba(108, 108, 108, 1);
}
.xinfo-yl-form {
width: 100%;
text-align: end;
margin-top: 30rpx;
padding-right: 64rpx;
box-sizing: border-box;
font-size: 32rpx;
color: rgba(108, 108, 108, 1);
}
.title-to { .title-to {
display: flex; display: flex;
@ -129,7 +112,7 @@ page {
.xinfo-main { .xinfo-main {
width: 100%; width: 100%;
margin: 60rpx 0 32rpx 0; margin-bottom: 40rpx;
padding: 0 64rpx; padding: 0 64rpx;
box-sizing: border-box; box-sizing: border-box;
} }
@ -153,29 +136,13 @@ textarea {
position: relative; position: relative;
width: 382rpx; width: 382rpx;
height: 84rpx; height: 84rpx;
margin: 0 0 20rpx 64rpx; margin: 0 0 40rpx 64rpx;
display: flex; display: flex;
align-items: center; align-items: center;
background-size: contain; background-size: contain;
background-image: url(https://wish-assets.windymuse.com.cn/xy/ltqpp.png); background-image: url(https://wish-assets.windymuse.com.cn/xy/ltqpp.png);
} }
.xinfo-ltqp-yl {
position: relative;
width: 382rpx;
height: 84rpx;
margin: 0 0 20rpx 64rpx;
display: flex;
align-items: center;
background-size: contain;
background-image: url(https://wish-assets.windymuse.com.cn/xy/ltqpp.png);
}
.xinfo-ltqp-yl image {
width: 100%;
height: 100%;
}
.xinfo-ltqp image { .xinfo-ltqp image {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -202,23 +169,11 @@ textarea {
.xinfo-img { .xinfo-img {
position: relative; position: relative;
width: 480rpx; width: 480rpx;
margin: 40rpx 0 0 64rpx; margin: 0 0 40rpx 64rpx;
display: flex;
justify-content: center;
}
.xinfo-img-yl {
position: relative;
width: 480rpx;
margin: 40rpx 0 0 64rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.xinfo-img-yl image {
width: 100%;
}
.xinfo-img image { .xinfo-img image {
width: 100%; width: 100%;
} }
@ -614,3 +569,138 @@ textarea {
color: #fff; color: #fff;
z-index: 999; z-index: 999;
} }
editor {
background-color: pink;
}
/* 预览页面样式 */
.preview {
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
}
.preview-content {
width: 616rpx;
height: 1280rpx;
margin-top: 132rpx;
background-size: 100% 100%;
background-image: url(https://wish-assets.oss-cn-hangzhou.aliyuncs.com/xy/zx-bkg.png);
}
.preview-content .content{
width: 616rpx;
height: 1280rpx;
margin-top: 18rpx;
overflow-y: scroll;
}
.preview-bkg {
position: absolute;
bottom: -190rpx;
width: 100%;
height: 924rpx;
background-size: 100% 100%;
background-image: url(https://wish-assets.windymuse.com.cn/xy/bgt2.png);
pointer-events: none;
display: flex;
justify-content: center;
}
.preview-btn {
position: absolute;
left: 32rpx;
bottom: 132rpx;
width: 110rpx;
height: 110rpx;
border-radius: 50%;
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);
box-shadow: 0px 4rpx 12rpx 0px rgba(0, 0, 0, 0.4);
font-family: -apple-system;
border: 6rpx solid rgba(255, 255, 255, 1);
display: flex;
justify-content: center;
align-items: center;
}
.preview-btn-img {
width: 60rpx;
height: 60rpx;
background-size: cover;
background-image: url(https://wish-assets.windymuse.com.cn/xy/iconPark-return%401x.png);
}
.preview-content-title {
color: #6c6c6c;
font-size: 32rpx;
text-align: left;
font-weight: 700;
margin: 50rpx 0 0 60rpx;
}
.preview-content-end {
color: #6c6c6c;
font-size: 32rpx;
text-align: right;
font-weight: 700;
margin: 50rpx 60rpx 80rpx 0;
}
.preview-content-main {
color: #6c6c6c;
font-size: 32rpx;
margin: 32rpx 60rpx 40rpx 60rpx;
}
.preview-content-main .t-textarea {
width: 100%;
padding: 0;
font-size: 28rpx;
background-color: rgba(0, 0, 0, 0);
}
.preview-content-ltqp {
position: relative;
width: 382rpx;
height: 84rpx;
margin: 0 0 40rpx 64rpx;
display: flex;
align-items: center;
background-size: contain;
background-image: url(https://wish-assets.windymuse.com.cn/xy/ltqpp.png);
}
.preview-content-ltqp image {
margin: 0 40rpx;
width: 70rpx;
height: 70rpx;
}
.preview-content-ltqp .text {
color: rgba(79, 79, 79, 1);
font-size: 14px;
}
.preview-content-img {
display: flex;
justify-content: center;
margin-bottom: 40rpx;
}
.preview-content-img image {
width: 480rpx;
}
.preview-yz {
width: 146rpx;
height: 146rpx;
margin-top: 470rpx;
background-image: url(https://wish-assets.windymuse.com.cn/xy/%E5%8D%B0%E7%AB%A0.png);
background-size: cover;
pointer-events: auto;
}

@ -14,7 +14,8 @@ Page({
showMore: false, showMore: false,
showDel:false, showDel:false,
imgList:[], imgList:[],
audioList:[] audioList:[],
messageList: []
}, },
openLetter(){ openLetter(){
this.setData({showLetter: !this.data.showLetter}), this.setData({showLetter: !this.data.showLetter}),
@ -45,14 +46,13 @@ Page({
// 判断是否有图片 // 判断是否有图片
console.log(messageList); console.log(messageList);
messageList.forEach(item => { messageList.forEach(item => {
if (item.type === 'text') { if(item.type === 'graphic') {
this.setData({content: item.content}) item.img = `https://xzjl-api.windymuse.cn/api/resource/${item.resourceId}?k=${id}`
}else if(item.type === 'graphic') {
this.getResource(id, item.resourceId, 'graphic')
}else if(item.type === 'audio') { }else if(item.type === 'audio') {
this.getResource(id, item.resourceId, 'audio',item.extra.duration) item.audio = `https://xzjl-api.windymuse.cn/api/resource/${item.resourceId}?k=${id}`
} }
}) })
this.setData({messageList: messageList})
}) })
}, },
getUserInfo(){ getUserInfo(){
@ -61,28 +61,6 @@ Page({
this.getLetterMsg(id) this.getLetterMsg(id)
}) })
}, },
// 获取文件
getResource(id,k,type,time){
if(type === 'graphic'){
const list = this.data.imgList
list.push({
img: `https://xzjl-api.windymuse.cn/api/resource/${k}?k=${id}`
})
this.setData({
imgList: list
})
}else if(type === 'audio'){
const list = this.data.audioList
list.push({
audio: `https://xzjl-api.windymuse.cn/api/resource/${k}?k=${id}`,
duration:time
})
this.setData({
audioList:list
})
console.log(this.data.videos,'语音路径');
}
},
// 播放录音 // 播放录音
playVideos(e){ playVideos(e){
console.log(e.currentTarget.dataset.url.audio); console.log(e.currentTarget.dataset.url.audio);

@ -23,18 +23,23 @@
<view class="body" wx:if="{{!showLetter}}"> <view class="body" wx:if="{{!showLetter}}">
<view class="xinfo"> <view class="xinfo">
<view class="xinfo-title">To{{letterMsg.to}}</view> <view class="xinfo-title">To{{letterMsg.to}}</view>
<view class="xinfo-main">
<t-textarea disabled autosize="true" model:value="{{content}}"/> <view wx:for="{{messageList}}" wx:key="index">
<view class="xinfo-main" wx:if="{{item.type === 'text' && item.content !== ''}}">
<t-textarea disabled autosize="true" value="{{item.content}}"/>
</view> </view>
<view class="xinfo-voice" bindtap="playVideos" wx:for="{{audioList}}" wx:key="index" data-url="{{item}}"> <view class="xinfo-voice" bindtap="playVideos" data-url="{{item}}" wx:if="{{item.type === 'audio'}}">
<view class="xinfo-icon"></view> <view class="xinfo-icon"></view>
<view> {{item.duration}} </view> <view> {{item.extra.duration}} </view>
</view> </view>
<view class="xinfo-img" wx:for="{{imgList}}" wx:key="index"> <view class="xinfo-img" wx:if="{{item.type === 'graphic'}}">
<image mode="widthFix" src="{{item.img}}" /> <image mode="widthFix" src="{{item.img}}" />
</view> </view>
</view>
<view class="xinfo-sign">Form{{letterMsg.from}}</view> <view class="xinfo-sign">Form{{letterMsg.from}}</view>
<view class="xinfo-time">{{time}}</view> <view class="xinfo-time">{{time}}</view>
</view> </view>
<view class="body-btm-img"> <view class="body-btm-img">

@ -95,7 +95,7 @@ page {
} }
.xinfo-title { .xinfo-title {
margin-left: 60rpx; margin: 0 0 50rpx 60rpx;
color: rgba(108, 108, 108, 1); color: rgba(108, 108, 108, 1);
font-size: 32rpx; font-size: 32rpx;
text-align: left; text-align: left;
@ -105,7 +105,7 @@ page {
.xinfo-main { .xinfo-main {
color: rgba(108, 108, 108, 1); color: rgba(108, 108, 108, 1);
font-size: 14px; font-size: 14px;
margin: 32rpx 50rpx; margin: 0 50rpx 40rpx 50rpx;
} }
.xinfo-main .t-textarea { .xinfo-main .t-textarea {
@ -120,7 +120,7 @@ page {
height: 84rpx; height: 84rpx;
display: flex; display: flex;
align-items: center; align-items: center;
margin:0 0 48rpx 50rpx; margin:0 0 40rpx 50rpx;
padding-left: 48rpx; padding-left: 48rpx;
box-sizing: border-box; box-sizing: border-box;
background-size: cover; background-size: cover;
@ -138,15 +138,14 @@ page {
.xinfo-img { .xinfo-img {
width: 100%; width: 100%;
/* height: 448rpx; */ /* height: 448rpx; */
margin-bottom: 44rpx; margin-bottom: 40rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.xinfo-img image { .xinfo-img image {
height: 100%; width: 480rpx;
/* width: 480rpx; */
} }
.xinfo-sign { .xinfo-sign {
@ -155,6 +154,7 @@ page {
font-weight: 700; font-weight: 700;
text-align: right; text-align: right;
margin-right: 60rpx; margin-right: 60rpx;
margin-top: 60rpx;
} }
.xinfo-time { .xinfo-time {

@ -21,6 +21,27 @@
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
},
{
"name": "",
"pathName": "pages/home/xx/xz/xz",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/home/xx/xz/xz",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/xz/index",
"query": "",
"launchMode": "default",
"scene": null
} }
] ]
} }

Loading…
Cancel
Save