更新
This commit is contained in:
commit
ad77103366
2
App.vue
2
App.vue
@ -149,7 +149,7 @@
|
|||||||
that.getConfigData()
|
that.getConfigData()
|
||||||
|
|
||||||
//#ifdef APP-PLUS
|
//#ifdef APP-PLUS
|
||||||
|
this.checknetwork()
|
||||||
|
|
||||||
jpushModule.setLoggerEnable(true);
|
jpushModule.setLoggerEnable(true);
|
||||||
jpushModule.initJPushService()
|
jpushModule.initJPushService()
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
<view class="site-box flex_a_c_j_sb">
|
<view class="site-box flex_a_c_j_sb">
|
||||||
|
|
||||||
<view class="place_wrapper flex_a_c" @click="selectLocation">
|
<!-- <view class="place_wrapper flex_a_c" @click="selectLocation">
|
||||||
<view class="iconfont icon-weizhi"></view>
|
<view class="iconfont icon-weizhi"></view>
|
||||||
<view class="town_name">{{street}}</view>
|
<view class="town_name">{{street}}</view>
|
||||||
</view>
|
</view>
|
||||||
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none">
|
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none">
|
||||||
<view class="iconfont icon-xiaoxi" style="color:#fff;"></view>
|
<view class="iconfont icon-xiaoxi" style="color:#fff;"></view>
|
||||||
</navigator>
|
</navigator> -->
|
||||||
</view>
|
</view>
|
||||||
<!-- 搜索栏 -->
|
<!-- 搜索栏 -->
|
||||||
<navigator url="/pages/columnGoods/goods_search/index" hover-class="none" class="search_content flex_a_c_j_sb">
|
<navigator url="/pages/columnGoods/goods_search/index" hover-class="none" class="search_content flex_a_c_j_sb">
|
||||||
@ -51,9 +51,7 @@
|
|||||||
getIndexData,
|
getIndexData,
|
||||||
getDiy
|
getDiy
|
||||||
} from '@/api/api.js'
|
} from '@/api/api.js'
|
||||||
import {
|
|
||||||
getGeocoder
|
|
||||||
} from '@/api/store.js';
|
|
||||||
import {
|
import {
|
||||||
mapGetters
|
mapGetters
|
||||||
} from 'vuex'
|
} from 'vuex'
|
||||||
@ -115,11 +113,17 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
||||||
this.$bus.$on('value-updated', (newValue) => {
|
this.$bus.$on('value-updated', (newValue) => {
|
||||||
// 更新组件的值
|
// 更新组件的值
|
||||||
this.street = newValue.split(',')[0]
|
this.street = newValue.split(',')[0]
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
this.getBanner()
|
||||||
|
this.Area()
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
swiperClick(item) {
|
swiperClick(item) {
|
||||||
@ -130,11 +134,9 @@
|
|||||||
},
|
},
|
||||||
selectLocation() {
|
selectLocation() {
|
||||||
this.isSelectPlace ? this.showPicker = true : ''
|
this.isSelectPlace ? this.showPicker = true : ''
|
||||||
console.log(this.columnData)
|
|
||||||
},
|
},
|
||||||
|
|
||||||
confirm(e) {
|
confirm(e) {
|
||||||
|
|
||||||
this.showPicker = false
|
this.showPicker = false
|
||||||
this.$emit('selectPlce', e)
|
this.$emit('selectPlce', e)
|
||||||
this.$emit('change', e)
|
this.$emit('change', e)
|
||||||
@ -266,7 +268,7 @@
|
|||||||
height: 66.67rpx;
|
height: 66.67rpx;
|
||||||
margin-bottom: 26.32rpx;
|
margin-bottom: 26.32rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 9999;
|
z-index: 0;
|
||||||
|
|
||||||
|
|
||||||
// 位置
|
// 位置
|
||||||
|
@ -9,8 +9,8 @@ let httpApiThree
|
|||||||
// 网络接口修改此字符 小程序域名要求https
|
// 网络接口修改此字符 小程序域名要求https
|
||||||
// let httpApi = 'http://192.168.31.110:8324' // 测试
|
// let httpApi = 'http://192.168.31.110:8324' // 测试
|
||||||
if (process.env.NODE_ENV === "development") {
|
if (process.env.NODE_ENV === "development") {
|
||||||
// httpApi = 'https://shop.lihaink.cn' // 生产
|
httpApi = 'https://shop.lihaink.cn' // 生产
|
||||||
httpApi = "https://crmeb-test.shop.lihaink.cn"
|
// httpApi = "https://crmeb-test.shop.lihaink.cn"
|
||||||
// httpApi = "http://192.168.0.222"
|
// httpApi = "http://192.168.0.222"
|
||||||
// httpApi = "http://192.168.0.108:8325"
|
// httpApi = "http://192.168.0.108:8325"
|
||||||
// httpApi = 'http://192.168.0.108:8325'
|
// httpApi = 'http://192.168.0.108:8325'
|
||||||
@ -25,6 +25,7 @@ if (process.env.NODE_ENV === "development") {
|
|||||||
// #endif
|
// #endif
|
||||||
} else if (process.env.NODE_ENV === 'production') {
|
} else if (process.env.NODE_ENV === 'production') {
|
||||||
httpApi = 'https://shop.lihaink.cn' // 生产
|
httpApi = 'https://shop.lihaink.cn' // 生产
|
||||||
|
|
||||||
// httpApi = "https://crmeb-test.shop.lihaink.cn"
|
// httpApi = "https://crmeb-test.shop.lihaink.cn"
|
||||||
httpApiTwo = 'https://nk.lihaink.cn' // 生产
|
httpApiTwo = 'https://nk.lihaink.cn' // 生产
|
||||||
httpApiThree = 'http://ceshi-oa.lihaink.cn' //生产
|
httpApiThree = 'http://ceshi-oa.lihaink.cn' //生产
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "惠农生活",
|
"name" : "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.3.6",
|
"versionName" : "1.3.8",
|
||||||
"versionCode" : 136,
|
"versionCode" : 138,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -1617,7 +1617,7 @@
|
|||||||
"pagePath": "pages/gather/gather",
|
"pagePath": "pages/gather/gather",
|
||||||
"iconPath": "static/tabbar_icon/b.png",
|
"iconPath": "static/tabbar_icon/b.png",
|
||||||
"selectedIconPath": "static/tabbar_icon/b-a.png",
|
"selectedIconPath": "static/tabbar_icon/b-a.png",
|
||||||
"text": "工作台"
|
"text": "生产"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/plant_release/index",
|
"pagePath": "pages/plant_release/index",
|
||||||
@ -1631,7 +1631,7 @@
|
|||||||
|
|
||||||
"iconPath": "static/tabbar_icon/d.png",
|
"iconPath": "static/tabbar_icon/d.png",
|
||||||
"selectedIconPath": "static/tabbar_icon/d-a.png",
|
"selectedIconPath": "static/tabbar_icon/d-a.png",
|
||||||
"text": "供应"
|
"text": "供销"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/user/index",
|
"pagePath": "pages/user/index",
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="gather">
|
<view class="gather">
|
||||||
<view @click="selectLocation" v-if="isFshow">
|
|
||||||
|
|
||||||
<view v-if="isFshow">
|
<view v-if="isFshow">
|
||||||
<view class="site-box flex_a_c_j_sb" :style="{ 'opacity': backColor,}">
|
<view class="site-box flex_a_c_j_sb" :style="{ 'opacity': backColor,}" @click="selectLocation">
|
||||||
<view :class="['place_wrapper', 'flex_a_c', isFshow ? 'sitebox' : '']" @click="selectLocation">
|
<view :class="['place_wrapper', 'flex_a_c', isFshow ? 'sitebox' : '']" @click="selectLocation">
|
||||||
<view :class="['iconfont', 'icon-weizhi', isFshow ? 'sitebox' : '']"
|
<view :class="['iconfont', 'icon-weizhi', isFshow ? 'sitebox' : '']" style=" margin-left: 20rpx">
|
||||||
style=" margin-left: 20rpx">
|
|
||||||
</view>
|
</view>
|
||||||
<view class="town_name">{{ street }}</view>
|
<view class="town_name">{{ street }}</view>
|
||||||
</view>
|
</view>
|
||||||
@ -14,19 +13,22 @@
|
|||||||
<view :class="['iconfont', 'icon-xiaoxi', isFshow ? 'sitebox' : '']"></view>
|
<view :class="['iconfont', 'icon-xiaoxi', isFshow ? 'sitebox' : '']"></view>
|
||||||
</navigator>
|
</navigator>
|
||||||
</view>
|
</view>
|
||||||
<!--<view class="site-box ','flex_a_c_j_sb'" v-if="ishshow">
|
|
||||||
<view class="bg-img">
|
|
||||||
<img :src="bgColor" alt="">
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
|
||||||
<!-- <view class="site-box ','flex_a_c_j_sb'" v-if="ishshow">
|
|
||||||
<view class="bg-img">
|
|
||||||
<img :src="bgColor" alt="">
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
<view class="" v-if="!isFshow">
|
||||||
|
<view class="site-box1 flex_a_c_j_sb">
|
||||||
|
|
||||||
|
<view class="place_wrapper flex_a_c" @click="selectLocation">
|
||||||
|
<view class="iconfont icon-weizhi"></view>
|
||||||
|
<view class="town_name">{{street}}</view>
|
||||||
|
</view>
|
||||||
|
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none">
|
||||||
|
<view class="iconfont icon-xiaoxi" style="color:#fff;"> </view>
|
||||||
|
</navigator>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<zbpSwiper :isSelectPlace="true" :location_Arr="locationArr" :town="street" @kkchange="kkchange"></zbpSwiper>
|
<zbpSwiper :isSelectPlace="true" :location_Arr="locationArr" :town="street" @kkchange="kkchange"></zbpSwiper>
|
||||||
<u-empty :show="jurisdiction" mode="permission" :text="emptyText"
|
<u-empty :show="jurisdiction" mode="permission" :text="emptyText"
|
||||||
@ -311,7 +313,7 @@
|
|||||||
},
|
},
|
||||||
// 编辑完成
|
// 编辑完成
|
||||||
editComfirm() {
|
editComfirm() {
|
||||||
this.editFlag = false;
|
this.editFlag = false;
|
||||||
uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList));
|
uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList));
|
||||||
},
|
},
|
||||||
getUniMp(appid) {
|
getUniMp(appid) {
|
||||||
@ -462,7 +464,37 @@ this.editFlag = false;
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.site-box1 {
|
||||||
|
width: 706rpx;
|
||||||
|
/* #ifdef MP || APP-PLUS */
|
||||||
|
height: 160rpx;
|
||||||
|
/* #endif */
|
||||||
|
/* #ifdef H5 */
|
||||||
|
height: 120rpx;
|
||||||
|
/* #endif */
|
||||||
|
margin-bottom: 26.32rpx;
|
||||||
|
position: absolute;
|
||||||
|
top: 45rpx;
|
||||||
|
left: 20rpx;
|
||||||
|
|
||||||
|
z-index: 999;
|
||||||
|
// 位置
|
||||||
|
.place_wrapper {
|
||||||
|
color: #fff;
|
||||||
|
margin-right: 0rpx;
|
||||||
|
|
||||||
|
font-size: 30rpx;
|
||||||
|
|
||||||
|
.town_name {
|
||||||
|
margin-left: 21rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconfont {
|
||||||
|
font-size: 35.09rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
.site-box {
|
.site-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/* #ifdef MP || APP-PLUS */
|
/* #ifdef MP || APP-PLUS */
|
||||||
|
@ -19,6 +19,18 @@
|
|||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
<view class="" v-if="!isFshow">
|
||||||
|
<view class="site-box1 flex_a_c_j_sb">
|
||||||
|
|
||||||
|
<view class="place_wrapper flex_a_c" @click="selectLocation">
|
||||||
|
<view class="iconfont icon-weizhi"></view>
|
||||||
|
<view class="town_name">{{street}}</view>
|
||||||
|
</view>
|
||||||
|
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none" >
|
||||||
|
<view class="iconfont icon-xiaoxi" style="color:#fff;"> </view>
|
||||||
|
</navigator>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<zbpSwiper ref="list" :isSelectPlace="true" :town="street" :show="show" :location_Arr="locationArr"
|
<zbpSwiper ref="list" :isSelectPlace="true" :town="street" :show="show" :location_Arr="locationArr"
|
||||||
@ -186,37 +198,9 @@
|
|||||||
scrollTop: 0,
|
scrollTop: 0,
|
||||||
show: true,
|
show: true,
|
||||||
userid: '',
|
userid: '',
|
||||||
current:0
|
current: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
|
||||||
|
|
||||||
|
|
||||||
//监听网络状态变化
|
|
||||||
uni.onNetworkStatusChange((res) => {
|
|
||||||
//当前是否有网络连接 返回true或者false
|
|
||||||
if (res.isConnected) {
|
|
||||||
this.getCateList()
|
|
||||||
this.getGoods()
|
|
||||||
this.Area()
|
|
||||||
uni.$on('connectstatusChange', (connectstatus) => {
|
|
||||||
var connectstr = ''
|
|
||||||
if (connectstatus == true) {
|
|
||||||
connectstr = '已连接'
|
|
||||||
this.getRegistrationID()
|
|
||||||
} else {
|
|
||||||
connectstr = '未连接'
|
|
||||||
}
|
|
||||||
this.connectstatus = connectStr
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
this.getCateList()
|
this.getCateList()
|
||||||
@ -237,21 +221,14 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onTabItemTap(e) {
|
onTabItemTap(e) {
|
||||||
|
|
||||||
uni.pageScrollTo({
|
uni.pageScrollTo({
|
||||||
selector: ".Circle_friends",
|
selector: ".Circle_friends",
|
||||||
scrollTop: 0
|
scrollTop: 0
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
this.getGoods(true)
|
|
||||||
|
|
||||||
uni.pageScrollTo({
|
|
||||||
selector: ".Circle_friends",
|
|
||||||
scrollTop: 0
|
|
||||||
})
|
|
||||||
uni.setTabBarItem({
|
uni.setTabBarItem({
|
||||||
index: 0,
|
index: 0,
|
||||||
text: "泸州",
|
text: "泸州",
|
||||||
@ -263,19 +240,18 @@
|
|||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|
||||||
|
|
||||||
if (this.productList.length > 0) {
|
if (this.productList.length > 0) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.getGoods(false);
|
this.getGoods(false);
|
||||||
}, 1000)
|
}, 1000)
|
||||||
} else {
|
|
||||||
this.get_host_product();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getUserInfo()
|
this.getUserInfo()
|
||||||
|
|
||||||
|
|
||||||
this.selfLocation()
|
this.selfLocation()
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
// 监听页面滚动事件
|
// 监听页面滚动事件
|
||||||
@ -431,8 +407,6 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
tabsChange1(item) {
|
tabsChange1(item) {
|
||||||
|
|
||||||
this.getArticleList(item.article_category_id)
|
this.getArticleList(item.article_category_id)
|
||||||
@ -615,7 +589,7 @@
|
|||||||
this.current = item.index
|
this.current = item.index
|
||||||
|
|
||||||
},
|
},
|
||||||
tabsChange2(item,index) {
|
tabsChange2(item, index) {
|
||||||
// console.log(item,index)
|
// console.log(item,index)
|
||||||
|
|
||||||
this.productList = []
|
this.productList = []
|
||||||
@ -641,6 +615,7 @@
|
|||||||
type: 'wgs84',
|
type: 'wgs84',
|
||||||
timeout: '1000',
|
timeout: '1000',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
|
|
||||||
this.isshow = false
|
this.isshow = false
|
||||||
let latitude, longitude;
|
let latitude, longitude;
|
||||||
latitude = res.latitude.toString();
|
latitude = res.latitude.toString();
|
||||||
@ -895,6 +870,38 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-box1 {
|
||||||
|
width: 706rpx;
|
||||||
|
/* #ifdef MP || APP-PLUS */
|
||||||
|
height: 160rpx;
|
||||||
|
/* #endif */
|
||||||
|
/* #ifdef H5 */
|
||||||
|
height: 120rpx;
|
||||||
|
/* #endif */
|
||||||
|
margin-bottom: 26.32rpx;
|
||||||
|
position: absolute;
|
||||||
|
top: 45rpx;
|
||||||
|
left: 20rpx;
|
||||||
|
|
||||||
|
z-index: 999;
|
||||||
|
// 位置
|
||||||
|
.place_wrapper {
|
||||||
|
color: #fff;
|
||||||
|
margin-right: 0rpx;
|
||||||
|
|
||||||
|
font-size: 30rpx;
|
||||||
|
|
||||||
|
.town_name {
|
||||||
|
margin-left: 21rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconfont {
|
||||||
|
font-size: 35.09rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.site-box {
|
.site-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/* #ifdef MP || APP-PLUS */
|
/* #ifdef MP || APP-PLUS */
|
||||||
|
@ -148,7 +148,7 @@
|
|||||||
<view class="empty" v-if='showLoading'>
|
<view class="empty" v-if='showLoading'>
|
||||||
<u-loading-icon v-if='showLoading' text="加载中" textSize="18"></u-loading-icon>
|
<u-loading-icon v-if='showLoading' text="加载中" textSize="18"></u-loading-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="goods" @click="godDetail(item)" v-else v-for="item,index in goodsList">
|
<view class="goods" @click="goodDetail(item)" v-else v-for="item,index in goodsList">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<u--image :showLoading="true" :src="item.image" width="192.76rpx"
|
<u--image :showLoading="true" :src="item.image" width="192.76rpx"
|
||||||
height="192.76rpx"></u--image>
|
height="192.76rpx"></u--image>
|
||||||
@ -737,7 +737,7 @@
|
|||||||
this.goodsNum = res.data[0].count
|
this.goodsNum = res.data[0].count
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
godDetail(item) {
|
goodDetail(item) {
|
||||||
goShopDetail(item, this.uid).then(res => {
|
goShopDetail(item, this.uid).then(res => {
|
||||||
if (this.isLogin) {
|
if (this.isLogin) {
|
||||||
initiateAssistApi(item.activity_id).then(res => {
|
initiateAssistApi(item.activity_id).then(res => {
|
||||||
@ -1415,91 +1415,91 @@
|
|||||||
height: 35rpx;
|
height: 35rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cloud_entrepot {
|
// .cloud_entrepot {
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/ycbg.png") no-repeat;
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/ycbg.png") no-repeat;
|
||||||
background-size: cover;
|
// background-size: cover;
|
||||||
padding-bottom: 92.98rpx;
|
// padding-bottom: 92.98rpx;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.head-wrapper {
|
// .head-wrapper {
|
||||||
height: 485.96rpx;
|
// height: 485.96rpx;
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/top.png") no-repeat;
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/top.png") no-repeat;
|
||||||
background-size: cover;
|
// background-size: cover;
|
||||||
margin-bottom: 49.12rpx;
|
// margin-bottom: 49.12rpx;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.town-title {
|
// .town-title {
|
||||||
margin: 0 auto;
|
// margin: 0 auto;
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
text-align: center;
|
// text-align: center;
|
||||||
font-size: 50.88rpx;
|
// font-size: 50.88rpx;
|
||||||
color: #fff;
|
// color: #fff;
|
||||||
margin-bottom: 28.07rpx;
|
// margin-bottom: 28.07rpx;
|
||||||
|
|
||||||
&::after {
|
// &::after {
|
||||||
content: '';
|
// content: '';
|
||||||
display: inline-block;
|
// display: inline-block;
|
||||||
width: 66.67rpx;
|
// width: 66.67rpx;
|
||||||
height: 31.58rpx;
|
// height: 31.58rpx;
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/you.png") no-repeat;
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/you.png") no-repeat;
|
||||||
background-size: cover;
|
// background-size: cover;
|
||||||
margin-left: 24.56rpx;
|
// margin-left: 24.56rpx;
|
||||||
}
|
// }
|
||||||
|
|
||||||
&::before {
|
// &::before {
|
||||||
content: '';
|
// content: '';
|
||||||
display: inline-block;
|
// display: inline-block;
|
||||||
width: 66.67rpx;
|
// width: 66.67rpx;
|
||||||
height: 31.58rpx;
|
// height: 31.58rpx;
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/zuo.png") no-repeat;
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/zuo.png") no-repeat;
|
||||||
background-size: cover;
|
// background-size: cover;
|
||||||
margin-right: 24.56rpx;
|
// margin-right: 24.56rpx;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
.body-wrapper {
|
// .body-wrapper {
|
||||||
width: 694.74rpx;
|
// width: 694.74rpx;
|
||||||
display: flex;
|
// display: flex;
|
||||||
justify-content: space-between;
|
// justify-content: space-between;
|
||||||
flex-wrap: wrap;
|
// flex-wrap: wrap;
|
||||||
margin: 0 auto;
|
// margin: 0 auto;
|
||||||
|
|
||||||
.item {
|
// .item {
|
||||||
width: 336.84rpx;
|
// width: 336.84rpx;
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
padding: 24.56rpx 28.07rpx;
|
// padding: 24.56rpx 28.07rpx;
|
||||||
margin-bottom: 21.05rpx;
|
// margin-bottom: 21.05rpx;
|
||||||
background-repeat: no-repeat;
|
// background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
// background-size: 100% 100%;
|
||||||
box-sizing: border-box;
|
// box-sizing: border-box;
|
||||||
|
|
||||||
text {
|
// text {
|
||||||
display: block;
|
// display: block;
|
||||||
font-size: 24.56rpx;
|
// font-size: 24.56rpx;
|
||||||
color: #999;
|
// color: #999;
|
||||||
margin-bottom: 14.04rpx;
|
// margin-bottom: 14.04rpx;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.item-title {
|
// .item-title {
|
||||||
font-size: 31.58rpx;
|
// font-size: 31.58rpx;
|
||||||
color: #333;
|
// color: #333;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.chakan-btn {
|
// .chakan-btn {
|
||||||
width: 114.04rpx;
|
// width: 114.04rpx;
|
||||||
height: 49.12rpx;
|
// height: 49.12rpx;
|
||||||
font-size: 28.07rpx;
|
// font-size: 28.07rpx;
|
||||||
text-align: center;
|
// text-align: center;
|
||||||
line-height: 49.12rpx;
|
// line-height: 49.12rpx;
|
||||||
color: #fff;
|
// color: #fff;
|
||||||
margin-top: auto;
|
// margin-top: auto;
|
||||||
background: linear-gradient(90deg, #FE5300 0%, #F84221 100%);
|
// background: linear-gradient(90deg, #FE5300 0%, #F84221 100%);
|
||||||
border-radius: 50px;
|
// border-radius: 50px;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
.empty {
|
.empty {
|
||||||
// display: flex;
|
// display: flex;
|
||||||
|
@ -745,7 +745,7 @@
|
|||||||
height: 51rpx;
|
height: 51rpx;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
|
|
||||||
margin-top: 20rpx;
|
margin-top: 10rpx;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -931,8 +931,8 @@
|
|||||||
|
|
||||||
.picture,
|
.picture,
|
||||||
uni-image {
|
uni-image {
|
||||||
width: 78rpx;
|
width: 70rpx;
|
||||||
height: 78rpx;
|
height: 70rpx;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,7 +137,8 @@
|
|||||||
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao" v-if="credit_buy"></i>开启先货后款:</view>
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao" v-if="credit_buy"></i>开启先货后款:</view>
|
||||||
<u-switch v-model="credit_buy" @change="change"></u-switch>
|
<u-switch v-model="credit_buy" @change="change"></u-switch>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="item_cell flex_a_c" v-if="credit_buy">
|
|
||||||
|
<!-- <view class="item_cell flex_a_c" v-if="credit_buy">
|
||||||
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算周期:</view>
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算周期:</view>
|
||||||
<input type="number" v-model="settle_cycle" placeholder="请输入 /周期单位为:天">
|
<input type="number" v-model="settle_cycle" placeholder="请输入 /周期单位为:天">
|
||||||
</view>
|
</view>
|
||||||
@ -145,7 +146,7 @@
|
|||||||
<view class="item_cell flex_a_c" v-if="credit_buy">
|
<view class="item_cell flex_a_c" v-if="credit_buy">
|
||||||
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算利率:</view>
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算利率:</view>
|
||||||
<input type="number" maxlength="5" v-model="interest_rate" placeholder="请输入 /利率单位为: %">
|
<input type="number" maxlength="5" v-model="interest_rate" placeholder="请输入 /利率单位为: %">
|
||||||
</view>
|
</view> -->
|
||||||
<!-- <view class="remarks">*利率结算范围为:0.01 ~ 0.1 利率单位为:%</view> -->
|
<!-- <view class="remarks">*利率结算范围为:0.01 ~ 0.1 利率单位为:%</view> -->
|
||||||
<!-- <view class="item_cell">
|
<!-- <view class="item_cell">
|
||||||
<view class="if_btn flex_a_c_j_sb">
|
<view class="if_btn flex_a_c_j_sb">
|
||||||
|
@ -113,7 +113,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="muau-header" v-if='index==num'
|
<view class="muau-header" v-if='index==num'
|
||||||
style="position: absolute; top: 40rpx; right: 0px;">
|
style="position: absolute; top: 60rpx; right: 0px;">
|
||||||
<view class="muau" v-for='(kk,i) in options'
|
<view class="muau" v-for='(kk,i) in options'
|
||||||
@click='menuAction(kk, item.attrValue,item,index)'>
|
@click='menuAction(kk, item.attrValue,item,index)'>
|
||||||
<view class="">
|
<view class="">
|
||||||
@ -169,6 +169,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="shuru" v-if="this.on_line == 1">
|
<view class="shuru" v-if="this.on_line == 1">
|
||||||
数量: <input type="number" v-model="data.number" placeholder="请输入">
|
数量: <input type="number" v-model="data.number" placeholder="请输入">
|
||||||
</view>
|
</view>
|
||||||
|
@ -226,7 +226,7 @@
|
|||||||
<text class="count">{{item.relevance.length}}</text>
|
<text class="count">{{item.relevance.length}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="showManage == item.author.uid" class="manage">
|
<view v-if="showManage == item.author.uid || showManage " class="manage" :style="{'margin-top':item.relevance.length>0?'-115rpx':'0px'}">
|
||||||
<view class="manage-gou"></view>
|
<view class="manage-gou"></view>
|
||||||
<navigator hover-class="none"
|
<navigator hover-class="none"
|
||||||
:url="'/pages/plantGrass/plant_release/index?id='+item.community_id+'&type=2'"
|
:url="'/pages/plantGrass/plant_release/index?id='+item.community_id+'&type=2'"
|
||||||
@ -309,15 +309,15 @@
|
|||||||
</view>
|
</view>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
<!-- 他提到的宝贝弹窗 -->
|
<!-- 他提到的宝贝弹窗 -->
|
||||||
<uni-popup type="bottom" ref="pinglunMentioned">
|
<uni-popup type="bottom" ref="pinglunMentioned" style="background-color: rebeccapurple;">
|
||||||
<view
|
|
||||||
:style="'width: '+ windowWidth +'px;background-color: #F5F5F5; border-top-left-radius: 10px; border-top-right-radius: 10px;'">
|
|
||||||
<mentioned ref="mentioned" @close="closePopup" :list="moreList" :uid="authorUid"></mentioned>
|
<mentioned ref="mentioned" @close="closePopup" :list="moreList" :uid="authorUid" ></mentioned>
|
||||||
</view>
|
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
|
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
|
||||||
<view class="fixed-head">
|
<view class="fixed-head">
|
||||||
<view class="sys-head" :style="{height:statusBarHeight}"></view>
|
<!-- <view class="sys-head" :style="{height:statusBarHeight}"></view> -->
|
||||||
<view class="tool-bar" @click='goBack()'>
|
<view class="tool-bar" @click='goBack()'>
|
||||||
<image class="icon-xiangzuo" src="../static/img/index/icon-back.png"></image>
|
<image class="icon-xiangzuo" src="../static/img/index/icon-back.png"></image>
|
||||||
</view>
|
</view>
|
||||||
@ -640,10 +640,16 @@
|
|||||||
content: '确定要删除该话题么?',
|
content: '确定要删除该话题么?',
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
console.log(item.community_id)
|
|
||||||
deletePlantApi(item.community_id).then(res => {
|
deletePlantApi(item.community_id).then(res => {
|
||||||
console.log(res)
|
|
||||||
|
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
|
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1,
|
||||||
|
})
|
||||||
|
|
||||||
that.$util.Tips({
|
that.$util.Tips({
|
||||||
title: res.message
|
title: res.message
|
||||||
});
|
});
|
||||||
@ -1107,6 +1113,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
// .video-list{
|
// .video-list{
|
||||||
// padding: 200rpx 28.07rpx 0 28.07rpx;
|
// padding: 200rpx 28.07rpx 0 28.07rpx;
|
||||||
// display: flex;
|
// display: flex;
|
||||||
@ -1126,6 +1133,7 @@
|
|||||||
/* #ifdef MP */
|
/* #ifdef MP */
|
||||||
padding-top: 200rpx;
|
padding-top: 200rpx;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
|
|
||||||
// background-color: #000000;
|
// background-color: #000000;
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
|
|
||||||
@ -1251,12 +1259,16 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.icon-xiangzuo {
|
.icon-xiangzuo {
|
||||||
|
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
padding-right: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@ -1311,7 +1323,7 @@
|
|||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 30rpx;
|
left: 30rpx;
|
||||||
background: #000;
|
// background: #000;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
top: 150rpx;
|
top: 150rpx;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
@ -1726,7 +1738,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.root {
|
.root {
|
||||||
background-color: #000000;
|
// background-color: #000000;
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -451,9 +451,10 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
// align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 15rpx 30rpx;
|
padding: 30rpx 60rpx;
|
||||||
|
padding-bottom: 100rpx;
|
||||||
border-top: 1rpx solid #F5F5F5;
|
border-top: 1rpx solid #F5F5F5;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
width:750rpx;
|
width:750rpx;
|
||||||
@ -466,7 +467,7 @@
|
|||||||
width: 480rpx;
|
width: 480rpx;
|
||||||
background: #F7F7F7;
|
background: #F7F7F7;
|
||||||
border-radius: 31rpx;
|
border-radius: 31rpx;
|
||||||
padding: 12rpx 30rpx;
|
padding: 15rpx 30rpx;
|
||||||
}
|
}
|
||||||
.send{
|
.send{
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
|
@ -96,11 +96,12 @@
|
|||||||
width: 750rpx;
|
width: 750rpx;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border-radius: 16rpx 16rpx 0 0;
|
border-radius: 16rpx 16rpx 0 0;
|
||||||
|
|
||||||
.header{
|
.header{
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 40rpx 30rpx;
|
padding: 40rpx 30rpx;
|
||||||
.title{
|
.title{
|
||||||
color: #282828;
|
// color: #282828;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
.closeBnt{
|
.closeBnt{
|
||||||
@ -158,12 +159,12 @@
|
|||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
.sm{
|
.sm{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #E93323;
|
color: #FF6D20;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
}
|
}
|
||||||
.text{
|
.text{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #E93323;
|
color: #FF6D20;
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -175,7 +176,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #E93323;
|
background: #FF6D20;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,13 +19,7 @@
|
|||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
|
||||||
<view class="acea-row row-middle">
|
|
||||||
<text class="item-name">用户姓名</text>
|
|
||||||
<input type="text" placeholder="请输入姓名" v-model="merchantData.user_name" @input="validateBtn"
|
|
||||||
placeholder-class='placeholder' />
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">联系电话</text>
|
<text class="item-name">联系电话</text>
|
||||||
@ -102,6 +96,53 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<view class="uni-list">
|
||||||
|
<view class="uni-list-cell">
|
||||||
|
<view class="uni-list-cell-db acea-row row-middle">
|
||||||
|
<text class="item-name businessBox">详细地址</text>
|
||||||
|
<input type="text" maxlength="30" placeholder="请输入详细地址"
|
||||||
|
v-model="merchantData.address" @input="validateBtn"
|
||||||
|
placeholder-class='placeholder' />
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<view class="uni-list">
|
||||||
|
<view class="uni-list-cell">
|
||||||
|
<view class="uni-list-cell-db acea-row row-middle">
|
||||||
|
<text class="item-name businessBox">公司名称</text>
|
||||||
|
<input type="text" maxlength="30" placeholder="请输入公司名称"
|
||||||
|
v-model="merchantData.company_name" @input="validateBtn"
|
||||||
|
placeholder-class='placeholder' />
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<view class="acea-row row-middle">
|
||||||
|
<text class="item-name">法人名称</text>
|
||||||
|
<input type="text" placeholder="请输入法人名称" v-model="merchantData.user_name" @input="validateBtn"
|
||||||
|
placeholder-class='placeholder' />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<view class="uni-list">
|
||||||
|
<view class="uni-list-cell">
|
||||||
|
<view class="uni-list-cell-db acea-row row-middle">
|
||||||
|
<text class="item-name businessBox">社会信用代码</text>
|
||||||
|
<input type="text" maxlength="30" placeholder="请输入社会信用代码"
|
||||||
|
v-model="merchantData.social_credit_code" @input="validateBtn"
|
||||||
|
placeholder-class='placeholder' />
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- <view class="item">
|
<!-- <view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">是否农贸市场</text>
|
<text class="item-name">是否农贸市场</text>
|
||||||
@ -230,7 +271,10 @@
|
|||||||
enterprise_name: "",
|
enterprise_name: "",
|
||||||
user_name: "",
|
user_name: "",
|
||||||
phone: "",
|
phone: "",
|
||||||
classification: ''
|
classification: '',
|
||||||
|
social_credit_code: '',
|
||||||
|
company_name: '',
|
||||||
|
address: ''
|
||||||
},
|
},
|
||||||
validate: false,
|
validate: false,
|
||||||
successful: false,
|
successful: false,
|
||||||
@ -374,12 +418,16 @@
|
|||||||
this.merchantData.enterprise_name = resData.mer_name
|
this.merchantData.enterprise_name = resData.mer_name
|
||||||
this.merchantData.user_name = resData.name
|
this.merchantData.user_name = resData.name
|
||||||
this.merchantData.phone = resData.phone
|
this.merchantData.phone = resData.phone
|
||||||
|
this.merchantData.social_credit_code = resData.social_credit_code
|
||||||
|
this.merchantData.company_name = resData.company_name
|
||||||
|
this.merchantData.address = resData.address
|
||||||
this.merchantData.classification = resData.merchant_category_id
|
this.merchantData.classification = resData.merchant_category_id
|
||||||
this.merchantData.mer_type = resData.mer_type_id
|
this.merchantData.mer_type = resData.mer_type_id
|
||||||
this.area_id=resData.area_id
|
this.area_id = resData.area_id
|
||||||
this.street_id=resData.street_id
|
this.street_id = resData.street_id
|
||||||
this.mer_storeType=resData.mer_storeType
|
this.mer_storeType = resData.mer_storeType
|
||||||
this.village_id=resData.village_id
|
this.village_id = resData.village_id
|
||||||
|
|
||||||
})
|
})
|
||||||
this.pics = resData.images
|
this.pics = resData.images
|
||||||
this.mer_classification = this.getCategoryName(resData.merchant_category_id, this.array)
|
this.mer_classification = this.getCategoryName(resData.merchant_category_id, this.array)
|
||||||
@ -594,9 +642,12 @@
|
|||||||
mer_name: that.merchantData.enterprise_name,
|
mer_name: that.merchantData.enterprise_name,
|
||||||
name: that.merchantData.user_name,
|
name: that.merchantData.user_name,
|
||||||
code: that.merchantData.yanzhengma,
|
code: that.merchantData.yanzhengma,
|
||||||
|
company_name:that.merchantData.company_name,
|
||||||
|
address:that.merchantData.address,
|
||||||
|
social_credit_code: that.merchantData.social_credit_code,
|
||||||
merchant_category_id: that.merchantData.classification,
|
merchant_category_id: that.merchantData.classification,
|
||||||
mer_type_id: that.merchantData.mer_type,
|
mer_type_id: that.merchantData.mer_type,
|
||||||
mer_storeType:this.mer_storeType,
|
mer_storeType: this.mer_storeType,
|
||||||
area_id: this.area_id,
|
area_id: this.area_id,
|
||||||
street_id: this.street_id,
|
street_id: this.street_id,
|
||||||
village_id: this.village_id,
|
village_id: this.village_id,
|
||||||
@ -666,6 +717,15 @@
|
|||||||
if (!value.enterprise_name) return that.$util.Tips({
|
if (!value.enterprise_name) return that.$util.Tips({
|
||||||
title: '请输入企业名称'
|
title: '请输入企业名称'
|
||||||
});
|
});
|
||||||
|
if (!value.social_credit_code) return that.$util.Tips({
|
||||||
|
title: '请输入统一社会信用代码'
|
||||||
|
});
|
||||||
|
if (!value.company_name) return that.$util.Tips({
|
||||||
|
title: '请输入公司名称'
|
||||||
|
});
|
||||||
|
if (!value.address) return that.$util.Tips({
|
||||||
|
title: '请输入详细地址'
|
||||||
|
});
|
||||||
if (!value.user_name) return that.$util.Tips({
|
if (!value.user_name) return that.$util.Tips({
|
||||||
title: '请输入姓名'
|
title: '请输入姓名'
|
||||||
});
|
});
|
||||||
@ -681,11 +741,11 @@
|
|||||||
if (!value.classification) return that.$util.Tips({
|
if (!value.classification) return that.$util.Tips({
|
||||||
title: '请选择商户分类'
|
title: '请选择商户分类'
|
||||||
});
|
});
|
||||||
if(!this.mer_storeType) return that.$util.Tips({
|
if (!this.mer_storeType) return that.$util.Tips({
|
||||||
title:'请选择商户类型'
|
title: '请选择商户类型'
|
||||||
})
|
})
|
||||||
if(!this.business_name) return that.$util.Tips({
|
if (!this.business_name) return that.$util.Tips({
|
||||||
title:'请选择店铺所在地'
|
title: '请选择店铺所在地'
|
||||||
})
|
})
|
||||||
if (!that.isAgree) return that.$util.Tips({
|
if (!that.isAgree) return that.$util.Tips({
|
||||||
title: '请勾选并同意入驻协议'
|
title: '请勾选并同意入驻协议'
|
||||||
@ -709,6 +769,7 @@
|
|||||||
if (!this.merchantData.phone) return this.$util.Tips({
|
if (!this.merchantData.phone) return this.$util.Tips({
|
||||||
title: '请输入手机号'
|
title: '请输入手机号'
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.merchantData.phone)) return this.$util.Tips({
|
if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.merchantData.phone)) return this.$util.Tips({
|
||||||
title: '请输入正确的手机号码'
|
title: '请输入正确的手机号码'
|
||||||
});
|
});
|
||||||
|
@ -17,6 +17,18 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view class="" v-if="!isFshow">
|
||||||
|
<view class="site-box1 flex_a_c_j_sb">
|
||||||
|
|
||||||
|
<view class="place_wrapper flex_a_c" @click="selectLocation">
|
||||||
|
<view class="iconfont icon-weizhi"></view>
|
||||||
|
<view class="town_name">{{street}}</view>
|
||||||
|
</view>
|
||||||
|
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none">
|
||||||
|
<view class="iconfont icon-xiaoxi" style="color:#fff;"> </view>
|
||||||
|
</navigator>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<zbpSwiper :isSelectPlace="true" :town="street" :streetname="street" :location_Arr="locationArr"
|
<zbpSwiper :isSelectPlace="true" :town="street" :streetname="street" :location_Arr="locationArr"
|
||||||
@change="dchange">
|
@change="dchange">
|
||||||
@ -574,6 +586,39 @@
|
|||||||
// background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F6 100%);
|
// background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F6 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-box1 {
|
||||||
|
width: 706rpx;
|
||||||
|
/* #ifdef MP || APP-PLUS */
|
||||||
|
height: 160rpx;
|
||||||
|
/* #endif */
|
||||||
|
/* #ifdef H5 */
|
||||||
|
height: 120rpx;
|
||||||
|
/* #endif */
|
||||||
|
margin-bottom: 26.32rpx;
|
||||||
|
position: absolute;
|
||||||
|
top: 45rpx;
|
||||||
|
left: 20rpx;
|
||||||
|
|
||||||
|
z-index: 9999 !important;
|
||||||
|
|
||||||
|
// 位置
|
||||||
|
.place_wrapper {
|
||||||
|
color: #fff;
|
||||||
|
margin-right: 0rpx;
|
||||||
|
|
||||||
|
font-size: 30rpx;
|
||||||
|
|
||||||
|
.town_name {
|
||||||
|
margin-left: 21rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconfont {
|
||||||
|
font-size: 35.09rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.location {
|
.location {
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
width: 680rpx;
|
width: 680rpx;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
<div :style="viewColor">
|
<div :style="viewColor">
|
||||||
<div class="register absolute" v-if="!auth_token">
|
<div class="register absolute" v-if="!auth_token">
|
||||||
<div class="login">
|
<div class="login">
|
||||||
<div class="shading">
|
<div class="shading" >
|
||||||
<div class="pictrue acea-row row-center-wrapper">
|
<div class="pictrue acea-row row-center-wrapper" style="background-color: transparent !important;">
|
||||||
<image :src="login_logo" v-if="login_logo" />
|
<image src="@/static/images/logo1.png" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="whiteBg" v-if="formItem === 1">
|
<div class="whiteBg" v-if="formItem === 1">
|
||||||
|
@ -103,13 +103,13 @@
|
|||||||
<text class='iconfont icon-you'></text>
|
<text class='iconfont icon-you'></text>
|
||||||
</navigator>
|
</navigator>
|
||||||
</view>
|
</view>
|
||||||
<view class='item acea-row row-between-wrapper'>
|
<!-- <view class='item acea-row row-between-wrapper'>
|
||||||
<view>注销账号</view>
|
<view>注销账号</view>
|
||||||
<view class='input acea-row row-between-wrapper' @click="changeCancel">
|
<view class='input acea-row row-between-wrapper' @click="changeCancel">
|
||||||
<input type='text' placeholder="账号注销后不能恢复" disabled='true' class='id'></input>
|
<input type='text' placeholder="账号注销后不能恢复" disabled='true' class='id'></input>
|
||||||
<text class='iconfont icon-you'></text>
|
<text class='iconfont icon-you'></text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<!--#ifdef APP-PLUS-->
|
<!--#ifdef APP-PLUS-->
|
||||||
<view class='item acea-row row-between-wrapper'>
|
<view class='item acea-row row-between-wrapper'>
|
||||||
<view>当前版本</view>
|
<view>当前版本</view>
|
||||||
|
BIN
static/images/fx.png
Normal file
BIN
static/images/fx.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
static/images/logo1.png
Normal file
BIN
static/images/logo1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
@ -117,19 +117,32 @@ const actions = {
|
|||||||
} else {
|
} else {
|
||||||
apptype = 1
|
apptype = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
Appversion({
|
Appversion({
|
||||||
version: os.appWgtVersion,
|
version: os.appWgtVersion,
|
||||||
type: apptype
|
type: apptype,
|
||||||
|
phone_brand: os.brand
|
||||||
|
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
|
||||||
if (Object.keys(res.data.appInfo).length > 0) {
|
if (Object.keys(res.data.appInfo).length > 0) {
|
||||||
|
|
||||||
|
|
||||||
// if(res.data.appInfo.version) uni.showLoading({
|
// if(res.data.appInfo.version) uni.showLoading({
|
||||||
// title: '检查更新中'
|
// title: '检查更新中'
|
||||||
// })
|
// })
|
||||||
|
|
||||||
|
if (res.data.appInfo.phone_brand.length > 0) {
|
||||||
|
if (plus.os.name == "Android") {
|
||||||
|
// 跳转安卓应用市场
|
||||||
|
let appurl = res.data.appInfo.dow_url //这个是通用应用市场,如果想指定某个应用商店,需要单独查这个应用商店的包名或scheme及参数
|
||||||
|
plus.runtime.openURL(appurl)
|
||||||
|
} else {
|
||||||
|
// 跳转AppStore
|
||||||
|
plus.runtime.launchApplication({
|
||||||
|
action: res.data.appInfo.dow_url,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
|
||||||
// 版本更新
|
// 版本更新
|
||||||
if (compareVersions(res.data.appInfo.version, os.appWgtVersion || wgt_v) == 1 &&
|
if (compareVersions(res.data.appInfo.version, os.appWgtVersion || wgt_v) == 1 &&
|
||||||
compareVersions(res.data.appInfo.version,
|
compareVersions(res.data.appInfo.version,
|
||||||
@ -150,6 +163,7 @@ const actions = {
|
|||||||
}
|
}
|
||||||
// uni.hideLoading();
|
// uni.hideLoading();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user