瀏覽代碼

会员优惠

shish 1 年之前
父節點
當前提交
2acf8fc859
共有 3 個文件被更改,包括 12 次插入19 次删除
  1. 1 1
      hdApp/src/admin/home/apply.vue
  2. 10 17
      hdApp/src/admin/recharge/discount.vue
  3. 1 1
      hdApp/src/pages.json

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

@@ -82,7 +82,7 @@ export default {
             { name: "商城", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/cg/mall",pf:1},
             { name: "开关商城", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/pagesPurchase/open",pf:1},
             { name: "失信人员", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/ll/list",pf:1},
-            { name: "会员折扣", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/member/discount",pf:1},
+            { name: "会员优惠", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/member/discount",pf:1},
             { name: "充值优惠", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/recharge/discount",pf:1},
           ]
         },

+ 10 - 17
hdApp/src/admin/recharge/discount.vue

@@ -1,18 +1,15 @@
 <template>
 	<view class="app-content">
 		<view>
+
+			<view style="background-color: white;">
+				<text style="margin-right:30upx;font-size:35upx;">充值优惠方式:</text>
+				<view class="admin-button-com big blue" @click="">升会员</view>
+				<view style="margin-left:60upx;" class="admin-button-com big default" @click="">送余额</view>
+			</view>
+			<view style="background-color: white;padding-bottom:30upx;"> </view>
 			<t-table :headerBackgroundColor="'#F0F2F6'">
 				<view>
-					<t-tr header>
-						<t-th><view style="color:black;">会员名称</view></t-th>
-						<t-th>
-							<view style="color:black;">
-								<view>享折扣</view>
-							</view>
-						</t-th>
-					</t-tr>
-				</view>
-				<view>
                     <view v-for="(item, inIndex) in map" :key="inIndex">
                         <t-tr>
                             <t-td align="center" color="info">
@@ -20,22 +17,18 @@
                             </t-td>
                             <t-td align="center" color="info">
                                 <view>
-                                <input v-model="item.discount" type="digit" style="border:1upx solid #cccccc;color:black;font-size:30upx;" @focus="item.discount=''" placeholder="9折写0.9,85折写0.85" />
+                                <input v-model="item.discount" type="digit" style="border:1upx solid #cccccc;color:black;font-size:30upx;" @focus="item.discount=''" placeholder="" />
                                 </view>
                             </t-td>
                         </t-tr>
                     </view>
 				</view>
 			</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="reduceDay=''" placeholder="填0则不自动降级" style="border:1upx solid #cccccc;color:black;font-size:30upx;width:180upx;display: inline-block;text-align:center;margin:0 10upx 0 10upx;" />
-				天未消费降一级
-			</view>
+
 		</view>
         <view class="app-footer">
 			<view class="admin-button-com big blue" @click="goBack()">返回上级</view>
-		    <view style="margin-left:50upx;" class="admin-button-com big blue" @click="saveData">提交修改</view>
+		    <view style="margin-left:60upx;" class="admin-button-com big blue" @click="saveData">提交修改</view>
 		</view>
 	</view>
 </template>

+ 1 - 1
hdApp/src/pages.json

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