acdr-ui/dist/build/mp-weixin/pages/pet/pet-add-page.js

2 lines
8.6 KiB
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";var l=(l,e,a)=>new Promise(((u,v)=>{var b=l=>{try{t(a.next(l))}catch(e){v(e)}},o=l=>{try{t(a.throw(l))}catch(e){v(e)}},t=l=>l.done?u(l.value):Promise.resolve(l.value).then(b,o);t((a=a.apply(l,e)).next())}));const e=require("../../common/vendor.js");require("../../store/index.js");const a=require("../../utils/commUtils.js"),u=require("../../utils/http.js"),v=require("../../store/user.js");if(!Array){(e.resolveComponent("wd-img")+e.resolveComponent("wd-icon")+e.resolveComponent("wd-picker")+e.resolveComponent("layout-default-uni"))()}Math||((()=>"../../node-modules/wot-design-uni/components/wd-img/wd-img.js")+(()=>"../../node-modules/wot-design-uni/components/wd-icon/wd-icon.js")+(()=>"../../node-modules/wot-design-uni/components/wd-picker/wd-picker.js"))();const b={__name:"pet-add-page",setup(b){const o=e.ref(""),t=e.ref(""),n=e.ref(""),s=e.ref(""),i=e.ref(""),r=e.ref("https://via.placeholder.com/150"),d=e.ref(""),c=e.ref(null),p=l=>{r.value="https://via.placeholder.com/150"},m=v.useUserStore(),h=e.ref([{value:"其他",label:"其他"},{value:"阿比西尼亚猫",label:"阿比西尼亚猫"},{value:"安哥拉猫",label:"安哥拉猫"},{value:"埃及猫",label:"埃及猫"},{value:"奥西猫",label:"奥西猫"},{value:"巴厘猫",label:"巴厘猫"},{value:"波米拉猫",label:"波米拉猫"},{value:"伯曼猫",label:"伯曼猫"},{value:"布偶猫",label:"布偶猫"},{value:"波斯猫",label:"波斯猫"}]),f=e.ref([{value:"黑白色",label:"黑白色"},{value:"白色",label:"白色"},{value:"黑色",label:"黑色"},{value:"橘色",label:"橘色"},{value:"蓝色",label:"蓝色"},{value:"蓝白色",label:"蓝白色"},{value:"橘白色",label:"橘白色"},{value:"灰色",label:"灰色"},{value:"灰白色",label:"灰白色"},{value:"乳色",label:"乳色"},{value:"乳白色",label:"乳白色"},{value:"棕色",label:"棕色"},{value:"棕白色",label:"棕白色"},{value:"银色",label:"银色"},{value:"银白色",label:"银白色"},{value:"雪色",label:"雪色"},{value:"木炭色",label:"木炭色"},{value:"金渐层",label:"金渐层"},{value:"蓝金渐层",label:"蓝金渐层"},{value:"银渐层",label:"银渐层"},{value:"金点",label:"金点"},{value:"银点",label:"银点"},{value:"重点色",label:"重点色"},{value:"手套色",label:"手套色"},{value:"海豹色",label:"海豹色"},{value:"火焰色",label:"火焰色"},{value:"蓝双色",label:"蓝双色"},{value:"海豹双色",label:"海豹双色"},{value:"梵色",label:"梵色"},{value:"玳瑁色",label:"玳瑁色"},{value:"三花色",label:"三花色"},{value:"烟灰色",label:"烟灰色"},{value:"虎斑纹",label:"虎斑纹"},{value:"棕虎斑",label:"棕虎斑"},{value:"银虎斑",label:"银虎斑"},{value:"红虎斑",label:"红虎斑"},{value:"山猫纹",label:"山猫纹"},{value:"玫瑰纹",label:"玫瑰纹"},{value:"大理石纹",label:"大理石纹"},{value:"其他",label:"其他"},{value:"褐色",label:"褐色"},{value:"红色",label:"红色"},{value:"小鹿色",label:"小鹿色"},{value:"纯色",label:"纯色"},{value:"渐层色",label:"渐层色"},{value:"烟色",label:"烟色"},{value:"补丁",label:"补丁"},{value:"蓝虎斑",label:"蓝虎斑"},{value:"凯米尔虎斑",label:"凯米尔虎斑"},{value:"虎斑加白",label:"虎斑加白"},{value:"渐层加白",label:"渐层加白"},{value:"烟色加白",label:"烟色加白"},{value:"双色",label:"双色"},{value:"杂色",label:"杂色"},{value:"金吉拉银色",label:"金吉拉银色"},{value:"金吉拉金色",label:"金吉拉金色"},{value:"重点色加白",label:"重点色加白"},{value:"渐层重点色",label:"渐层重点色"},{value:"貂色",label:"貂色"},{value:"香槟色",label:"香槟色"},{value:"铂色",label:"铂色"},{value:"海豹山猫双色",label:"海豹山猫双色"},{value:"蓝山猫双色",label:"蓝山猫双色"},{value:"其他双色",label:"其他双色"},{value:"重点双色",label:"重点双色"},{value:"巧克力重点色",label:"巧克力重点色"},{value:"海豹重点色",label:"海豹重点色"},{value:"蓝重点色",label:"蓝重点色"},{value:"丁香重点色