shish 11 miesięcy temu
rodzic
commit
8956bd2320

+ 1 - 0
hdApp/src/admin/home/apply.vue

@@ -64,6 +64,7 @@ export default {
             { name: "失信人员", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/ll/list",pf:1},
             { name: "充值规则", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/recharge/discount",pf:1},
             { name: "收款码", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/cg/code",pf:1},
+            { name: "会员等级", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/member/level",pf:1},
           ]
         },
         {

+ 9 - 2
hdApp/src/admin/home/workbench.vue

@@ -58,8 +58,12 @@
         </view>
       </view>
 
-      <view style="text-align: center;font-size:42upx;font-weight:bold;color:red;margin-bottom:20upx;" @click="setRecharge" v-if="shopInfo.rechargeWeal == 0">
-        请先设置充值活动的规则
+      <view style="text-align: center;font-size:42upx;font-weight:bold;color:red;margin-bottom:30upx;margin-top:10upx;" @click="setMemberLevel" v-if="shopInfo.memberLevel == 0">
+        请设置会员等级
+        <text style="color:#3385ff;text-decoration: underline;margin-left:10upx;">去设置</text>
+      </view>
+      <view style="text-align: center;font-size:42upx;font-weight:bold;color:red;margin-bottom:30upx;margin-top:10upx;" @click="setRecharge" v-if="shopInfo.rechargeWeal == 0">
+        请设置充值活动的规则
         <text style="color:#3385ff;text-decoration: underline;margin-left:10upx;">去设置</text>
       </view>
       <view v-if="!$util.isEmpty(data.warning)" style="color:red;font-size:36upx;font-weight:bold;text-align: center;margin-bottom:15upx;">{{ data.warning }}</view>
@@ -577,6 +581,9 @@ export default {
     },
     setRecharge(){
       this.$util.pageTo({url:'/admin/recharge/discount'})
+    },
+    setMemberLevel(){
+      this.$util.pageTo({url:'/admin/member/level'})
     },
 		closeToShow(){
 			this.$refs.toShowMore.close()

+ 3 - 3
hdApp/src/admin/member/discount.vue → hdApp/src/admin/member/level.vue

@@ -4,10 +4,10 @@
 			<t-table :headerBackgroundColor="'#F0F2F6'">
 				<view>
 					<t-tr header>
-						<t-th><view style="color:black;">会员名称</view></t-th>
+						<t-th><view style="color:black;">会员等级</view></t-th>
 						<t-th>
 							<view style="color:black;">
-								<view>享折扣</view>
+								<view>消费金额</view>
 							</view>
 						</t-th>
 					</t-tr>
@@ -29,7 +29,7 @@
 			</t-table>
 			<view style="font-size:36upx;font-weight:bold;height:50upx;margin-top:50upx;display: flex;align-items: center;justify-content: center;">
 				超过
-				<input v-model="reduceDay" type="number" @focus="() => clearReduceDay()" placeholder="填0不自动降级" style="border:1upx solid #cccccc;color:black;font-size:28upx;width:220upx;display: inline-block;text-align:center;margin:0 10upx 0 10upx;" />
+				<input v-model="reduceDay" type="number" @focus="() => clearReduceDay()" placeholder="填0不降级" style="border:1upx solid #cccccc;color:black;font-size:28upx;width:200upx;display: inline-block;text-align:center;margin:0 10upx 0 10upx;" />
 				天未消费降一级
 			</view>
 

+ 1 - 1
hdApp/src/pages.json

@@ -422,7 +422,7 @@
 			"pages": [
 				{ "path": "detail", "style": { "navigationBarTitleText": "详情" } },
 				{ "path": "modify", "style": { "navigationBarTitleText": "修改地址" } },
-				{"path": "discount","style": {"navigationBarTitleText": "会员优惠"}}
+				{"path": "level","style": {"navigationBarTitleText": "会员等级"}}
 			]
 		},
 		{