高敬炎 2 tahun lalu
induk
melakukan
665425daed

+ 1 - 1
xiaochengxu/config/index.js

@@ -1,6 +1,6 @@
 const dev = {
 	// baseUrlNew: 'http://192.168.110.72:8182',
-	baseUrlNew: 'http://192.168.110.138:8182',
+	// baseUrlNew: 'http://192.168.110.138:8182',
 	// baseUrlNew: 'http://192.168.110.82:8182',
 	baseUrlNew: 'https://cardapi.eliangeyun.com',
 	h5Appid: 'wxb66b599f7f61b46f',

+ 10 - 1
xiaochengxu/pageA/circle/detail.vue

@@ -44,7 +44,7 @@
 								style="width: 36rpx;margin-right: 15rpx;height: auto;"></image>我的名片
 						</view> -->
 						<view class="">
-							<image src="../../static/imgs/card/share1.png" mode="widthFix"
+							<image v-if='hidden!="隐藏"' src="../../static/imgs/card/share1.png" mode="widthFix"
 								style="width: 50rpx;margin-left: 30rpx;height: 50rpx;" @click="toFriendsCirlce()"></image>
 							<image src="../../static/imgs/card/buju1.png" mode="widthFix"
 								style="width: 50rpx;margin-left: 30rpx;height: 50rpx;" @click="change()"></image>
@@ -207,6 +207,7 @@
 		mixins: [MescrollMixin], // 使用mixin
 		data() {
 			return {
+				hidden:'',
 				moreList:[
 					[
 						{
@@ -285,6 +286,14 @@
 			}else {
 				this.showAuthorizePhone = true
 			}
+			this.$request.baseRequest('admin.dictData', 'list', {
+				dictType:'circle_friends'
+			}, failres => {
+				
+			}).then( res => {
+				console.log(res,11111)
+				this.hidden=res.data.items[0].dictLabel
+			})
 		},
 		onLoad(options) {
 			that = this

+ 12 - 1
xiaochengxu/pageA/circle/friendSCirlce.vue

@@ -11,7 +11,7 @@
 				<text class="bottom-bt-button" @click="submitComment">发送</text>
 			</view>
 		</view>
-		<image src="../../static/imgs/cirlce/add.png" mode="widthFix" class="add" @click="addCircle"></image>
+		<image v-if='hidden!="隐藏"' src="../../static/imgs/cirlce/add.png" mode="widthFix" class="add" @click="addCircle"></image>
 		<u-action-sheet :show="show2" @close="show2 = false" @select="sheetSelect" :actions="actions2"
 			cancelText="取消"></u-action-sheet>
 	</view>
@@ -44,6 +44,7 @@
 					interactionFlag: '',
 
 				},
+				hidden:'',
 				userInfo: {},
 				circleId: '',
 				downOption: {
@@ -76,9 +77,11 @@
 			};
 		},
 		onLoad(options) {
+			
 			that = this
 			this.circleId = options.id
 			this.userInfo = uni.getStorageSync("userInfo")
+			
 			// 需要固定swiper的高度 (需减去悬浮tabs的高度64rpx)
 			// this.height = uni.getSystemInfoSync().windowHeight - uni.upx2px(100) + 'px';
 			// this.tabHeight = uni.upx2px(100) + 'px';
@@ -126,6 +129,14 @@
 				return promise
 			},
 			loadData(refresh) {
+				this.$request.baseRequest('admin.dictData', 'list', {
+					dictType:'circle_friends'
+				}, failres => {
+					
+				}).then( res => {
+					console.log(res,11111)
+					this.hidden=res.data.items[0].dictLabel
+				})
 				this.$request.baseRequest('admin.unimall.circleFriendsInfo', 'list', {
 					page: this.requestParams.pageNo,
 					limit: this.requestParams.pageSize,