Jelajahi Sumber

修改添加活动

zs 1 tahun lalu
induk
melakukan
76acba11a7

+ 112 - 23
pagesHome/create/components/activity.vue

@@ -1,12 +1,6 @@
 <template>
 	<view class="form">
 		<form @submit="formSubmit">
-			<view class="value other">
-				<view class="title">名称</view>
-				<view class="label">
-					<input name="name" class="input" :value="form.name" placeholder="请输入名称" />
-				</view>
-			</view>
 			<view class="value other">
 				<view class="title">类型</view>
 				<view class="label">
@@ -15,48 +9,115 @@
 					</picker>
 				</view>
 			</view>
-			<view class="value other">
-				<view class="title">成立时间</view>
+			<view class="value other margin">
+				<view class="title">人数</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="number" @change="numberChange" :value="index" :range="numberList"
+						range-key="dictLabel">
+						<view class="picker">{{form.number||'请选择人数'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
-				<view class="title">成立时间</view>
+				<view class="title">对手</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.name" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">日期</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="date" mode="date" @change="dateChange" :value="index">
+						<view class="picker">{{form.date||'请选择日期'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
-				<view class="title">成立时间</view>
+				<view class="title">时间</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="time" mode="time" @change="timeChange" :value="index">
+						<view class="picker">{{form.time||'请选择时间'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
-				<view class="title">成立时间</view>
+				<view class="title">时长</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="duration" @change="durationChange" :value="index" :range="durationList"
+						range-key="dictLabel">
+						<view class="picker">{{form.duration||'请选择时长'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
+				<view class="title">地点</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other margin">
 				<view class="title">队服颜色</view>
 				<view class="label">
 					<input name="color" class="input" :value="form.color" placeholder="请输入队服颜色" />
 				</view>
 			</view>
+			<view class="value other">
+				<view class="title">费用</view>
+				<view class="label">
+					<input name="money" class="input" :value="form.money" placeholder="请输入费用" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">人数上限</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">公开报名</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">定时开启报名</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">报名截止时间</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">限定人员标签</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other margin">
+				<view class="title">允许待定</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">活动标题</view>
+				<view class="label">
+					<input name="title" class="input" :value="form.title" placeholder="请输入活动标题" />
+				</view>
+			</view>
 			<view class="remark">
-				<view class="title">简介</view>
 				<view class="label">
-					<textarea name="brief" :value="form.brief" placeholder="请简单描述球队" />
+					<textarea name="brief" :value="form.brief" placeholder="请输入简介" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">上传图片</view>
+				<view class="label">
+					
 				</view>
 			</view>
 		</form>
@@ -79,6 +140,8 @@
 	const form = ref({});
 	// 字典表
 	const typeList = ref([]);
+	const numberList = ref([]);
+	const durationList = ref([]);
 	onShow(async () => {
 		await searchOther();
 		await search();
@@ -89,6 +152,12 @@
 		// 类型
 		res = await $api(`dict/data/list`, 'GET', { dictType: 'sys_user_type' });
 		if (res.code === 200 && res.total > 0) typeList.value = res.rows
+		// 人数
+		res = await $api(`dict/data/list`, 'GET', { dictType: 'sys_match_number' });
+		if (res.code === 200 && res.total > 0) numberList.value = res.rows
+		// 时长
+		res = await $api(`dict/data/list`, 'GET', { dictType: 'sys_match_duration' });
+		if (res.code === 200 && res.total > 0) durationList.value = res.rows
 	};
 	// 查询
 	const search = async () => { };
@@ -97,10 +166,24 @@
 		const data = typeList.value[e.detail.value]
 		if (data) form.value.type = data.dictLabel
 	};
-	// 时间选择器
+	// 人数选择
+	const numberChange = (e) => {
+		const data = numberList.value[e.detail.value]
+		if (data) form.value.number = data.dictLabel
+	};
+	// 时长选择选择
+	const durationChange = (e) => {
+		const data = durationList.value[e.detail.value]
+		if (data) form.value.duration = data.dictLabel
+	};
+	// 日期选择器
 	const dateChange = (e) => {
 		form.value.date = e.detail.value
 	};
+	// 时间选择器
+	const timeChange = (e) => {
+		form.value.time = e.detail.value
+	};
 	// 上传图片
 	const Preview = () => {
 		uni.chooseImage({
@@ -131,13 +214,19 @@
 	.form {
 		display: flex;
 		flex-direction: column;
+		background-color: var(--f9Color);
 
 		.other {
-			padding: 3vw 2vw;
+			padding: 4vw 2vw;
 			border-bottom: 1px solid var(--footColor);
 		}
 
+		.margin {
+			margin: 0 0 3vw 0;
+		}
+
 		.remark {
+			background-color: var(--mainColor);
 			padding: 3vw 2vw 0 2vw;
 
 			.title {

+ 112 - 23
pagesHome/create/components/match.vue

@@ -1,12 +1,6 @@
 <template>
 	<view class="form">
 		<form @submit="formSubmit">
-			<view class="value other">
-				<view class="title">名称</view>
-				<view class="label">
-					<input name="name" class="input" :value="form.name" placeholder="请输入名称" />
-				</view>
-			</view>
 			<view class="value other">
 				<view class="title">类型</view>
 				<view class="label">
@@ -15,48 +9,115 @@
 					</picker>
 				</view>
 			</view>
-			<view class="value other">
-				<view class="title">成立时间</view>
+			<view class="value other margin">
+				<view class="title">人数</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="number" @change="numberChange" :value="index" :range="numberList"
+						range-key="dictLabel">
+						<view class="picker">{{form.number||'请选择人数'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
-				<view class="title">成立时间</view>
+				<view class="title">对手</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.name" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">日期</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="date" mode="date" @change="dateChange" :value="index">
+						<view class="picker">{{form.date||'请选择日期'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
-				<view class="title">成立时间</view>
+				<view class="title">时间</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="time" mode="time" @change="timeChange" :value="index">
+						<view class="picker">{{form.time||'请选择时间'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
-				<view class="title">成立时间</view>
+				<view class="title">时长</view>
 				<view class="label">
-					<picker name="date" mode="date" @change="dateChange" :value="index" fields="month">
-						<view class="picker">{{form.date||'请选择成立时间'}}</view>
+					<picker name="duration" @change="durationChange" :value="index" :range="durationList"
+						range-key="dictLabel">
+						<view class="picker">{{form.duration||'请选择时长'}}</view>
 					</picker>
 				</view>
 			</view>
 			<view class="value other">
+				<view class="title">地点</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other margin">
 				<view class="title">队服颜色</view>
 				<view class="label">
 					<input name="color" class="input" :value="form.color" placeholder="请输入队服颜色" />
 				</view>
 			</view>
+			<view class="value other">
+				<view class="title">费用</view>
+				<view class="label">
+					<input name="money" class="input" :value="form.money" placeholder="请输入费用" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">人数上限</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">公开报名</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">定时开启报名</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">报名截止时间</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">限定人员标签</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other margin">
+				<view class="title">允许待定</view>
+				<view class="label">
+					<input name="name" class="input" :value="form.address" placeholder="请选择" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">活动标题</view>
+				<view class="label">
+					<input name="title" class="input" :value="form.title" placeholder="请输入活动标题" />
+				</view>
+			</view>
 			<view class="remark">
-				<view class="title">简介</view>
 				<view class="label">
-					<textarea name="brief" :value="form.brief" placeholder="请简单描述球队" />
+					<textarea name="brief" :value="form.brief" placeholder="请输入简介" />
+				</view>
+			</view>
+			<view class="value other">
+				<view class="title">上传图片</view>
+				<view class="label">
+					
 				</view>
 			</view>
 		</form>
@@ -79,6 +140,8 @@
 	const form = ref({});
 	// 字典表
 	const typeList = ref([]);
+	const numberList = ref([]);
+	const durationList = ref([]);
 	onShow(async () => {
 		await searchOther();
 		await search();
@@ -89,6 +152,12 @@
 		// 类型
 		res = await $api(`dict/data/list`, 'GET', { dictType: 'sys_user_type' });
 		if (res.code === 200 && res.total > 0) typeList.value = res.rows
+		// 人数
+		res = await $api(`dict/data/list`, 'GET', { dictType: 'sys_match_number' });
+		if (res.code === 200 && res.total > 0) numberList.value = res.rows
+		// 时长
+		res = await $api(`dict/data/list`, 'GET', { dictType: 'sys_match_duration' });
+		if (res.code === 200 && res.total > 0) durationList.value = res.rows
 	};
 	// 查询
 	const search = async () => { };
@@ -97,10 +166,24 @@
 		const data = typeList.value[e.detail.value]
 		if (data) form.value.type = data.dictLabel
 	};
-	// 时间选择器
+	// 人数选择
+	const numberChange = (e) => {
+		const data = numberList.value[e.detail.value]
+		if (data) form.value.number = data.dictLabel
+	};
+	// 时长选择选择
+	const durationChange = (e) => {
+		const data = durationList.value[e.detail.value]
+		if (data) form.value.duration = data.dictLabel
+	};
+	// 日期选择器
 	const dateChange = (e) => {
 		form.value.date = e.detail.value
 	};
+	// 时间选择器
+	const timeChange = (e) => {
+		form.value.time = e.detail.value
+	};
 	// 上传图片
 	const Preview = () => {
 		uni.chooseImage({
@@ -131,13 +214,19 @@
 	.form {
 		display: flex;
 		flex-direction: column;
+		background-color: var(--f9Color);
 
 		.other {
-			padding: 3vw 2vw;
+			padding: 4vw 2vw;
 			border-bottom: 1px solid var(--footColor);
 		}
 
+		.margin {
+			margin: 0 0 3vw 0;
+		}
+
 		.remark {
+			background-color: var(--mainColor);
 			padding: 3vw 2vw 0 2vw;
 
 			.title {

+ 10 - 2
pagesHome/create/index.vue

@@ -23,12 +23,12 @@
 		<view class="two">
 			<view class="left">
 				<view class="left_1">
-					<uni-icons @tap="toClose" custom-prefix="iconfont" type="icon-caogao04" size="20"
+					<uni-icons @tap="toAdd" custom-prefix="iconfont" type="icon-caogao04" size="20"
 						color="#696969"></uni-icons>
 					<text>保存草稿</text>
 				</view>
 				<view class="left_1">
-					<uni-icons @tap="toClose" custom-prefix="iconfont" type="icon-icon_cz" size="20"
+					<uni-icons @tap="toCopy" custom-prefix="iconfont" type="icon-icon_cz" size="20"
 						color="#696969"></uni-icons>
 					<text>复用</text>
 				</view>
@@ -73,6 +73,14 @@
 	const onClickItem = (e) => {
 		if (current.value !== e.currentIndex) current.value = e.currentIndex
 	};
+	// 保存草稿
+	const toAdd = async () => {
+		console.log('保存草稿');
+	};
+	// 复用
+	const toCopy = async () => {
+		console.log('复用');
+	};
 </script>
 <style lang="scss" scoped>
 	.content {

+ 1 - 2
pagesMy/basic/index.vue

@@ -95,7 +95,7 @@
 					</view>
 				</view>
 				<view class="button">
-					<button type="primary" size="mini" form-type="submit">保存</button>
+					<button type="warn" size="mini" form-type="submit">保存</button>
 				</view>
 			</form>
 		</view>
@@ -313,7 +313,6 @@
 				button {
 					font-size: var(--font14Size);
 					border-radius: 2vw;
-					background: linear-gradient(to right, #00BFFF, #3F94F1, #7B68EE);
 				}
 			}
 		}

+ 52 - 20
unpackage/dist/dev/mp-weixin/pagesHome/create/components/activity.js

@@ -12,6 +12,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     });
     const form = common_vendor.ref({});
     const typeList = common_vendor.ref([]);
+    const numberList = common_vendor.ref([]);
+    const durationList = common_vendor.ref([]);
     common_vendor.onShow(async () => {
       await searchOther();
       await search();
@@ -21,6 +23,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
       res = await $api(`dict/data/list`, "GET", { dictType: "sys_user_type" });
       if (res.code === 200 && res.total > 0)
         typeList.value = res.rows;
+      res = await $api(`dict/data/list`, "GET", { dictType: "sys_match_number" });
+      if (res.code === 200 && res.total > 0)
+        numberList.value = res.rows;
+      res = await $api(`dict/data/list`, "GET", { dictType: "sys_match_duration" });
+      if (res.code === 200 && res.total > 0)
+        durationList.value = res.rows;
     };
     const search = async () => {
     };
@@ -29,34 +37,58 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
       if (data)
         form.value.type = data.dictLabel;
     };
+    const numberChange = (e) => {
+      const data = numberList.value[e.detail.value];
+      if (data)
+        form.value.number = data.dictLabel;
+    };
+    const durationChange = (e) => {
+      const data = durationList.value[e.detail.value];
+      if (data)
+        form.value.duration = data.dictLabel;
+    };
     const dateChange = (e) => {
       form.value.date = e.detail.value;
     };
+    const timeChange = (e) => {
+      form.value.time = e.detail.value;
+    };
     const formSubmit = (e) => {
       console.log(e.deatil.value);
     };
     return (_ctx, _cache) => {
       return {
-        a: form.value.name,
-        b: common_vendor.t(form.value.type || "请选择类型"),
-        c: common_vendor.o(typeChange),
-        d: _ctx.index,
-        e: typeList.value,
-        f: common_vendor.t(form.value.date || "请选择成立时间"),
-        g: common_vendor.o(dateChange),
-        h: _ctx.index,
-        i: common_vendor.t(form.value.date || "请选择成立时间"),
-        j: common_vendor.o(dateChange),
-        k: _ctx.index,
-        l: common_vendor.t(form.value.date || "请选择成立时间"),
-        m: common_vendor.o(dateChange),
-        n: _ctx.index,
-        o: common_vendor.t(form.value.date || "请选择成立时间"),
-        p: common_vendor.o(dateChange),
-        q: _ctx.index,
-        r: form.value.color,
-        s: form.value.brief,
-        t: common_vendor.o(formSubmit)
+        a: common_vendor.t(form.value.type || "请选择类型"),
+        b: common_vendor.o(typeChange),
+        c: _ctx.index,
+        d: typeList.value,
+        e: common_vendor.t(form.value.number || "请选择人数"),
+        f: common_vendor.o(numberChange),
+        g: _ctx.index,
+        h: numberList.value,
+        i: form.value.name,
+        j: common_vendor.t(form.value.date || "请选择日期"),
+        k: common_vendor.o(dateChange),
+        l: _ctx.index,
+        m: common_vendor.t(form.value.time || "请选择时间"),
+        n: common_vendor.o(timeChange),
+        o: _ctx.index,
+        p: common_vendor.t(form.value.duration || "请选择时长"),
+        q: common_vendor.o(durationChange),
+        r: _ctx.index,
+        s: durationList.value,
+        t: form.value.address,
+        v: form.value.color,
+        w: form.value.money,
+        x: form.value.address,
+        y: form.value.address,
+        z: form.value.address,
+        A: form.value.address,
+        B: form.value.address,
+        C: form.value.address,
+        D: form.value.title,
+        E: form.value.brief,
+        F: common_vendor.o(formSubmit)
       };
     };
   }

File diff ditekan karena terlalu besar
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesHome/create/components/activity.wxml


+ 6 - 1
unpackage/dist/dev/mp-weixin/pagesHome/create/components/activity.wxss

@@ -3,12 +3,17 @@
 .form.data-v-b4c340fa {
   display: flex;
   flex-direction: column;
+  background-color: var(--f9Color);
 }
 .form .other.data-v-b4c340fa {
-  padding: 3vw 2vw;
+  padding: 4vw 2vw;
   border-bottom: 1px solid var(--footColor);
 }
+.form .margin.data-v-b4c340fa {
+  margin: 0 0 3vw 0;
+}
 .form .remark.data-v-b4c340fa {
+  background-color: var(--mainColor);
   padding: 3vw 2vw 0 2vw;
 }
 .form .remark .title.data-v-b4c340fa {

+ 52 - 20
unpackage/dist/dev/mp-weixin/pagesHome/create/components/match.js

@@ -12,6 +12,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     });
     const form = common_vendor.ref({});
     const typeList = common_vendor.ref([]);
+    const numberList = common_vendor.ref([]);
+    const durationList = common_vendor.ref([]);
     common_vendor.onShow(async () => {
       await searchOther();
       await search();
@@ -21,6 +23,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
       res = await $api(`dict/data/list`, "GET", { dictType: "sys_user_type" });
       if (res.code === 200 && res.total > 0)
         typeList.value = res.rows;
+      res = await $api(`dict/data/list`, "GET", { dictType: "sys_match_number" });
+      if (res.code === 200 && res.total > 0)
+        numberList.value = res.rows;
+      res = await $api(`dict/data/list`, "GET", { dictType: "sys_match_duration" });
+      if (res.code === 200 && res.total > 0)
+        durationList.value = res.rows;
     };
     const search = async () => {
     };
@@ -29,34 +37,58 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
       if (data)
         form.value.type = data.dictLabel;
     };
+    const numberChange = (e) => {
+      const data = numberList.value[e.detail.value];
+      if (data)
+        form.value.number = data.dictLabel;
+    };
+    const durationChange = (e) => {
+      const data = durationList.value[e.detail.value];
+      if (data)
+        form.value.duration = data.dictLabel;
+    };
     const dateChange = (e) => {
       form.value.date = e.detail.value;
     };
+    const timeChange = (e) => {
+      form.value.time = e.detail.value;
+    };
     const formSubmit = (e) => {
       console.log(e.deatil.value);
     };
     return (_ctx, _cache) => {
       return {
-        a: form.value.name,
-        b: common_vendor.t(form.value.type || "请选择类型"),
-        c: common_vendor.o(typeChange),
-        d: _ctx.index,
-        e: typeList.value,
-        f: common_vendor.t(form.value.date || "请选择成立时间"),
-        g: common_vendor.o(dateChange),
-        h: _ctx.index,
-        i: common_vendor.t(form.value.date || "请选择成立时间"),
-        j: common_vendor.o(dateChange),
-        k: _ctx.index,
-        l: common_vendor.t(form.value.date || "请选择成立时间"),
-        m: common_vendor.o(dateChange),
-        n: _ctx.index,
-        o: common_vendor.t(form.value.date || "请选择成立时间"),
-        p: common_vendor.o(dateChange),
-        q: _ctx.index,
-        r: form.value.color,
-        s: form.value.brief,
-        t: common_vendor.o(formSubmit)
+        a: common_vendor.t(form.value.type || "请选择类型"),
+        b: common_vendor.o(typeChange),
+        c: _ctx.index,
+        d: typeList.value,
+        e: common_vendor.t(form.value.number || "请选择人数"),
+        f: common_vendor.o(numberChange),
+        g: _ctx.index,
+        h: numberList.value,
+        i: form.value.name,
+        j: common_vendor.t(form.value.date || "请选择日期"),
+        k: common_vendor.o(dateChange),
+        l: _ctx.index,
+        m: common_vendor.t(form.value.time || "请选择时间"),
+        n: common_vendor.o(timeChange),
+        o: _ctx.index,
+        p: common_vendor.t(form.value.duration || "请选择时长"),
+        q: common_vendor.o(durationChange),
+        r: _ctx.index,
+        s: durationList.value,
+        t: form.value.address,
+        v: form.value.color,
+        w: form.value.money,
+        x: form.value.address,
+        y: form.value.address,
+        z: form.value.address,
+        A: form.value.address,
+        B: form.value.address,
+        C: form.value.address,
+        D: form.value.title,
+        E: form.value.brief,
+        F: common_vendor.o(formSubmit)
       };
     };
   }

File diff ditekan karena terlalu besar
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesHome/create/components/match.wxml


+ 6 - 1
unpackage/dist/dev/mp-weixin/pagesHome/create/components/match.wxss

@@ -3,12 +3,17 @@
 .form.data-v-6bad03e0 {
   display: flex;
   flex-direction: column;
+  background-color: var(--f9Color);
 }
 .form .other.data-v-6bad03e0 {
-  padding: 3vw 2vw;
+  padding: 4vw 2vw;
   border-bottom: 1px solid var(--footColor);
 }
+.form .margin.data-v-6bad03e0 {
+  margin: 0 0 3vw 0;
+}
 .form .remark.data-v-6bad03e0 {
+  background-color: var(--mainColor);
   padding: 3vw 2vw 0 2vw;
 }
 .form .remark .title.data-v-6bad03e0 {

+ 8 - 2
unpackage/dist/dev/mp-weixin/pagesHome/create/index.js

@@ -37,6 +37,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
       if (current.value !== e.currentIndex)
         current.value = e.currentIndex;
     };
+    const toAdd = async () => {
+      console.log("保存草稿");
+    };
+    const toCopy = async () => {
+      console.log("复用");
+    };
     return (_ctx, _cache) => {
       return {
         a: common_vendor.o(onClickItem),
@@ -49,14 +55,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
         c: current.value === 0,
         d: current.value === 1,
         e: current.value === 2,
-        f: common_vendor.o(_ctx.toClose),
+        f: common_vendor.o(toAdd),
         g: common_vendor.p({
           ["custom-prefix"]: "iconfont",
           type: "icon-caogao04",
           size: "20",
           color: "#696969"
         }),
-        h: common_vendor.o(_ctx.toClose),
+        h: common_vendor.o(toCopy),
         i: common_vendor.p({
           ["custom-prefix"]: "iconfont",
           type: "icon-icon_cz",

File diff ditekan karena terlalu besar
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesMy/basic/index.wxml


+ 0 - 1
unpackage/dist/dev/mp-weixin/pagesMy/basic/index.wxss

@@ -44,5 +44,4 @@
 .content .one .button button.data-v-bf1a7b85 {
   font-size: var(--font14Size);
   border-radius: 2vw;
-  background: linear-gradient(to right, #00BFFF, #3F94F1, #7B68EE);
 }