small-program/App.vue
@@ -12,30 +12,61 @@ success: async function (loginRes) { let { code } = loginRes; let res = await that.$u.api.wxLogin({ code }) if (res&& res.code === 200) { if (res && res.code === 200) { that.$store.commit('setToken', res.data.token) that.$store.commit('setOpenid', res.data.openid) that.$store.commit('setUserInfo', res.data.member) that.$isResolve() uni.getLocation({ type: 'wgs84', success: (addr) => { that.$store.commit('setPosition', { latitude: addr.latitude, longitude: addr.longitude }) that.$isResolve() }, fail: (err) => { console.error('è·åä½ç½®å¤±è´¥', err); that.$isResolve() } }); } } }); } } else { var that = this let res = this.$u.api.getMemberInfo({}).then(res =>{ if (res && res.code === 200) { that.$store.commit('setUserInfo', res.data) uni.getLocation({ type: 'wgs84', success: (addr) => { that.$store.commit('setPosition', { latitude: addr.latitude, longitude: addr.longitude }) that.$isResolve() }, fail: (err) => { console.error('è·åä½ç½®å¤±è´¥', err); that.$isResolve() } }); } else { that.$store.commit('setToken','') that.$store.commit('setUserInfo',{}) uni.getLocation({ type: 'wgs84', success: (addr) => { that.$store.commit('setPosition', { latitude: addr.latitude, longitude: addr.longitude }) that.$isResolve() }, fail: (err) => { console.error('è·åä½ç½®å¤±è´¥', err); that.$isResolve() } }); } }) } }, onShow: function() { console.log('App Show') var that =this let res = this.$u.api.getMemberInfo({}).then(res =>{ if (res && res.code ===200) { that.$store.commit('setUserInfo', res.data) that.$isResolve() }else{ that.$store.commit('setToken','') that.$store.commit('setUserInfo',{}) that.$isResolve() } }) }, onHide: function() { console.log('App Hide') small-program/components/sunui-mverify/sunui-mverify.vue
@@ -1,7 +1,7 @@ <template name='sunui-mverify'> <view class="sunui-slider"> <text style="color: #FFFFFF;">{{ hint }}</text> <view class='sunui-slider-bg' :style="{left:-(w + 2)+'px',transform:cssAnimation}"> <view class='sunui-slider-bg' :style="{left:-(w + 5)+'px',transform:cssAnimation}"> <text>{{ succeedMsg }}</text> <view class='sunui-slider-box' @touchmove='moveStart' @touchend='moveEnd'> <image src="/static/icon/ic_huakuai@2x.png" mode="widthFix"></image> small-program/pages/demand-hall/demand-hall.vue
@@ -6,278 +6,276 @@ <text>æç订å</text> </view> </view> <!-- ååæ¹ --> <view class="index-labs" v-if="type === 0" :style="{ top: statusbarHeight + navHeight + 'px' }"> <view class="index-labs-row"> å ¨é¨ <view class="index-labs-row-x"></view> </view> <view class="index-labs-row active">å¾ æ¥å</view> <view class="index-labs-row">å·²æ¥å</view> <view class="index-labs-row">è¿è¡ä¸</view> <view class="index-labs-row">å¾ è¯ä»·</view> <view class="index-labs-row">已忶</view> </view> <!-- æ¥åæ¹ --> <view class="index-labs" v-if="type === 1" :style="{ top: statusbarHeight + navHeight + 'px' }"> <view class="index-labs-row"> å ¨é¨ <view class="index-labs-row-x"></view> </view> <view class="index-labs-row active">å·²æ¥å</view> <view class="index-labs-row">è¿è¡ä¸</view> <view class="index-labs-row">已宿</view> <view class="index-labs-row">已忶</view> </view> <!-- ååæ¹ --> <view class="index-list" v-if="type === 0"> <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>订é¤å</text> </view> <view class="index-list-item-head-r">å¾ æ¥åæ¹æ¥å</view> </view> <view class="index-list-item-info"> åé¤5å (30份)ï½æé¤8å (20份) </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>è¿è´§å-å°è´§è½¦-å¢å¼</text> </view> <view class="index-list-item-head-r">å¾ æ¥åæ¹æ¥å</view> </view> <view class="index-list-item-info"> è¡èï½20000æ¤ï½é2è¾ </view> <view class="index-list-item-date"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="address"> <view class="address-xian"></view> <view class="address-row"> <image src="/static/icon/ic_qidian@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="address-row"> <image src="/static/icon/ic_jingguo@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬åä¸é¨ä¿å®å®¤</text> </view> <view class="address-row"> <image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix"></image> <text>å®å¾½è²è±ç§æäº§ä¸åè±ç±³ç§ææéå ¬å¸</text> </view> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>ç¨å·¥å-éæå·¥</text> </view> <view class="index-list-item-head-r">å¾ æ¥å</view> </view> <view class="index-list-item-info"> è¡èï½2000æ¤ </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> </view> <!-- æ¥åæ¹ --> <view class="index-list" v-if="type === 1"> <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>订é¤å</text> <view class="tips">ç³»ç»æ´¾å</view> </view> <view class="index-list-item-head-r">å·²æ¥å</view> </view> <view class="index-list-item-info"> åé¤5å (30份)ï½æé¤8å (20份) </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view class="eidt-tips"> <image src="/static/icon/ic_tip@2x.png" mode="widthFix"></image> <text>订å已修æ¹</text> </view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>è¿è´§å-å°è´§è½¦-å¢å¼</text> <view class="tips1">èªä¸»æ¢å</view> </view> <view class="index-list-item-head-r">å·²æ¥å</view> </view> <view class="index-list-item-info"> è¡èï½20000æ¤ï½é2è¾ </view> <view class="index-list-item-date"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="address"> <view class="address-xian"></view> <view class="address-row"> <image src="/static/icon/ic_qidian@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="address-row"> <image src="/static/icon/ic_jingguo@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬åä¸é¨ä¿å®å®¤</text> </view> <view class="address-row"> <image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix"></image> <text>å®å¾½è²è±ç§æäº§ä¸åè±ç±³ç§ææéå ¬å¸</text> </view> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>ç¨å·¥å-éæå·¥</text> <view class="tips1">èªä¸»æ¢å</view> </view> <view class="index-list-item-head-r">å¾ æ¥å</view> </view> <view class="index-list-item-info"> è¡èï½2000æ¤ </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> </view> <!-- <view class="index-wu"> <!-- æªç»å½ --> <view class="index-wu" v-if="!isLogin"> <image src="/static/icon/default_login@2x.png" mode="widthFix"></image> <text>æ¨è¿æ²¡æç»å½ï¼è¯·ç»å½åæ¥ç订å</text> <button>ç»å½</button> </view> --> </view> <!-- å·²ç»é --> <template v-else> <!-- ååæ¹ --> <view class="index-labs" v-if="typeViewId === 0" :style="{ top: statusbarHeight + navHeight + 'px' }"> <scroll-view scroll-x class="scroll-view_H"> <view :class="item.id === status ? 'index-labs-row active' : 'index-labs-row'" v-for="(item, index) in list1" :key="index" @click="clickOrderType(item.id)"> {{item.name}} <view class="index-labs-row-x" v-if="item.id === status"></view> </view> </scroll-view> </view> <!-- æ¥åæ¹ --> <view class="index-labs" v-if="typeViewId === 1" :style="{ top: statusbarHeight + navHeight + 'px' }"> <scroll-view scroll-x class="scroll-view_H"> <view :class="item.id === status ? 'index-labs-row active' : 'index-labs-row'" v-for="(item, index) in list" :key="index" @click="clickOrderType(item.id)"> {{item.name}} <view class="index-labs-row-x" v-if="item.id === status"></view> </view> </scroll-view> </view> <!-- ååæ¹ --> <view class="index-list" v-if="typeViewId === 0"> <view class="index-list-item" v-for="(item, index) in orderList" :key="index"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text v-if="item.type === 0 && item.workType === 0">ç¨å·¥å - éæå·¥</text> <text v-else-if="item.type === 0 && item.workType === 1">ç¨å·¥å - 忣工</text> <text v-else-if="item.type === 0 && item.workType === 2">ç¨å·¥å - å è£ å·¥</text> <text v-else-if="item.type === 1">è¿è´§å-{{item.categoryName}}-{{item.carUnit}}</text> <text v-else-if="item.type === 2">订é¤å</text> </view> <view class="index-list-item-head-r" v-if="item.status === 1">å¾ æ¥åæ¹æ¥å</view> <view class="index-list-item-head-r" v-if="item.status === 2">å·²æ¥å</view> <view class="index-list-item-head-r" v-if="item.status === 3">è¿è¡ä¸</view> <view class="index-list-item-head-r" v-if="item.status === 2 && item.isUpdate === 1">已修æ¹ï¼å¾ æ¥åæ¹ç¡®è®¤</view> <view class="index-list-item-head-r hui" v-if="item.status === 4">已宿</view> <view class="index-list-item-head-r hui" v-if="item.status === 99">已忶</view> <view class="index-list-item-head-r" v-if="item.status === 4 && item.commentStatus === 0">å¾ è¯ä»·</view> </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 0"> {{item.categoryName}}ï½{{item.priceNum1}}æ¤ </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 1"> {{item.categoryName}}ï½{{item.priceNum1}}人 </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 2"> {{item.categoryName}}ï½{{item.priceNum1}}人 </view> <view class="index-list-item-info" v-if="item.type === 1"> {{item.transportTypeName}} | {{item.transportNum}}{{item.transportUnit}}ï½ç¨è½¦{{item.priceNum1}}天 </view> <view class="index-list-item-info" v-if="item.type === 2"> {{item.wayInfoCopy}} </view> <view class="address" v-if="item.type === 1"> <view class="address-xian"></view> <view class="address-row" v-for="(address, i) in item.wayInfo" :key="i"> <image src="/static/icon/ic_qidian@2x.png" mode="widthFix" v-if="i === 0"></image> <image src="/static/icon/ic_jingguo@2x.png" mode="widthFix" v-else-if="i !== 0 && i !== item.wayInfo.length - 1"></image> <image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix" v-else-if="i === item.wayInfo.length - 1"></image> <text>{{item.location}}</text> </view> </view> <template v-if="[0, 2].includes(item.type)"> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>{{item.location}}</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>{{item.startDate}} è³ {{item.endDate}}ï¼{{item.priceNum1}}天ï¼</text> </view> </template> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥{{item.estimatedAccount / 100}}</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close" v-if="[0,1,2].includes(item.status)" @click="orderId = item.id, show = true">åæ¶è®¢å</view> <view class="eidt-phone" v-if="[2].includes(item.status)">èç³»å¸å </view> <view class="eidt-phone" v-if="item.status === 4 && item.commentStatus === 0">è¯ä»·è®¢å</view> <view class="eidt-btn" v-if="[0,1,2].includes(item.status)" @click="jumpEdit(item)">ä¿®æ¹è®¢å</view> <view class="eidt-btn" v-if="(item.type === 2 && item.status === 0) || (item.type === 2 && item.status === 3)" @click="jumpEdit(item)">ç»§ç»æ¯ä»</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> </view> <!-- æ¥åæ¹ --> <view class="index-list" v-if="typeViewId === 1"> <view class="index-list-item" v-for="(item, index) in orderList" :key="index"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text v-if="item.type === 0 && item.workType === 0">ç¨å·¥å - éæå·¥</text> <text v-else-if="item.type === 0 && item.workType === 1">ç¨å·¥å - 忣工</text> <text v-else-if="item.type === 0 && item.workType === 2">ç¨å·¥å - å è£ å·¥</text> <text v-else-if="item.type === 1">è¿è´§å-{{item.categoryName}}-{{item.carUnit}}</text> <text v-else-if="item.type === 2">订é¤å</text> <view class="tips" v-if="item.acceptType === 1">ç³»ç»æ´¾å</view> <view class="tips1" v-if="item.acceptType === 0">æå¨æ¥å</view> </view> <view class="index-list-item-head-r" v-if="item.status === 2">å·²æ¥å</view> <view class="index-list-item-head-r" v-if="item.status === 3">è¿è¡ä¸</view> <view class="index-list-item-head-r hui" v-if="item.status === 4">已宿</view> <view class="index-list-item-head-r hui" v-if="item.status === 99">已忶</view> </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 0"> {{item.categoryName}}ï½{{item.priceNum1}}æ¤ </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 1"> {{item.categoryName}}ï½{{item.priceNum1}}人 </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 2"> {{item.categoryName}}ï½{{item.priceNum1}}人 </view> <view class="index-list-item-info" v-if="item.type === 1"> {{item.transportTypeName}} | {{item.transportNum}}{{item.transportUnit}}ï½ç¨è½¦{{item.priceNum1}}天 </view> <view class="index-list-item-info" v-if="item.type === 2"> {{item.wayInfoCopy}} </view> <view class="address" v-if="item.type === 1"> <view class="address-xian"></view> <view class="address-row" v-for="(address, i) in item.wayInfo" :key="i"> <image src="/static/icon/ic_qidian@2x.png" mode="widthFix" v-if="i === 0"></image> <image src="/static/icon/ic_jingguo@2x.png" mode="widthFix" v-else-if="i !== 0 && i !== item.wayInfo.length - 1"></image> <image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix" v-else-if="i === item.wayInfo.length - 1"></image> <text>{{item.location}}</text> </view> </view> <template v-if="[0, 2].includes(item.type)"> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>{{item.location}}</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>{{item.startDate}} è³ {{item.endDate}}ï¼{{item.priceNum1}}天ï¼</text> </view> </template> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥{{item.estimatedAccount / 100}}</text> </view> <view class="eidt"> <view class="eidt-tips" v-if="item.isUpdate === 1"> <image src="/static/icon/ic_tip@2x.png" mode="widthFix"></image> <text>订å已修æ¹</text> </view> <view class="eidt-tips" v-else></view> <view class="eidt-right"> <view class="eidt-close" v-if="item.status === 2" @click="orderId = item.id, show = true">åæ¶è®¢å</view> <view class="eidt-phone" v-if="[2,3].includes(item.status)" @click="phoneCall(item.linkPhone)">èç³»ä¸ä¸»</view> <!-- <view class="eidt-close">å é¤è®¢å</view> <view class="eidt-phone">èç³»å¸å </view> <view class="eidt-phone">è¯ä»·è®¢å</view> <view class="eidt-btn">ä¿®æ¹è®¢å</view> <view class="eidt-btn">宿并æ¯ä»</view> --> </view> </view> </view> <!-- <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>è¿è´§å-å°è´§è½¦-å¢å¼</text> <view class="tips1">èªä¸»æ¢å</view> </view> <view class="index-list-item-head-r">å·²æ¥å</view> </view> <view class="index-list-item-info"> è¡èï½20000æ¤ï½é2è¾ </view> <view class="index-list-item-date"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="address"> <view class="address-xian"></view> <view class="address-row"> <image src="/static/icon/ic_qidian@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="address-row"> <image src="/static/icon/ic_jingguo@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬åä¸é¨ä¿å®å®¤</text> </view> <view class="address-row"> <image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix"></image> <text>å®å¾½è²è±ç§æäº§ä¸åè±ç±³ç§ææéå ¬å¸</text> </view> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> </view> </view> </view> --> <!-- <view class="index-list-item"> <view class="index-list-item-head"> <view class="index-list-item-head-l"> <view class="xoam"></view> <text>ç¨å·¥å-éæå·¥</text> <view class="tips1">èªä¸»æ¢å</view> </view> <view class="index-list-item-head-r">å¾ æ¥å</view> </view> <view class="index-list-item-info"> è¡èï½2000æ¤ </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>é¿æ±è¥¿è·¯å¤§è山森æå ¬å西é¨ä¿å®å®¤</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>07-26 è³ 07-27ï¼2天ï¼</text> </view> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥1000.00</text> </view> <view class="eidt"> <view></view> <view class="eidt-right"> <view class="eidt-close">åæ¶è®¢å</view> </view> </view> </view> --> </view> </template> <u-modal title="温馨æç¤º" :show="show" closeOnClickOverlay showCancelButton > <view class="slot-content"> ç¡®è®¤åæ¶è®¢ååï¼ </view> <view slot="confirmButton" style="display: flex; justify-content: space-between; align-items: center; width: 100%;"> <view class="btn1" @click="show = false">æåæ³æ³</view> <view class="btn2" @click="cancelOrder">ç¡®è®¤åæ¶</view> </view> </u-modal> </view> </template> @@ -285,12 +283,143 @@ import { mapState } from 'vuex' export default { computed: { ...mapState(['navHeight', 'statusbarHeight']) ...mapState(['navHeight', 'statusbarHeight','userInfo','token','openid', 'latitude', 'longitude']) }, onShow(options) { this.typeViewId = 0 if(this.token && this.token != '' && this.userInfo && JSON.stringify(this.userInfo) != '{}'){ this.isLogin = true } if (this.userInfo && this.userInfo.useIdentity == 1) { this.typeViewId = 1 } else { this.typeViewId = 0 } }, data() { return { type: 1 show: false, isLogin: false, typeViewId: 0, list: [ { name: 'å ¨é¨', id: '' }, { name: 'å·²æ¥å', id: 2 }, { name: 'è¿è¡ä¸', id: 3 }, { name: '已宿', id: 4 }, { name: '已忶', id: 99 }, ], list1: [ { name: 'å ¨é¨', id: '' }, { name: 'å¾ æ¯ä»', id: 0 }, { name: 'å¾ æ¥å', id: 1 }, { name: 'å·²æ¥å', id: 2 }, { name: 'è¿è¡ä¸', id: 3 }, { name: '已宿', id: 4 }, { name: '已忶', id: 99 }, { name: 'å¾ è¯ä»·', id: [4, 0] } ], orderId: null, status: '', commentStatus: '', next: true, page: 1, orderList: [] }; }, async onLoad() { await this.$onLaunched; uni.$on('refresh', (data) => { console.log('æç订å页巿°'); this.status = '' this.commentStatus = '' this.orderList = [] this.next = true this.page = 1 this.getOrderList() }) this.getOrderList() }, onReachBottom() { this.getOrderList() }, methods: { // ä¿®æ¹ jumpEdit(item) { if (item.type === 0 && item.workType === 0) { uni.navigateTo({ url: `/pages/using-workers/using-workers?id=${item.id}` }) } else if (item.type === 0 && item.workType === 1) { uni.navigateTo({ url: `/pages/sorting/sorting?id=${item.id}` }) } else if (item.type === 0 && item.workType === 2) { uni.navigateTo({ url: `/pages/packaging-worker/packaging-worker?id=${item.id}` }) } }, cancelOrder() { this.$u.api.receiveCancelOrder({ orderId: this.orderId }).then(res => { this.show = false this.orderList = [] this.next = true this.page = 1 this.getOrderList() }) }, phoneCall(phoneNumber) { uni.makePhoneCall({ phoneNumber }); }, // 订åå页 getOrderList() { if (!this.next) return; this.$u.api.orderPage({ capacity: 10, page: this.page, model: { queryMyOrderType: this.userInfo.useIdentity, status: this.status, queryLat: this.latitude, queryLgt: this.longitude } }).then(res => { res.data.records.forEach(item => { // 订é¤å if (item.type === 2) { item.wayInfoCopy = JSON.parse(item.wayInfo).map(item => { return `${item.name}${item.price / 100}å (${item.num}份)` }).join(' | ') // è¿è´§ } else if (item.type === 1) { item.wayInfo = JSON.parse(item.wayInfo) } }) this.orderList = [...this.orderList, ...res.data.records] if (this.orderList.length === res.data.total) { this.next = false } }) }, clickOrderType(id) { if (typeof id === 'object') { this.status = id[0] this.commentStatus = id[1] } else { this.commentStatus = '' this.status = id } this.orderList = [] this.next = true this.page = 1 this.getOrderList() } } } </script> @@ -304,6 +433,36 @@ <style lang="scss" scoped> .index { width: 100%; .slot-content { width: 100%; text-align: center; font-weight: 400; font-size: 30rpx; color: #333333; margin: 30rpx 0; } .btn1 { width: 264rpx; height: 88rpx; line-height: 88rpx; text-align: center; font-weight: 400; font-size: 32rpx; color: #666666; border-radius: 44rpx; border: 1rpx solid #B2B2B2; } .btn2 { width: 264rpx; height: 88rpx; line-height: 88rpx; text-align: center; font-weight: 500; font-size: 32rpx; color: #FFFFFF; background: #00BC12; border-radius: 44rpx; } .index-j-head { width: 100%; background-color: #ffffff; @@ -358,38 +517,47 @@ color: #FF0000; } } .eidt-close { width: 160rpx; height: 64rpx; font-weight: 400; font-size: 28rpx; color: #666666; line-height: 64rpx; text-align: center; border-radius: 34rpx; border: 1rpx solid #B2B2B2; } .eidt-phone { width: 160rpx; height: 64rpx; line-height: 64rpx; text-align: center; font-weight: 400; font-size: 28rpx; color: #00BC12; border-radius: 34rpx; border: 1rpx solid #00BC12; } .eidt-btn { width: 160rpx; height: 64rpx; line-height: 64rpx; text-align: center; font-weight: 400; font-size: 28rpx; color: #FFFFFF; background: #00BC12; border-radius: 34rpx; .eidt-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; .eidt-close { width: 160rpx; height: 64rpx; font-weight: 400; font-size: 28rpx; color: #666666; line-height: 64rpx; text-align: center; border-radius: 34rpx; border: 1rpx solid #B2B2B2; margin-left: 20rpx; } .eidt-phone { width: 160rpx; height: 64rpx; line-height: 64rpx; text-align: center; font-weight: 400; font-size: 28rpx; color: #00BC12; border-radius: 34rpx; border: 1rpx solid #00BC12; margin-left: 20rpx; } .eidt-btn { width: 160rpx; height: 64rpx; line-height: 64rpx; text-align: center; font-weight: 400; font-size: 28rpx; color: #FFFFFF; background: #00BC12; border-radius: 34rpx; margin-left: 20rpx; } } } .index-list-item-price { @@ -530,6 +698,9 @@ border: 2rpx solid #FD9E24; } } .hui { color: #999999 !important; } .index-list-item-head-r { font-weight: 400; font-size: 28rpx; @@ -541,35 +712,43 @@ .index-labs { width: 100%; height: 90rpx; padding: 0 30rpx; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; background: #FFFFFF; position: sticky; left: 0; .active { font-weight: 500 !important; font-size: 32rpx !important; color: #222222 !important; } .index-labs-row { flex: 1; .scroll-view_H { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 400; font-size: 30rpx; color: #666666; position: relative; .index-labs-row-x { position: absolute; bottom: 0; left: 50%; width: 40rpx; height: 2rpx; background-color: #00BC12; transform: translate(-50%, 0); white-space: nowrap; .active { font-weight: 500 !important; font-size: 32rpx !important; color: #222222 !important; } .index-labs-row { display: inline-block; height: 100%; line-height: 90rpx; font-weight: 400; font-size: 30rpx; color: #666666; position: relative; margin-right: 62rpx; &:last-child { margin: 0 !important; } .index-labs-row-x { position: absolute; bottom: 0; left: 50%; width: 40rpx; height: 2rpx; background-color: #00BC12; transform: translate(-50%, 0); } } } } small-program/pages/employment-certification/employment-certification.vue
@@ -25,7 +25,7 @@ <input type="text" v-model="form.linkName" placeholder="请è¾å ¥çå®å§å" /> </view> </view> <view class="item" v-if="isCompany"> <view class="item" v-if="isCompany"> <view class="item-label"> <text>åä½åç§°</text> <text>*</text> @@ -44,11 +44,11 @@ </view> </view> <view class="item" @click="chooseMPLoaction"> <view class="item-label" > <view class="item-label"> <text>æ¥åä½ç½®</text> <text>*</text> </view> <view class="item-val" > <view class="item-val"> <text>{{form.location || 'å»éæ©'}}</text> <u-icon name="arrow-right" color="#111111" size="18"></u-icon> </view> @@ -60,24 +60,27 @@ </view> <view class="item-upload"> <view class="item-upload-item" @click="uploadImg(11)"> <image v-if="form.img11Full && form.img11Full !=''" :src="form.img11Full" mode="widthFix"></image> <image v-else src="/static/image/btn_renxiang@2x.png" mode="widthFix"></image> <image v-if="form.img11Full && form.img11Full !=''" :src="form.img11Full" mode="widthFix"> </image> <image v-else src="/static/image/btn_renxiang@2x.png" mode="widthFix"></image> </view> <view class="item-upload-item" @click="uploadImg(21)"> <image v-if="form.img21Full && form.img21Full !=''" :src="form.img21Full" mode="widthFix"></image> <image v-else src="/static/image/btn_guohui@2x.png" mode="widthFix"></image> <view class="item-upload-item" @click="uploadImg(21)"> <image v-if="form.img21Full && form.img21Full !=''" :src="form.img21Full" mode="widthFix"> </image> <image v-else src="/static/image/btn_guohui@2x.png" mode="widthFix"></image> </view> </view> </view> <view class="item" v-if="isCompany"> <view class="item" v-if="isCompany"> <view class="item-label"> <text>认è¯èµæ</text> <text>*</text> </view> <view class="item-upload" v-if="flag==0"> <view class="item-upload-item1" @click="uploadImg(1)"> <view class="item-upload-item1" @click="uploadImg(1)"> <view class="image"> <image v-if="form.img1Full && form.img1Full !=''" :src=" form.img1Full" mode="widthFix"></image> <image v-if="form.img1Full && form.img1Full !=''" :src=" form.img1Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -86,9 +89,10 @@ <text>*</text> </view> </view> <view class="item-upload-item1" @click="uploadImg(2)"> <view class="item-upload-item1" @click="uploadImg(2)"> <view class="image"> <image v-if="form.img2Full && form.img2Full !=''" :src=" form.img2Full" mode="widthFix"></image> <image v-if="form.img2Full && form.img2Full !=''" :src=" form.img2Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -98,9 +102,10 @@ </view> </view> <view class="item-upload" v-if="flag==1"> <view class="item-upload-item1" @click="uploadImg(1)"> <view class="item-upload-item1" @click="uploadImg(1)"> <view class="image"> <image v-if="form.img1Full && form.img1Full !=''" :src=" form.img1Full" mode="widthFix"></image> <image v-if="form.img1Full && form.img1Full !=''" :src=" form.img1Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -109,9 +114,10 @@ <text>*</text> </view> </view> <view class="item-upload-item1" @click="uploadImg(2)"> <view class="item-upload-item1" @click="uploadImg(2)"> <view class="image"> <image v-if="form.img2Full && form.img2Full !=''" :src=" form.img2Full" mode="widthFix"></image> <image v-if="form.img2Full && form.img2Full !=''" :src=" form.img2Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -120,9 +126,10 @@ <text>*</text> </view> </view> <view class="item-upload-item1" @click="uploadImg(3)"> <view class="item-upload-item1" @click="uploadImg(3)"> <view class="image"> <image v-if="form.img3Full && form.img3Full !=''" :src=" form.img3Full" mode="widthFix"></image> <image v-if="form.img3Full && form.img3Full !=''" :src=" form.img3Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -132,9 +139,10 @@ </view> </view> <view class="item-upload" v-if="flag==2"> <view class="item-upload-item1" @click="uploadImg(1)"> <view class="item-upload-item1" @click="uploadImg(1)"> <view class="image"> <image v-if="form.img1Full && form.img1Full !=''" :src=" form.img1Full" mode="widthFix"></image> <image v-if="form.img1Full && form.img1Full !=''" :src=" form.img1Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -143,9 +151,10 @@ <text>*</text> </view> </view> <view class="item-upload-item1" @click="uploadImg(2)"> <view class="item-upload-item1" @click="uploadImg(2)"> <view class="image"> <image v-if="form.img2Full && form.img2Full !=''" :src=" form.img2Full" mode="widthFix"></image> <image v-if="form.img2Full && form.img2Full !=''" :src=" form.img2Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -154,9 +163,10 @@ <text>*</text> </view> </view> <view class="item-upload-item1" @click="uploadImg(3)"> <view class="item-upload-item1" @click="uploadImg(3)"> <view class="image"> <image v-if="form.img3Full && form.img3Full !=''" :src=" form.img3Full" mode="widthFix"></image> <image v-if="form.img3Full && form.img3Full !=''" :src=" form.img3Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -165,9 +175,10 @@ <text>*</text> </view> </view> <view class="item-upload-item1" @click="uploadImg(4)"> <view class="item-upload-item1" @click="uploadImg(4)"> <view class="image"> <image v-if="form.img4Full && form.img4Full !=''" :src=" form.img4Full" mode="widthFix"></image> <image v-if="form.img4Full && form.img4Full !=''" :src=" form.img4Full" mode="widthFix"> </image> <image v-else src="/static/icon/ic_camera@2x.png" mode="widthFix"></image> <text>ç¹å»ä¸ä¼ </text> </view> @@ -185,21 +196,23 @@ </template> <script> import { mapState } from 'vuex' import { mapState } from 'vuex' export default { computed: { ...mapState( ['userInfo']) ...mapState(['userInfo']) }, data() { return { bgImg: require('@/static/image/bg_renzheng_yonggong@2x.png'), title: 'ç¨æ·è®¤è¯', flag: null, isCompany:false, loading:false, isCompany: false, loading: false, form: { "companyName": "", authType:0, authType: 0, "img1": "", "img2": "", "img11": "", @@ -216,152 +229,188 @@ "lat": null, "lgt": null, "linkName": "", "location": "", "location": "", "telephone": "", "type": 1 "type": 1 } }; }, onLoad(options) { console.log(options) var flag = options.flag this.flag = flag this.flag = flag this.initFormData() switch(flag){ switch (flag) { case '1': this.title = 'è´§è¿è®¤è¯' this.title = 'è´§è¿è®¤è¯' this.bgImg = require('@/static/image/bg_renzheng_huoyun@2x.png') break; case '2': this.title = 'ä¾é¤è®¤è¯' this.title = 'ä¾é¤è®¤è¯' this.bgImg = require('@/static/image/bg_renzheng_gongcan@2x.png') break; default: this.bgImg = require('@/static/image/bg_renzheng_yonggong@2x.png'), this.title = 'ç¨å·¥è®¤è¯' break; this.title = 'ç¨å·¥è®¤è¯' break; } uni.setNavigationBarTitle({ title:this.title title: this.title }) }, methods:{ changeIsCompany(){ this.isCompany =!this.isCompany this.form.authType = this.isCompany?1:0 methods: { changeIsCompany() { this.isCompany = !this.isCompany this.form.authType = this.isCompany ? 1 : 0 }, inNullParam(param){ if(!param){ inNullParam(param) { if (!param) { return true } if(param == ''){ if (param == '') { return true } return false }, applySubmit() { if(this.loading){ if (this.loading) { return } console.log('表ååæ°ï¼',this.form) this.loading =true if(this.inNullParam(this.form.linkName) ||this.inNullParam(this.form.lat) ||this.inNullParam(this.form.lgt) ||this.inNullParam(this.form.location) ||this.inNullParam(this.form.telephone)){ uni.showToast({title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯1ï¼',icon: "none",duration: 2000}); this.loading =false return } if( this.form.authType == 0){ if(this.inNullParam(this.form.img11)||this.inNullParam(this.form.img21)){ uni.showToast({title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯3ï¼',icon: "none",duration: 2000}); this.loading =false console.log('表ååæ°ï¼', this.form) this.loading = true if (this.inNullParam(this.form.linkName) || this.inNullParam(this.form.lat) || this.inNullParam(this.form.lgt) || this.inNullParam(this.form.location) || this.inNullParam(this.form.telephone)) { uni.showToast({ title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯1ï¼', icon: "none", duration: 2000 }); this.loading = false return } }else{ if(this.inNullParam(this.form.img1) || this.inNullParam(this.form.companyName)){ uni.showToast({title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯4ï¼',icon: "none",duration: 2000}); this.loading =false } if (this.form.authType == 0) { if (this.inNullParam(this.form.img11) || this.inNullParam(this.form.img21)) { uni.showToast({ title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯3ï¼', icon: "none", duration: 2000 }); this.loading = false return } } if(this.form.type != 0 && this.form.authType == 1 && this.inNullParam(this.form.img2)){ uni.showToast({title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯ï¼',icon: "none",duration: 2000}); this.loading =false } } else { if (this.inNullParam(this.form.img1) || this.inNullParam(this.form.companyName)) { uni.showToast({ title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯4ï¼', icon: "none", duration: 2000 }); this.loading = false return } } if (this.form.type != 0 && this.form.authType == 1 && this.inNullParam(this.form.img2)) { uni.showToast({ title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯ï¼', icon: "none", duration: 2000 }); this.loading = false return } if(this.form.type == 1 && this.form.authType == 1 && this.inNullParam(this.form.img2)){ uni.showToast({title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯5ï¼',icon: "none",duration: 2000}); this.loading =false } if (this.form.type == 1 && this.form.authType == 1 && this.inNullParam(this.form.img2)) { uni.showToast({ title: '对ä¸èµ·ï¼è¯·æè¦æ±å¡«åç³è¯·ä¿¡æ¯5ï¼', icon: "none", duration: 2000 }); this.loading = false return } var that = this var param =this.form; if(this.form.authType == 0){ param.img1 = this.form.img11, param.img2 = this.form.img21 } console.log('æäº¤åæ°ï¼',param) this.$u.api.applyForIdentity(param).then(res =>{ if(res.code ===200){ uni.showToast({ title: res.message||'ç³è¯·æå ', icon: "none", duration: 2000 }); uni.navigateBack({ delta: 1 }); } }).finally(()=>{ that.loading =false }) } , chooseMPLoaction(){ var that =this } var that = this var param = this.form; if (this.form.authType == 0) { param.img1 = this.form.img11, param.img2 = this.form.img21 } uni.requestSubscribeMessage({ tmplIds: ['4H9ztG4E9BxJLwMuYSZ6oiM7yb4KX7u7bYhkhYJP0-Y'], success(res) { console.log('æäº¤åæ°ï¼', param) this.$u.api.applyForIdentity(param).then(res => { if (res.code === 200) { uni.showToast({ title: res.message || 'ç³è¯·æå ', icon: "none", duration: 2000 }); uni.navigateBack({ delta: 1 }); } }).finally(() => { that.loading = false }) } }) }, chooseMPLoaction() { var that = this uni.chooseLocation({ success:(res)=> { success: (res) => { console.log(res); this.form.location=res.address this.form.lat=res.latitude this.form.lgt=res.longitude this.form.location = res.address this.form.lat = res.latitude this.form.lgt = res.longitude }, fail:()=>{ fail: () => { // 妿ç¨uni.chooseLocation没æè·åå°å°çä½ç½®ï¼åéè¦è·åå½åçææä¿¡æ¯ï¼å¤ææ¯å¦æå°çææä¿¡æ¯ uni.getSetting({ success: (res) => { console.log(res); var status = res.authSetting; if(!status['scope.userLocation']){ // 妿ææä¿¡æ¯ä¸æ²¡æå°çä½ç½®çææï¼åéè¦å¼¹çªæç¤ºç¨æ·éè¦ææå°çä¿¡æ¯ if (!status['scope.userLocation']) { // 妿ææä¿¡æ¯ä¸æ²¡æå°çä½ç½®çææï¼åéè¦å¼¹çªæç¤ºç¨æ·éè¦ææå°çä¿¡æ¯ uni.showModal({ title:"æ¯å¦ææå½åä½ç½®", content:"éè¦è·åæ¨çå°çä½ç½®ï¼è¯·ç¡®è®¤ææï¼å¦åå°å¾åè½å°æ æ³ä½¿ç¨", success:(tip)=>{ if(tip.confirm){ // å¦æç¨æ·åæææå°çä¿¡æ¯ï¼åæå¼ææè®¾ç½®é¡µé¢ï¼å¤æç¨æ·çæä½ title: "æ¯å¦ææå½åä½ç½®", content: "éè¦è·åæ¨çå°çä½ç½®ï¼è¯·ç¡®è®¤ææï¼å¦åå°å¾åè½å°æ æ³ä½¿ç¨", success: (tip) => { if (tip.confirm) { // å¦æç¨æ·åæææå°çä¿¡æ¯ï¼åæå¼ææè®¾ç½®é¡µé¢ï¼å¤æç¨æ·çæä½ uni.openSetting({ success:(data)=>{ // å¦æç¨æ·ææäºå°çä¿¡æ¯å¨ï¼åæç¤ºæææå if(data.authSetting['scope.userLocation']===true){ success: (data) => { // å¦æç¨æ·ææäºå°çä¿¡æ¯å¨ï¼åæç¤ºæææå if (data .authSetting[ 'scope.userLocation' ] === true ) { uni.showToast({ title:"æææå", icon:"success", duration:1000 title: "æææå", icon: "success", duration: 1000 }) // æææååï¼ç¶å忬¡chooseLocationè·åä¿¡æ¯ uni.chooseLocation({ success: (res) => { console.log("详ç»å°å",res); success: ( res ) => { console .log( "详ç»å°å", res ); // this.getRegionFn(res); } }) }else{ } else { uni.showToast({ title:"ææå¤±è´¥", icon:"none", duration:1000 title: "ææå¤±è´¥", icon: "none", duration: 1000 }) } } @@ -373,90 +422,90 @@ }, fail: (res) => { uni.showToast({ title:"è°ç¨ææçªå£å¤±è´¥", icon:"none", duration:1000 title: "è°ç¨ææçªå£å¤±è´¥", icon: "none", duration: 1000 }) } }) } }) }, uploadImg(index){ var that =this uploadImg(index) { var that = this uni.chooseImage({ count: 1, // é»è®¤9 sizeType: ['original', 'compressed'], sourceType: ['album','camera'],//['album','camera'], mediaType: ['image'],//['image', 'video'], success: function (res1) { const tempFiles = res1.tempFiles //å å«å¾ç大å°çæ°ç» if (tempFiles[0].size > 20*1024*1024) { uni.showToast({ title: 'ä¸ä¼ å¾çä¸è½å¤§äº20M!', duration: 2000, icon: "none" }); return } uni.uploadFile({ url: that.$baseUrl + 'web/public/upload', filePath: res1.tempFilePaths[0], name: 'file', formData: { 'folder': 'identity', 'flag':index }, success:(data)=>{ sourceType: ['album', 'camera'], //['album','camera'], mediaType: ['image'], //['image', 'video'], success: function(res1) { const tempFiles = res1.tempFiles //å å«å¾ç大å°çæ°ç» if (tempFiles[0].size > 20 * 1024 * 1024) { uni.showToast({ title: 'ä¸ä¼ æå', title: 'ä¸ä¼ å¾çä¸è½å¤§äº20M!', duration: 2000, icon: "none" }); const res = JSON.parse(data.data) console.log(res) if(res.data.flag == '11'){ that.form.img11=res.data.imgaddr that.form.img11Full=res.data.url }else if(res.data.flag == '21'){ that.form.img21=res.data.imgaddr that.form.img21Full=res.data.url console.log(21,that.form.img21Full) }else if(res.data.flag == '1'){ that.form.img1=res.data.imgaddr that.form.img1Full=res.data.url }else if(res.data.flag == '2'){ that.form.img2=res.data.imgaddr that.form.img2Full=res.data.url }else if(res.data.flag == '3'){ that.form.img3=res.data.imgaddr that.form.img3Full=res.data.url }else if(res.data.flag == '4'){ that.form.img4=res.data.imgaddr that.form.img4Full=res.data.url } }, fail:(e)=>{ uni.showToast({ title: 'ä¸ä¼ 失败', duration: 2000, icon: "none" }); return } }) uni.uploadFile({ url: that.$baseUrl + 'web/public/upload', filePath: res1.tempFilePaths[0], name: 'file', formData: { 'folder': 'identity', 'flag': index }, success: (data) => { uni.showToast({ title: 'ä¸ä¼ æå', duration: 2000, icon: "none" }); const res = JSON.parse(data.data) console.log(res) if (res.data.flag == '11') { that.form.img11 = res.data.imgaddr that.form.img11Full = res.data.url } else if (res.data.flag == '21') { that.form.img21 = res.data.imgaddr that.form.img21Full = res.data.url console.log(21, that.form.img21Full) } else if (res.data.flag == '1') { that.form.img1 = res.data.imgaddr that.form.img1Full = res.data.url } else if (res.data.flag == '2') { that.form.img2 = res.data.imgaddr that.form.img2Full = res.data.url } else if (res.data.flag == '3') { that.form.img3 = res.data.imgaddr that.form.img3Full = res.data.url } else if (res.data.flag == '4') { that.form.img4 = res.data.imgaddr that.form.img4Full = res.data.url } }, fail: (e) => { uni.showToast({ title: 'ä¸ä¼ 失败', duration: 2000, icon: "none" }); } }) }, fail:function(err){ hideLoading() reject("éæ©æä»¶å¤±è´¥",err) fail: function(err) { hideLoading() reject("éæ©æä»¶å¤±è´¥", err) } }) }, initFormData(){ initFormData() { this.form = { "companyName": "", authType:0, authType: 0, "img1": "", "img2": "", "img11": "", @@ -473,8 +522,8 @@ "lat": null, "lgt": null, "linkName": this.userInfo.name, "location": "", "telephone": this.userInfo.telephone, "location": "", "telephone": this.userInfo.telephone, "type": this.flag } } @@ -491,6 +540,7 @@ <style lang="scss" scoped> .box { width: 100%; .box-head { width: 100%; height: 300rpx; @@ -498,6 +548,7 @@ box-sizing: border-box; background-repeat: no-repeat; background-size: 100% 100%; .box-head-botton { width: 100%; height: 88rpx; @@ -510,24 +561,28 @@ border-radius: 44rpx; margin-top: 30rpx; } .box-head-info { width: 100%; display: flex; flex-direction: column; text { &:nth-child(1) { font-weight: bold; font-size: 48rpx; color: #FFFFFF; } &:nth-child(2) { font-weight: 400; font-size: 26rpx; color: rgba(255,255,255,0.8); color: rgba(255, 255, 255, 0.8); margin-top: 14rpx; } } } .box-head-content { width: 100%; padding: 40rpx 30rpx; @@ -535,14 +590,17 @@ background-color: #FFFFFF; border-radius: 20rpx; margin-top: 30rpx; .item { width: 100%; display: flex; flex-direction: column; margin-bottom: 30rpx; &:last-child { margin: 0 !important; } .item-cate { width: 100%; display: flex; @@ -550,10 +608,12 @@ padding: 30rpx 0; box-sizing: border-box; border-bottom: 1rpx solid #E5E5E5; .active { background: #00BC12 !important; color: #FFFFFF !important; } .item-cate-row { width: 208rpx; height: 72rpx; @@ -562,20 +622,24 @@ background: #EEEEEE; border-radius: 36rpx; margin-right: 20rpx; &:last-child { margin: 0 !important; } } } .item-label { display: flex; align-items: center; text { &:nth-child(1) { font-weight: 500; font-size: 32rpx; color: #222222; } &:nth-child(2) { font-weight: 500; font-size: 32rpx; @@ -583,6 +647,7 @@ } } } .item-upload { width: 100%; padding: 30rpx 0; @@ -591,6 +656,7 @@ align-items: center; justify-content: space-between; flex-wrap: wrap; .item-upload-item { width: 300rpx; border-radius: 10px; @@ -599,30 +665,35 @@ align-items: center; justify-content: content; overflow: hidden; border:1px solid #c2c2c2; border: 1px solid #c2c2c2; image { width: 100%; height: 100%; } } .item-upload-item1 { width: 45%; padding-bottom: 40px; border-radius: 10px; .image { width: 100%; height: 196rpx; background: #F7F7F7; border:1px solid #c2c2c2; border: 1px solid #c2c2c2; border-radius: 16rpx; display: flex; align-items: center; justify-content: center; flex-direction: column; image { width: 48rpx; height: 48rpx; } text { font-weight: 400; font-size: 28rpx; @@ -630,18 +701,21 @@ margin-top: 12rpx; } } .info { width: 100%; display: flex; align-items: center; justify-content: center; margin-top: 16rpx; text { &:nth-child(1) { font-weight: 400; font-size: 26rpx; color: #333333; } &:nth-child(2) { font-weight: 400; font-size: 26rpx; @@ -651,6 +725,7 @@ } } } .item-val { width: 100%; padding: 30rpx 0; @@ -660,17 +735,20 @@ align-items: center; justify-content: space-between; border-bottom: 1rpx solid #E5E5E5; input { width: 100%; font-weight: 400; font-size: 30rpx; color: #222222; } text { font-weight: 400; font-size: 30rpx; color: #666666; } button { width: 100%; height: 100%; @@ -684,4 +762,4 @@ } } } </style> </style> small-program/pages/index/index.vue
@@ -11,14 +11,12 @@ <view class="search" :style="{ top: statusbarHeight + navHeight + 'px' }"> <view class="index-j-cate"> <view class="index-j-cate-item" v-for="(item, index) in searchType" :key="index" @click="clickCate(item.id)"> <text :style="{ color: typeVal === item.id ? '##222222' : '' }">{{item.name}}</text> <text :style="{ color: typeVal === item.id ? '#222222' : '', fontSize: typeVal === item.id ? '36rpx' : '', fontWeight: typeVal === item.id ? '600' : '' }">{{item.name}}</text> <view class="index-j-cate-item-x" v-if="typeVal === item.id"></view> </view> </view> <view class="index-j-search"> <view class="index-j-search-item active">ææ°åå¸</view> <view class="index-j-search-item">è·ç¦»ä¼å </view> <view class="index-j-search-item">ä»·æ ¼ä»é«å°ä½</view> <view :class="sortType === item.id ? 'index-j-search-item active' : 'index-j-search-item'" v-for="(item, index) in sortList" :key="index" @click="clickSort(item.id)">{{item.name}}</view> </view> </view> <view class="index-j-list"> @@ -40,31 +38,43 @@ {{item.categoryName}}ï½{{item.priceNum1}}æ¤ </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 1"> {{item.categoryName}}ï½{{item.priceNum1}}æ¤ {{item.categoryName}}ï½{{item.priceNum1}}人 </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 2"> {{item.categoryName}}ï½{{item.priceNum1}}æ¤ {{item.categoryName}}ï½{{item.priceNum1}}人 </view> <view class="index-list-item-info" v-if="item.type === 1"> {{item.categoryName}}ï½{{item.priceNum1}}æ¤ {{item.transportTypeName}} | {{item.transportNum}}{{item.transportUnit}}ï½ç¨è½¦{{item.priceNum1}}天 </view> <view class="index-list-item-info" v-if="item.type === 2"> {{item.wayInfoCopy}} </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>{{item.location}}</text> <view class="address" v-if="item.type === 1"> <view class="address-xian"></view> <view class="address-row" v-for="(address, i) in item.wayInfo" :key="i"> <image src="/static/icon/ic_qidian@2x.png" mode="widthFix" v-if="i === 0"></image> <image src="/static/icon/ic_jingguo@2x.png" mode="widthFix" v-else-if="i !== 0 && i !== item.wayInfo.length - 1"></image> <image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix" v-else-if="i === item.wayInfo.length - 1"></image> <text>{{item.location}}</text> </view> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>{{item.startDate}} è³ {{item.endDate}}ï¼{{item.priceNum1}}天ï¼</text> </view> <template v-if="[0, 2].includes(item.type)"> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <text>{{item.location}}</text> </view> <view class="index-list-item-dz"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <text>{{item.startDate}} è³ {{item.endDate}}ï¼{{item.priceNum1}}天ï¼</text> </view> </template> <view class="index-list-item-price"> <text>é¢ä¼°ï¼</text> <text>Â¥{{item.estimatedAccount / 100}}</text> </view> <view class="eidt"> <sunui-mverify @change="mverify($event, item.id)"></sunui-mverify> <sunui-mverify @change="getaccept($event, item.id, index)"></sunui-mverify> </view> </view> </view> @@ -311,7 +321,7 @@ export default { components: { sunuiMverify }, computed: { ...mapState(['navHeight', 'statusbarHeight','userInfo','token','openid']), ...mapState(['navHeight', 'statusbarHeight','userInfo','token','openid', 'latitude', 'longitude']), totalPrice() { return this.form.estimatedAccount / 100 } @@ -346,6 +356,11 @@ { name: '忣工', id: 1 }, { name: 'å è£ å·¥', id: 2 } ], sortList: [ { name: 'ææ°åå¸', id: 0 }, { name: 'è·ç¦»ä¼å ', id: 1 }, { name: 'ä»·æ ¼ä»é«å°ä½', id: 2 } ], car: [], btn: require('@/static/image/btn.png'), typeViewId: 0, @@ -375,13 +390,15 @@ estimatedAccount: '', price: '' }, sortType: 0, orderList: [], typeVal: '', page: 1 page: 1, next: true } }, onLoad() { async onLoad() { await this.$onLaunched; this.getCategoryLists() this.getOrderList() this.form.linkPhone = this.userInfo.telephone @@ -389,29 +406,23 @@ watch: { typeId: { handler(news, old) { this.form = { startDate: '', endDate: '', latitude: '', longitude: '', location: '', locationEnd: '', wayInfoDTOList: [], workType: 0, categoryId: '', categoryName: '', days: '', locationRemark: '', supplement: '', multifileList: [], linkName: '', linkPhone: '', estimatedAccount: '', price: '' } this.form.startDate = '' this.form.endDate = '' this.form.latitude = '' this.form.longitude = '' this.form.location = '' this.form.locationEnd = '' this.form.wayInfoDTOList = '' this.form.workType = '' this.form.days = '' this.form.locationRemark = '' this.form.supplement = '' this.form.multifileList = [] this.form.linkName = '' this.form.estimatedAccount = '' this.form.price = '' this.viewStatus = false this.carImage = '' this.carRemark = '' } }, orderFood: { @@ -440,21 +451,49 @@ } } }, onReachBottom() { this.getOrderList() }, methods: { // æå¨æ¥å getaccept(e, orderId, index) { this.$u.api.accept({ orderId }) .then(res => { uni.showToast({ title: 'æ¢åæåï¼', icon: 'success', duration: 2000 }) setTimeout(() => { this.page = 1 this.next = true this.orderList = [] this.getOrderList() }, 2000) }) }, clickSort(id) { this.sortType = id this.page = 1 this.next = true this.orderList = [] this.getOrderList() }, clickCate(id) { this.typeVal = id this.page = 1 this.list = [] this.next = true this.orderList = [] this.getOrderList() }, // 订åå页 getOrderList() { if (!this.next) return; this.$u.api.orderPage({ capacity: 10, page: this.page, model: { queryMyOrderType: 2, type: this.typeVal type: this.typeVal, sortType: this.sortType, queryLat: this.latitude, queryLgt: this.longitude } }).then(res => { res.data.records.forEach(item => { @@ -463,10 +502,16 @@ item.wayInfoCopy = JSON.parse(item.wayInfo).map(item => { return `${item.name}${item.price / 100}å (${item.num}份)` }).join(' | ') // è¿è´§ } else if (item.type === 1) { item.wayInfo = JSON.parse(item.wayInfo) } }) console.log(res.data.records) this.orderList = [...this.orderList, ...res.data.records] if (this.orderList.length === res.data.total) { this.next = false } }) }, // æäº¤è®¢å @@ -604,6 +649,12 @@ }, clickType(e) { this.typeId = e if (e === 2) { this.form.categoryId = this.car[0].id this.form.categoryName = this.car[0].name this.carRemark = this.car[0].remark this.carImage = this.car[0].iconFull } }, clickTypeWork(e) { this.form.workType = e @@ -681,9 +732,6 @@ url: `/pages/freight/freight` }) } }, mverify(e, id){ console.log('éªè¯ç»æ:', e, id); }, // éæ©å¥é¤ selectMenu(a, b) { small-program/pages/mine/mine.vue
@@ -260,6 +260,7 @@ console.log(222,res) if(res.code ===200){ that.userInfo.useIdentity = param.useIdentity uni.$emit('refresh') } }).finally(() => { that.changing1 = false small-program/store/index.js
@@ -16,7 +16,10 @@ statusbarHeight: statusbarHeight || '', userInfo: userInfo || {}, token: token || '', openid:token || '' openid: token || '', latitude: '', longitude: '' }, mutations: { // è®¾ç½®å¯¼èªæ é«åº¦ @@ -41,6 +44,12 @@ state.userInfo = val uni.setStorageSync('userInfo', val); }, // 设置ç»çº¬åº¦ setPosition(state, obj) { console.log(obj) state.latitude = obj.latitude state.longitude = obj.longitude }, // æ¸ é¤ç¼åæ°æ® empty(state) { state.userInfo = '' small-program/unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/components/sunui-mverify/sunui-mverify.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/components/t-index-address/components/t-index-address/t-index-address.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-button/u-button.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-calendar/header.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-calendar/month.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-calendar/u-calendar.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-icon/u-icon.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-line/u-line.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-modal/u-modal.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-overlay/u-overlay.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-parse/node/node.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-parse/u-parse.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-picker/u-picker.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-rate/u-rate.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-status-bar/u-status-bar.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-switch/u-switch.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-textarea/u-textarea.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-toolbar/u-toolbar.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-transition/u-transition.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/balance-details/balance-details.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/catering-certification/catering-certification.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/certification-results/certification-results.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/certification-successful/certification-successful.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/demand-hall/demand-hall.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/employment-certification/employment-certification.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/freight-certification/freight-certification.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/freight-order/freight-order.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/freight/freight.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mine.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/order-details/order-details.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/order-food/order-food.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/packaging-worker/packaging-worker.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/rich-text-page/rich-text-page.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/seleCity/seleCity.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/set-up/set-up.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/sorting/sorting.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/success/success.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/using-workers/using-workers.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/withdrawal-successful/withdrawal-successful.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/withdrawal/withdrawal.js.map
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/common/vendor.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/components/sunui-mverify/sunui-mverify.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/components/t-index-address/components/t-index-address/t-index-address.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u--textarea/u--textarea.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-button/u-button.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-calendar/header.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-calendar/month.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-calendar/u-calendar.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-calendar/u-calendar.json
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-icon/u-icon.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-line/u-line.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-modal/u-modal.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-overlay/u-overlay.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-picker/u-picker.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-rate/u-rate.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-status-bar/u-status-bar.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-switch/u-switch.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-textarea/u-textarea.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-toolbar/u-toolbar.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-transition/u-transition.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/balance-details/balance-details.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/freight/freight.wxml
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/freight/freight.wxss
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/index/index.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/index/index.json
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/index/index.wxml
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/index/index.wxss
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/login/login.wxml
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/mine/mine.wxss
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/packaging-worker/packaging-worker.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/packaging-worker/packaging-worker.json
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/packaging-worker/packaging-worker.wxml
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/packaging-worker/packaging-worker.wxss
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/rich-text-page/rich-text-page.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/rich-text-page/rich-text-page.json
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/set-up/set-up.wxss
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/sorting/sorting.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/sorting/sorting.json
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/sorting/sorting.wxml
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/sorting/sorting.wxss
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/using-workers/using-workers.js
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/using-workers/using-workers.json
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/using-workers/using-workers.wxml
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/pages/using-workers/using-workers.wxss
ÎļþÒÑɾ³ý small-program/unpackage/dist/dev/mp-weixin/project.config.json
ÎļþÒÑɾ³ý small-program/utils/http.interceptor.js
@@ -13,7 +13,7 @@ // ååºæ¦æªå¨ uni.$u.http.interceptors.response.use((response) => { console.log(response.data) // console.log(response.data) if (response.data.code === 5113) { uni.switchTab({ url: '/pages/index/index'