dever 3 年之前
父节点
当前提交
1ee84a7603
共有 3 个文件被更改,包括 5 次插入3 次删除
  1. 2 1
      lib/dever/components/comment.vue
  2. 1 1
      lib/dever/config.js
  3. 2 1
      pages/dream/func/share.vue

+ 2 - 1
lib/dever/components/comment.vue

@@ -14,7 +14,7 @@
 			</view>
 			-->
 		</view>
-		<y-Fab :bottom="20" :right="140" @click="showModal" bgColor="#0fa5e5" text="发布"></y-Fab>
+		<!--<y-Fab :bottom="20" :right="140" @click="showModal" bgColor="#0fa5e5" text="发布"></y-Fab>-->
 		<view v-if="show">
 			<dever-publish :title="title" :is_upload="false" @hideModal="hideModal" @getRefresh="getRefresh" :type="type" :type_id="type_id" :api="api"></dever-publish>
 		</view>
@@ -63,6 +63,7 @@ export default {
 	methods:{
 		getData : function() {
 			var self = this;
+			return;
 			if (!self.load) {
 				self.$refs.barrage.start(self.info);
 				return;

+ 1 - 1
lib/dever/config.js

@@ -15,7 +15,7 @@ const share = {
 const request = {
 	//	服务器接口地址
 	host: "https://he.shemic.com/",
-	host: "http://dev.shemic.com/dreamland/",
+	//host: "http://dev.shemic.com/dreamland/",
 	
 	//	请求的参数	
 	data: {},

+ 2 - 1
pages/dream/func/share.vue

@@ -228,7 +228,8 @@ export default {
 		//下载图片
 		downPic : function(ctx, resolve, reject) {
 			var self = this;
-			var pic = self.Dever.getImg(self.fetch.pic[self.swiperIndex]);
+			//var pic = self.Dever.getImg(self.fetch.pic[self.swiperIndex]);
+			var pic = self.fetch.pic[self.swiperIndex];
 			uni.downloadFile({
 				url: pic,
 				success: (res) => {