lishanshan 7 tháng trước cách đây
mục cha
commit
239fc74078

+ 22 - 13
src/pages/discover/details.vue

@@ -80,14 +80,6 @@ export default {
       }
       dynamicDetail(params).then(res => {
         if (res.data.code === 200 && res.data.data) {
-          // res.data.data.mediaType = 2
-          // res.data.data.mediaList = [
-          //   {
-          //     mediaType: 2,
-          //     mediaUrl:
-          //       'https://test.baoxianzhanggui.com/nightFragrance/profile/upload/2025/05/23/WeChat_20250523101737_20250523151440A001.mp4',
-          //   },
-          // ]
           if (res.data.data.mediaList && res.data.data.mediaList.length > 0) {
             res.data.data.mediaList.forEach(item => {
               this.swiper.push(item)
@@ -110,7 +102,7 @@ export default {
             ...res.data.data,
             publishTime: res.data.data.publishTime
               .replace('T', ' ')
-              .substring(0, 16),
+              .substring(0, 19),
           }
           this.details = data
         }
@@ -172,7 +164,7 @@ export default {
         color: #fff;
         background-color: #03c8be;
         font-size: 24rpx;
-        font-weight: bold;
+        font-weight: 500;
         padding: 0 25rpx;
         border-radius: 30px;
         width: 124rpx;
@@ -185,7 +177,7 @@ export default {
         color: #a1601f;
         background-color: #facd9a;
         font-size: 24rpx;
-        font-weight: bold;
+        font-weight: 500;
         padding: 0 25rpx;
         border-radius: 30px;
         width: 124rpx;
@@ -282,8 +274,25 @@ export default {
 }
 
 ::v-deep {
-  uni-swiper .uni-swiper-dot-active {
-    background-color: #fff;
+  uni-swiper {
+    .uni-swiper-dot {
+      background: #fff;
+    }
+
+    .uni-swiper-dot-active {
+      width: 48rpx;
+      height: 16rpx;
+      background: #03c8be !important;
+      border-radius: 38rpx;
+    }
+  }
+  .uni-video-cover-play-button {
+    width: 120rpx;
+    height: 120rpx;
+    background-image: url('/static/discover/ic_play.png');
+  }
+  .uni-video-cover-duration {
+    display: none;
   }
 }
 </style>

+ 3 - 2
src/pages/discover/discover.vue

@@ -69,7 +69,7 @@
 
       <template v-slot:empty>
         <u-empty
-          :text="!isLogin ? '您还没有登录' : '您还没有相关动态呦~'"
+          :text="!isLogin ? '您还没有登录' : '暂无相关动态~'"
           icon="/static/common/logo1.png"
         >
           <u-button
@@ -121,7 +121,7 @@ export default {
         pageNum: pageNo,
         pageSize: pageSize,
         queryType: this.current,
-        cityCode: uni.getStorageSync('areaCode'),
+        cityCode: uni.getStorageSync('selectCitycode'),
         longitude: uni.getStorageSync('longitude'),
         latitude: uni.getStorageSync('latitude'),
       }
@@ -164,6 +164,7 @@ export default {
 <style scoped lang="scss">
 .page-container {
   background-color: #f7ffff;
+  font-family: PingFang SC, PingFang SC;
 
   .tab-box {
     height: 90rpx;

+ 3 - 3
src/pages/identify/details.vue

@@ -173,8 +173,8 @@ export default {
 				technicianId: id,
 			}
 			jsDynamicList(params).then(res => {
-				if (res.data.code === 200 && res.data.data.records) {
-					let data = res.data.data.records
+				if (res.data.code === 200 && res.data.data) {
+					let data = res.data.data
 					data.forEach(item => {
 						item.publishTime = item.publishTime
 							.replace('T', ' ')
@@ -458,7 +458,7 @@ export default {
 }
 
 .server-content {
-	padding-bottom: 160rpx;
+	padding-bottom: 190rpx;
 
 	.tab {
 		font-size: 30rpx;

+ 772 - 748
src/pages/index/index.vue

@@ -1,769 +1,793 @@
 <template>
-	<view class="page-container">
-		<view class="swiper">
-			<u-swiper :list="list"></u-swiper>
-		</view>
-		<view class="tag">
-			<view class="item" v-for="item in tagList">
-				<img src="/static/index/Frame.png" alt="" />
-				{{item.value}}
-			</view>
-		</view>
-		<view class="recommend">
-			<view class="tuijian_img">
-				<img src="/static/index/tuijian.png" alt="" />
-			</view>
-
-			<view class="recommend_js" v-for="(item,index) in rankList" :key="index" @click="goPDetails(item)">
-				<view class="js_img">
-					<!-- <image src="/static/index/ranking.png" mode=""></image> -->
-					<view class="border">
-						<image :src="$globalData.publicUrl + item.cPortrait" mode="" ></image>
-					</view>
-				</view>
-				{{item.cNickName}}
-			</view>
-		</view>
-		<view class="content">
-			<view class="selcet_box">
-				<view class="options" :class="{ 'hover': current == index }" 
-					v-for="(item, index) in selectList" :key="index"
-					@click="onSelect(item, index)">
-					{{item.cdescribe}}
-				</view>
-			</view>
-			<view class="menu">
-				<view class="project" v-for="(item,index) in pojectList" :key="index" @click="goGDetails(item.cId)">
-					<view class="img">
-						<image :src="$globalData.publicUrl + item.cCover"></image>
-						<!-- <view class="time">
+  <view class="page-container">
+    <view class="swiper">
+      <u-swiper :list="list"></u-swiper>
+    </view>
+    <view class="tag">
+      <view class="item" v-for="item in tagList">
+        <img src="/static/index/Frame.png" alt="" />
+        {{ item.value }}
+      </view>
+    </view>
+    <view class="recommend">
+      <view class="tuijian_img">
+        <img src="/static/index/tuijian.png" alt="" />
+      </view>
+
+      <view
+        class="recommend_js"
+        v-for="(item, index) in rankList"
+        :key="index"
+        @click="goPDetails(item)"
+      >
+        <view class="js_img">
+          <!-- <image src="/static/index/ranking.png" mode=""></image> -->
+          <view class="border">
+            <image
+              :src="$globalData.publicUrl + item.cPortrait"
+              mode=""
+            ></image>
+          </view>
+        </view>
+        {{ item.cNickName }}
+      </view>
+    </view>
+    <view class="content">
+      <view class="selcet_box">
+        <view
+          class="options"
+          :class="{ hover: current == index }"
+          v-for="(item, index) in selectList"
+          :key="index"
+          @click="onSelect(item, index)"
+        >
+          {{ item.cdescribe }}
+        </view>
+      </view>
+      <view class="menu">
+        <view
+          class="project"
+          v-for="(item, index) in pojectList"
+          :key="index"
+          @click="goGDetails(item.cId)"
+        >
+          <view class="img">
+            <image :src="$globalData.publicUrl + item.cCover"></image>
+            <!-- <view class="time">
 							{{item.nMinute}}分钟
 						</view> -->
-					</view>
-					<view class="describe">
-						<view class="name">
-							{{item.cTitle}}
-						</view>
-						<view class="num">
-							<view class="time">
-								<img src="/static/index/time.png" alt="" />
-								{{item.nMinute}}分钟
-							</view>
-							<view class="time">
-								<img src="/static/index/people.png" alt="" />
-								{{item.nSaleNumber}}人选择
-							</view>
-						</view>
-						<view class="num">
-							{{item.cLdList}}
-						</view>
-						<!-- <view class="num">
+          </view>
+          <view class="describe">
+            <view class="name">
+              {{ item.cTitle }}
+            </view>
+            <view class="num">
+              <view class="time">
+                <img src="/static/index/time.png" alt="" />
+                {{ item.nMinute }}分钟
+              </view>
+              <view class="time">
+                <img src="/static/index/people.png" alt="" />
+                {{ item.nSaleNumber }}人选择
+              </view>
+            </view>
+            <view class="num">
+              {{ item.cLdList }}
+            </view>
+            <!-- <view class="num">
 							超{{item.nSaleNumber}}人选择
 						</view> -->
-						<view class="price_box">
-							<view class="price">
-								¥<text>{{item.dPrice}}</text>
-							</view>
-							<view class="make" @click.stop="onSubmit(item.cId)">
-								预约
-							</view>
-						</view>
-					</view>
-				</view>
-			</view>
-		</view>
-
-		<view class="modal-container" v-if="showCoupon">
-			<view class="coupon-content show">
-				<view class="coupon-box">
-					<image class="imgs" src="/static/index/popup_bgi.png" mode=""></image>
-					<view class="border">
-						<image class="imgs" src="/static/index/border.png" mode=""></image>
-					</view>
-					<view class="close" @click="onClose('showCoupon')">
-						<image src="/static/other/cut.png" mode=""></image>
-					</view>
-					<view class="btn" @click="receiveAllCoupon">
-						<image class="imgs" src="/static/index/collection.png" mode=""></image>
-					</view>
-					<view class="coupon">
-						<view class="item" v-for="(item, index) in couponList" :key="index">
-							<view class="left">
-								<text v-if="item.discountType == 3">¥{{item.discountValue}}<br /></text>
-								<text v-else>{{item.rebValue}}折券<br /></text>
-								<text>有效期{{item.termDays}}天</text>
-							</view>
-							<view class="right" v-if="item.discountType == 3">
-								满{{item.thresholdAmount}}减{{item.discountValue}}
-							</view>
-							<view class="right" v-else>
-								满{{item.thresholdAmount}}可用
-							</view>
-							<view class="one_btn" @click.stop="receiveCoupon(item)">
-								<image src="/static/index/one.png" mode=""></image>
-							</view>
-						</view>
-					</view>
-				</view>
-
-				<!-- <view class="coupon-header">恭喜您获得优惠券</view>
+            <view class="price_box">
+              <view class="price">
+                ¥<text>{{ item.dPrice }}</text>
+              </view>
+              <view class="make" @click.stop="onSubmit(item.cId)"> 预约 </view>
+            </view>
+          </view>
+        </view>
+      </view>
+    </view>
+
+    <view class="modal-container" v-if="showCoupon">
+      <view class="coupon-content show">
+        <view class="coupon-box">
+          <image class="imgs" src="/static/index/popup_bgi.png" mode=""></image>
+          <view class="border">
+            <image class="imgs" src="/static/index/border.png" mode=""></image>
+          </view>
+          <view class="close" @click="onClose('showCoupon')">
+            <image src="/static/other/cut.png" mode=""></image>
+          </view>
+          <view class="btn" @click="receiveAllCoupon">
+            <image
+              class="imgs"
+              src="/static/index/collection.png"
+              mode=""
+            ></image>
+          </view>
+          <view class="coupon">
+            <view class="item" v-for="(item, index) in couponList" :key="index">
+              <view class="left">
+                <text v-if="item.discountType == 3"
+                  >¥{{ item.discountValue }}<br
+                /></text>
+                <text v-else>{{ item.rebValue }}折券<br /></text>
+                <text>有效期{{ item.termDays }}天</text>
+              </view>
+              <view class="right" v-if="item.discountType == 3">
+                满{{ item.thresholdAmount }}减{{ item.discountValue }}
+              </view>
+              <view class="right" v-else>
+                满{{ item.thresholdAmount }}可用
+              </view>
+              <view class="one_btn" @click.stop="receiveCoupon(item)">
+                <image src="/static/index/one.png" mode=""></image>
+              </view>
+            </view>
+          </view>
+        </view>
+
+        <!-- <view class="coupon-header">恭喜您获得优惠券</view>
 				<view class="coupon-amount">{{ couponAmount }}</view>
 				<view class="coupon-desc">{{ couponDesc }}</view>
 				<button class="coupon-btn" @click="receiveCoupon">立即领取</button> -->
-			</view>
-			<view class="mask show"></view>
-		</view>
-	</view>
+      </view>
+      <view class="mask show"></view>
+    </view>
+  </view>
 </template>
 
 <script>
 import {
-	getCateList,
-	getBannerList,
-	getCouponList,
-	getProjectList,
-	getAccessToken,
-	getRecommendList,
-	netCouponReceive,
-} from '@/api/index';
+  getCateList,
+  getBannerList,
+  getCouponList,
+  getProjectList,
+  getAccessToken,
+  getRecommendList,
+  netCouponReceive,
+} from '@/api/index'
 export default {
-	data() {
-		return {
-			showCoupon: false,
-			list: [],
-			rankList: [],
-			selectList: [],
-			pojectList: [],
-			couponList: [],
-			current: 0,
-			selectCurrent: '',
-			tagList: [
-				{
-					value: '实名认证'
-				},
-				{
-					value: '爽约包赔'
-				},
-				{
-					value: '超时秒退'
-				},
-				{
-					value: '资质证书'
-				}
-			],
-		}
-	},
-	onShow() {
-        // 获取城市
-        this.getCity();
-        // 获取banner
-		this.getBanner();
-        // 获取商品
-		this.getProject();
-		// 获取商品分类
-		this.getCatetory();
-		// 获取坐标
-		this.getLocaltion();
-		// 获取优惠劵
-		this.getCoupon();
-		// 获取推荐数据
-		this.getRanking();
-	},
-	onLoad(query) {
-        // 静默登录
-        if (query.code) this.onLogin();
-
-		// uni.setStorageSync('wx_copenid', 'o-HEJ6VP2YNi0HPeLaIHCQsQD69s')
-		// uni.setStorageSync('access-token', 'eyJhbGciOiJIUzUxMiJ9.eyJ0ZjoiOiJlNGNiNjY0ZS05Y2Q5LTRlOWItODU1Yy0zN2RlNjRiOGI3ZDIifQ.xj0ZBULLc7wYOaUgDQd_zbeynbJ8M3M-UQM6JPUKcV9rIWVlax8dJnU247om39nialcKnklKFZ8m8oerc-NY0A')
-	},
-	methods: {
-        // 获取城市
-        getCity() {
-            uni.request({
-                url: 'https://restapi.amap.com/v3/ip?parameters',
-                data: {
-                    key: '5457092e6c62b83c1b2e45dbe973d858'
-                },
-                success: (res) => {
-                    uni.setStorageSync('selectCity', res.data.city.slice(0, 2));
-                }
-            });
+  data() {
+    return {
+      showCoupon: false,
+      list: [],
+      rankList: [],
+      selectList: [],
+      pojectList: [],
+      couponList: [],
+      current: 0,
+      selectCurrent: '',
+      tagList: [
+        {
+          value: '实名认证',
         },
-		// 获取推荐数据
-		getRanking() {
-			let params = {
-				deptName: uni.getStorageSync('selectCity')
-			}
-			this.rankList = [];
-			getRecommendList(params).then(res => {
-				if (res.data.data) {
-					this.rankList = res.data.data.slice(0, 4);
-				}
-			});
-		},
-		// 获取坐标
-		getLocaltion() {
-			uni.getLocation({
-				type: 'wgs84', 
-				success: function(res) {
-					uni.setStorageSync('latitude', res.latitude)
-					uni.setStorageSync('longitude', res.longitude)
-				},
-			});
-		},
-		// 获取商品分类
-		getCatetory() {
-			this.selectList = [
-				{ cdescribe: "热门" },
-			]
-			getCateList().then(res => {
-				if (res.data.code == 200) {
-					this.selectList = [
-						...this.selectList,
-						...res.data.data
-					];
-				}
-			})
-		},
-        // 获取商品
-		getProject() {
-			this.pojectList = [];
-			getProjectList({
-				current: 1,
-				size: 10,
-				cLdList: this.selectCurrent
-			}).then(res => {
-				if (res.data.code == 200) {
-					this.pojectList = res.data.data;
-				}
-			})
-		},
-        // 获取banner
-		getBanner() {
-			this.list = [];
-			getBannerList({
-				current: 1,
-				size: 10,
-			}).then(res => {
-				if (res.data.code == 200) {
-                    this.list = res.data.data.map(item => this.$globalData.publicUrl + item.cImgUrl);
-                }
-			})
-		},
-		// 获取优惠劵
-		getCoupon() {
-			let params = {
-				openid: uni.getStorageSync('wx_copenid'),
-				deptName: uni.getStorageSync('selectCity')
-			}
-			getCouponList(params).then(res => {
-				if (res.data.data && res.data.data.length > 0) {
-					this.showCoupon = true;
-					this.couponList = res.data.data;
-				}
-			})
-		},
-		// 关闭事件
-		onClose(n) {
-			this[n] = false;
-		},
-		// 一键领取优惠券
-		receiveAllCoupon() {
-			let params = {
-				openId: uni.getStorageSync('wx_copenid'),
-				couponIds: this.couponList.map(item => item.id),
-			}
-			netCouponReceive(params).then(res => {
-				this.showCoupon = false
-				uni.showToast({
-					title: '已领取',
-					icon: 'none'
-				})
-			})
-		},
-		// 领取优惠券
-		receiveCoupon(item) {
-			let params = {
-				couponIds: [item.id],
-				openId: uni.getStorageSync('wx_copenid')
-			}
-			netCouponReceive(params).then(res => {
-				this.showCoupon = false
-				uni.showToast({
-					title: '已领取',
-					icon: 'none'
-				})
-			})
-		},
-		// 正则匹配请求地址中的参数函数
-		getUrlCode(name) {
-			return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [,
-				''
-			])[1].replace(/\+/g, '%20')) || null
-		},
-        // 静默登录
-		onLogin() {
-			let wxCode = this.getUrlCode('code'); 
-			let params = {
-				code: wxCode
-			}
-			if (wxCode !== '') {
-				getAccessToken(params).then(res => {
-					if (res.data.code == 200) {
-						uni.setStorageSync('wx_copenid', res.data.data.copenid)
-						uni.setStorageSync('access-token', res.data.data.token)
-					}
-				});
-			}
-		},
-		// tab选择
-		onSelect(item, index) {
-			this.current = index
-			if (item.cdescribe == '热门') {
-				this.selectCurrent = ''
-			} else {
-				this.selectCurrent = item.cdescribe
-			}
-			this.getProject()
-		},
-		// 下单
-		onSubmit(cId) {
-			uni.setStorageSync('projectId', cId)
-			uni.switchTab({
-				url: '/pages/identify/identify',
-			})
-		},
-		// 跳转详情页
-		goGDetails(cid) {
-			let str = uni.$u.queryParams({
-				cid: cid,
-				deptName: uni.getStorageSync('selectCity')
-			});
-			uni.navigateTo({
-				url: `/pages/index/details${str}`
-			});
-		},
-		goPDetails(item){
-			if (!this.$utils.checkLogin({ type: 'modal' })) return;
-			let str = uni.$u.queryParams({
-				id: item.id,
-			});
-			uni.navigateTo({
-				url: `/pages/identify/details${str}`
-			});
-		}
-	}
+        {
+          value: '爽约包赔',
+        },
+        {
+          value: '超时秒退',
+        },
+        {
+          value: '资质证书',
+        },
+      ],
+    }
+  },
+  onShow() {
+    // 获取城市
+    this.getCity()
+    // 获取banner
+    this.getBanner()
+    // 获取商品
+    this.getProject()
+    // 获取商品分类
+    this.getCatetory()
+    // 获取坐标
+    this.getLocaltion()
+    // 获取优惠劵
+    this.getCoupon()
+    // 获取推荐数据
+    this.getRanking()
+  },
+  onLoad(query) {
+    // 静默登录
+    if (query.code) this.onLogin()
+
+    // uni.setStorageSync('wx_copenid', 'o-HEJ6VP2YNi0HPeLaIHCQsQD69s')
+    // uni.setStorageSync('access-token', 'eyJhbGciOiJIUzUxMiJ9.eyJ0ZjoiOiJlNGNiNjY0ZS05Y2Q5LTRlOWItODU1Yy0zN2RlNjRiOGI3ZDIifQ.xj0ZBULLc7wYOaUgDQd_zbeynbJ8M3M-UQM6JPUKcV9rIWVlax8dJnU247om39nialcKnklKFZ8m8oerc-NY0A')
+  },
+  methods: {
+    // 获取城市
+    getCity() {
+      uni.request({
+        url: 'https://restapi.amap.com/v3/ip?parameters',
+        data: {
+          key: '5457092e6c62b83c1b2e45dbe973d858',
+        },
+        success: res => {
+          uni.setStorageSync('selectCity', res.data.city.slice(0, 2))
+          uni.setStorageSync('selectCitycode', res.data.adcode)
+        },
+      })
+    },
+    // 获取推荐数据
+    getRanking() {
+      let params = {
+        deptName: uni.getStorageSync('selectCity'),
+      }
+      this.rankList = []
+      getRecommendList(params).then(res => {
+        if (res.data.data) {
+          this.rankList = res.data.data.slice(0, 4)
+        }
+      })
+    },
+    // 获取坐标
+    getLocaltion() {
+      uni.getLocation({
+        type: 'wgs84',
+        success: function (res) {
+          uni.setStorageSync('latitude', res.latitude)
+          uni.setStorageSync('longitude', res.longitude)
+        },
+      })
+    },
+    // 获取商品分类
+    getCatetory() {
+      this.selectList = [{ cdescribe: '热门' }]
+      getCateList().then(res => {
+        if (res.data.code == 200) {
+          this.selectList = [...this.selectList, ...res.data.data]
+        }
+      })
+    },
+    // 获取商品
+    getProject() {
+      this.pojectList = []
+      getProjectList({
+        current: 1,
+        size: 10,
+        cLdList: this.selectCurrent,
+      }).then(res => {
+        if (res.data.code == 200) {
+          this.pojectList = res.data.data
+        }
+      })
+    },
+    // 获取banner
+    getBanner() {
+      this.list = []
+      getBannerList({
+        current: 1,
+        size: 10,
+      }).then(res => {
+        if (res.data.code == 200) {
+          this.list = res.data.data.map(
+            item => this.$globalData.publicUrl + item.cImgUrl
+          )
+        }
+      })
+    },
+    // 获取优惠劵
+    getCoupon() {
+      let params = {
+        openid: uni.getStorageSync('wx_copenid'),
+        deptName: uni.getStorageSync('selectCity'),
+      }
+      getCouponList(params).then(res => {
+        if (res.data.data && res.data.data.length > 0) {
+          this.showCoupon = true
+          this.couponList = res.data.data
+        }
+      })
+    },
+    // 关闭事件
+    onClose(n) {
+      this[n] = false
+    },
+    // 一键领取优惠券
+    receiveAllCoupon() {
+      let params = {
+        openId: uni.getStorageSync('wx_copenid'),
+        couponIds: this.couponList.map(item => item.id),
+      }
+      netCouponReceive(params).then(res => {
+        this.showCoupon = false
+        uni.showToast({
+          title: '已领取',
+          icon: 'none',
+        })
+      })
+    },
+    // 领取优惠券
+    receiveCoupon(item) {
+      let params = {
+        couponIds: [item.id],
+        openId: uni.getStorageSync('wx_copenid'),
+      }
+      netCouponReceive(params).then(res => {
+        this.showCoupon = false
+        uni.showToast({
+          title: '已领取',
+          icon: 'none',
+        })
+      })
+    },
+    // 正则匹配请求地址中的参数函数
+    getUrlCode(name) {
+      return (
+        decodeURIComponent(
+          (new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(
+            location.href
+          ) || [, ''])[1].replace(/\+/g, '%20')
+        ) || null
+      )
+    },
+    // 静默登录
+    onLogin() {
+      let wxCode = this.getUrlCode('code')
+      let params = {
+        code: wxCode,
+      }
+      if (wxCode !== '') {
+        getAccessToken(params).then(res => {
+          if (res.data.code == 200) {
+            uni.setStorageSync('wx_copenid', res.data.data.copenid)
+            uni.setStorageSync('access-token', res.data.data.token)
+          }
+        })
+      }
+    },
+    // tab选择
+    onSelect(item, index) {
+      this.current = index
+      if (item.cdescribe == '热门') {
+        this.selectCurrent = ''
+      } else {
+        this.selectCurrent = item.cdescribe
+      }
+      this.getProject()
+    },
+    // 下单
+    onSubmit(cId) {
+      uni.setStorageSync('projectId', cId)
+      uni.switchTab({
+        url: '/pages/identify/identify',
+      })
+    },
+    // 跳转详情页
+    goGDetails(cid) {
+      let str = uni.$u.queryParams({
+        cid: cid,
+        deptName: uni.getStorageSync('selectCity'),
+      })
+      uni.navigateTo({
+        url: `/pages/index/details${str}`,
+      })
+    },
+    goPDetails(item) {
+      if (!this.$utils.checkLogin({ type: 'modal' })) return
+      let str = uni.$u.queryParams({
+        id: item.id,
+      })
+      uni.navigateTo({
+        url: `/pages/identify/details${str}`,
+      })
+    },
+  },
 }
 </script>
 
 <style lang="scss" scoped>
 .page-container {
-	width: 100vw;
-	height: 100%;
-	background: linear-gradient(to bottom right, rgb(246, 249, 242), rgb(210, 241, 243));
-	overflow-y: auto;
-
-	.swiper {
-		padding: 16rpx 32rpx;
-
-		::v-deepuni-swiper {
-			height: 320rpx !important;
-		}
-	}
-
-	.tag {
-		width: 100%;
-		padding: 0px 32rpx;
-		margin: 28rpx 0px;
-		box-sizing: border-box;
-		display: flex;
-		justify-content: space-around;
-
-		.item {
-			width: 160rpx;
-			height: 44rpx;
-			background: rgba(0, 184, 151, 0.06);
-			border-radius: 8rpx 8rpx 8rpx 8rpx;
-			font-size: 24rpx;
-			color: #0FB4AC;
-			display: flex;
-			align-items: center;
-			justify-content: center;
-
-			img {
-				margin-right: 8rpx;
-			}
-		}
-	}
-
-	.recommend {
-		display: flex;
-		align-items: center;
-		justify-content: space-between;
-		width: calc(100% - 64rpx);
-		margin: 12rpx auto 16rpx;
-		height: 218rpx;
-		padding: 40rpx 30rpx;
-		position: relative;
-		background: #FFFFFF;
-		box-shadow: 0px 4rpx 12rpx 0px rgba(88, 209, 187, 0.15);
-		border-radius: 24rpx;
-		box-sizing: border-box;
-
-		.tuijian_img {
-			position: absolute;
-			top: 0;
-			left: 0;
-			width: 75rpx;
-			height: 40rpx;
-
-			img {
-				width: 100%;
-				height: 100%;
-			}
-		}
-
-		.recommend_js {
-			text-align: center;
-			flex: 1;
-			display: flex;
-			flex-direction: column;
-			justify-content: center;
-			align-items: center;
-			font-size: 24rpx;
-			color: #333333;
-			.js_img{
-				width: 120rpx;
-				height: 120rpx;
-				position: relative;
-				border-radius: 50%;
-				// overflow: hidden;
-				image {
-					width: 100%;
-					height: 100%;
-					margin-bottom: 12rpx;
-					// z-index: 9;
-					z-index: 999;
-				}
-				.border{
-					position: absolute;
-					top: 0;
-					left: 0;
-					width: 120rpx;
-					height: 120rpx;
-					
-					image{
-						width: 100%;
-						height: 100%;
-						z-index: 99;
-						margin: 0;
-						
-					}
-				}
-			}
-		}
-	}
-
-	.content {
-		width: 100%;
-		display: flex;
-		flex-direction: column;
-		background-color: #fff;
-		border-radius: 40rpx 40rpx 0px 0px;
-		margin-top: 28rpx;
-		// padding: 32rpx;
-		box-sizing: border-box;
-
-		.selcet_box {
-			width: 100%;
-			overflow-x: auto;
-			box-sizing: border-box;
-			white-space: nowrap;
-			padding: 20rpx 32rpx;
-
-			.options {
-				display: inline-block;
-				font-size: 30rpx;
-				margin-right: 24rpx;
-			}
-
-			.hover {
-				color: #03C8BE;
-				font-weight: 700;
-				border-bottom: 4rpx solid #03C8BE;
-			}
-		}
-
-		.menu {
-			flex: 1;
-			width: 100%;
-			padding: 0 24rpx 32rpx;
-
-			.project {
-				background: linear-gradient(180deg, #F7FFFF 0%, #E9FFFB 100%);
-				box-shadow: 0px 4rpx 12rpx 0px rgba(88, 209, 187, 0.2);
-				border-radius: 24rpx;
-				margin-bottom: 24rpx;
-				padding: 16rpx 32rpx;
-				box-sizing: border-box;
-				overflow: hidden;
-				display: flex;
-				justify-content: space-between;
-
-				.img {
-					width: 168rpx;
-					height: 168rpx;
-					border-radius: 8rpx;
-					overflow: hidden;
-					margin-right: 34rpx;
-
-					image {
-						width: 100%;
-						height: 100%;
-					}
-
-					// .time {
-					// 	position: absolute;
-					// 	top: 0;
-					// 	right: 0;
-					// 	padding: 0px 10px;
-					// 	background-color: #333;
-					// 	opacity: .7;
-					// 	border-radius: 0px 0px 0px 10px;
-					// 	color: #fff;
-					// }
-				}
-
-				.describe {
-					flex: 1;
-					height: 100%;
-					display: flex;
-					flex-direction: column;
-					
-					.name {
-						width: 100%;
-						font-size: 32rpx;
-						line-height: 24rpx;
-						font-weight: 500;
-					}
-
-					.num {
-						font-size: 24rpx;
-						color: #808080;
-						display: flex;
-						margin-top: 16rpx;
-
-						.time {
-							font-size: 24rpx;
-							color: #666666;
-							display: flex;
-							align-items: center;
-							margin-right: 26rpx;
-
-							img {
-								width: 24rpx;
-								height: 24rpx;
-								margin-right: 4rpx;
-							}
-						}
-					}
-
-					.price_box {
-						width: 100%;
-						display: flex;
-						align-items: center;
-						justify-content: space-between;
-
-						.price {
-							font-size: 24rpx;
-							color: #f53e54;
-							display: flex;
-							align-items: baseline;
-
-							text {
-								font-weight: 500;
-								font-size: 48rpx
-							}
-						}
-
-						.make {
-							width: 124rpx;
-							height: 56rpx;
-							font-size: 30rpx;
-							color: #fff;
-							background: linear-gradient(135deg, #1AD8CF 0%, #21C8C0 100%);
-							border-radius: 8rpx 8rpx 8rpx 8rpx;
-							padding: 0px 20rpx;
-							display: flex;
-							align-items: center;
-							justify-content: center;
-						}
-					}
-				}
-			}
-		}
-	}
-
-	.modal-container {
-		height: 100vh;
-		display: flex;
-		align-items: center;
-		justify-content: center;
-
-		.coupon-content {
-			position: fixed;
-			top: 0;
-			left: 0;
-			width: 100%;
-			height: 300rpx;
-			transform: translateY(100%);
-			border-radius: 20rpx 20rpx 0 0;
-			box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
-			opacity: 1;
-			transition: all 0.3s;
-			z-index: 9999;
-
-			.coupon-box {
-				width: 350px;
-				height: 500px;
-				margin: 0 auto;
-				position: relative;
-
-				.imgs {
-					width: 350px;
-					height: 500px;
-				}
-
-				.close {
-					width: 80rpx;
-					height: 80rpx;
-					position: absolute;
-					bottom: 0;
-					left: 50%;
-					transform: translateX(-50%);
-					z-index: 99999;
-
-					image {
-						width: 100%;
-						height: 100%;
-					}
-				}
-
-				.border {
-					position: absolute;
-					top: 0;
-					left: 0;
-				}
-
-				.btn {
-					position: absolute;
-					bottom: 0;
-					left: 0;
-				}
-
-				.coupon {
-					width: 230px;
-					height: 230px;
-					position: absolute;
-					top: 50%;
-					left: 50%;
-					transform: translate(-50%, -50%);
-					overflow-y: auto;
-
-					.item {
-						width: 85%;
-						height: 70px;
-						background-image: url('/static/index/item.png');
-						// background-repeat: no-repeat;
-						background-size: cover;
-						background-position: center;
-						padding: 10rpx 25rpx;
-						display: flex;
-						align-items: center;
-						position: relative;
-						margin-bottom: 10rpx;
-
-						.left {
-							color: #ff0000;
-						}
-
-						.right {
-							height: 100%;
-							padding-top: 30px;
-							margin-left: 20rpx;
-							font-size: 28rpx;
-						}
-
-						.one_btn {
-							position: absolute;
-							top: 10%;
-							right: 2%;
-							width: 30px;
-							height: 60px;
-
-							image {
-								width: 100%;
-								height: 100%;
-							}
-						}
-					}
-				}
-
-			}
-
-		}
-
-		.coupon-header {
-			font-size: 36rpx;
-			font-weight: bold;
-			color: #333;
-			margin: 40rpx 0 20rpx 0;
-			text-align: center;
-		}
-
-		.coupon-amount {
-			font-size: 80rpx;
-			font-weight: bold;
-			color: #ff0000;
-			text-align: center;
-		}
-
-		.coupon-desc {
-			font-size: 28rpx;
-			color: #666;
-			margin: 30rpx 0;
-			text-align: center;
-		}
-
-		.coupon-btn {
-			margin: 20rpx auto 0 auto;
-			width: 500rpx;
-			height: 80rpx;
-			border: none;
-			border-radius: 40rpx;
-			background-color: #ff0000;
-			color: #fff;
-			font-size: 36rpx;
-			display: block;
-			text-align: center;
-			line-height: 80rpx;
-		}
-
-		.mask {
-			position: fixed;
-			background-color: rgba(0, 0, 0, 0.5);
-			top: 0;
-			left: 0;
-			width: 100%;
-			height: 100%;
-			z-index: 999;
-			opacity: 0;
-			transition: all 0.3s;
-		}
-
-		.show {
-			opacity: 1;
-		}
-	}
+  width: 100vw;
+  height: 100%;
+  background: linear-gradient(
+    to bottom right,
+    rgb(246, 249, 242),
+    rgb(210, 241, 243)
+  );
+  overflow-y: auto;
+
+  .swiper {
+    padding: 16rpx 32rpx;
+
+    ::v-deepuni-swiper {
+      height: 320rpx !important;
+    }
+  }
+
+  .tag {
+    width: 100%;
+    padding: 0px 32rpx;
+    margin: 28rpx 0px;
+    box-sizing: border-box;
+    display: flex;
+    justify-content: space-around;
+
+    .item {
+      width: 160rpx;
+      height: 44rpx;
+      background: rgba(0, 184, 151, 0.06);
+      border-radius: 8rpx 8rpx 8rpx 8rpx;
+      font-size: 24rpx;
+      color: #0fb4ac;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+
+      img {
+        margin-right: 8rpx;
+      }
+    }
+  }
+
+  .recommend {
+    display: flex;
+    align-items: center;
+    justify-content: space-between;
+    width: calc(100% - 64rpx);
+    margin: 12rpx auto 16rpx;
+    height: 218rpx;
+    padding: 40rpx 30rpx;
+    position: relative;
+    background: #ffffff;
+    box-shadow: 0px 4rpx 12rpx 0px rgba(88, 209, 187, 0.15);
+    border-radius: 24rpx;
+    box-sizing: border-box;
+
+    .tuijian_img {
+      position: absolute;
+      top: 0;
+      left: 0;
+      width: 75rpx;
+      height: 40rpx;
+
+      img {
+        width: 100%;
+        height: 100%;
+      }
+    }
+
+    .recommend_js {
+      text-align: center;
+      flex: 1;
+      display: flex;
+      flex-direction: column;
+      justify-content: center;
+      align-items: center;
+      font-size: 24rpx;
+      color: #333333;
+      .js_img {
+        width: 120rpx;
+        height: 120rpx;
+        position: relative;
+        border-radius: 50%;
+        // overflow: hidden;
+        image {
+          width: 100%;
+          height: 100%;
+          margin-bottom: 12rpx;
+          // z-index: 9;
+          z-index: 999;
+        }
+        .border {
+          position: absolute;
+          top: 0;
+          left: 0;
+          width: 120rpx;
+          height: 120rpx;
+
+          image {
+            width: 100%;
+            height: 100%;
+            z-index: 99;
+            margin: 0;
+          }
+        }
+      }
+    }
+  }
+
+  .content {
+    width: 100%;
+    display: flex;
+    flex-direction: column;
+    background-color: #fff;
+    border-radius: 40rpx 40rpx 0px 0px;
+    margin-top: 28rpx;
+    // padding: 32rpx;
+    box-sizing: border-box;
+
+    .selcet_box {
+      width: 100%;
+      overflow-x: auto;
+      box-sizing: border-box;
+      white-space: nowrap;
+      padding: 20rpx 32rpx;
+
+      .options {
+        display: inline-block;
+        font-size: 30rpx;
+        margin-right: 24rpx;
+      }
+
+      .hover {
+        color: #03c8be;
+        font-weight: 700;
+        border-bottom: 4rpx solid #03c8be;
+      }
+    }
+
+    .menu {
+      flex: 1;
+      width: 100%;
+      padding: 0 24rpx 32rpx;
+
+      .project {
+        background: linear-gradient(180deg, #f7ffff 0%, #e9fffb 100%);
+        box-shadow: 0px 4rpx 12rpx 0px rgba(88, 209, 187, 0.2);
+        border-radius: 24rpx;
+        margin-bottom: 24rpx;
+        padding: 16rpx 32rpx;
+        box-sizing: border-box;
+        overflow: hidden;
+        display: flex;
+        justify-content: space-between;
+
+        .img {
+          width: 168rpx;
+          height: 168rpx;
+          border-radius: 8rpx;
+          overflow: hidden;
+          margin-right: 34rpx;
+
+          image {
+            width: 100%;
+            height: 100%;
+          }
+
+          // .time {
+          // 	position: absolute;
+          // 	top: 0;
+          // 	right: 0;
+          // 	padding: 0px 10px;
+          // 	background-color: #333;
+          // 	opacity: .7;
+          // 	border-radius: 0px 0px 0px 10px;
+          // 	color: #fff;
+          // }
+        }
+
+        .describe {
+          flex: 1;
+          height: 100%;
+          display: flex;
+          flex-direction: column;
+
+          .name {
+            width: 100%;
+            font-size: 32rpx;
+            line-height: 24rpx;
+            font-weight: 500;
+          }
+
+          .num {
+            font-size: 24rpx;
+            color: #808080;
+            display: flex;
+            margin-top: 16rpx;
+
+            .time {
+              font-size: 24rpx;
+              color: #666666;
+              display: flex;
+              align-items: center;
+              margin-right: 26rpx;
+
+              img {
+                width: 24rpx;
+                height: 24rpx;
+                margin-right: 4rpx;
+              }
+            }
+          }
+
+          .price_box {
+            width: 100%;
+            display: flex;
+            align-items: center;
+            justify-content: space-between;
+
+            .price {
+              font-size: 24rpx;
+              color: #f53e54;
+              display: flex;
+              align-items: baseline;
+
+              text {
+                font-weight: 500;
+                font-size: 48rpx;
+              }
+            }
+
+            .make {
+              width: 124rpx;
+              height: 56rpx;
+              font-size: 30rpx;
+              color: #fff;
+              background: linear-gradient(135deg, #1ad8cf 0%, #21c8c0 100%);
+              border-radius: 8rpx 8rpx 8rpx 8rpx;
+              padding: 0px 20rpx;
+              display: flex;
+              align-items: center;
+              justify-content: center;
+            }
+          }
+        }
+      }
+    }
+  }
+
+  .modal-container {
+    height: 100vh;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+
+    .coupon-content {
+      position: fixed;
+      top: 0;
+      left: 0;
+      width: 100%;
+      height: 300rpx;
+      transform: translateY(100%);
+      border-radius: 20rpx 20rpx 0 0;
+      box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
+      opacity: 1;
+      transition: all 0.3s;
+      z-index: 9999;
+
+      .coupon-box {
+        width: 350px;
+        height: 500px;
+        margin: 0 auto;
+        position: relative;
+
+        .imgs {
+          width: 350px;
+          height: 500px;
+        }
+
+        .close {
+          width: 80rpx;
+          height: 80rpx;
+          position: absolute;
+          bottom: 0;
+          left: 50%;
+          transform: translateX(-50%);
+          z-index: 99999;
+
+          image {
+            width: 100%;
+            height: 100%;
+          }
+        }
+
+        .border {
+          position: absolute;
+          top: 0;
+          left: 0;
+        }
+
+        .btn {
+          position: absolute;
+          bottom: 0;
+          left: 0;
+        }
+
+        .coupon {
+          width: 230px;
+          height: 230px;
+          position: absolute;
+          top: 50%;
+          left: 50%;
+          transform: translate(-50%, -50%);
+          overflow-y: auto;
+
+          .item {
+            width: 85%;
+            height: 70px;
+            background-image: url('/static/index/item.png');
+            // background-repeat: no-repeat;
+            background-size: cover;
+            background-position: center;
+            padding: 10rpx 25rpx;
+            display: flex;
+            align-items: center;
+            position: relative;
+            margin-bottom: 10rpx;
+
+            .left {
+              color: #ff0000;
+            }
+
+            .right {
+              height: 100%;
+              padding-top: 30px;
+              margin-left: 20rpx;
+              font-size: 28rpx;
+            }
+
+            .one_btn {
+              position: absolute;
+              top: 10%;
+              right: 2%;
+              width: 30px;
+              height: 60px;
+
+              image {
+                width: 100%;
+                height: 100%;
+              }
+            }
+          }
+        }
+      }
+    }
+
+    .coupon-header {
+      font-size: 36rpx;
+      font-weight: bold;
+      color: #333;
+      margin: 40rpx 0 20rpx 0;
+      text-align: center;
+    }
+
+    .coupon-amount {
+      font-size: 80rpx;
+      font-weight: bold;
+      color: #ff0000;
+      text-align: center;
+    }
+
+    .coupon-desc {
+      font-size: 28rpx;
+      color: #666;
+      margin: 30rpx 0;
+      text-align: center;
+    }
+
+    .coupon-btn {
+      margin: 20rpx auto 0 auto;
+      width: 500rpx;
+      height: 80rpx;
+      border: none;
+      border-radius: 40rpx;
+      background-color: #ff0000;
+      color: #fff;
+      font-size: 36rpx;
+      display: block;
+      text-align: center;
+      line-height: 80rpx;
+    }
+
+    .mask {
+      position: fixed;
+      background-color: rgba(0, 0, 0, 0.5);
+      top: 0;
+      left: 0;
+      width: 100%;
+      height: 100%;
+      z-index: 999;
+      opacity: 0;
+      transition: all 0.3s;
+    }
+
+    .show {
+      opacity: 1;
+    }
+  }
 }
 </style>

+ 67 - 44
src/pages/my/dynamic/add_dynamic.vue

@@ -13,7 +13,7 @@
         ></u--textarea>
         <view class="line"></view>
       </view>
-      <view class="text-area">
+      <view class="content-area">
         <u--textarea
           v-model="formData.content"
           placeholder="记录美好生活时刻..."
@@ -61,6 +61,7 @@
           :maxVideo="1"
           :fileType="mediaType"
           addImg="/static/discover/ic_upload.png"
+          deleteImg="/static/discover/ic_delete.png"
           @onSuccess="onSuccess"
           @onMediaTypeSelect="selectMediaType"
           @onError="onCancel"
@@ -317,7 +318,8 @@ export default {
         (!this.formData.title ||
           !this.formData.content ||
           !this.formData.location ||
-          this.fileList.length === 0 ||
+          (this.mediaType == 1 && this.fileList.length === 0) ||
+          (this.mediaType == 2 && !this.formData.videoUrl) ||
           !this.formData.visibleRange)
       ) {
         uni.showToast({ title: '请完善动态内容', icon: 'none' })
@@ -398,12 +400,59 @@ export default {
   background: #f8f8f8;
   box-sizing: border-box;
   overflow: scroll;
+  font-family: PingFang SC, PingFang SC;
 
   .content-body {
     background: #fff;
     padding: 32rpx;
     border-radius: 20rpx;
     margin-bottom: 24rpx;
+
+    .text-area {
+      font-weight: 500;
+      font-size: 32rpx;
+      color: #999999;
+
+      .line {
+        border-bottom: 1px solid #e5e5e5;
+        background: #cccccc;
+        border-radius: 4rpx;
+      }
+    }
+
+    .content-area {
+      ::v-deep .uni-textarea-wrapper {
+        font-size: 24rpx;
+      }
+    }
+
+    .media-area {
+      margin: 20rpx 0 20rpx;
+      justify-content: space-between;
+      position: relative;
+
+      .icon-cuo {
+        position: absolute;
+        left: 295upx;
+        top: 5upx;
+        color: #ffffff !important;
+        z-index: 999;
+        border-top-right-radius: 20upx;
+        border-bottom-left-radius: 20upx;
+      }
+
+      .video-container {
+        width: 340upx;
+        height: 240upx;
+        border-radius: 12rpx;
+      }
+    }
+
+    .tips {
+      font-size: 24rpx;
+      color: #999;
+      margin-bottom: 20rpx;
+    }
   }
 
   .location-cell {
@@ -419,60 +468,34 @@ export default {
   }
 }
 
-.text-area {
-  margin-bottom: 30rpx;
-  .line {
-    border-bottom: 1px solid #e5e5e5;
-    background: #cccccc;
-    border-radius: 4rpx;
-  }
-}
-
-.media-area {
-  margin: 20rpx 0 20rpx;
-  justify-content: space-between;
-  position: relative;
-
-  .icon-cuo {
-    position: absolute;
-    left: 295upx;
-    top: 5upx;
-    color: #ffffff !important;
-    z-index: 999;
-    border-top-right-radius: 20upx;
-    border-bottom-left-radius: 20upx;
-  }
-
-  .video-container {
-    width: 340upx;
-    height: 240upx;
-    border-radius: 12rpx;
-  }
-}
-
-.tips {
-  font-size: 24rpx;
-  color: #999;
-  margin-bottom: 20rpx;
-}
-
 ::v-deep {
   .u-line {
     border: none !important;
   }
   .u-button__text {
-    font-family: PingFang SC, PingFang SC;
     font-weight: 500;
     font-size: 32rpx;
   }
   .u-upload__wrap__preview {
     border-radius: 12rpx;
   }
-  .cl-updata .file-list .add-image {
-    border: none;
+  .cl-updata {
+    .file-list .add-image {
+      border: none;
 
-    ._image {
-      width: 100%;
+      ._image {
+        width: 100%;
+      }
+    }
+    .file-list-row .remove {
+      background-color: transparent !important;
+      .image[data-v-0b7ccd9e] {
+        width: 24rpx;
+        height: 24rpx;
+        position: absolute;
+        right: 4rpx;
+        top: 4rpx;
+      }
     }
   }
 }

+ 2 - 1
src/pages/my/dynamic/components/draft_list.vue

@@ -41,7 +41,7 @@ export default {
     onEdit(item) {
       let str = uni.$u.queryParams({
         momentId: item.id,
-        type: 'edit'
+        type: 'edit',
       })
       uni.navigateTo({
         url: `/pages/my/dynamic/add_dynamic${str}`,
@@ -118,6 +118,7 @@ export default {
       }
 
       .item-tip {
+        font-size: 24rpx;
         color: #ff2f2f;
       }
     }

+ 1 - 0
src/pages/my/dynamic/components/my_list.vue

@@ -71,6 +71,7 @@ export default {
   flex-wrap: wrap;
   justify-content: space-between;
   padding: 26rpx;
+  font-family: PingFang SC, PingFang SC;
 
   .item {
     width: calc(50% - 14rpx);

+ 2 - 1
src/pages/my/dynamic/index.vue

@@ -35,7 +35,7 @@
 
       <template v-slot:empty>
         <u-empty
-          :text="!isLogin ? '您还没有登录' : '您还没有相关动态呦~'"
+          :text="!isLogin ? '您还没有登录' : '暂无相关动态~'"
           icon="/static/common/logo1.png"
         >
           <u-button
@@ -137,6 +137,7 @@ export default {
 <style scoped lang="scss">
 .page-container {
   background-color: #f7ffff;
+  font-family: PingFang SC, PingFang SC;
 
   .tab-box {
     height: 90rpx;

+ 1 - 1
src/pages/my/dynamic/jsDynamic.vue

@@ -13,7 +13,7 @@
 
       <template v-slot:empty>
         <u-empty
-          :text="!isLogin ? '您还没有登录' : '您还没有相关动态呦~'"
+          :text="!isLogin ? '您还没有登录' : '暂无相关动态~'"
           icon="/static/common/logo1.png"
         >
           <u-button

+ 5 - 0
src/pages/settings/fare.vue

@@ -46,6 +46,7 @@
               type="number"
               fontSize="15px"
               placeholderStyle="font-size: 14px; color: #c0c4cc;"
+              @blur="distanceChange"
             >
               <template slot="suffix">
                 <text class="unit-text" v-if="formData.minDistance">km</text>
@@ -209,6 +210,9 @@ export default {
       // TODO: 这里可以根据 this.formData[field] 的值去设置 defaultIndex (回显选中位置)
       // 如果需要回显,需要解析字符串 "09:00-21:00" 并计算索引
     },
+    distanceChange(val) {
+      this.formData.minDistance = Number(val).toFixed(2)
+    },
     // 确认时间
     confirmTime(e) {
       const values = e.value // 拿到选中的数组,如 ["09时", "00分", "至", "21时", "30分"]
@@ -291,6 +295,7 @@ export default {
       }
       const params = {
         ...this.formData,
+        minDistance: Number(this.formData.minDistance),
         openId: this.openId,
         enable: this.isFree ? '1' : '0',
       }

+ 0 - 0
src/static/discover/ic_delete@2x.png → src/static/discover/ic_delete.png


BIN
src/static/discover/ic_play.png