dever 4 vuotta sitten
vanhempi
commit
c4f50d1a5c

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 29 - 9
lib/dever/components/audio.nvue


+ 1 - 1
lib/dever/config.js

@@ -8,7 +8,7 @@ const request = {
 	//	服务器接口地址
 
 	host: "http://192.168.2.70/dreamland/",
-	//host: "http://192.168.3.66/dreamland/",
+	host: "http://192.168.3.66/dreamland/",
 	
 	//	请求的参数	
 	data: {},

+ 22 - 7
pages/dream/func/share.vue

@@ -21,20 +21,24 @@
 					</view>
 				</view>
 			</swiper-item>
-		</swiper>
+		</swiper>
+		<view class="">
+			分享给好友后,你将获得100积分,100余额
+		</view>
 		<view class="share_save_box">
 			<!-- #ifdef MP -->
 			<button open-type="share">
 				<image src="@/static/demo/ic_pic.png" mode="aspectFit"></image>
-				<text>发给好友</text>
+				<text>好友</text>
 			</button>
 			<!-- #endif -->
 			<!-- #ifdef APP-PLUS -->
 			<button @click="onAppShare">
 				<image src="@/static/demo/ic_pic.png" mode="aspectFit"></image>
-				<text>发给好友</text>
+				<text>好友</text>
 			</button>
-			<!-- #endif -->
+			<!-- #endif -->
+			
 			<button class="onSave" @click="showText">
 				<view class="lg text-gray cuIcon-formfill" style="width:70rpx;height:70rpx"></view>
 				<text>文案</text>
@@ -50,7 +54,6 @@
 				<text>海报</text>
 			</button>
 		</view>
-		<!-- #ifdef H5 -->
 
 		
 		<graceDialog :isTitle="false" :title="`长按保存海报`" :isCloseBtn="false" :show="image" closeBtnColor="#FFFFFF" v-on:closeDialog="closeImage">
@@ -72,7 +75,8 @@
 				</view>
 			</scroll-view>
 			<view slot="btns" class="grace-space-between">
-				<text class="grace-dialog-buttons" @tap="closeText">关闭</text>
+				<text class="grace-dialog-buttons" @tap="closeText">关闭</text>
+				<text class="grace-dialog-buttons grace-blue" @tap="textLinkCopy">复制+链接</text>
 				<text class="grace-dialog-buttons grace-blue" @tap="textCopy">复制</text>
 			</view>
 		</graceDialog>
@@ -92,7 +96,6 @@
 			</view>
 		</graceDialog>
 
-		<!-- #endif -->
 	</view>
 </template>
 
@@ -189,6 +192,18 @@ export default {
 					self.Dever.alert('复制失败');
 				}
 			});
+		},
+		textLinkCopy : function() {
+			var self = this;
+			var value = this.fetch.text[this.text_index].content;
+			value += "\r\n" + this.fetch.info.url;
+			copyText.getClipboardData(value, function(res) {
+				if (res) {
+					self.Dever.alert('复制成功');
+				} else {
+					self.Dever.alert('复制失败');
+				}
+			});
 		},
 		// 轮播图变化
 		onSwiperChange(e) {

+ 1 - 1
pages/dream/view/audioList.vue

@@ -5,7 +5,7 @@
 				<dever-audio
 				:src="v.audio" 
 				:pic="v.pic" 
-				:lrc="v.lrc"
+				:lrc="v.lrc ? v.lrc : true"
 				:title="v.name"
 				:singer="v.singer"
 				:lrc_color="v.color"

BIN
static/music/speaker.png


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä