lhl 1 year ago
parent
commit
68abf4bf35
2 changed files with 12 additions and 6 deletions
  1. 11 5
      pages/user/model/model.vue
  2. 1 1
      pages/user/model/mymodellist.vue

+ 11 - 5
pages/user/model/model.vue

@@ -139,7 +139,7 @@
 		</view>
 		<view class="create-model-ts">
 		</view>
-		<button type="default" class="fxmp" open-type="share" v-if="!shareId && modelInfo.is_use== 1 && !is_yl && userInfo.info_audit_status == 1">
+		<button type="default" class="fxmp" open-type="share" v-if="!shareId && modelInfo.is_use== 1 && !is_yl && userInfo.info_audit_status == 1 && !look">
 			<view class="">
 				分享名片
 			</view>
@@ -147,7 +147,7 @@
 		<view class="ljrz" v-if="userInfo.info_audit_status != 1" @click="navto('/pages/user/model/modelrz')">
 			立即认证
 		</view>
-		<view class="create-model flex" v-if="!shareId && modelInfo.is_use== 0 && !is_yl && userInfo.info_audit_status == 1">
+		<view class="create-model flex" v-if="!shareId && !is_yl && userInfo.info_audit_status == 1 && look">
 			<view class="price-show">
 				模板费用:<text>{{modelInfo.price*1}}</text>
 			</view>
@@ -186,7 +186,8 @@
 				cardInfo: {},
 				modelInfo: {},
 				payType: 'wxpay',
-				is_yl: false
+				is_yl: false,
+				look: true,
 			}
 		},
 		computed: {
@@ -196,7 +197,9 @@
 		onLoad(opt) {
 			// this.getUserCardInfo()
 			this.mtype = opt.mtype
-			
+			if(opt.look && opt.look == 1) {
+				this.look = false
+			}
 			if (opt.uid) {
 				this.shareId = opt.uid
 				this.getCommonUserCardInfo(opt.uid)
@@ -562,6 +565,7 @@
 				height: 270rpx;
 				background-color: #fff;
 				margin-bottom: 30rpx;
+				box-shadow: 0px 0px 20rpx 0px rgba(50,50,52,0.6);
 			}
 
 
@@ -800,7 +804,7 @@
 
 	.fxmp {
 		padding: 0;
-
+		border-radius: 0;
 		&::after {
 			border: none;
 		}
@@ -863,6 +867,8 @@
 		}
 	}
 	.yl {
+		position: fixed;
+		bottom: 0;
 		width: 750rpx;
 		font-size: 32rpx;
 		font-weight: 500;

+ 1 - 1
pages/user/model/mymodellist.vue

@@ -2,7 +2,7 @@
 	<view class="indexBox">
 		<view class="hot-list-box">
 			<view class="list-box">
-				<view class="list" @click="navTo('/pages/user/model/model?mtype=' + item.show_template_id)"
+				<view class="list" @click="navTo('/pages/user/model/model?mtype=' + item.show_template_id + '&look=1')"
 					v-for="(item,index) in navList.orderList">
 					<view class="list-image-box">
 						<image class="list-image" :src="item.img" mode="widthFix"></image>