You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
2.2 KiB
2 lines
2.2 KiB
"use strict";const e=require("../../../common/vendor.js"),i=require("../../../sheep/config/index.js"),o=require("../../../sheep/index.js");require("../../../sheep/url/index.js");require("../../../sheep/store/index.js");require("../../../sheep/store/app.js");require("../../../sheep/platform/index.js");require("../../../sheep/platform/provider/wechat/index.js");require("../../../sheep/platform/provider/wechat/miniProgram.js");require("../../../sheep/api/member/auth.js");require("../../../sheep/request/index.js");require("../../../sheep/helper/index.js");require("../../../sheep/helper/test.js");require("../../../sheep/helper/digit.js");require("../../../sheep/api/member/social.js");require("../../../sheep/api/member/user.js");require("../../../sheep/platform/provider/apple/index.js");require("../../../sheep/platform/share.js");require("../../../sheep/router/index.js");require("../../../sheep/hooks/useModal.js");require("../../../sheep/helper/throttle.js");require("../../../sheep/platform/pay.js");require("../../../sheep/api/pay/order.js");require("../../../sheep/store/user.js");require("../../../sheep/store/cart.js");require("../../../sheep/api/trade/cart.js");require("../../../sheep/api/pay/wallet.js");require("../../../sheep/api/trade/order.js");require("../../../sheep/store/sys.js");require("../../../sheep/store/modal.js");require("../../../sheep/config/zIndex.js");Array||e.resolveComponent("uni-nav-bar")();const t=()=>"../../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js";Math||(s+t)();const s=()=>"../../components/header_tops_tips.js",c={__name:"payvip",setup(a){function n(){e.index.navigateBack()}function u(){e.index.request({url:`${i.baseUrl+i.apiPath}/share/user-vip/create`,method:"POST",header:{"tenant-id":1,Authorization:e.index.getStorageSync("token")},success:r=>{console.log(r,"结束"),r.data.code==0?o.sheep.$router.go("/pages/pay/index",{id:r.data.data.payOrderId,type:"vip"}):e.index.showToast({icon:"error",title:"创建失败"})}})}return(r,_)=>({a:e.o(n),b:e.p({["left-icon"]:"left",title:"vip购买",backgroundColor:"#e6eafa"}),c:e.o(u)})}},p=e._export_sfc(c,[["__scopeId","data-v-a7eed90c"],["__file","D:/xiangmu/佰安出行/app/s-applet/pages/home/account/payvip.vue"]]);wx.createPage(p);
|