| | |
| | | <script>
|
| | | // 合伙人: "appid" : "wx6d0ecc4e18710458",
|
| | | // 花农: "appid" : "wx3203fd935a6ffe09",
|
| | | // 花农: "appid" : "wx3203fd935a6ffe09", |
| | | // 花店 wx1441324401626290
|
| | | import storage from '@/plugins/storage.js'
|
| | |
|
| | | export default {
|
| | |
| | | const environments = { |
| | | 'local': { |
| | | httpBaseUri: 'http://localhost:8083', |
| | | clientId: '', |
| | | secret: '', |
| | | tenantId: '', |
| | | appDownloadUri: 'http://xxx/app/', |
| | | websocketUrl: '', |
| | | type: 'dev' |
| | | }, |
| | | 'dev': { |
| | | httpBaseUri: 'http://39.103.237.67:8083', |
| | | clientId: '', |
| | | secret: '', |
| | | tenantId: '', |
| | | appDownloadUri: 'http://xxx/app/', |
| | | websocketUrl: '', |
| | | type: 'dev' |
| | | }, |
| | | } |
| | | // export default environments['local'] |
| | | // export default environments['dev'] |
| | | |
| | | export default { |
| | | // httpBaseUri: 'http://localhost:8084', |
| | | httpBaseUri: 'http://121.199.161.55:8080/flower', |
| | | // http://106.14.123.210:8080/flower/swagger-ui.html#/ |
| | | // httpBaseUri: 'http://121.196.214.70', |
| | | // httpBaseUri: 'http://localhost:8084', |
| | | // httpBaseUri:'http://39.103.237.67:80', |
| | | // //#ifndef H5-SERVERLOCAL |
| | | // httpBaseUri: 'http://47.96.167.62:8083/', |
| | | // //#endif |
| | | |
| | | httpBaseUri: 'https://www.hmyxianhua.com/flower', |
| | | // httpBaseUri: 'https://47.99.58.211/flower', |
| | | |
| | | clientId: '', |
| | | secret: '', |
| | | tenantId: '', |
| | |
| | | // this.schools = res.data || []
|
| | | // }
|
| | | // })
|
| | | uni.navigateTo({
|
| | | url: '/sub_pages/customer/trade/detail'
|
| | | })
|
| | |
|
| | | //获取banner图
|
| | | this.$http.request('get', '/api/ua/banner/list', {
|
| | |
|
| | |
| | | <view class="item-container flex m-t-12" style="padding: 34rpx 44rpx;"> |
| | | <view class="rate-view flex1" style="max-width: 140rpx;"> |
| | | <view class="title">售后率</view> |
| | | <view class="title" style="color: red;">0.02%</view> |
| | | <view class="title" style="color: red;">0.00%</view> |
| | | </view> |
| | | <view class="tj-panel pink flex1"> |
| | | <view class="name">今日待配送</view> |
| | | <view class="title">12扎</view> |
| | | <view class="title">0扎</view> |
| | | </view> |
| | | <view class="tj-panel green flex1"> |
| | | <view class="name green">今日配送汇总</view> |
| | | <view class="title">12扎</view> |
| | | <view class="title">0扎</view> |
| | | </view> |
| | | </view> |
| | | <view class="m-t-12" @click="getNoticeMore"> |
| | | <uni-notice-bar class="notice-bar" color="#333" background-color="#fff" show-get-more show-icon |
| | | :scrollable="scrollable" :text="currentNotice.title" :key="currentNotice.id" /> |
| | | :scrollable="scrollable" :text="currentNotice.title||'暂无公共'" :key="currentNotice.id" /> |
| | | <span v-if="!currentNotice||!currentNotice.id"> </span> |
| | | </view> |
| | | <view class="item-container"> |
| | |
| | | }, |
| | | methods: { |
| | | async toFlowManage() { |
| | | |
| | | |
| | | if (!this.currentInfo.supplierDTO) { |
| | | await this.$message.confirm('尚未入住店铺信息,是否前往入住?') |
| | | this.goto('/sub_pages/supplier/supplier-info/supplier-info', true) |
| | | return |
| | | } |
| | | if (this.currentInfo.supplierDTO) { |
| | | //需要刷新一下当前用户信息 |
| | | this.$message.showLoading() |
| | | await this.$store.dispatch('getCurrentInfo') |
| | | this.$message.hideLoading() |
| | | |
| | | if (this.currentInfo.supplierDTO.status == 'P') { |
| | | |
| | | } else { |
| | |
| | | data() {
|
| | | return {
|
| | | openId: '-1',
|
| | | userName: 'gzm',
|
| | | password: '123456',
|
| | | userName: '',
|
| | | password: '',
|
| | | // userName: '',
|
| | | // password: '',
|
| | |
|
| | |
| | | <template> |
| | | <view> |
| | | |
| | | <view class="trade-detail"> |
| | | <view class="top-img-container"> |
| | | <image src="" class="top-img"></image> |
| | | <view class="icon-container"> |
| | | <image src="../../../static/common/icon-sc.png" class="icon-sc"></image> |
| | | <view class="num">12</view> |
| | | </view> |
| | | <view class="icon-container"> |
| | | <image src="../../../static/common/icon-shop.png" class="icon-shop"></image> |
| | | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | <style lang="scss" scoped> |
| | | |
| | | .trade-detail{ |
| | | .top-img-container{ |
| | | position: relative; |
| | | .top-img{ |
| | | width: 750rpx; |
| | | height: 764rpx; |
| | | } |
| | | .icon-container{ |
| | | position: absolute; |
| | | top: 20rpx; |
| | | width: 80rpx; |
| | | height: 80rpx; |
| | | background: rgba(0,0,0,0.42); |
| | | |
| | | .icon-sc{ |
| | | width: 54rpx; |
| | | height: 54rpx; |
| | | margin: 0 auto; |
| | | margin-top: 12rpx; |
| | | } |
| | | .icon-shop{ |
| | | width: 54rpx; |
| | | height: 54rpx; |
| | | margin: 0 auto; |
| | | margin-top: 12rpx; |
| | | } |
| | | .num{ |
| | | font-weight: 400; |
| | | font-size: 20rpx; |
| | | color: #FFFFFF; |
| | | line-height: 28rpx; |
| | | position: absolute; |
| | | top: 6prx; |
| | | right: 16rpx; |
| | | } |
| | | } |
| | | .icon-container:last-child{ |
| | | left: 120rpx; |
| | | } |
| | | .icon-container:first-child{ |
| | | left: 20rpx; |
| | | } |
| | | |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <view class="label">买家</view> |
| | | </view> |
| | | <view class="tj-each flex1"> |
| | | <view class="value">9扎</view> |
| | | <view class="value">0扎</view> |
| | | <view class="label">交易</view> |
| | | </view> |
| | | <view class="tj-each flex1"> |
| | |
| | | <view class="label">理赔</view> |
| | | </view> |
| | | <view class="tj-each flex1"> |
| | | <view class="value">401.12</view> |
| | | <view class="value">0</view> |
| | | <view class="label">交易合计</view> |
| | | </view> |
| | | </view> |
| | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | this.listApi = '/api/ua/announcement/list' |
| | | this.listApi = '' |
| | | this.getList() |
| | | |
| | | }, |
| | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | this.listApi = '/api/ua/announcement/list' |
| | | this.listApi = '' |
| | | this.getList() |
| | | |
| | | }, |
| | |
| | | <view class="flex"> |
| | | <view class="topic-font m-l-a m-r-0" @click="toLogin">前往登录</view> |
| | | </view> |
| | | <view class="flex flex-wrap-normal" style="position: fixed;bottom: 40rpx;left: 40rpx;right: 40rpx;"> |
| | | <view class="flex flex-wrap-normal" style="position: fixed;bottom: 40rpx;left: 40rpx;right: 40rpx;" v-if="false"> |
| | | <view :style="{'margin-top': '8rpx','margin-right': '12rpx','font-size':'24rpx'}" |
| | | @click="protocal=!protocal" |
| | | class="component-radio" :class="[protocal?'cur':'']"> |
| | |
| | | }) |
| | | }, |
| | | async getCode() { |
| | | // await this.$message.confirm('是否同意入驻协议') |
| | | // this.protocal = true |
| | | console.log('getCode') |
| | | uni.hideKeyboard() //隐藏已经显示的软键盘,如果软键盘没有显示则不做任何操作。 |
| | | if (this.getCodeisWaiting) { |
| | | return; |
| | |
| | | position: absolute; |
| | | right: 40rpx; |
| | | top: 25rpx; |
| | | z-index: 99; |
| | | } |
| | | } |
| | | |