Commit ac737f76 authored by 张娇(东信)'s avatar 张娇(东信)

Merge remote-tracking branch 'origin/master'

parents 73b8d8f2 11666726
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<text class="fab-text">订单</text> <text class="fab-text">订单</text>
</view> </view>
<view class="custom-button" @click="go('/pages/assistingAgriculture/cart/cart')"> <view class="custom-button" @click="go('/pages/assistingAgriculture/cart/cart')">
<image class="fab-icon" src="../../static/index/gwc.png"></image> <image class="fab-icon" src="../../static/index/shoppingCart.png"></image>
<text class="fab-text">购物车</text> <text class="fab-text">购物车</text>
<view class="badge" v-if="cartCount > 0">{{ cartCount }}</view> <view class="badge" v-if="cartCount > 0">{{ cartCount }}</view>
</view> </view>
...@@ -103,14 +103,15 @@ const go = (url) => { ...@@ -103,14 +103,15 @@ const go = (url) => {
.badge { .badge {
font-size: 18rpx; font-size: 18rpx;
font-weight: bold; font-weight: bold;
color: #fa4350; color: #fff;
background-color: #fff; background-color: #fa4350;
text-align: center; text-align: center;
border-radius: 32rpx; border-radius: 32rpx;
padding: 4rpx 8rpx; padding: 4rpx 10rpx;
position: absolute; position: absolute;
top: 0; top: -10rpx;
right: -6rpx; right: -18rpx;
border: 4rpx solid #fff;
} }
} }
</style> </style>
...@@ -8,3 +8,12 @@ export function getPhoto(data) { ...@@ -8,3 +8,12 @@ export function getPhoto(data) {
data, data,
}); });
} }
// 点赞
export function likeOrDislike(data) {
return request({
url: `/sgyrdd/evaluation/likeOrDislike`,
method: 'POST',
data,
});
}
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
"sdkConfigs": { "sdkConfigs": {
"maps": { "maps": {
"qqmap": { "qqmap": {
"key": "B7VBZ-PT5RB-WRHUT-J2EEQ-3WTUE-APFX4" "key": "MN4BZ-7JXKW-2RYRD-32QGF-AHONV-PAFUN"
} }
} }
} }
......
...@@ -178,7 +178,26 @@ async function changeLocation() { ...@@ -178,7 +178,26 @@ async function changeLocation() {
page { page {
background: #f9f9f9; background: #f9f9f9;
} }
:deep(#u-a-c .uni-system-choose-location .nav) {
top: 20px !important;
background-image: none;
}
:deep(#u-a-c .uni-system-choose-location .nav-btn) {
background-color: #007aff;
border-radius: 10px;
}
:deep(#u-a-c .uni-system-choose-location .nav-btn.back) {
background-color: #007aff;
border-radius: 10px;
top: 50px;
left: 10px;
}
:deep(#u-a-c .uni-system-choose-location .nav-btn.confirm) {
background-color: #007aff;
border-radius: 10px;
top: 50px;
right: 10px;
}
.container { .container {
width: 375 * 2rpx; width: 375 * 2rpx;
margin: 0 auto; margin: 0 auto;
......
...@@ -310,6 +310,7 @@ ...@@ -310,6 +310,7 @@
<button @click="openZfType">立即预定</button> <button @click="openZfType">立即预定</button>
</div> </div>
<Payment ref="PaymentRef" @payment="payNow"></Payment> <Payment ref="PaymentRef" @payment="payNow"></Payment>
<fab position="3" />
</div> </div>
</template> </template>
...@@ -318,6 +319,7 @@ import timeLine from './timeLine.vue'; ...@@ -318,6 +319,7 @@ import timeLine from './timeLine.vue';
import domain from '@/utils/domain'; import domain from '@/utils/domain';
import Payment from '@/pages/order/components/Payment/index.vue'; import Payment from '@/pages/order/components/Payment/index.vue';
import { ref, computed, watch } from 'vue'; import { ref, computed, watch } from 'vue';
import fab from '../../../components/fab/fab.vue';
import { import {
getProd, getProd,
getEvalStatis, getEvalStatis,
...@@ -589,14 +591,14 @@ function back() { ...@@ -589,14 +591,14 @@ function back() {
function toCommentDetail() { function toCommentDetail() {
// TODO: 跳转到评论详情页 // TODO: 跳转到评论详情页
xma.navigateTo({ xma.navigateTo({
url: '/pages/assistingAgriculture/commentList/index', url: `/pages/assistingAgriculture/commentList/index?shopId=${shopIds.value}&prodId=${prodIds.value}`,
}); });
} }
// 跳转用户相册 // 跳转用户相册
function toAlbum() { function toAlbum() {
// TODO: 跳转到评论详情页 // TODO: 跳转到评论详情页
xma.navigateTo({ xma.navigateTo({
url: '/pages/assistingAgriculture/album/index', url: `/pages/assistingAgriculture/album/index?shopId=${shopIds.value}&prodId=${prodIds.value}`,
}); });
} }
</script> </script>
...@@ -1016,10 +1018,10 @@ uni-page-body { ...@@ -1016,10 +1018,10 @@ uni-page-body {
} }
} }
.footer { .footer {
height: 196rpx; height: 90rpx;
border-radius: 16rpx 16rpx 0rpx 0rpx; border-radius: 16rpx 16rpx 0rpx 0rpx;
background: #ffffff; background: #ffffff;
padding: 20rpx 20rpx 0 42rpx; padding: 16rpx;
align-items: flex-start; align-items: flex-start;
.like { .like {
display: flex; display: flex;
......
...@@ -121,6 +121,7 @@ ...@@ -121,6 +121,7 @@
没有更多啦~ 没有更多啦~
</view> </view>
</view> </view>
<fab position="3" />
</view> </view>
</template> </template>
...@@ -131,6 +132,7 @@ import Sort from '../../../components/assistingAgriculture/index/Sort.vue'; ...@@ -131,6 +132,7 @@ import Sort from '../../../components/assistingAgriculture/index/Sort.vue';
import DepartureDate from '../../../components/assistingAgriculture/index/Date.vue'; import DepartureDate from '../../../components/assistingAgriculture/index/Date.vue';
import ScenicSpots from '../../../components/assistingAgriculture/index/ScenicSpots.vue'; import ScenicSpots from '../../../components/assistingAgriculture/index/ScenicSpots.vue';
import Screen from '../../../components/assistingAgriculture/index/Screen.vue'; import Screen from '../../../components/assistingAgriculture/index/Screen.vue';
import fab from '../../../components/fab/fab.vue';
const rotate = ref(false); const rotate = ref(false);
const imgUrl = import.meta.env.VITE_APP_IMG_URL; const imgUrl = import.meta.env.VITE_APP_IMG_URL;
const rotate2 = ref(false); const rotate2 = ref(false);
......
...@@ -11,8 +11,11 @@ ...@@ -11,8 +11,11 @@
<img :src="item.avatar" alt="" /> <img :src="item.avatar" alt="" />
<p>{{ item.nickName }}</p> <p>{{ item.nickName }}</p>
</div> </div>
<div class="like"> <div class="like flex-align-center" @click="like(item)">
<wd-icon name="thumb-up"></wd-icon> <img
:src="`/static/assistingAgriculture/assets/${item.give == 0 ? 'like' : 'likeFilled'}.png`"
alt=""
/>
{{ item.giveCount }} {{ item.giveCount }}
</div> </div>
</div> </div>
...@@ -20,6 +23,7 @@ ...@@ -20,6 +23,7 @@
</template> </template>
<script setup> <script setup>
import { likeOrDislike } from '../../../api/photo';
const showMore = ref(false); const showMore = ref(false);
const props = defineProps({ const props = defineProps({
photoData: { photoData: {
...@@ -33,6 +37,24 @@ const toReviewDetails = (id) => { ...@@ -33,6 +37,24 @@ const toReviewDetails = (id) => {
url: `/pages/assistingAgriculture/reviewDetails/reviewDetails?evaluationId=${id}`, url: `/pages/assistingAgriculture/reviewDetails/reviewDetails?evaluationId=${id}`,
}); });
}; };
/* 点赞 */
let flag = false;
const like = (item) => {
if (flag) {
return;
} else {
flag = true;
}
likeOrDislike({ evaluationId: item.evaluationId }).then((res) => {
flag = false;
if (res.code === 0) {
// 成功
item.give = item.give === 0 ? 1 : 0;
item.giveCount = item.give === 0 ? item.giveCount - 1 : item.giveCount + 1;
}
});
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -86,8 +108,9 @@ const toReviewDetails = (id) => { ...@@ -86,8 +108,9 @@ const toReviewDetails = (id) => {
.like { .like {
font-size: 12px; font-size: 12px;
color: #767676; color: #767676;
.wd-icon { img {
font-size: 15px; width: 16px;
height: 16px;
} }
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
</scroll-view> </scroll-view>
<div class="back"> <div class="back">
<button>返回预订</button> <button @click="back">返回预订</button>
</div> </div>
</div> </div>
</template> </template>
...@@ -60,12 +60,9 @@ const filterList = [ ...@@ -60,12 +60,9 @@ const filterList = [
}, },
]; ];
const photoData = ref([]); const photoData = ref([]);
const params = {
prodId: '43828', onLoad(({ prodId, shopId }) => {
shopId: '1818876196597334017', getPhotoFn({ prodId, shopId });
};
onLoad(() => {
getPhotoFn();
}); });
// const scrolltolower = () => { // const scrolltolower = () => {
// console.log('触底加载触底加载触底加载'); // console.log('触底加载触底加载触底加载');
...@@ -76,7 +73,7 @@ onLoad(() => { ...@@ -76,7 +73,7 @@ onLoad(() => {
// } // }
// show.value = true; // show.value = true;
// }; // };
const getPhotoFn = () => { const getPhotoFn = (params) => {
getPhoto(params).then((res) => { getPhoto(params).then((res) => {
res.data.forEach((v) => { res.data.forEach((v) => {
if (v.images) { if (v.images) {
...@@ -91,6 +88,9 @@ const getPhotoFn = () => { ...@@ -91,6 +88,9 @@ const getPhotoFn = () => {
photoData.value = [...photoData.value, ...res.data]; photoData.value = [...photoData.value, ...res.data];
}); });
}; };
const back = () => {
uni.navigateBack();
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -103,21 +103,21 @@ uni-page-body { ...@@ -103,21 +103,21 @@ uni-page-body {
flex-direction: column; flex-direction: column;
background-color: #f3f3f3; background-color: #f3f3f3;
.content { .content {
padding: 10px 5px; padding: 20rpx 10rpx;
box-sizing: border-box; box-sizing: border-box;
flex-grow: 1; flex-grow: 1;
height: 69px; height: 138rpx;
.filter-box { .filter-box {
display: flex; display: flex;
background-color: #fff; background-color: #fff;
padding: 10px; padding: 20rpx;
gap: 10px; gap: 20rpx;
flex-wrap: wrap; flex-wrap: wrap;
div { div {
padding: 8px; padding: 16rpx;
color: #3d3d3d; color: #3d3d3d;
font-size: 8px; font-size: 16rpx;
border-radius: 8px; border-radius: 16rpx;
background-color: #eeeeee; background-color: #eeeeee;
} }
.active { .active {
...@@ -126,23 +126,23 @@ uni-page-body { ...@@ -126,23 +126,23 @@ uni-page-body {
} }
} }
.card-wrap { .card-wrap {
// margin-top: 5px; // margin-top: 10rpx;
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 5px; gap: 10rpx;
} }
} }
} }
.back { .back {
background-color: #fff; background-color: #fff;
padding: 20px 0 34px; padding: 40rpx 0;
box-shadow: 0px -4px 8px 0px rgba(0, 0, 0, 0.12); box-shadow: 0rpx -8rpx 16rpx 0rpx rgba(0, 0, 0, 0.12);
button { button {
width: 345px; width: 690rpx;
height: 44px; height: 88rpx;
border-radius: 34px; border-radius: 68rpx;
background-color: #fa5151; background-color: #fa5151;
font-size: 16px; font-size: 32rpx;
font-weight: 500; font-weight: 500;
color: #ffffff; color: #ffffff;
} }
......
...@@ -89,8 +89,8 @@ const imgUrl = import.meta.env.VITE_APP_IMG_URL; ...@@ -89,8 +89,8 @@ const imgUrl = import.meta.env.VITE_APP_IMG_URL;
const tagList = ref([]); const tagList = ref([]);
const commentData = ref([]); const commentData = ref([]);
const commentParameters = { const commentParameters = {
shopId: '1818876196597334017', shopId: '',
prodId: '43828', prodId: '',
current: 1, current: 1,
size: 10, size: 10,
}; };
...@@ -99,7 +99,9 @@ let total; ...@@ -99,7 +99,9 @@ let total;
const select = ref(-1); const select = ref(-1);
const topData = ref({}); const topData = ref({});
onLoad((options) => { onLoad(({ prodId, shopId }) => {
commentParameters.prodId = prodId;
commentParameters.shopId = shopId;
getEvalStatisFn(); getEvalStatisFn();
getCommentListFn(); getCommentListFn();
}); });
...@@ -299,7 +301,7 @@ uni-page-body { ...@@ -299,7 +301,7 @@ uni-page-body {
} }
.back { .back {
background-color: #fff; background-color: #fff;
padding: 40rpx 0 68rpx; padding: 40rpx 0;
box-shadow: 0rpx -8rpx 16rpx 0rpx rgba(0, 0, 0, 0.12); box-shadow: 0rpx -8rpx 16rpx 0rpx rgba(0, 0, 0, 0.12);
button { button {
width: 690rpx; width: 690rpx;
......
...@@ -176,6 +176,7 @@ const rateList = ref({ ...@@ -176,6 +176,7 @@ const rateList = ref({
onLoad(async (options) => { onLoad(async (options) => {
catalog.shopId = options.shopId; catalog.shopId = options.shopId;
catalog.prodId = options.prodId;
console.log(options); console.log(options);
await getList(); await getList();
await getTotal(); await getTotal();
...@@ -191,6 +192,7 @@ const catalog = reactive({ ...@@ -191,6 +192,7 @@ const catalog = reactive({
current: 0, current: 0,
size: 10, size: 10,
shopId: '', shopId: '',
prodId: '',
evaluation: '', // 关键字搜索 evaluation: '', // 关键字搜索
type: '', // img-图片,append-追评,diff-中差评,good-好评 type: '', // img-图片,append-追评,diff-中差评,good-好评
}); });
......
...@@ -132,6 +132,7 @@ ...@@ -132,6 +132,7 @@
</view> </view>
</view> </view>
</view> </view>
<fab position="3" />
</view> </view>
</template> </template>
...@@ -147,6 +148,7 @@ import { ...@@ -147,6 +148,7 @@ import {
getCouponShopList, getCouponShopList,
receiveCoupon, receiveCoupon,
} from '@/api/packageDetail'; } from '@/api/packageDetail';
import fab from '../../../components/fab/fab.vue';
const imgUrl = import.meta.env.VITE_APP_IMG_URL; const imgUrl = import.meta.env.VITE_APP_IMG_URL;
// 图片 // 图片
const swiperList = ref([ const swiperList = ref([
......
...@@ -84,8 +84,9 @@ ...@@ -84,8 +84,9 @@
<!-- ></wd-icon>--> <!-- ></wd-icon>-->
<view class="buy-img"> <view class="buy-img">
<view class="hot-img" v-for="(item, index) in hotImgList" :key="index"> <view class="hot-img" v-for="(item, index) in hotImgList" :key="index">
<img <image
class="rice" class="rice"
mode="aspectFill"
@tap="toDetail(item)" @tap="toDetail(item)"
:src="item.img" :src="item.img"
style="width: 670rpx; height: 236rpx" style="width: 670rpx; height: 236rpx"
...@@ -480,13 +481,13 @@ page { ...@@ -480,13 +481,13 @@ page {
height: 100%; height: 100%;
background-color: lightgreen; background-color: lightgreen;
} }
img.rice {
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin-left: 20rpx;
}
.buy-img { .buy-img {
position: relative; position: relative;
top: -20rpx; top: -20rpx;
.rice {
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin-left: 20rpx;
}
} }
.searchBox { .searchBox {
opacity: 1; opacity: 1;
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
> >
<view class="searchBox" :style="{ border }"> <view class="searchBox" :style="{ border }">
<image <image
mode="aspectFill"
class="magnifyingGlass" class="magnifyingGlass"
src="../../../static/index/magnifyingGlass.png" src="../../../static/index/magnifyingGlass.png"
mode="aspectFit|aspectFill|widthFix"
/> />
<input <input
type="text" type="text"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
v-for="(item, index) in sortList" v-for="(item, index) in sortList"
:key="index" :key="index"
> >
<img :src="item.icon" style="width: 96rpx; height: 96rpx" /> <image mode="aspectFill" :src="item.icon" style="width: 96rpx; height: 96rpx" />
<view class="sort-text">{{ item.categoryName }}</view> <view class="sort-text">{{ item.categoryName }}</view>
</view> </view>
</view> </view>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<view class="product-page" v-for="(item, index) in list" :key="index"> <view class="product-page" v-for="(item, index) in list" :key="index">
<view> <view>
<view class="page-title">{{ item.categoryName }}</view> <view class="page-title">{{ item.categoryName }}</view>
<img :src="item.img" class="main-img" /> <image mode="aspectFill" :src="item.img" class="main-img" />
<view style="display: flex; flex-direction: row"> <view style="display: flex; flex-direction: row">
<view <view
class="detail-border" class="detail-border"
...@@ -59,7 +59,8 @@ ...@@ -59,7 +59,8 @@
:key="index" :key="index"
@click="toDetail(item)" @click="toDetail(item)"
> >
<img <image
mode="aspectFill"
:src="item.commodityImg" :src="item.commodityImg"
style="width: 216rpx; height: 176rpx; border-radius: 16rpx" style="width: 216rpx; height: 176rpx; border-radius: 16rpx"
/> />
......
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
> >
没有更多啦~ 没有更多啦~
</view> </view>
<fab />
</view> </view>
</template> </template>
...@@ -125,6 +126,7 @@ import FoodDetails from '../../components/index/FoodDetails.vue'; ...@@ -125,6 +126,7 @@ import FoodDetails from '../../components/index/FoodDetails.vue';
// import Search from '../../components/index/Search.vue'; // import Search from '../../components/index/Search.vue';
import Classification from '../../components/index/Classification.vue'; import Classification from '../../components/index/Classification.vue';
import Position from '../../components/index/Position.vue'; import Position from '../../components/index/Position.vue';
import fab from '../../components/fab/fab.vue';
import Sort from '../../components/index/Sort.vue'; import Sort from '../../components/index/Sort.vue';
import { getByParentId, merchantList, prodSpecial } from '../../api/index'; import { getByParentId, merchantList, prodSpecial } from '../../api/index';
......
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
> >
没有更多啦~ 没有更多啦~
</view> </view>
<fab />
</view> </view>
</template> </template>
...@@ -82,6 +83,7 @@ import FoodDetails from '../../components/index/FoodDetails.vue'; ...@@ -82,6 +83,7 @@ import FoodDetails from '../../components/index/FoodDetails.vue';
import Classification from '../../components/index/Classification.vue'; import Classification from '../../components/index/Classification.vue';
import Position from '../../components/index/Position.vue'; import Position from '../../components/index/Position.vue';
import Sort from '../../components/index/Sort.vue'; import Sort from '../../components/index/Sort.vue';
import fab from '../../components/fab/fab.vue';
import { merchantList, getByParentId, getByType } from '../../api/index'; import { merchantList, getByParentId, getByType } from '../../api/index';
import { getLocation } from '../../utils/tool'; import { getLocation } from '../../utils/tool';
const business = reactive(['优选商家', '超值半价', '今日可订', '经典单人']); const business = reactive(['优选商家', '超值半价', '今日可订', '经典单人']);
......
...@@ -245,12 +245,14 @@ ...@@ -245,12 +245,14 @@
</view> </view>
<!-- 底部-end --> <!-- 底部-end -->
</view> </view>
<fab />
</template> </template>
<script setup> <script setup>
import { getProdDetail, getCollect, getCouponShopList, receiveCoupon } from '@/api/packageDetail'; import { getProdDetail, getCollect, getCouponShopList, receiveCoupon } from '@/api/packageDetail';
import { getStoreInformation } from '@/api/shop'; import { getStoreInformation } from '@/api/shop';
import { getDistance } from '@/utils/common'; import { getDistance } from '@/utils/common';
import fab from '../../components/fab/fab.vue';
const prodInfo = ref({}); const prodInfo = ref({});
const prodRlue = ref({}); const prodRlue = ref({});
const myProdId = ref(''); const myProdId = ref('');
......
...@@ -291,10 +291,12 @@ ...@@ -291,10 +291,12 @@
</view> </view>
<!-- 周边推荐-end --> <!-- 周边推荐-end -->
</view> </view>
<fab />
</view> </view>
</template> </template>
<script setup> <script setup>
import fab from '../../components/fab/fab.vue';
import { import {
likeOrDislike, likeOrDislike,
getStoreInformation, getStoreInformation,
......
...@@ -169,7 +169,6 @@ ...@@ -169,7 +169,6 @@
v-model="show" v-model="show"
position="bottom" position="bottom"
custom-style="height:500px;overflow:auto;" custom-style="height:500px;overflow:auto;"
safe-area-inset-bottom="true"
@close="handleClose" @close="handleClose"
> >
<view class="hcontent"> <view class="hcontent">
...@@ -383,7 +382,6 @@ const exsitedData = ref(); ...@@ -383,7 +382,6 @@ const exsitedData = ref();
const dealCategoryData = ref([]); const dealCategoryData = ref([]);
onLoad((options) => { onLoad((options) => {
console.log(options.content);
headers.value = { Authorization: 'Bearer ' + token }; headers.value = { Authorization: 'Bearer ' + token };
if (options.content != null) { if (options.content != null) {
isNewFlag.value = false; isNewFlag.value = false;
...@@ -710,31 +708,42 @@ const submitData = () => { ...@@ -710,31 +708,42 @@ const submitData = () => {
// 重新定位收货地址 // 重新定位收货地址
async function changeLocation() { async function changeLocation() {
showNavBar.value = false; showNavBar.value = false;
console.log('1111');
uni.chooseLocation({ uni.chooseLocation({
success: function (res) { success: function (res) {
console.log('第一次回调', res);
// forMData.value.city = res.address; // forMData.value.city = res.address;
formData.shopAddress = res.address; formData.shopAddress = res.address;
formData.shopLng = res.longitude; formData.shopLng = res.longitude;
formData.shopLat = res.latitude; formData.shopLat = res.latitude;
uni.request({ uni.request({
url: '/ws/geocoder/v1/', url: 'https://apis.map.qq.com/ws/geocoder/v1/',
data: { data: {
key: 'B7VBZ-PT5RB-WRHUT-J2EEQ-3WTUE-APFX4', key: 'MN4BZ-7JXKW-2RYRD-32QGF-AHONV-PAFUN',
location: `${res.latitude},${res.longitude}`, location: `${res.latitude},${res.longitude}`,
}, },
success: function (res) { success: function (res) {
// console.log('逆地理编码:' + JSON.stringify(res)); // console.log('逆地理编码:' + JSON.stringify(res));
console.log('进入成功回调');
console.log(res.data.status);
if (res.data.status === 0) { if (res.data.status === 0) {
formData.province = res.data.result.address_component.province; formData.province = res.data.result.address_component.province;
formData.city = res.data.result.address_component.city; formData.city = res.data.result.address_component.city;
formData.area = res.data.result.address_component.district; formData.area = res.data.result.address_component.district;
ssq.value = formData.province + formData.city + formData.area; ssq.value = formData.province + formData.city + formData.area;
console.log('省' + formData.province);
console.log('市' + formData.city);
console.log('区' + formData.area);
console.log('ssq' + ssq.value);
// showNavBar.value = true; // showNavBar.value = true;
} }
}, },
complete: function (res) {
console.log('在complete里');
console.log(res);
},
}); });
}, },
complete: (res) => { complete: (res) => {
...@@ -748,7 +757,26 @@ async function changeLocation() { ...@@ -748,7 +757,26 @@ async function changeLocation() {
page { page {
background: #fff; background: #fff;
} }
:deep(#u-a-c .uni-system-choose-location .nav) {
top: 20px !important;
background-image: none;
}
:deep(#u-a-c .uni-system-choose-location .nav-btn) {
background-color: #007aff;
border-radius: 10px;
}
:deep(#u-a-c .uni-system-choose-location .nav-btn.back) {
background-color: #007aff;
border-radius: 10px;
top: 50px;
left: 10px;
}
:deep(#u-a-c .uni-system-choose-location .nav-btn.confirm) {
background-color: #007aff;
border-radius: 10px;
top: 50px;
right: 10px;
}
.uni-textarea-placeholder, .uni-textarea-placeholder,
.uni-textarea-line, .uni-textarea-line,
.uni-textarea-compute, .uni-textarea-compute,
......
...@@ -144,8 +144,8 @@ onLoad(async () => { ...@@ -144,8 +144,8 @@ onLoad(async () => {
// 优惠券状态 0:失效 2:已使用,3-未使用 // 优惠券状态 0:失效 2:已使用,3-未使用
const iconUrl = ref({ const iconUrl = ref({
0: '@/static/ticket/past-icon.png', 0: '../../static/ticket/past-icon.png',
2: '@/static/ticket/used-icon.png', 2: '../..//static/ticket/used-icon.png',
}); });
// 主状态 // 主状态
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment