update photo adout publish
This commit is contained in:
		
							parent
							
								
									04a4ed523f
								
							
						
					
					
						commit
						6ec2318d0c
					
				@ -86,8 +86,8 @@ const install = (Vue, vm) => {
 | 
				
			|||||||
		    return vm.$u.post("/article/articleInfo",{article_id})
 | 
							    return vm.$u.post("/article/articleInfo",{article_id})
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		// 回复评论
 | 
							// 回复评论
 | 
				
			||||||
		reply({article_id,pid,content}){
 | 
							reply({article_id,pid,content,reply_id}){
 | 
				
			||||||
		    return vm.$u.post("/article/articleAddComment",{article_id,pid,content})
 | 
							    return vm.$u.post("/article/articleAddComment",{article_id,pid,content,reply_id})
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		// 达人是否可以直播
 | 
							// 达人是否可以直播
 | 
				
			||||||
		canlive(){
 | 
							canlive(){
 | 
				
			||||||
 | 
				
			|||||||
@ -17,7 +17,7 @@
 | 
				
			|||||||
			<view class="name u-line-1">{{info.extend_order_goods[0].goods_name}}</view>
 | 
								<view class="name u-line-1">{{info.extend_order_goods[0].goods_name}}</view>
 | 
				
			||||||
			<view class="info">
 | 
								<view class="info">
 | 
				
			||||||
				<view class="num">共{{info.extend_order_goods[0].goods_num}}件商品</view>
 | 
									<view class="num">共{{info.extend_order_goods[0].goods_num}}件商品</view>
 | 
				
			||||||
				<view class="price">实付<span>¥{{info.extend_order_goods[0].goods_pay_price}}</span></view>
 | 
									<view class="price">实付<span>¥{{info.goods_amount}}</span></view>
 | 
				
			||||||
			</view>
 | 
								</view>
 | 
				
			||||||
		</view>
 | 
							</view>
 | 
				
			||||||
	</view>
 | 
						</view>
 | 
				
			||||||
 | 
				
			|||||||
@ -261,7 +261,6 @@
 | 
				
			|||||||
		"borderStyle": "black",
 | 
							"borderStyle": "black",
 | 
				
			||||||
		"backgroundColor": "#ffffff",
 | 
							"backgroundColor": "#ffffff",
 | 
				
			||||||
		"height": "50px",
 | 
							"height": "50px",
 | 
				
			||||||
		"fontSize": "10px",
 | 
					 | 
				
			||||||
		"iconWidth": "24px",
 | 
							"iconWidth": "24px",
 | 
				
			||||||
		"spacing": "3px",
 | 
							"spacing": "3px",
 | 
				
			||||||
		"list": [{
 | 
							"list": [{
 | 
				
			||||||
 | 
				
			|||||||
@ -31,12 +31,12 @@
 | 
				
			|||||||
		<view class="comment-list">
 | 
							<view class="comment-list">
 | 
				
			||||||
			<view class="item" v-for="(item, index) in info.articlecomment" :key="index">
 | 
								<view class="item" v-for="(item, index) in info.articlecomment" :key="index">
 | 
				
			||||||
				<view class="info">
 | 
									<view class="info">
 | 
				
			||||||
					<image></image>
 | 
										<image :src="item.member_avatar"></image>
 | 
				
			||||||
					<view class="center">
 | 
										<view class="center">
 | 
				
			||||||
						<view class="name">{{item.member_nickname}}回复了{{info.reply_member_nickname}}</view>
 | 
											<view class="name">{{item.member_nickname}}{{item.reply_member_nickname==null?"评论了文章":" 回复了 "+item.reply_member_nickname}}</view>
 | 
				
			||||||
						<view class="time">{{item.create_time}}</view>
 | 
											<view class="time">{{item.create_time}}</view>
 | 
				
			||||||
					</view>
 | 
										</view>
 | 
				
			||||||
					<view class="btn" @click="showreply(item.id)">回复</view>
 | 
										<view class="btn" @click="showreply(item.id,item.member_id)">回复</view>
 | 
				
			||||||
				</view>
 | 
									</view>
 | 
				
			||||||
				<view class="content u-line-1">{{item.content}}</view>
 | 
									<view class="content u-line-1">{{item.content}}</view>
 | 
				
			||||||
			</view>
 | 
								</view>
 | 
				
			||||||
@ -63,7 +63,8 @@ export default {
 | 
				
			|||||||
			},
 | 
								},
 | 
				
			||||||
			type:1,
 | 
								type:1,
 | 
				
			||||||
			content:"",
 | 
								content:"",
 | 
				
			||||||
			pid:null
 | 
								pid:null,
 | 
				
			||||||
 | 
								replyid:null
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	onLoad(option) {
 | 
						onLoad(option) {
 | 
				
			||||||
@ -74,9 +75,10 @@ export default {
 | 
				
			|||||||
	},
 | 
						},
 | 
				
			||||||
	methods: {
 | 
						methods: {
 | 
				
			||||||
		// 展示回复弹框
 | 
							// 展示回复弹框
 | 
				
			||||||
		showreply(id){
 | 
							showreply(id,replyid){
 | 
				
			||||||
			this.showChat = true
 | 
								this.showChat = true
 | 
				
			||||||
			this.pid = id
 | 
								this.pid = id
 | 
				
			||||||
 | 
								this.replyid = replyid
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		// 回复评论
 | 
							// 回复评论
 | 
				
			||||||
		reply(){
 | 
							reply(){
 | 
				
			||||||
@ -91,7 +93,8 @@ export default {
 | 
				
			|||||||
			this.$u.api.reply({
 | 
								this.$u.api.reply({
 | 
				
			||||||
				pid:that.pid,
 | 
									pid:that.pid,
 | 
				
			||||||
				content:that.content,
 | 
									content:that.content,
 | 
				
			||||||
				article_id: that.id
 | 
									article_id: that.id,
 | 
				
			||||||
 | 
									reply_id:that.replyid
 | 
				
			||||||
			}).then(res => {
 | 
								}).then(res => {
 | 
				
			||||||
				if (res.errCode != 0) {
 | 
									if (res.errCode != 0) {
 | 
				
			||||||
					this.$refs.uToast.show({
 | 
										this.$refs.uToast.show({
 | 
				
			||||||
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 3.3 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.5 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.9 KiB  | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user