mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-12 04:16:48 +08:00
修改
This commit is contained in:
@@ -347,11 +347,11 @@
|
|||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
}
|
}
|
||||||
.list-box-index:nth-child(2){
|
.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;
|
background-position: 0 -1px;
|
||||||
}
|
}
|
||||||
.list-box-index:nth-child(3){
|
.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;
|
background-position: 0 0;
|
||||||
}
|
}
|
||||||
.list-box-index{
|
.list-box-index{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<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-for="(item,index) in dataList.list" :key="index">
|
||||||
<view v-if="item.type == 1">
|
<view v-if="item.type == 1">
|
||||||
<view class="course_box">
|
<view class="course_box">
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="item.type == 2">
|
<view v-if="item.type == 2">
|
||||||
<view class="article_one" >
|
<view class="article_one">
|
||||||
<view>
|
<view>
|
||||||
<view @click="toArticleDetail(item)" class="articla_tit" >
|
<view @click="toArticleDetail(item)" class="articla_tit" >
|
||||||
<text v-html="$keywordActiveShow(item.title,query.keyword)"></text>
|
<text v-html="$keywordActiveShow(item.title,query.keyword)"></text>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<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-for="(item,index) in dataList.list" :key="index">
|
||||||
<view v-if="item.type == 1">
|
<view v-if="item.type == 1">
|
||||||
<view class="course_box">
|
<view class="course_box">
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
" maxlength="30" class="row-input" border="surround" v-model="qa.title" @change="change"></u--input>
|
" maxlength="30" class="row-input" border="surround" v-model="qa.title" @change="change"></u--input>
|
||||||
</view>
|
</view>
|
||||||
<view class="row ">
|
<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>
|
||||||
<view class="row">
|
<view class="row">
|
||||||
<u-upload uploadIcon="plus" :fileList="fileList" multiple @afterRead="afterRead" @delete="deletePic" name="coverImg" :maxCount="5">
|
<u-upload uploadIcon="plus" :fileList="fileList" multiple @afterRead="afterRead" @delete="deletePic" name="coverImg" :maxCount="5">
|
||||||
@@ -41,8 +41,10 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
fileUrl:this.$config.fileUrl,
|
fileUrl:this.$config.fileUrl,
|
||||||
qa:{
|
qa:{
|
||||||
|
content:'',
|
||||||
id:'',
|
id:'',
|
||||||
title:'',
|
title:'',
|
||||||
content:'',
|
content:'',
|
||||||
@@ -55,6 +57,7 @@
|
|||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
toBack(){
|
toBack(){
|
||||||
uni.navigateBack();
|
uni.navigateBack();
|
||||||
},
|
},
|
||||||
@@ -120,8 +123,10 @@
|
|||||||
onLoad(option){
|
onLoad(option){
|
||||||
if(option.value){
|
if(option.value){
|
||||||
this.qa=JSON.parse(option.value)
|
this.qa=JSON.parse(option.value)
|
||||||
|
this.content = (this.qa.content).replace(/<\/?[^>]*>/g, '');
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user