This commit is contained in:
daihh
2022-11-17 16:45:08 +08:00
4 changed files with 12 additions and 7 deletions

View File

@@ -347,11 +347,11 @@
background-position: 0 0;
}
.list-box-index:nth-child(2){
background: url(../../static/images/ranking/list-or.png) no-repeat 100% / 100%;
background: url(../../static/images/ranking/list-pink.png) no-repeat 100% / 100%;
background-position: 0 -1px;
}
.list-box-index:nth-child(3){
background: url(../../static/images/ranking/list-pink.png) no-repeat 100% / 100%;
background: url(../../static/images/ranking/list-or.png) no-repeat 100% / 100%;
background-position: 0 0;
}
.list-box-index{

View File

@@ -1,6 +1,6 @@
<template>
<view>
<page-title :showBack="true">我的分享</page-title>
<!-- <page-title :showBack="true">我的分享</page-title> -->
<view v-for="(item,index) in dataList.list" :key="index">
<view v-if="item.type == 1">
<view class="course_box">
@@ -30,7 +30,7 @@
</view>
</view>
<view v-if="item.type == 2">
<view class="article_one" >
<view class="article_one">
<view>
<view @click="toArticleDetail(item)" class="articla_tit" >
<text v-html="$keywordActiveShow(item.title,query.keyword)"></text>

View File

@@ -1,6 +1,6 @@
<template>
<view>
<page-title :showBack="true">分享给我的</page-title>
<!-- <page-title :showBack="true">分享给我的</page-title> -->
<view v-for="(item,index) in dataList.list" :key="index">
<view v-if="item.type == 1">
<view class="course_box">

View File

@@ -16,7 +16,7 @@
" maxlength="30" class="row-input" border="surround" v-model="qa.title" @change="change"></u--input>
</view>
<view class="row ">
<u--textarea class="row-input row-text" placeholder-style="font-size:42upx;color:#666;font-weight: normal;" :height="300" count maxlength="500" v-model="qa.content" placeholder="请输入正文"></u--textarea>
<u--textarea class="row-input row-text" placeholder-style="font-size:42upx;color:#666;font-weight: normal;" :height="300" count maxlength="500" v-model="content" placeholder="请输入正文"></u--textarea>
</view>
<view class="row">
<u-upload uploadIcon="plus" :fileList="fileList" multiple @afterRead="afterRead" @delete="deletePic" name="coverImg" :maxCount="5">
@@ -41,8 +41,10 @@
export default {
data() {
return {
fileUrl:this.$config.fileUrl,
qa:{
content:'',
id:'',
title:'',
content:'',
@@ -55,6 +57,7 @@
...mapGetters(['userInfo']),
},
methods: {
toBack(){
uni.navigateBack();
},
@@ -120,8 +123,10 @@
onLoad(option){
if(option.value){
this.qa=JSON.parse(option.value)
this.content = (this.qa.content).replace(/<\/?[^>]*>/g, '');
}
}
},
}
</script>