This commit is contained in:
杨鹏
2025-10-21 18:22:21 +08:00
parent 0b31cfc8dd
commit 3420a2894e
3 changed files with 168 additions and 4 deletions
+8 -4
View File
@@ -36,7 +36,9 @@
>
<view
class="checkmark"
v-show="item.multiply ? form[item.key].includes(v.label) : form[item.key] === v.label"
v-show="
item.multiply ? form[item.key].includes(v.label) : form[item.key] === v.label
"
>
<image
src="https://oss.yz.zglvling.com/user/image/2025-07-23/1753234211808517.png"
@@ -52,7 +54,7 @@
<view class="btn-bottom">
<button class="next-btn" @tap="nextStep"> 下一步 </button>
<uni-file-picker
<!-- <uni-file-picker
v-if="isHideUploadBtn"
:auto-upload="false"
:del-icon="false"
@@ -63,7 +65,7 @@
limit="1"
mode="grid"
@select="selectPic"
/>
/> -->
</view>
<div class="dialog" v-if="false">
@@ -90,6 +92,7 @@
import { ref, computed } from 'vue';
import { getAccessToken } from '@/sheep/request';
import { getUserInfo, saveUserInfo } from '@/sheep/api/user';
import sheep from '@/sheep';
// const token = getAccessToken();
@@ -478,7 +481,6 @@
purpose: form.value.purpose.toString(),
occasion_dressing: form.value.occasion_dressing.toString(),
}).then(() => {
uni.showLoading({
icon: 'loading',
title: '',
@@ -577,6 +579,8 @@
return;
}
uni.setStorageSync('formData', form.value);
sheep.$router.go(`/pages/takePhoto/index?token=${getAccessToken()}`);
};
</script>