Commit fca464173f364363bd418779ca0a8e373212baca
1 parent
b52e6713
sdg
Showing
7 changed files
with
19 additions
and
19 deletions
uniapp-wuduhuajiao/common/config/config.js
| @@ -14,8 +14,8 @@ | @@ -14,8 +14,8 @@ | ||
| 14 | export default { | 14 | export default { |
| 15 | appurl_chaoge: 'http://huajiao.t1j2.com/api', | 15 | appurl_chaoge: 'http://huajiao.t1j2.com/api', |
| 16 | socketurl: 'ws://huajiao.t1j2.com/api/message/websocket', //如果是ws:// 地址为ws://你服务器IP:7272 如 ws://123.4.56.78:7272,使用wss 后面不需要添加 :7272 端口 | 16 | socketurl: 'ws://huajiao.t1j2.com/api/message/websocket', //如果是ws:// 地址为ws://你服务器IP:7272 如 ws://123.4.56.78:7272,使用wss 后面不需要添加 :7272 端口 |
| 17 | - cdnurl: 'http://t1.sherkxuan.cn', | ||
| 18 | - appurl: 'http://t1.sherkxuan.cn/api', //如二级域名:https://api.wanlshop.com 或不使用二级域名 https://www.wanlshop.com/api | 17 | + cdnurl: 'http://app.xn--43vp3ce98aj8m.com', |
| 18 | + appurl: 'http://app.xn--43vp3ce98aj8m.com/api', //如二级域名:https://api.wanlshop.com 或不使用二级域名 https://www.wanlshop.com/api | ||
| 19 | amapkey: '0a9f67a6f8f7cc3315d30846a0fde88b', | 19 | amapkey: '0a9f67a6f8f7cc3315d30846a0fde88b', |
| 20 | appid: 'wx6****************7a', // 公众号appid | 20 | appid: 'wx6****************7a', // 公众号appid |
| 21 | versionName: '1.1.3', | 21 | versionName: '1.1.3', |
uniapp-wuduhuajiao/pages/collect/components/list1.vue
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <view class="list1 flex justify-content-between" v-for="(item,index) of arr" :key="index"> | 3 | <view class="list1 flex justify-content-between" v-for="(item,index) of arr" :key="index"> |
| 4 | <view class=" flex"> | 4 | <view class=" flex"> |
| 5 | <view style="position: relative;"> | 5 | <view style="position: relative;"> |
| 6 | - <image :src="'http://t1.sherkxuan.cn/'+item.shop.avatar" | 6 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.shop.avatar" |
| 7 | style="width: 140rpx;border-radius: 15rpx;height: 100%;" mode="aspectFill"></image> | 7 | style="width: 140rpx;border-radius: 15rpx;height: 100%;" mode="aspectFill"></image> |
| 8 | <image src="../../../static/home/shou2.png" class="postion1" mode="widthFix" @click="change(item)"></image> | 8 | <image src="../../../static/home/shou2.png" class="postion1" mode="widthFix" @click="change(item)"></image> |
| 9 | <!-- <image :src="item.is_follow?'../../../static/home/shou2.png':'../../../static/home/shou1.png'" class="postion1" mode="widthFix"></image> --> | 9 | <!-- <image :src="item.is_follow?'../../../static/home/shou2.png':'../../../static/home/shou1.png'" class="postion1" mode="widthFix"></image> --> |
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | 17 | ||
| 18 | <view class="flex "> | 18 | <view class="flex "> |
| 19 | <view style="position: relative;margin-right: 20rpx;" v-if="item.shop.user.cz"> | 19 | <view style="position: relative;margin-right: 20rpx;" v-if="item.shop.user.cz"> |
| 20 | - <image :src="'http://t1.sherkxuan.cn/'+item.shop.user.cz.image" class="img" mode="aspectFill"> | 20 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.shop.user.cz.image" class="img" mode="aspectFill"> |
| 21 | </image> | 21 | </image> |
| 22 | <view class="postion"> | 22 | <view class="postion"> |
| 23 | <image src="/static/home/shi.png" mode="widthFix"></image> | 23 | <image src="/static/home/shi.png" mode="widthFix"></image> |
| @@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
| 25 | </view> | 25 | </view> |
| 26 | </view> | 26 | </view> |
| 27 | <view style="position: relative;margin-right: 20rpx;" v-if="item.shop.user.sz"> | 27 | <view style="position: relative;margin-right: 20rpx;" v-if="item.shop.user.sz"> |
| 28 | - <image :src="'http://t1.sherkxuan.cn/'+item.shop.user.sz.image" class="img" mode="aspectFill"> | 28 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.shop.user.sz.image" class="img" mode="aspectFill"> |
| 29 | </image> | 29 | </image> |
| 30 | <view class="postion"> | 30 | <view class="postion"> |
| 31 | <image src="/static/home/shi.png" mode="widthFix"></image> | 31 | <image src="/static/home/shi.png" mode="widthFix"></image> |
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | </view> | 33 | </view> |
| 34 | </view> | 34 | </view> |
| 35 | <view style="position: relative;margin-right: 20rpx;" v-if="item.shop.user.cm"> | 35 | <view style="position: relative;margin-right: 20rpx;" v-if="item.shop.user.cm"> |
| 36 | - <image :src="'http://t1.sherkxuan.cn/'+item.shop.user.cm.image" class="img" mode="aspectFill"> | 36 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.shop.user.cm.image" class="img" mode="aspectFill"> |
| 37 | </image> | 37 | </image> |
| 38 | <view class="postion"> | 38 | <view class="postion"> |
| 39 | <image src="/static/home/shi.png" mode="widthFix"></image> | 39 | <image src="/static/home/shi.png" mode="widthFix"></image> |
uniapp-wuduhuajiao/pages/shop1/index.vue
| @@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
| 26 | <view class="flex"> | 26 | <view class="flex"> |
| 27 | <view class="new_list" v-for="(item,index) of JinList" :key="index" @click="goNavT(item.id)"> | 27 | <view class="new_list" v-for="(item,index) of JinList" :key="index" @click="goNavT(item.id)"> |
| 28 | <view style="width: 100%;height: 180rpx;"> | 28 | <view style="width: 100%;height: 180rpx;"> |
| 29 | - <image :src="'http://t1.sherkxuan.cn'+item.image" mode="aspectFill"></image> | 29 | + <image :src="'http://app.xn--43vp3ce98aj8m.com'+item.image" mode="aspectFill"></image> |
| 30 | </view> | 30 | </view> |
| 31 | <view style="padding: 10rpx 10rpx 20rpx;"> | 31 | <view style="padding: 10rpx 10rpx 20rpx;"> |
| 32 | <view class="name nowap">{{item.title}}</view> | 32 | <view class="name nowap">{{item.title}}</view> |
| @@ -68,7 +68,7 @@ | @@ -68,7 +68,7 @@ | ||
| 68 | <view class="flex flex-wrap justify-content-between" style="margin-bottom: 120rpx;"> | 68 | <view class="flex flex-wrap justify-content-between" style="margin-bottom: 120rpx;"> |
| 69 | <view class="new_list " v-for="(item,index) of Message" style="margin-top: 20rpx;width: 48%;margin-right: 0;" @click="goNavT(item.id)"> | 69 | <view class="new_list " v-for="(item,index) of Message" style="margin-top: 20rpx;width: 48%;margin-right: 0;" @click="goNavT(item.id)"> |
| 70 | <view style="width: 100%;height: 180rpx;" > | 70 | <view style="width: 100%;height: 180rpx;" > |
| 71 | - <image :src="'http://t1.sherkxuan.cn'+item.image" mode="aspectFill"></image> | 71 | + <image :src="'http://app.xn--43vp3ce98aj8m.com'+item.image" mode="aspectFill"></image> |
| 72 | </view> | 72 | </view> |
| 73 | <view style="padding: 10rpx 10rpx 20rpx;"> | 73 | <view style="padding: 10rpx 10rpx 20rpx;"> |
| 74 | <view class="name nowap">{{item.title}}</view> | 74 | <view class="name nowap">{{item.title}}</view> |
uniapp-wuduhuajiao/pages/wanl-home/components/list1.vue
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <view class="list1 flex justify-content-between" v-for="(item,index) of shopList" :key="index"> | 3 | <view class="list1 flex justify-content-between" v-for="(item,index) of shopList" :key="index"> |
| 4 | <view class=" flex"> | 4 | <view class=" flex"> |
| 5 | <view style="position: relative;"> | 5 | <view style="position: relative;"> |
| 6 | - <image :src="'http://t1.sherkxuan.cn/'+item.avatar" | 6 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.avatar" |
| 7 | style="width: 140rpx;border-radius: 15rpx;height: 100%;" mode="aspectFill"></image> | 7 | style="width: 140rpx;border-radius: 15rpx;height: 100%;" mode="aspectFill"></image> |
| 8 | <!-- <image src="../../../static/home/shou1.png" v-if="!item.is_follow" class="postion1" mode="widthFix"></image> --> | 8 | <!-- <image src="../../../static/home/shou1.png" v-if="!item.is_follow" class="postion1" mode="widthFix"></image> --> |
| 9 | <image :src="item.is_follow?'../../../static/home/shou2.png':'../../../static/home/shou1.png'" | 9 | <image :src="item.is_follow?'../../../static/home/shou2.png':'../../../static/home/shou1.png'" |
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | 18 | ||
| 19 | <view class="flex "> | 19 | <view class="flex "> |
| 20 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cz"> | 20 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cz"> |
| 21 | - <image :src="'http://t1.sherkxuan.cn/'+item.user.cz.image" class="img" mode="aspectFill"> | 21 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.user.cz.image" class="img" mode="aspectFill"> |
| 22 | </image> | 22 | </image> |
| 23 | <view class="postion"> | 23 | <view class="postion"> |
| 24 | <image src="/static/home/shi.png" mode="widthFix"></image> | 24 | <image src="/static/home/shi.png" mode="widthFix"></image> |
| @@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
| 26 | </view> | 26 | </view> |
| 27 | </view> | 27 | </view> |
| 28 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.sz"> | 28 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.sz"> |
| 29 | - <image :src="'http://t1.sherkxuan.cn/'+item.user.sz.image" class="img" mode="aspectFill"> | 29 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.user.sz.image" class="img" mode="aspectFill"> |
| 30 | </image> | 30 | </image> |
| 31 | <view class="postion"> | 31 | <view class="postion"> |
| 32 | <image src="/static/home/shi.png" mode="widthFix"></image> | 32 | <image src="/static/home/shi.png" mode="widthFix"></image> |
| @@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
| 34 | </view> | 34 | </view> |
| 35 | </view> | 35 | </view> |
| 36 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cm"> | 36 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cm"> |
| 37 | - <image :src="'http://t1.sherkxuan.cn/'+item.user.cm.image" class="img" mode="aspectFill"> | 37 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.user.cm.image" class="img" mode="aspectFill"> |
| 38 | </image> | 38 | </image> |
| 39 | <view class="postion"> | 39 | <view class="postion"> |
| 40 | <image src="/static/home/shi.png" mode="widthFix"></image> | 40 | <image src="/static/home/shi.png" mode="widthFix"></image> |
uniapp-wuduhuajiao/pages/wanl-home/detail.vue
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <view class="top flex flex-wrap justify-content-between"> | 3 | <view class="top flex flex-wrap justify-content-between"> |
| 4 | <view class="top-list " v-for="(item,index) of info.category" :key="index" @click="goNavT(item.id)"> | 4 | <view class="top-list " v-for="(item,index) of info.category" :key="index" @click="goNavT(item.id)"> |
| 5 | <view class="img"> | 5 | <view class="img"> |
| 6 | - <image :src="'http://t1.sherkxuan.cn/'+item.image" v-if="item.image" mode="aspectFill"></image> | 6 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.image" v-if="item.image" mode="aspectFill"></image> |
| 7 | </view> | 7 | </view> |
| 8 | <view style="padding: 15rpx;"> | 8 | <view style="padding: 15rpx;"> |
| 9 | <view style="font-size: 28rpx;font-weight: bold;" class="title"> | 9 | <view style="font-size: 28rpx;font-weight: bold;" class="title"> |
| @@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
| 25 | <view class="flex justify-content-between list_user" v-for="(item,index) of info.user"> | 25 | <view class="flex justify-content-between list_user" v-for="(item,index) of info.user"> |
| 26 | <view class="flex" style="align-items: center;"> | 26 | <view class="flex" style="align-items: center;"> |
| 27 | <view style="width: 120rpx;"> | 27 | <view style="width: 120rpx;"> |
| 28 | - <image :src="'http://t1.sherkxuan.cn/'+item.image" style="width: 100%;" mode="widthFix"></image> | 28 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.image" style="width: 100%;" mode="widthFix"></image> |
| 29 | </view> | 29 | </view> |
| 30 | <view style="color: #A8A8A8;font-size: 26rpx;margin-left: 20rpx;max-width: 180rpx;" class="title">{{item.name}}</view> | 30 | <view style="color: #A8A8A8;font-size: 26rpx;margin-left: 20rpx;max-width: 180rpx;" class="title">{{item.name}}</view> |
| 31 | <view v-if="item.type==1" class="type">村长</view> | 31 | <view v-if="item.type==1" class="type">村长</view> |
uniapp-wuduhuajiao/pages/wanl-home/supply.vue
| @@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
| 36 | <view class="list1 flex justify-content-between" v-for="item of shopList" :key="index" > | 36 | <view class="list1 flex justify-content-between" v-for="item of shopList" :key="index" > |
| 37 | <view class=" flex"> | 37 | <view class=" flex"> |
| 38 | <view style="position: relative;"> | 38 | <view style="position: relative;"> |
| 39 | - <image :src="'http://t1.sherkxuan.cn/'+item.avatar" | 39 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.avatar" |
| 40 | style="width: 140rpx;border-radius: 15rpx;height: 100%;" mode="aspectFill"></image> | 40 | style="width: 140rpx;border-radius: 15rpx;height: 100%;" mode="aspectFill"></image> |
| 41 | <!-- <image src=".../../static/home/shou1.png" class="postion1" mode="widthFix"></image> --> | 41 | <!-- <image src=".../../static/home/shou1.png" class="postion1" mode="widthFix"></image> --> |
| 42 | <image :src="item.is_follow?'../../static/home/shou2.png':'../../static/home/shou1.png'" @click="change(item)" class="postion1" mode="widthFix"></image> | 42 | <image :src="item.is_follow?'../../static/home/shou2.png':'../../static/home/shou1.png'" @click="change(item)" class="postion1" mode="widthFix"></image> |
| @@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
| 50 | 50 | ||
| 51 | <view class="flex "> | 51 | <view class="flex "> |
| 52 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cz"> | 52 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cz"> |
| 53 | - <image :src="'http://t1.sherkxuan.cn/'+item.user.cz.image" class="img" mode="aspectFill"> | 53 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.user.cz.image" class="img" mode="aspectFill"> |
| 54 | </image> | 54 | </image> |
| 55 | <view class="postion"> | 55 | <view class="postion"> |
| 56 | <image src="/static/home/shi.png" mode="widthFix"></image> | 56 | <image src="/static/home/shi.png" mode="widthFix"></image> |
| @@ -58,7 +58,7 @@ | @@ -58,7 +58,7 @@ | ||
| 58 | </view> | 58 | </view> |
| 59 | </view> | 59 | </view> |
| 60 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.sz"> | 60 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.sz"> |
| 61 | - <image :src="'http://t1.sherkxuan.cn/'+item.user.sz.image" class="img" mode="aspectFill"> | 61 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.user.sz.image" class="img" mode="aspectFill"> |
| 62 | </image> | 62 | </image> |
| 63 | <view class="postion"> | 63 | <view class="postion"> |
| 64 | <image src="/static/home/shi.png" mode="widthFix"></image> | 64 | <image src="/static/home/shi.png" mode="widthFix"></image> |
| @@ -66,7 +66,7 @@ | @@ -66,7 +66,7 @@ | ||
| 66 | </view> | 66 | </view> |
| 67 | </view> | 67 | </view> |
| 68 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cm"> | 68 | <view style="position: relative;margin-right: 20rpx;" v-if="item.user.cm"> |
| 69 | - <image :src="'http://t1.sherkxuan.cn/'+item.user.cm.image" class="img" mode="aspectFill"> | 69 | + <image :src="'http://app.xn--43vp3ce98aj8m.com/'+item.user.cm.image" class="img" mode="aspectFill"> |
| 70 | </image> | 70 | </image> |
| 71 | <view class="postion"> | 71 | <view class="postion"> |
| 72 | <image src="/static/home/shi.png" mode="widthFix"></image> | 72 | <image src="/static/home/shi.png" mode="widthFix"></image> |
uniapp-wuduhuajiao/service/request.js
| @@ -11,7 +11,7 @@ const del = function(url, data, noApiBase) { | @@ -11,7 +11,7 @@ const del = function(url, data, noApiBase) { | ||
| 11 | return request(url, 'DELETE', data, noApiBase); | 11 | return request(url, 'DELETE', data, noApiBase); |
| 12 | } | 12 | } |
| 13 | const request = function(url, method, data, noApiBase) { | 13 | const request = function(url, method, data, noApiBase) { |
| 14 | - url = 'http://t1.sherkxuan.cn' + '/api' + url; | 14 | + url = 'http://app.xn--43vp3ce98aj8m.com' + '/api' + url; |
| 15 | return new Promise((resolve, reject) => { | 15 | return new Promise((resolve, reject) => { |
| 16 | uni.request({ | 16 | uni.request({ |
| 17 | url, | 17 | url, |