微信小程序联调
This commit is contained in:
@@ -1 +1 @@
|
||||
"use strict";const o=require("./env.js"),t={local:"http://localhost:8091/",prod:"http://api01ai.huayang-star.com/"},r={development:"local",production:"prod",local:"local",prod:"prod"};const n=function(){var t;const n=null==(t=o.envConfig)?void 0:t.apiEnv;{const o=r[n.toLowerCase()];if(o)return o}const e="undefined"!=typeof process&&(null==process?void 0:process.env)?process.env.UNI_APP_API_ENV||"production":"",s=e?e.toLowerCase():"";return r[s]||"prod"}(),e=(s=t[n]||t.prod).endsWith("/")?s:`${s}/`;var s;exports.getApiEnv=function(){return n},exports.getApiUrl=function(o=""){const t=o.startsWith("/")?o:`/${o}`,r=t.startsWith("/")?t.slice(1):t;return`${e}${r}`};
|
||||
"use strict";const o=require("./env.js"),t={local:"http://localhost:8091/",prod:"http://api01ai.huayang-star.com/"},r={development:"local",production:"prod",local:"local",prod:"prod"};const e=function(){var t;const e=null==(t=o.envConfig)?void 0:t.apiEnv;{const o=r[e.toLowerCase()];if(o)return o}const n="undefined"!=typeof process&&(null==process?void 0:process.env)?process.env.UNI_APP_API_ENV||"production":"",s=n?n.toLowerCase():"";return r[s]||"prod"}(),n=(s=t[e]||t.prod).endsWith("/")?s:`${s}/`;var s;exports.API_BASE_URL=n,exports.getApiEnv=function(){return e},exports.getApiUrl=function(o=""){const t=o.startsWith("/")?o:`/${o}`,r=t.startsWith("/")?t.slice(1):t;return`${n}${r}`};
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),t={name:"cloud-image",emits:["click"],props:{mode:{type:String,default:()=>"widthFix"},src:{default:()=>""},width:{type:String,default:()=>"100rpx"},height:{type:String,default:()=>"100rpx"}},watch:{src:{handler(t){t&&"cloud://"==t.substring(0,8)?e._r.getTempFileURL({fileList:[t]}).then((e=>{this.cSrc=e.fileList[0].tempFileURL})):this.cSrc=t},immediate:!0}},methods:{onClick(){this.$emit("click")}},data:()=>({cSrc:!1})};const i=e._export_sfc(t,[["render",function(t,i,c,r,n,d){return e.e({a:n.cSrc},n.cSrc?{b:c.width,c:c.height,d:n.cSrc,e:c.mode}:{},{f:e.o(((...e)=>d.onClick&&d.onClick(...e)),"93"),g:c.width,h:c.height})}]]);wx.createComponent(i);
|
||||
"use strict";const t=require("../../../../common/vendor.js"),e={name:"cloud-image",emits:["click","load-error"],props:{mode:{type:String,default:()=>"aspectFill"},src:{default:()=>""},width:{type:String,default:()=>"100rpx"},height:{type:String,default:()=>"100rpx"}},watch:{src:{handler(e){if(this.cSrc="",!e||"string"!=typeof e)return;const r=e.trim();r&&("cloud://"===r.substring(0,8)?t._r.getTempFileURL({fileList:[r]}).then((t=>{const e=t&&t.fileList&&t.fileList[0]&&t.fileList[0].tempFileURL;e?this.cSrc=e:this.$emit("load-error")})).catch((()=>{this.$emit("load-error")})):this.cSrc=r)},immediate:!0}},methods:{onClick(){this.$emit("click")},onImageError(){this.cSrc="",this.$emit("load-error")}},data:()=>({cSrc:""})};const r=t._export_sfc(e,[["render",function(e,r,i,c,o,s){return t.e({a:o.cSrc},o.cSrc?{b:i.width,c:i.height,d:o.cSrc,e:i.mode,f:t.o(((...t)=>s.onImageError&&s.onImageError(...t)),"9a")}:{},{g:t.o(((...t)=>s.onClick&&s.onClick(...t)),"93"),h:i.width,i:i.height})}],["__scopeId","data-v-11b6d0d3"]]);wx.createComponent(r);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view bindtap="{{f}}" style="{{'width:' + g + ';' + ('height:' + h) + ';' + 'justify-content:center'}}"><image wx:if="{{a}}" style="{{'width:' + b + ';' + ('height:' + c)}}" src="{{d}}" mode="{{e}}"></image></view>
|
||||
<view bindtap="{{g}}" style="{{'width:' + h + ';' + ('height:' + i)}}" class="cloud-image-box data-v-11b6d0d3"><image wx:if="{{a}}" class="data-v-11b6d0d3" style="{{'width:' + b + ';' + ('height:' + c)}}" src="{{d}}" mode="{{e}}" binderror="{{f}}"></image></view>
|
||||
@@ -0,0 +1 @@
|
||||
.cloud-image-box.data-v-11b6d0d3{display:flex;justify-content:center;align-items:center;overflow:hidden}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<view class="uni-content data-v-6464e2fa"><view class="login-logo data-v-6464e2fa"><image class="data-v-6464e2fa" src="{{a}}"></image></view><text class="title title-box data-v-6464e2fa">账号密码登录</text><uni-forms class="data-v-6464e2fa" u-s="{{['d']}}" u-i="6464e2fa-0" bind:__l="__l"><uni-forms-item wx:if="{{e}}" class="data-v-6464e2fa" u-s="{{['d']}}" u-i="6464e2fa-1,6464e2fa-0" bind:__l="__l" u-p="{{e}}"><uni-easyinput wx:if="{{d}}" bindblur="{{b}}" class="input-box data-v-6464e2fa" u-i="6464e2fa-2,6464e2fa-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></uni-forms-item><uni-forms-item wx:if="{{i}}" class="data-v-6464e2fa" u-s="{{['d']}}" u-i="6464e2fa-3,6464e2fa-0" bind:__l="__l" u-p="{{i}}"><uni-easyinput wx:if="{{h}}" bindblur="{{f}}" class="input-box data-v-6464e2fa" u-i="6464e2fa-4,6464e2fa-3" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></uni-forms-item></uni-forms><uni-captcha wx:if="{{j}}" class="r data-v-6464e2fa" u-r="captcha" u-i="6464e2fa-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/><uni-id-pages-agreements wx:if="{{o}}" class="r data-v-6464e2fa" u-r="agreements" u-i="6464e2fa-6" bind:__l="__l" u-p="{{o}}"></uni-id-pages-agreements><button class="uni-btn data-v-6464e2fa" type="primary" bindtap="{{p}}">登录</button><view class="link-box data-v-6464e2fa"><view wx:if="{{q}}" class="data-v-6464e2fa"><text class="forget data-v-6464e2fa">忘记了?</text><text class="link data-v-6464e2fa" bindtap="{{r}}">找回密码</text></view><text class="link data-v-6464e2fa" bindtap="{{t}}">{{s}}</text></view><uni-id-pages-fab-login class="r data-v-6464e2fa" u-r="uniFabLogin" u-i="6464e2fa-7" bind:__l="__l"></uni-id-pages-fab-login></view>
|
||||
<view class="uni-content data-v-cb74ec4b"><view class="login-logo data-v-cb74ec4b"><image class="data-v-cb74ec4b" src="{{a}}"></image></view><text class="title title-box data-v-cb74ec4b">账号密码登录</text><uni-forms class="data-v-cb74ec4b" u-s="{{['d']}}" u-i="cb74ec4b-0" bind:__l="__l"><uni-forms-item wx:if="{{e}}" class="data-v-cb74ec4b" u-s="{{['d']}}" u-i="cb74ec4b-1,cb74ec4b-0" bind:__l="__l" u-p="{{e}}"><uni-easyinput wx:if="{{d}}" bindblur="{{b}}" class="input-box data-v-cb74ec4b" u-i="cb74ec4b-2,cb74ec4b-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></uni-forms-item><uni-forms-item wx:if="{{i}}" class="data-v-cb74ec4b" u-s="{{['d']}}" u-i="cb74ec4b-3,cb74ec4b-0" bind:__l="__l" u-p="{{i}}"><uni-easyinput wx:if="{{h}}" bindblur="{{f}}" class="input-box data-v-cb74ec4b" u-i="cb74ec4b-4,cb74ec4b-3" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></uni-forms-item></uni-forms><uni-captcha wx:if="{{j}}" class="r data-v-cb74ec4b" u-r="captcha" u-i="cb74ec4b-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/><uni-id-pages-agreements wx:if="{{o}}" class="r data-v-cb74ec4b" u-r="agreements" u-i="cb74ec4b-6" bind:__l="__l" u-p="{{o}}"></uni-id-pages-agreements><button class="uni-btn data-v-cb74ec4b" type="primary" bindtap="{{p}}">登录</button><view class="link-box data-v-cb74ec4b"><view wx:if="{{q}}" class="data-v-cb74ec4b"><text class="forget data-v-cb74ec4b">忘记了?</text><text class="link data-v-cb74ec4b" bindtap="{{r}}">找回密码</text></view><text class="link data-v-cb74ec4b" bindtap="{{t}}">{{s}}</text></view><uni-id-pages-fab-login class="r data-v-cb74ec4b" u-r="uniFabLogin" u-i="cb74ec4b-7" bind:__l="__l"></uni-id-pages-fab-login></view>
|
||||
@@ -1 +1 @@
|
||||
.uni-content.data-v-6464e2fa{padding:0 60rpx}.login-logo.data-v-6464e2fa{display:none}@media screen and (min-width: 690px){.uni-content.data-v-6464e2fa{padding:0;max-width:300px;margin-left:calc(50% - 200px)}}.uni-content view.data-v-6464e2fa{box-sizing:border-box}.title.data-v-6464e2fa{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip.data-v-6464e2fa{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content.data-v-6464e2fa .uni-easyinput__content,.input-box.data-v-6464e2fa{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link.data-v-6464e2fa{color:#04498c;cursor:pointer}.uni-content.data-v-6464e2fa .uni-forms-item__inner{padding-bottom:8px}.uni-btn.data-v-6464e2fa{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd.data-v-6464e2fa{height:auto!important}@media screen and (min-width: 690px){.uni-content.data-v-6464e2fa{height:auto}}.forget.data-v-6464e2fa{font-size:12px;color:#8a8f8b}.link-box.data-v-6464e2fa{display:flex;flex-direction:row;justify-content:space-between;margin-top:20px}.link.data-v-6464e2fa{font-size:12px}
|
||||
.uni-content.data-v-cb74ec4b{padding:0 60rpx}.login-logo.data-v-cb74ec4b{display:none}@media screen and (min-width: 690px){.uni-content.data-v-cb74ec4b{padding:0;max-width:300px;margin-left:calc(50% - 200px)}}.uni-content view.data-v-cb74ec4b{box-sizing:border-box}.title.data-v-cb74ec4b{display:flex;padding:18px 0;font-weight:800;flex-direction:column}.tip.data-v-cb74ec4b{display:flex;color:#bdbdc0;font-size:11px;margin:6px 0}.uni-content.data-v-cb74ec4b .uni-easyinput__content,.input-box.data-v-cb74ec4b{height:44px;background-color:#f8f8f8!important;border-radius:0;font-size:14px;display:flex;flex:1}.link.data-v-cb74ec4b{color:#04498c;cursor:pointer}.uni-content.data-v-cb74ec4b .uni-forms-item__inner{padding-bottom:8px}.uni-btn.data-v-cb74ec4b{text-align:center;height:40px;line-height:40px;margin:15px 0 10px;color:#fff!important;border-radius:5px;font-size:16px}.uni-body.uni_modules-uni-id-pages-pages-login-login-withoutpwd.data-v-cb74ec4b{height:auto!important}@media screen and (min-width: 690px){.uni-content.data-v-cb74ec4b{height:auto}}.forget.data-v-cb74ec4b{font-size:12px;color:#8a8f8b}.link-box.data-v-cb74ec4b{display:flex;flex-direction:row;justify-content:space-between;margin-top:20px}.link.data-v-cb74ec4b{font-size:12px}
|
||||
|
||||
Reference in New Issue
Block a user