作者 卢胜

电话

@@ -7,10 +7,10 @@ @@ -7,10 +7,10 @@
7 const openId = uni.getStorageSync('openId') 7 const openId = uni.getStorageSync('openId')
8 console.log(openId); 8 console.log(openId);
9 if(!openId && !e.query.code){ 9 if(!openId && !e.query.code){
10 - getApp().authorization() 10 + // getApp().authorization()
11 }else if(e.query.code) { 11 }else if(e.query.code) {
12 console.log(2); 12 console.log(2);
13 - getApp().getOpenid(e.query.code) 13 + // getApp().getOpenid(e.query.code)
14 } 14 }
15 // else { 15 // else {
16 // uni.showModal({ 16 // uni.showModal({
1 { 1 {
2 "name" : "Bitcoin", 2 "name" : "Bitcoin",
3 - "appid" : "__UNI__D80DC8B", 3 + "appid" : "__UNI__D7F2A57",
4 "description" : "", 4 "description" : "",
5 "versionName" : "1.0.0", 5 "versionName" : "1.0.0",
6 "versionCode" : "100", 6 "versionCode" : "100",
@@ -543,7 +543,7 @@ @@ -543,7 +543,7 @@
543 543
544 .tip { 544 .tip {
545 position: absolute; 545 position: absolute;
546 - bottom: 0; 546 + bottom: -6rpx;
547 right: 0; 547 right: 0;
548 width: 64rpx; 548 width: 64rpx;
549 height: 12rpx; 549 height: 12rpx;
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 密码: 16 密码:
17 </view> 17 </view>
18 <view class="last name"> 18 <view class="last name">
19 - <input v-model="password" maxlength="16" type="password" value="" placeholder="密码:" /> 19 + <input v-model="password" maxlength="16" type="password" value="" placeholder="请输入密码" />
20 </view> 20 </view>
21 </view> 21 </view>
22 <view class="loginbtn" @click="doLogin"> 22 <view class="loginbtn" @click="doLogin">
@@ -220,12 +220,8 @@ @@ -220,12 +220,8 @@
220 } 220 }
221 221
222 .user { 222 .user {
223 - position: fixed;  
224 - bottom: 78rpx;  
225 - left: 50%;  
226 - width: 100%; 223 + margin-top: 200rpx;
227 text-align: center; 224 text-align: center;
228 - transform: translate(-50%);  
229 display: flex; 225 display: flex;
230 align-items: center; 226 align-items: center;
231 justify-content: center; 227 justify-content: center;
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 <view class="top flexA"> 8 <view class="top flexA">
9 <view class="left flexA"> 9 <view class="left flexA">
10 <image src="/static/order.png" mode=""></image> 10 <image src="/static/order.png" mode=""></image>
11 - <view>订单号:</view> 11 + <view @click.stop="gophone(11)">订单号:</view>
12 <view style="margin: 0 16rpx 0 8rpx">{{item.order_no}}</view> 12 <view style="margin: 0 16rpx 0 8rpx">{{item.order_no}}</view>
13 <view style="color:#2153D4;" @click="copy(item.order_no)">复制</view> 13 <view style="color:#2153D4;" @click="copy(item.order_no)">复制</view>
14 </view> 14 </view>
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 <text v-if="item.status==2">待发送</text> 17 <text v-if="item.status==2">待发送</text>
18 <text v-if="item.status==3">待买家确认</text> 18 <text v-if="item.status==3">待买家确认</text>
19 <text v-if="item.status==4">已收货</text> 19 <text v-if="item.status==4">已收货</text>
20 - <text v-if="item.status==5">平台裁决</text> 20 + <text v-if="item.status==5" >平台裁决</text>
21 <text v-if="item.status==6">已完成</text> 21 <text v-if="item.status==6">已完成</text>
22 <text v-if="item.status==7">交易失败</text> 22 <text v-if="item.status==7">交易失败</text>
23 </view> 23 </view>
@@ -92,8 +92,8 @@ @@ -92,8 +92,8 @@
92 <view class="left">联系电话:</view> 92 <view class="left">联系电话:</view>
93 <view class="right flexA"> 93 <view class="right flexA">
94 <view class="fw700">{{phone}}</view> 94 <view class="fw700">{{phone}}</view>
95 - <view style="margin-left: 16rpx;">  
96 - <image src="/static/phone.png" mode=""></image> 95 + <view style="margin-left: 16rpx;" >
  96 + <a :href="'tel:' + phone" ><image src="/static/phone.png" mode=""></image></a>
97 </view> 97 </view>
98 </view> 98 </view>
99 </view> 99 </view>
@@ -152,6 +152,13 @@ @@ -152,6 +152,13 @@
152 152
153 }, 153 },
154 methods: { 154 methods: {
  155 + //拨打买家电话
  156 + gophone(phone){
  157 + console.log(phone)
  158 + uni.makePhoneCall({
  159 + phoneNumber:phone//仅为示例
  160 + });
  161 + },
155 // 跳转详情 162 // 跳转详情
156 ondetail(id){ 163 ondetail(id){
157 uni.navigateTo({ 164 uni.navigateTo({
@@ -373,6 +380,10 @@ @@ -373,6 +380,10 @@
373 text-align: center; 380 text-align: center;
374 font-size: 30rpx; 381 font-size: 30rpx;
375 font-weight: 700; 382 font-weight: 700;
  383 + a{
  384 + text-decoration: none;
  385 + color: #000000;
  386 + }
376 } 387 }
377 388
378 } 389 }
1 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>元届印象</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) 1 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>元届印象</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
2 - document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.f3bf79df.js></script><script src=/static/js/index.9fa833af.js></script></body></html>  
  2 + document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.ba77b176.js></script><script src=/static/js/index.100fbe17.js></script></body></html>
1 -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-send~pages-mine-Feedback"],{"1d4b":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.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/* 文章场景相关 */uni-view[data-v-eafc93bc], uni-scroll-view[data-v-eafc93bc], uni-swiper-item[data-v-eafc93bc]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-textarea[data-v-eafc93bc]{border-radius:4px;background-color:#fff;position:relative;display:flex;flex-direction:row;flex:1;padding:9px}.u-textarea--radius[data-v-eafc93bc]{border-radius:4px}.u-textarea--no-radius[data-v-eafc93bc]{border-radius:0}.u-textarea--disabled[data-v-eafc93bc]{background-color:#f5f7fa}.u-textarea__field[data-v-eafc93bc]{flex:1;font-size:15px;color:#606266;width:100%}.u-textarea__count[data-v-eafc93bc]{position:absolute;right:5px;bottom:2px;font-size:12px;color:#909193;background-color:#fff;padding:1px 4px}',""]),e.exports=t},5183:function(e,t,n){"use strict";n.r(t);var a=n("5f8e"),r=n("f714");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o,u=n("f0c5"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);t["default"]=c.exports},"5f8e":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uvTextarea",{attrs:{value:e.value,placeholder:e.placeholder,height:e.height,confirmType:e.confirmType,disabled:e.disabled,count:e.count,focus:e.focus,autoHeight:e.autoHeight,fixed:e.fixed,cursorSpacing:e.cursorSpacing,cursor:e.cursor,showConfirmBar:e.showConfirmBar,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,disableDefaultPadding:e.disableDefaultPadding,holdKeyboard:e.holdKeyboard,maxlength:e.maxlength,border:e.border,customStyle:e.customStyle,formatter:e.formatter},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("focus")}.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("blur")}.apply(void 0,arguments)},linechange:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("linechange",t)}.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("confirm")}.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("input",t)}.apply(void 0,arguments)},keyboardheightchange:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("keyboardheightchange")}.apply(void 0,arguments)}}})},i=[]},ae2c:function(e,t,n){"use strict";var a=n("4ea4");n("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("fd53c")),i={name:"u-textarea",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:function(e){return e}}},watch:{value:{immediate:!0,handler:function(e,t){this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner&&this.valueChange(),this.firstChange=!1,this.changeFromInner=!1}}},computed:{textareaClass:function(){var e=[],t=this.border,n=this.disabled;this.shape;return"surround"===t&&(e=e.concat(["u-border","u-textarea--radius"])),"bottom"===t&&(e=e.concat(["u-border-bottom","u-textarea--no-radius"])),n&&e.push("u-textarea--disabled"),e.join(" ")},textareaStyle:function(){var e={};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}},methods:{setFormatter:function(e){this.innerFormatter=e},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e),uni.$u.formValidate(this,"blur")},onLinechange:function(e){this.$emit("linechange",e)},onInput:function(e){var t=this,n=e.detail||{},a=n.value,r=void 0===a?"":a,i=this.formatter||this.innerFormatter,o=i(r);this.innerValue=r,this.$nextTick((function(){t.innerValue=o,t.valueChange()}))},valueChange:function(){var e=this,t=this.innerValue;this.$nextTick((function(){e.$emit("input",t),e.changeFromInner=!0,e.$emit("change",t),uni.$u.formValidate(e,"change")}))},onConfirm:function(e){this.$emit("confirm",e)},onKeyboardheightchange:function(e){this.$emit("keyboardheightchange",e)}}};t.default=i},b07e:function(e,t,n){"use strict";var a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("d885")),i=a(n("fd53c")),o={name:"u--textarea",mixins:[uni.$u.mpMixin,i.default,uni.$u.mixin],components:{uvTextarea:r.default}};t.default=o},b912:function(e,t,n){"use strict";var a=n("f120"),r=n.n(a);r.a},bbe3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.router=t.toa=t.hideLoading=t.loading=t.success=t.toast=void 0;var a=function(e){return uni.showToast({title:e,icon:"none"})};t.toast=a;var r=function(e){return uni.showToast({title:e})};t.success=r;var i=function(e){return uni.showLoading({title:"加载中"})};t.loading=i;var o=function(){return uni.hideLoading()};t.hideLoading=o;var u={toast:function(e){return uni.showToast({title:e,icon:"none"})},success:function(e){return uni.showToast({title:e})},loading:function(e){return uni.showLoading({title:e||"加载中",mask:!0})},hideLoading:function(){return uni.hideLoading()}};t.toa=u;var c={back:function(e){return uni.navigateBack({delta:e||1})}};t.router=c},d885:function(e,t,n){"use strict";n.r(t);var a=n("e602"),r=n("e078");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("b912");var o,u=n("f0c5"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,"eafc93bc",null,!1,a["a"],o);t["default"]=c.exports},e078:function(e,t,n){"use strict";n.r(t);var a=n("ae2c"),r=n.n(a);for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},e602:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"u-textarea",class:e.textareaClass,style:[e.textareaStyle]},[n("v-uni-textarea",{staticClass:"u-textarea__field",style:{height:e.$u.addUnit(e.height)},attrs:{value:e.innerValue,placeholder:e.placeholder,"placeholder-style":e.$u.addStyle(e.placeholderStyle,"string"),"placeholder-class":e.placeholderClass,disabled:e.disabled,focus:e.focus,autoHeight:e.autoHeight,fixed:e.fixed,cursorSpacing:e.cursorSpacing,cursor:e.cursor,showConfirmBar:e.showConfirmBar,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,disableDefaultPadding:e.disableDefaultPadding,holdKeyboard:e.holdKeyboard,maxlength:e.maxlength,confirmType:e.confirmType},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),e.onFocus.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.onBlur.apply(void 0,arguments)},linechange:function(t){arguments[0]=t=e.$handleEvent(t),e.onLinechange.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),e.onInput.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)},keyboardheightchange:function(t){arguments[0]=t=e.$handleEvent(t),e.onKeyboardheightchange.apply(void 0,arguments)}}}),e.count?n("v-uni-text",{staticClass:"u-textarea__count",style:{"background-color":e.disabled?"transparent":"#fff"}},[e._v(e._s(e.innerValue.length)+"/"+e._s(e.maxlength))]):e._e()],1)},i=[]},f120:function(e,t,n){var a=n("1d4b");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=n("4f06").default;r("8a5c2454",a,!0,{sourceMap:!1,shadowMode:!1})},f714:function(e,t,n){"use strict";n.r(t);var a=n("b07e"),r=n.n(a);for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},fd53c:function(e,t,n){"use strict";n("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={props:{value:{type:[String,Number],default:uni.$u.props.textarea.value},placeholder:{type:[String,Number],default:uni.$u.props.textarea.placeholder},placeholderClass:{type:String,default:uni.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:uni.$u.props.input.placeholderStyle},height:{type:[String,Number],default:uni.$u.props.textarea.height},confirmType:{type:String,default:uni.$u.props.textarea.confirmType},disabled:{type:Boolean,default:uni.$u.props.textarea.disabled},count:{type:Boolean,default:uni.$u.props.textarea.count},focus:{type:Boolean,default:uni.$u.props.textarea.focus},autoHeight:{type:Boolean,default:uni.$u.props.textarea.autoHeight},fixed:{type:Boolean,default:uni.$u.props.textarea.fixed},cursorSpacing:{type:Number,default:uni.$u.props.textarea.cursorSpacing},cursor:{type:[String,Number],default:uni.$u.props.textarea.cursor},showConfirmBar:{type:Boolean,default:uni.$u.props.textarea.showConfirmBar},selectionStart:{type:Number,default:uni.$u.props.textarea.selectionStart},selectionEnd:{type:Number,default:uni.$u.props.textarea.selectionEnd},adjustPosition:{type:Boolean,default:uni.$u.props.textarea.adjustPosition},disableDefaultPadding:{type:Boolean,default:uni.$u.props.textarea.disableDefaultPadding},holdKeyboard:{type:Boolean,default:uni.$u.props.textarea.holdKeyboard},maxlength:{type:[String,Number],default:uni.$u.props.textarea.maxlength},border:{type:String,default:uni.$u.props.textarea.border},formatter:{type:[Function,null],default:uni.$u.props.textarea.formatter}}};t.default=a}}]);  
1 -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-buyerOrder~pages-mine-commonProblem~pages-mine-myRelease~pages-mine-sellerOrder"],{"0866":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return a}));var a={uBadge:r("2a2b").default},i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"u-tabs"},[r("v-uni-view",{staticClass:"u-tabs__wrapper"},[e._t("left"),r("v-uni-view",{staticClass:"u-tabs__wrapper__scroll-view-wrapper"},[r("v-uni-scroll-view",{ref:"u-tabs__wrapper__scroll-view",staticClass:"u-tabs__wrapper__scroll-view",attrs:{"scroll-x":e.scrollable,"scroll-left":e.scrollLeft,"scroll-with-animation":!0,"show-scrollbar":!1}},[r("v-uni-view",{ref:"u-tabs__wrapper__nav",staticClass:"u-tabs__wrapper__nav"},[e._l(e.list,(function(t,a){return r("v-uni-view",{key:a,ref:"u-tabs__wrapper__nav__item-"+a,refInFor:!0,staticClass:"u-tabs__wrapper__nav__item",class:["u-tabs__wrapper__nav__item-"+a,t.disabled&&"u-tabs__wrapper__nav__item--disabled"],style:[e.$u.addStyle(e.itemStyle),{flex:e.scrollable?"":1}],on:{click:function(r){arguments[0]=r=e.$handleEvent(r),e.clickHandler(t,a)}}},[r("v-uni-text",{staticClass:"u-tabs__wrapper__nav__item__text",class:[t.disabled&&"u-tabs__wrapper__nav__item__text--disabled"],style:[e.textStyle(a)]},[e._v(e._s(t[e.keyName]))]),r("u-badge",{attrs:{show:!(!t.badge||!(t.badge.show||t.badge.isDot||t.badge.value)),isDot:t.badge&&t.badge.isDot||e.propsBadge.isDot,value:t.badge&&t.badge.value||e.propsBadge.value,max:t.badge&&t.badge.max||e.propsBadge.max,type:t.badge&&t.badge.type||e.propsBadge.type,showZero:t.badge&&t.badge.showZero||e.propsBadge.showZero,bgColor:t.badge&&t.badge.bgColor||e.propsBadge.bgColor,color:t.badge&&t.badge.color||e.propsBadge.color,shape:t.badge&&t.badge.shape||e.propsBadge.shape,numberType:t.badge&&t.badge.numberType||e.propsBadge.numberType,inverted:t.badge&&t.badge.inverted||e.propsBadge.inverted,customStyle:"margin-left: 4px;"}})],1)})),r("v-uni-view",{ref:"u-tabs__wrapper__nav__line",staticClass:"u-tabs__wrapper__nav__line",style:[{width:e.$u.addUnit(e.lineWidth),transform:"translate("+e.lineOffsetLeft+"px)",transitionDuration:(e.firstTime?0:e.duration)+"ms",height:e.$u.addUnit(e.lineHeight),background:e.lineColor,backgroundSize:e.lineBgSize}]})],2)],1)],1),e._t("right")],2)],1)},n=[]},"0eaa":function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.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/* 文章场景相关 */uni-view[data-v-2ffdb29d], uni-scroll-view[data-v-2ffdb29d], uni-swiper-item[data-v-2ffdb29d]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabs__wrapper[data-v-2ffdb29d]{display:flex;flex-direction:row;align-items:center}.u-tabs__wrapper__scroll-view-wrapper[data-v-2ffdb29d]{flex:1;overflow:auto hidden}.u-tabs__wrapper__scroll-view[data-v-2ffdb29d]{display:flex;flex-direction:row;flex:1}.u-tabs__wrapper__nav[data-v-2ffdb29d]{display:flex;flex-direction:row;position:relative}.u-tabs__wrapper__nav__item[data-v-2ffdb29d]{padding:0 11px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-tabs__wrapper__nav__item--disabled[data-v-2ffdb29d]{cursor:not-allowed}.u-tabs__wrapper__nav__item__text[data-v-2ffdb29d]{font-size:15px;color:#606266}.u-tabs__wrapper__nav__item__text--disabled[data-v-2ffdb29d]{color:#c8c9cc!important}.u-tabs__wrapper__nav__line[data-v-2ffdb29d]{height:3px;background:#3c9cff;width:30px;position:absolute;bottom:2px;border-radius:100px;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s}',""]),e.exports=t},"2a2b":function(e,t,r){"use strict";r.r(t);var a=r("5315"),i=r("5a75");for(var n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);r("45cb");var s,u=r("f0c5"),o=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"6718ea06",null,!1,a["a"],s);t["default"]=o.exports},"310e":function(e,t,r){"use strict";var a=r("4ea4");r("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(r("7625")),n={name:"u-badge",mixins:[uni.$u.mpMixin,i.default,uni.$u.mixin],computed:{boxStyle:function(){var e={};return e},badgeStyle:function(){var e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){var t=this.offset[0],r=this.offset[1]||t;e.top=uni.$u.addUnit(t),e.right=uni.$u.addUnit(r)}return e},showValue:function(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}}};t.default=n},"3c88":function(e,t,r){var a=r("0eaa");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=r("4f06").default;i("46852ee1",a,!0,{sourceMap:!1,shadowMode:!1})},"45cb":function(e,t,r){"use strict";var a=r("b20d"),i=r.n(a);i.a},5315:function(e,t,r){"use strict";var a;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return a}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?r("v-uni-text",{staticClass:"u-badge",class:[e.isDot?"u-badge--dot":"u-badge--not-dot",e.inverted&&"u-badge--inverted","horn"===e.shape&&"u-badge--horn","u-badge--"+e.type+(e.inverted?"--inverted":"")],style:[e.$u.addStyle(e.customStyle),e.badgeStyle]},[e._v(e._s(e.isDot?"":e.showValue))]):e._e()},n=[]},"5a75":function(e,t,r){"use strict";r.r(t);var a=r("310e"),i=r.n(a);for(var n in a)"default"!==n&&function(e){r.d(t,e,(function(){return a[e]}))}(n);t["default"]=i.a},7625:function(e,t,r){"use strict";r("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={props:{isDot:{type:Boolean,default:uni.$u.props.badge.isDot},value:{type:[Number,String],default:uni.$u.props.badge.value},show:{type:Boolean,default:uni.$u.props.badge.show},max:{type:[Number,String],default:uni.$u.props.badge.max},type:{type:String,default:uni.$u.props.badge.type},showZero:{type:Boolean,default:uni.$u.props.badge.showZero},bgColor:{type:[String,null],default:uni.$u.props.badge.bgColor},color:{type:[String,null],default:uni.$u.props.badge.color},shape:{type:String,default:uni.$u.props.badge.shape},numberType:{type:String,default:uni.$u.props.badge.numberType},offset:{type:Array,default:uni.$u.props.badge.offset},inverted:{type:Boolean,default:uni.$u.props.badge.inverted},absolute:{type:Boolean,default:uni.$u.props.badge.absolute}}};t.default=a},"89b7":function(e,t,r){"use strict";r.r(t);var a=r("b9f7"),i=r.n(a);for(var n in a)"default"!==n&&function(e){r.d(t,e,(function(){return a[e]}))}(n);t["default"]=i.a},a30f:function(e,t,r){"use strict";r("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={props:{duration:{type:Number,default:uni.$u.props.tabs.duration},list:{type:Array,default:uni.$u.props.tabs.list},lineColor:{type:String,default:uni.$u.props.tabs.lineColor},activeStyle:{type:[String,Object],default:uni.$u.props.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:uni.$u.props.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:uni.$u.props.tabs.lineWidth},lineHeight:{type:[String,Number],default:uni.$u.props.tabs.lineHeight},lineBgSize:{type:String,default:uni.$u.props.tabs.lineBgSize},itemStyle:{type:[String,Object],default:uni.$u.props.tabs.itemStyle},scrollable:{type:Boolean,default:uni.$u.props.tabs.scrollable},current:{type:[Number,String],default:uni.$u.props.tabs.current},keyName:{type:String,default:uni.$u.props.tabs.keyName}}};t.default=a},b20d:function(e,t,r){var a=r("b613");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=r("4f06").default;i("2b1825c9",a,!0,{sourceMap:!1,shadowMode:!1})},b613:function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.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/* 文章场景相关 */uni-view[data-v-6718ea06], uni-scroll-view[data-v-6718ea06], uni-swiper-item[data-v-6718ea06]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge[data-v-6718ea06]{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot[data-v-6718ea06]{height:8px;width:8px}.u-badge--inverted[data-v-6718ea06]{font-size:13px}.u-badge--not-dot[data-v-6718ea06]{padding:2px 5px}.u-badge--horn[data-v-6718ea06]{border-bottom-left-radius:0}.u-badge--primary[data-v-6718ea06]{background-color:#3c9cff}.u-badge--primary--inverted[data-v-6718ea06]{color:#3c9cff}.u-badge--error[data-v-6718ea06]{background-color:#f56c6c}.u-badge--error--inverted[data-v-6718ea06]{color:#f56c6c}.u-badge--success[data-v-6718ea06]{background-color:#5ac725}.u-badge--success--inverted[data-v-6718ea06]{color:#5ac725}.u-badge--info[data-v-6718ea06]{background-color:#909399}.u-badge--info--inverted[data-v-6718ea06]{color:#909399}.u-badge--warning[data-v-6718ea06]{background-color:#f9ae3d}.u-badge--warning--inverted[data-v-6718ea06]{color:#f9ae3d}',""]),e.exports=t},b9f7:function(e,t,r){"use strict";var a=r("4ea4");r("d81d"),r("13d5"),r("fb6a"),r("d3b7"),r("3ca3"),r("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(r("3835")),n=a(r("5530"));r("96cf");var s=a(r("1da1")),u=a(r("a30f")),o={name:"u-tabs",mixins:[uni.$u.mpMixin,uni.$u.mixin,u.default],data:function(){return{firstTime:!0,scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,tabsRect:{left:0},innerCurrent:0,moving:!1}},watch:{current:{immediate:!0,handler:function(e,t){var r=this;e!==this.innerCurrent&&(this.innerCurrent=e,this.$nextTick((function(){r.resize()})))}},list:function(){var e=this;this.$nextTick((function(){e.resize()}))}},computed:{textStyle:function(){var e=this;return function(t){var r={},a=t===e.innerCurrent?uni.$u.addStyle(e.activeStyle):uni.$u.addStyle(e.inactiveStyle);return e.list[t].disabled&&(r.color="#c8c9cc"),uni.$u.deepMerge(a,r)}},propsBadge:function(){return uni.$u.props.badge}},mounted:function(){var e=this;return(0,s.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.init();case 1:case"end":return t.stop()}}),t)})))()},methods:{setLineLeft:function(){var e=this,t=this.list[this.innerCurrent];if(t){var r=this.list.slice(0,this.innerCurrent).reduce((function(e,t){return e+t.rect.width}),0),a=uni.$u.getPx(this.lineWidth);this.lineOffsetLeft=r+(t.rect.width-a)/2,this.firstTime&&setTimeout((function(){e.firstTime=!1}),10)}},animation:function(e){},clickHandler:function(e,t){this.$emit("click",(0,n.default)((0,n.default)({},e),{},{index:t})),e.disabled||(this.innerCurrent=t,this.resize(),this.$emit("change",(0,n.default)((0,n.default)({},e),{},{index:t})))},init:function(){var e=this;uni.$u.sleep().then((function(){e.resize()}))},setScrollLeft:function(){var e=this.list[this.innerCurrent],t=this.list.slice(0,this.innerCurrent).reduce((function(e,t){return e+t.rect.width}),0),r=uni.$u.sys().windowWidth,a=t-(this.tabsRect.width-e.rect.width)/2-(r-this.tabsRect.right)/2+this.tabsRect.left/2;a=Math.min(a,this.scrollViewWidth-this.tabsRect.width),this.scrollLeft=Math.max(0,a)},resize:function(){var e=this;0!==this.list.length&&Promise.all([this.getTabsRect(),this.getAllItemRect()]).then((function(t){var r=(0,i.default)(t,2),a=r[0],n=r[1],s=void 0===n?[]:n;e.tabsRect=a,e.scrollViewWidth=0,s.map((function(t,r){e.scrollViewWidth+=t.width,e.list[r].rect=t})),e.setLineLeft(),e.setScrollLeft()}))},getTabsRect:function(){var e=this;return new Promise((function(t){e.queryRect("u-tabs__wrapper__scroll-view").then((function(e){return t(e)}))}))},getAllItemRect:function(){var e=this;return new Promise((function(t){var r=e.list.map((function(t,r){return e.queryRect("u-tabs__wrapper__nav__item-".concat(r),!0)}));Promise.all(r).then((function(e){return t(e)}))}))},queryRect:function(e,t){var r=this;return new Promise((function(t){r.$uGetRect(".".concat(e)).then((function(e){t(e)}))}))}}};t.default=o},f383:function(e,t,r){"use strict";r.r(t);var a=r("0866"),i=r("89b7");for(var n in i)"default"!==n&&function(e){r.d(t,e,(function(){return i[e]}))}(n);r("f7c6");var s,u=r("f0c5"),o=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"2ffdb29d",null,!1,a["a"],s);t["default"]=o.exports},f7c6:function(e,t,r){"use strict";var a=r("3c88"),i=r.n(a);i.a}}]);