test
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.
 
 
 
 
 
 

1 lines
15 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPages2-blindDate-member-open"],{"0f1d":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},mounted:function(){},computed:{loadImage:function(){var t=this,e=t.$store.state.appInfo.loading;return e||""}}};e.default=n},"194d":function(t,e,a){"use strict";var n=a("db48"),i=a.n(n);i.a},"266a":function(t,e,a){var n=a("dde5");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("26196458",n,!0,{sourceMap:!1,shadowMode:!1})},"33ef":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.TabBarsData?a("v-uni-view",[a("v-uni-view",{staticClass:"diy-tabbar",style:{background:t.TabBarsData?t.TabBarsData.style.bgcolor:"#ffffff","padding-bottom":t.isPadding?"20px":""}},t._l(t.TabBarsData.data,(function(e,n){return a("v-uni-view",{key:n,staticClass:"tabbar-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onTabItem(e.linkurl,e.name,n)}}},["1"===t.TabBarsData.params.navstyle?a("v-uni-view",[a("v-uni-image",{staticClass:"image",attrs:{src:e.imgurl}})],1):t._e(),"0"===t.TabBarsData.params.navstyle?a("v-uni-view",["pages/subPages2/homemaking/postDemand/postDemand"==e.page_path?a("v-uni-view",{staticClass:"tabbar-sever"},[a("v-uni-image",{staticClass:"tabbar-severImg",attrs:{src:t.imgfixUrls+"homemakingImg/enterCheck.png",mode:""}})],1):a("v-uni-view",[a("v-uni-view",{staticClass:"iconfont tabbar-item-icon",class:e.iconclass,style:t.current===n?"color:"+t.TabBarsData.style.iconcoloron:"color:"+t.TabBarsData.style.iconcolor}),a("v-uni-view",{staticClass:"f-24",style:t.current===n?"color:"+t.TabBarsData.style.textcoloron:"color:"+t.TabBarsData.style.textcolor},[t._v(t._s(e.text))])],1)],1):t._e(),"2"===t.TabBarsData.params.navstyle?a("v-uni-view",{staticClass:"navstyle-3-item"},[a("v-uni-view",{staticClass:"navstyle-image",style:{"background-image":t.current===n?"url("+e.select_img+")":"url("+e.default_img+")"}}),a("v-uni-view",{staticClass:"f-24 t-c",style:t.current===n?"color:"+t.TabBarsData.style.textcoloron:"color:"+t.TabBarsData.style.textcolor},[t._v(t._s(e.text))])],1):t._e()],1)})),1)],1):t._e()},r=[]},"3c24":function(t,e,a){"use strict";a.r(e);var n=a("58fc"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"3dff":function(t,e,a){"use strict";a.r(e);var n=a("d88b"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"55de":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[t.loadlogo?t._e():a("loadlogo"),a("v-uni-view",{staticClass:"header",style:{"background-image":"url("+t.imgfixUrls+"dating/bd_omember_bg.svg)"}},[a("v-uni-view",{staticClass:"user-info"},[a("v-uni-view",{staticClass:"avatar"},[a("v-uni-image",{attrs:{src:t.memberInfo.avatar,mode:""}})],1),a("v-uni-view",{staticClass:"else-info"},[a("v-uni-view",{staticClass:"name"},[t._v(t._s(t.memberInfo.nickname))]),t.memberInfo.is_vip?[1==t.memberInfo.vip.type?a("v-uni-view",[t._v("到期时间:"+t._s(t.memberInfo.vip.end_time_text))]):2==t.memberInfo.vip.type?a("v-uni-view",[t._v("剩余次数:"+t._s(t.memberInfo.vip.surplus_number))]):3==t.memberInfo.vip.type?a("v-uni-view",[t._v("已过期")]):a("v-uni-view",[t._v("已失效")])]:a("v-uni-view",{staticClass:"status"},[t._v("未开通")])],2)],1)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"h2-title"},[t._v("购买会员")]),t._l(t.memberInfo.list,(function(e,n){return a("v-uni-view",{key:e.id,staticClass:"member-info",class:{select:n==t.currentIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.currentIndex=n}}},[a("v-uni-view",{staticClass:"left-info"},[a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.title))]),1==e.type?a("v-uni-view",{staticClass:"date"},[t._v("有效时间:"+t._s(e.day)+"天")]):a("v-uni-view",{staticClass:"date"},[t._v("使用次数:"+t._s(e.second)+"次")])],1),a("v-uni-view",{staticClass:"right-info"},[a("v-uni-view",{staticClass:"unit"},[t._v("¥")]),a("v-uni-view",{staticClass:"price"},[t._v(t._s(e.money))])],1)],1)}))],2),a("v-uni-view",{staticClass:"foot-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleOpenClick.apply(void 0,arguments)}}},[t._v("立即支付")]),a("TabBars",{attrs:{tabBarAct:0,pageType:"16"}})],1)},r=[]},"58fc":function(t,e,a){"use strict";var n=a("4ea4");a("99af"),a("c740"),a("caad"),a("c975"),a("a9e3"),a("ac1f"),a("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("2c7c")),r={data:function(){return{current:0,isPadding:null,menu:null}},props:{tabBarAct:{type:Number,default:function(){return 0}},tabBarData:{default:function(){return null}},pageType:{type:String,default:function(){return""}},pageId:{type:String,default:function(){return""}},menuList:{default:function(){return""}}},mounted:function(){var t=this;t.current=uni.getStorageSync("tabbarindex"),uni.getSystemInfo({success:function(e){var a=e.model,n=["iPhone10,3","iPhone10,6","iPhone11,8","iPhone11,2","iPhone11,6"];t.isPadding=n.includes(a)||-1!==a.indexOf("iPhone X")||-1!==a.indexOf("iPhone12")}}),t.getbtmNavBar()},methods:{onTabItem:function(t,e,a){if(uni.setStorageSync("tabbarindex",a),-1!=t.indexOf("indet"))return i.default.navigationToH5(!1,"".concat(i.default.base,"#/").concat(t)),void window.location.reload();i.default.navigationTo({url:t})},getbtmNavBar:function(){var t=this,e={};if(t.pageType&&(e={type:t.pageType}),t.pageId&&Object.assign(e,{id:t.pageId}),"draw"==t.pageType){t.setData({menu:t.tabBarData});var a=getCurrentPages(),n=a[a.length-1],r=n.route||n.__route__,o=[],s=!1;for(var d in o=t.menu.data,o)o[d].page_path.split("?")[0]==r&&(s=!0);s||(uni.removeStorageSync("tabbarindex"),t.current=0)}else i.default._post_form("&do=BottomMenu",e,(function(e){t.setData({menu:e.data.data});var a=getCurrentPages(),n=a[a.length-1],i=n.route||n.__route__,r=[],o=!1;for(var s in r=t.menu.data,r)r[s].page_path.split("?")[0]==i&&(o=!0);o||(uni.removeStorageSync("tabbarindex"),t.current=0)}))}},computed:{TabBarsData:function(){var t,e=getCurrentPages(),a=e[e.length-1],n=a.route||a.__route__,i={data:this.tabBarData&&this.tabBarData.length>0?this.tabBarData:this.menu},r=a.$mp.query;if(i.data){var o=[];for(var s in i.data.data)o.push(i.data.data[s]);return"pages/mainPages/index/diypage"===n?(n=n+"?i="+r.i+(r["aid"]?"&aid="+r["aid"]:"")+(r["id"]?"&id="+r["id"]:"")+"&type="+r["type"],t=o.findIndex((function(t){return t.linkurl===n})),this.current=t):(t=o.findIndex((function(t){return t.linkurl.split("?")[0]===n})),this.current=t),i.data.data=o,i.data}}}};e.default=r},"6f85":function(t,e,a){"use strict";a.r(e);var n=a("33ef"),i=a("3c24");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("a780");var o,s=a("f0c5"),d=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"e1dd56ac",null,!1,n["a"],o);e["default"]=d.exports},7316:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"loadlogo-container"},[a("v-uni-view",{staticClass:"loadlogo"},[a("v-uni-image",{staticClass:"image",attrs:{src:t.loadImage||t.imgfixUrls+"loadlogo.svg",mode:"aspectFill"}})],1)],1)],1)},r=[]},"7f97":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.header[data-v-5b0b9b2a]{width:100%;height:%?414?%;background-size:100% 100%;overflow:hidden;position:relative}.header .navbar[data-v-5b0b9b2a]{width:100%;display:flex;align-items:center;color:#333;position:relative}.header .navbar .iconfont[data-v-5b0b9b2a]{font-size:%?32?%;position:absolute;left:%?30?%}.header .navbar .title[data-v-5b0b9b2a]{font-size:%?36?%;font-weight:700;width:100%;margin:auto;text-align:center}.header .user-info[data-v-5b0b9b2a]{width:%?690?%;height:%?168?%;background:linear-gradient(315deg,#fdae25,#ff8e8a);border-radius:%?20?% %?20?% 0 0;position:absolute;left:%?30?%;bottom:0;display:flex;align-items:center}.header .user-info .avatar[data-v-5b0b9b2a]{width:%?108?%;height:%?108?%;border-radius:50%;background-color:#fff;margin-left:%?40?%;position:relative}.header .user-info .avatar uni-image[data-v-5b0b9b2a]{width:%?100?%;height:%?100?%;border-radius:50%;position:absolute;left:%?4?%;top:%?4?%}.header .user-info .else-info[data-v-5b0b9b2a]{height:%?108?%;margin-left:%?30?%;color:#fff}.header .user-info .else-info .name[data-v-5b0b9b2a]{height:%?50?%;margin-top:%?7?%;font-weight:700;font-size:%?36?%}.header .user-info .else-info .status[data-v-5b0b9b2a]{width:%?70?%;height:%?34?%;border-radius:%?8?%;border:%?1?% solid #fff;font-size:%?20?%;line-height:%?34?%;text-align:center;margin-top:%?10?%}.header .user-info .else-info .date[data-v-5b0b9b2a]{height:%?33?%;line-height:%?33?%;color:#999;font-size:%?24?%;margin-top:%?20?%}.content[data-v-5b0b9b2a]{width:%?690?%;margin:%?40?% auto 0;padding-bottom:%?300?%}.content .h2-title[data-v-5b0b9b2a]{height:%?50?%;line-height:%?50?%;font-size:%?36?%;color:#333;font-weight:700}.content .member-info[data-v-5b0b9b2a]{width:%?610?%;height:%?103?%;padding:%?30?% %?40?%;margin-top:%?30?%;background-color:#fff;border-radius:%?20?%;display:flex;align-items:center;justify-content:space-between;border:%?1?% solid #ccc}.content .member-info .left-info[data-v-5b0b9b2a]{height:100%;flex:1}.content .member-info .left-info .name[data-v-5b0b9b2a]{height:%?50?%;line-height:%?50?%;font-size:%?36?%;font-weight:700;color:#333}.content .member-info .left-info .date[data-v-5b0b9b2a]{height:%?33?%;line-height:%?33?%;color:#999;font-size:%?24?%;margin-top:%?20?%}.content .member-info .right-info[data-v-5b0b9b2a]{height:%?60?%;color:#f44;display:flex;font-weight:700}.content .member-info .right-info .unit[data-v-5b0b9b2a]{font-size:%?24?%;line-height:%?74?%}.content .member-info .right-info .price[data-v-5b0b9b2a]{font-size:%?48?%}.content .select[data-v-5b0b9b2a]{background-color:#ffeae8;border:none}.foot-btn[data-v-5b0b9b2a]{width:%?690?%;height:%?80?%;background:linear-gradient(270deg,#ff8e88,#fdad28);font-size:%?32?%;color:#fff;text-align:center;line-height:%?80?%;border-radius:%?20?%;position:fixed;left:%?30?%;bottom:%?130?%}',""]),t.exports=e},a780:function(t,e,a){"use strict";var n=a("266a"),i=a.n(n);i.a},b3f8:function(t,e,a){"use strict";a.r(e);var n=a("55de"),i=a("3dff");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("194d");var o,s=a("f0c5"),d=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"5b0b9b2a",null,!1,n["a"],o);e["default"]=d.exports},c2a2:function(t,e,a){"use strict";a.r(e);var n=a("7316"),i=a("d7e5");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("c861");var o,s=a("f0c5"),d=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"bce21d66",null,!1,n["a"],o);e["default"]=d.exports},c757:function(t,e,a){var n=a("eb38");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("e81adc74",n,!0,{sourceMap:!1,shadowMode:!1})},c861:function(t,e,a){"use strict";var n=a("c757"),i=a.n(n);i.a},d7e5:function(t,e,a){"use strict";a.r(e);var n=a("0f1d"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},d88b:function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("2c7c")),r=n(a("c2a2")),o=n(a("6f85")),s={data:function(){return{loadlogo:!1,memberInfo:{},currentIndex:0}},components:{Loadlogo:r.default,TabBars:o.default},computed:{},onLoad:function(){this.getMemberInfo()},methods:{getMemberInfo:function(){var t=this;i.default._post_form("&p=dating&do=vipList",{},(function(e){t.memberInfo=e.data,t.loadlogo=!0}),!1,(function(){}))},handleOpenClick:function(){var t=this;i.default._post_form("&p=dating&do=vipOpen",{id:t.memberInfo.list[t.currentIndex].id},(function(t){Array.isArray(t.data)||!t.data.orderid?i.default.navigationTo({url:"pages/subPages2/blindDate/personal"}):i.default.navigationTo({url:"pages/mainPages/payment/payment?orderid="+t.data.orderid+"&plugin=dating"}),console.log(t)}),!1,(function(){}))}}};e.default=s},db48:function(t,e,a){var n=a("7f97");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("0ddf8328",n,!0,{sourceMap:!1,shadowMode:!1})},dde5:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".diy-tabbar[data-v-e1dd56ac]{border-color:rgba(0,0,0,.33);position:fixed;z-index:9999;height:%?130?%;left:0;background-color:#fff;color:#6e6d6b;bottom:0;width:100%;display:flex}.tabbar-item[data-v-e1dd56ac]{display:flex;justify-content:center;align-items:center;flex-direction:column;flex:1;font-size:0;color:#6e6d6b;text-align:center;z-index:5;padding-bottom:%?30?%}.tabbar-severImg[data-v-e1dd56ac]{width:%?84?%;height:%?84?%;position:relative;top:%?-20?%}.tabbar-item .tabbar-item-icon[data-v-e1dd56ac]{font-size:%?44?%}.tabbar-item.item-on[data-v-e1dd56ac]{\n\t/* color: #fd4a5f; */}.tabbar-item .image[data-v-e1dd56ac]{display:inline-block;width:%?100?%;height:%?100?%}.tabbat-item-text[data-v-e1dd56ac]{padding-top:0;padding-bottom:0;font-size:%?20?%;line-height:1.8;text-align:center}.navstyle-image[data-v-e1dd56ac]{width:%?60?%;height:%?60?%;background-repeat:no-repeat;background-size:%?60?% %?60?%;display:block;margin:0 auto}.navstyle-3-item[data-v-e1dd56ac]{padding:%?10?% 0}",""]),t.exports=e},eb38:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".loadlogo-container[data-v-bce21d66]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:999}.loadlogo[data-v-bce21d66]{width:80px;height:80px;\n\t/* margin: -60px 0 0 -60px; */position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loadlogo .image[data-v-bce21d66]{width:100%;height:100%}",""]),t.exports=e}}]);