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.
 
 
 
 
 
crmeb_php/public/static/js/pages-plantGrass-plant_deta...

1 lines
16 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_detail-index~pages-short_video-nvueSwiper-index"],{"0b7d":function(t,i,e){"use strict";e.r(i);var n=e("9aa8"),a=e("852b");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("72ca");var c=e("f0c5"),s=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"1129b05c",null,!1,n["a"],void 0);i["default"]=s.exports},"0e37":function(t,i,e){"use strict";e.r(i);var n=e("4f7c"),a=e("5094");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("c2fc");var c=e("f0c5"),s=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"3e7d9b82",null,!1,n["a"],void 0);i["default"]=s.exports},"26b3":function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{disabled:!1,text:"获取验证码"}},methods:{sendCode:function(){var t=this;if(!this.disabled){this.disabled=!0;var i=60;this.text="剩余 "+i+"s";var e=setInterval((function(){i-=1,i<0&&clearInterval(e),t.text="剩余 "+i+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)}}}};i.default=n},"29ce":function(t,i,e){var n=e("54f5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("55c482e6",n,!0,{sourceMap:!1,shadowMode:!1})},"44c1":function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(e("c7eb")),o=n(e("1da1"));e("ac1f"),e("00b4");var c=n(e("26b3")),s=e("ef5b"),r=e("c6c3"),d=e("26cb"),u=n(e("025b")),l={props:{isCommuity:{type:Boolean,default:!1}},mixins:[c.default],components:{Verify:u.default},data:function(){return{phone:"",captcha:"",isAuto:!1,isShowAuth:!1,key:"",codeVal:"",popup:{show:!1}}},computed:(0,d.mapGetters)(["isLogin","viewColor"]),onLoad:function(){},methods:{closePopup:function(){this.$emit("close")},editPwd:function(){var t=this;return t.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(t.phone)?t.captcha?void(0,s.bindingPhone)({phone:t.phone,sms_code:t.captcha}).then((function(i){return void 0!==i.data&&i.data.is_bind?uni.showModal({title:"是否绑定手机号",content:i.msg,confirmText:"绑定",success:function(i){if(i.confirm)(0,s.bindingPhone)({phone:t.phone,captcha:t.captcha,step:1}).then((function(i){return t.$emit("close"),t.$util.Tips({title:i.msg,icon:"success"})})).catch((function(i){return t.$util.Tips({title:i})}));else if(i.cancel)return t.$util.Tips({title:"您已取消绑定!"},{tab:5,url:"/pages/users/user_info/index"})}}):t.$emit("close"),t.$util.Tips({title:"绑定成功!",icon:"success"})})).catch((function(i){return t.$util.Tips({title:i})})):t.$util.Tips({title:"请填写验证码"}):t.$util.Tips({title:"请输入正确的手机号码!"}):t.$util.Tips({title:"请输入手机号码!"})},code:function(t){var i=this;return(0,o.default)((0,a.default)().mark((function e(){var n;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=i,n.phone){e.next=3;break}return e.abrupt("return",n.$util.Tips({title:"请填写手机号码!"}));case 3:if(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(n.phone)){e.next=5;break}return e.abrupt("return",n.$util.Tips({title:"请输入正确的手机号码!"}));case 5:return i.disabled=!0,e.next=8,(0,r.registerVerify)({phone:n.phone,key:n.key,code:n.captcha,type:"binding",captchaType:"blockPuzzle",captchaVerification:t.captchaVerification}).then((function(t){i.disabled=!1,n.$util.Tips({title:t.msg}),n.sendCode()})).catch((function(t){return i.disabled=!1,n.$util.Tips({title:t})}));case 8:case"end":return e.stop()}}),e)})))()},success:function(t){this.$refs.verify.hide(),this.code(t)},handleVerify:function(){return this.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.phone)?void this.$refs.verify.show():this.$util.Tips({title:"请输入正确的手机号码!"}):this.$util.Tips({title:"请填写手机号码!"})}}};i.default=l},"4f7c":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{style:t.viewColor},[e("v-uni-view",{staticClass:"container"},[e("v-uni-view",{staticClass:"header"},[e("v-uni-text",{staticClass:"title"},[t._v("绑定手机号")]),e("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closePopup.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"main_counts"},[e("v-uni-form",{attrs:{"report-submit":"true"}},[e("v-uni-view",{staticClass:"ChangePassword"},[e("v-uni-view",{staticClass:"list"},[e("v-uni-view",{staticClass:"item"},[e("v-uni-input",{attrs:{type:"number",placeholder:"输入手机号码","placeholder-class":"placeholder"},model:{value:t.phone,callback:function(i){t.phone=i},expression:"phone"}})],1),e("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[e("v-uni-input",{staticClass:"codeIput",attrs:{type:"number",placeholder:"输入验证码","placeholder-class":"placeholder"},model:{value:t.captcha,callback:function(i){t.captcha=i},expression:"captcha"}}),e("v-uni-button",{staticClass:"code",class:!0===t.disabled?"on":"",attrs:{disabled:t.disabled},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.handleVerify.apply(void 0,arguments)}}},[t._v(t._s(t.text))])],1)],1),e("v-uni-button",{staticClass:"confirmBnt",attrs:{"form-type":"submit"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.editPwd.apply(void 0,arguments)}}},[t._v("确认绑定")])],1)],1)],1)],1),e("Verify",{ref:"verify",attrs:{captchaType:"blockPuzzle",imgSize:{width:"330px",height:"155px"}},on:{success:function(i){arguments[0]=i=t.$handleEvent(i),t.success.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.popup.show},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closePopup.apply(void 0,arguments)}}})],1)},a=[]},5094:function(t,i,e){"use strict";e.r(i);var n=e("44c1"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},"54f5":function(t,i,e){var n=e("24fb");i=n(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.container[data-v-3e7d9b82]{background-color:#fff;border-radius:%?16?% %?16?% 0 0;position:relative;padding-bottom:%?30?%}.container .header[data-v-3e7d9b82]{position:relative;padding:%?40?% %?30?%;text-align:center}.container .header .title[data-v-3e7d9b82]{color:#282828;font-size:%?32?%}.container .header .iconfont[data-v-3e7d9b82]{color:#8a8a8a;font-size:%?28?%;position:absolute;top:0;right:0}.container .header .icon-guanbi5[data-v-3e7d9b82]{right:%?20?%;color:#8a8a8a;font-size:%?30?%;line-height:%?30?%;top:%?20?%;background-color:initial;font-weight:400}.ChangePassword[data-v-3e7d9b82]{padding:0 %?30?% %?100?%}.ChangePassword .phone[data-v-3e7d9b82]{font-size:%?32?%;font-weight:700;text-align:center;margin-top:%?55?%}.ChangePassword .list .item[data-v-3e7d9b82]{height:%?86?%;margin-bottom:%?30?%;flex-direction:row}.ChangePassword .list .item uni-input[data-v-3e7d9b82]{height:100%;font-size:%?32?%;border:1px solid #dcdcdc;border-radius:%?43?%;padding:0 %?40?%}.ChangePassword .list .item .placeholder[data-v-3e7d9b82]{color:#b9b9bc}.ChangePassword .list .item uni-input.codeIput[data-v-3e7d9b82]{max-width:%?400?%}.ChangePassword .list .item .code[data-v-3e7d9b82]{font-size:%?28?%;background-color:var(--view-minorColor);color:var(--view-theme);width:%?230?%;height:%?86?%;border-radius:%?43?%;display:flex;align-items:center;justify-content:center}.ChangePassword .list .item .code.on[data-v-3e7d9b82]{color:#b9b9bc}.ChangePassword .confirmBnt[data-v-3e7d9b82]{font-size:%?32?%;width:%?580?%;height:%?90?%;border-radius:%?45?%;color:#fff;margin:%?60?% auto 0 auto;text-align:center;line-height:%?90?%;background-color:var(--view-theme)}.getPhoneBtn[data-v-3e7d9b82]{font-size:%?32?%;width:%?580?%;height:%?90?%;border-radius:%?45?%;border:1px solid #3cb625;color:#3cb625;margin:%?40?% auto 0 auto;text-align:center;line-height:%?90?%}.getPhoneBtn .iconfont[data-v-3e7d9b82]{font-size:%?32?%;margin-right:%?12?%}[data-v-3e7d9b82] .verifybox{top:auto!important}',""]),t.exports=i},"72ca":function(t,i,e){"use strict";var n=e("d15d"),a=e.n(n);a.a},"733f":function(t,i,e){var n=e("24fb");i=n(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.container[data-v-1129b05c]{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:77;border-radius:%?16?% %?16?% 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);max-height:%?1000?%}.container.on[data-v-1129b05c]{-webkit-transform:translateZ(0);transform:translateZ(0)}.container .header[data-v-1129b05c]{position:relative;padding:%?40?% %?30?%}.container .header .title[data-v-1129b05c]{color:#282828;font-size:%?30?%}.container .header .iconfont[data-v-1129b05c]{color:#8a8a8a;font-size:%?28?%;position:absolute;top:0;right:0}.container .header .icon-guanbi5[data-v-1129b05c]{right:%?20?%;color:#8a8a8a;font-size:%?30?%;line-height:%?30?%;top:%?20?%;background-color:initial;font-weight:400}.container uni-scroll-view[data-v-1129b05c]{max-height:%?800?%}.container .main_count[data-v-1129b05c]{padding:0 %?30?% %?30?%;max-height:%?800?%;overflow-y:scroll}.container .main_count.mb90[data-v-1129b05c]{margin-bottom:%?90?%}.container .main_count .list[data-v-1129b05c]{margin-bottom:%?40?%;height:auto;flex-direction:row}.container .main_count .list[data-v-1129b05c]:last-child{margin-bottom:0}.container .main_count .pro_list[data-v-1129b05c]{display:flex;flex-direction:row}.container .main_count .pro_list .picture[data-v-1129b05c], .container .main_count .pro_list .image[data-v-1129b05c], .container .main_count .pro_list uni-image[data-v-1129b05c]{width:%?200?%;height:%?200?%;border-radius:%?16?%}.container .main_count .pro_list .info[data-v-1129b05c]{margin-left:%?30?%;position:relative}.container .main_count .pro_list .info .bottom[data-v-1129b05c]{display:flex;justify-content:space-between;align-items:center;width:%?460?%;position:absolute;left:0;bottom:%?10?%;flex-direction:row}.container .main_count .pro_list .info .name[data-v-1129b05c]{color:#282828;font-size:%?30?%;line-height:%?45?%;display:-webkit-box;width:%?460?%}.container .main_count .pro_list .info .price[data-v-1129b05c]{color:var(--view-priceColor);font-size:%?26?%;font-weight:700;flex-direction:row;align-items:flex-end}.container .main_count .pro_list .info .price uni-text[data-v-1129b05c]{font-size:%?34?%}.container .main_count .pro_list .info .buy-btn[data-v-1129b05c]{color:#fff;background:var(--view-theme);border-radius:%?26?%;width:%?140?%;height:%?48?%;display:flex;align-items:center;justify-content:center;font-size:%?22?%}',""]),t.exports=i},"852b":function(t,i,e){"use strict";e.r(i);var n=e("9dfc"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},"9aa8":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{style:t.viewColor},[e("v-uni-view",{staticClass:"container",class:1==t.popup.show?"on":""},[e("v-uni-view",{staticClass:"header"},[e("v-uni-text",{staticClass:"title"},[t._v("TA提到的宝贝")]),e("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closePopup.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"main_count",class:t.isHome?"mb90":""},[e("v-uni-scroll-view",{attrs:{"scroll-y":"true"}},t._l(t.list,(function(i,n){return e("v-uni-view",{key:n,staticClass:"list",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(i.spu)}}},[e("v-uni-view",{staticClass:"pro_list"},[e("v-uni-view",{staticClass:"picture"},[e("v-uni-image",{staticClass:"image",attrs:{src:i.spu&&i.spu.image}})],1),e("v-uni-view",{staticClass:"info"},[e("v-uni-view",{staticClass:"name line2"},[t._v(t._s(i.spu&&i.spu.store_name))]),e("v-uni-view",{staticClass:"bottom"},[e("v-uni-view",{staticClass:"price"},[t._v("¥"),e("v-uni-text",[t._v(t._s(i.spu&&i.spu.price))])],1),e("v-uni-view",{staticClass:"buy-btn"},[t._v("立即购买")])],1)],1)],1)],1)})),1)],1)],1),e("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.popup.show},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closePopup.apply(void 0,arguments)}}})],1)},a=[]},"9dfc":function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3"),e("99af");var a=n(e("5530")),o=(e("bd9e"),e("26cb")),c={computed:(0,a.default)({},(0,o.mapGetters)(["viewColor"])),props:{list:{type:Array,default:[]},uid:{type:Number},isHome:{type:Boolean,default:!1}},data:function(){return{popup:{show:!1}}},methods:{closePopup:function(){this.$set(this.popup,"show",!1)},showPopup:function(){this.$set(this.popup,"show",!0)},goDetail:function(t){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time,"&spid=").concat(this.uid)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id,"&spid=").concat(this.uid)}):0===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id,"&spid=").concat(this.uid)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id,"&spid=").concat(this.uid)}):40===t.product_type&&uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id,"&spid=").concat(this.uid)})}}};i.default=c},bd9e:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.goShopDetail=function(t,i){return new Promise((function(i){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id)}):0===t.product_type||10===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id)}):40===t.product_type?uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id)}):i(t)}))},e("d3b7"),e("99af")},c2fc:function(t,i,e){"use strict";var n=e("29ce"),a=e.n(n);a.a},d15d:function(t,i,e){var n=e("733f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("55bebecc",n,!0,{sourceMap:!1,shadowMode:!1})}}]);