This commit is contained in:
weipengfei 2024-02-24 16:17:07 +08:00
commit 5a77ed2a77
371 changed files with 6393 additions and 1922 deletions

56
App.vue
View File

@ -139,7 +139,8 @@
if (/^(\/@[1-9]{1}).*\*\//.test(res.data)) {
that.$store.commit("PARSE_PWD", res.data)
}
},fail: function (res) {
},
fail: function(res) {
//
}
})
@ -158,12 +159,13 @@
//   }
let pwd = (Date.now()).toString()
uni.setStorageSync('uuid', pwd)
  return pwd;
return pwd;
},
setOpenShare: function(data) {
let that = this;
let href = location.href;
href = href.indexOf("?") === -1 ? href + "?spid=" + this.globalData.uid : href + "&spid=" + this.globalData.uid;
href = href.indexOf("?") === -1 ? href + "?spid=" + this.globalData.uid : href + "&spid=" + this
.globalData.uid;
if (that.$wechat.isWeixin()) {
let configAppMessage = {
desc: data.share_info,
@ -171,7 +173,8 @@
link: href,
imgUrl: data.share_pic
};
that.$wechat.wechatEvevt(["updateAppMessageShareData", "updateTimelineShareData"], configAppMessage);
that.$wechat.wechatEvevt(["updateAppMessageShareData", "updateTimelineShareData"],
configAppMessage);
}
},
//
@ -247,20 +250,25 @@
}
</script>
<style lang="scss">
@import "uview-ui/index.scss";
/* #ifndef APP-PLUS-NVUE || APP-NVUE */
@import "@/plugin/animate/animate.min.css";
@import 'static/css/base.css';
@import 'static/iconfont/iconfont.css';
@import 'static/css/style.scss';
.bg-color-red {
background-color: #e93323 !important;
}
.syspadding {
padding-top: var(--status-bar-height);
}
.flex {
display: flex;
}
.uni-scroll-view::-webkit-scrollbar {
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
display: none
@ -271,62 +279,86 @@
height: 0;
color: transparent;
}
::-moz-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.empty-txt {
line-height: 100rpx;
font-size: 22rpx;
color: #999;
text-align: center;
}
.product-con .conter img {
display: block;
}
.open-location {
height: 100vh;
}
uni-tabbar {
bottom: 0;
}
/*#endif*/
//
.circular {
/deep/.uni-swiper-dot,/deep/.wx-swiper-dot {
/deep/.uni-swiper-dot,
/deep/.wx-swiper-dot {
width: 10rpx;
height: 10rpx;
background: rgba(0, 0, 0, .4);
}
/deep/.uni-swiper-dot-active,/deep/.wx-swiper-dot-active {
/deep/.uni-swiper-dot-active,
/deep/.wx-swiper-dot-active {
background: #fff;
}
}
//
.square {
/deep/.uni-swiper-dot,/deep/.wx-swiper-dot {
/deep/.uni-swiper-dot,
/deep/.wx-swiper-dot {
width: 20rpx;
height: 5rpx;
border-radius: 3rpx;
background: rgba(0, 0, 0, .4);
}
/deep/.uni-swiper-dot-active,/deep/.wx-swiper-dot-active {
/deep/.uni-swiper-dot-active,
/deep/.wx-swiper-dot-active {
background: #fff;
}
}
.nodoc {
/deep/.uni-swiper-dot,/deep/.wx-swiper-dot {
/deep/.uni-swiper-dot,
/deep/.wx-swiper-dot {
display: none;
}
}
/deep/.swiper.dot0 .uni-swiper-dots,/deep/.swiper.dot0 .wx-swiper-dots{
/deep/.swiper.dot0 .uni-swiper-dots,
/deep/.swiper.dot0 .wx-swiper-dots {
left: 130rpx;
}
/deep/.swiper.dot1 .uni-swiper-dots,/deep/.swiper.dot1 .wx-swiper-dots{
/deep/.swiper.dot1 .uni-swiper-dots,
/deep/.swiper.dot1 .wx-swiper-dots {
left: 50%;
}
/deep/.swiper.dot2 .uni-swiper-dots,/deep/.swiper.dot2 .wx-swiper-dots{
/deep/.swiper.dot2 .uni-swiper-dots,
/deep/.swiper.dot2 .wx-swiper-dots {
right: 130rpx;
}
</style>

View File

@ -2,7 +2,7 @@
"version" : "1",
"prompt" : "template",
"title" : "服务协议与隐私政策",
"message" : "\t <br/>\r\r
"message" : "\t <br/>\r\r\r
\t <a href=\"https://请修改为自己的域名/register.html\">《用户协议》</a> 与 <a href=\"https://请修改为自己的域名/protocol.html\">《隐私政策》</a>了解详细信息。如你同意,请点击“我同意”开始接受我们的服务。",
"buttonAccept" : "同意并接受",
"buttonRefuse" : "暂不同意",

26
api/article.js Normal file
View File

@ -0,0 +1,26 @@
// import request from "@/utils/request.js";
import request from "@/utils/request.js";
// import http from "@/utils/http.js";
// export const postShopInfo = (params, config = {}) => request.post('/edcapi/Shop_shopDeatil', params, config)
// // get请求获取菜单注意get请求的配置等都在第二个参数中详见前面解释
/**
*
*/
export const getArea = (data) => request.get('city/get_area', data, {
noAuth: true
})
export const getStreet = (data) => request.get('city/get_street', data, {
noAuth: true
})
export const getVillage = (data) => request.get('city/get_village', data, {
noAuth: true
})
export const getbrigadeAPI = (data) => request.get('common/get_brigade', data, {
noAuth: true
})
export const postBindingAPI = (data) => request.post('Userinfo/Binding', data, {
noAuth: true,
noVerify: true
})

View File

@ -47,7 +47,7 @@ export function toLogin(push, pathLogin) {
}
// #endif
if (!pathLogin)
pathLogin = '/page/users/login/index'
pathLogin = '/page/users/login/login_copy'
Cache.set('login_back_url', path);
// #ifdef H5
if (isWeixin()) {
@ -57,15 +57,15 @@ export function toLogin(push, pathLogin) {
});
} else {
return uni.navigateTo({
url:'/pages/users/login/index'
url: '/pages/users/login/login_copy'
})
}
} else {
if (path !== pathLogin) {
push ? uni.navigateTo({
url: '/pages/users/login/index'
url: '/pages/users/login/login_copy'
}) : uni.reLaunch({
url: '/pages/users/login/index'
url: '/pages/users/login/login_copy'
});
}
}
@ -78,7 +78,7 @@ export function toLogin(push, pathLogin) {
// #endif
// #ifdef APP-PLUS
uni.navigateTo({
url: '/pages/users/login/index',
url: '/pages/users/login/login_copy',
})
// #endif
}

18
main.js
View File

@ -12,7 +12,9 @@ import App from './App'
import store from './store'
import Cache from './utils/cache'
import util from 'utils/util'
import { HTTP_REQUEST_URL } from '@/config/app';
import {
HTTP_REQUEST_URL
} from '@/config/app';
import skeleton from './components/skeleton/index.vue'
import BaseMoney from './components/BaseMoney.vue';
Vue.component('skeleton', skeleton)
@ -20,12 +22,20 @@ Vue.component('BaseMoney', BaseMoney)
Vue.prototype.$util = util;
Vue.prototype.$Cache = Cache;
Vue.prototype.$eventHub = new Vue();
Vue.config.productionTip = false
Vue.config.productionTip = false;
// 引入组件库uview
import uView from "uview-ui";
Vue.use(uView);
// #ifdef H5
import { parseQuery } from "./utils";
import {
parseQuery
} from "./utils";
import Auth from './libs/wechat';
import { SPREAD } from './config/cache';
import {
SPREAD
} from './config/cache';
// import wx from '@/node_modules/jweixin-module/lib/index'
var __s = document.createElement('script');
__s.src = HTTP_REQUEST_URL + "/api/script";

View File

@ -80,7 +80,8 @@
"NSLocationWhenInUseUsageDescription" : "根据客户地理位置推荐最近门店",
"NSLocationAlwaysUsageDescription" : "根据客户地理位置推荐最近门店"
},
"idfa" : false
"idfa" : false,
"dSYMs" : false
},
/* SDK */
"sdkConfigs" : {

444
package-lock.json generated
View File

@ -1,440 +1,24 @@
{
"name": "new_shop_app",
"lockfileVersion": 2,
"requires": true,
"lockfileVersion": 1,
"packages": {
"": {
"dependencies": {
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
"dev": true
},
"ansi-styles": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
"dev": true
},
"babel-code-frame": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
"integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
"dev": true,
"requires": {
"chalk": "^1.1.3",
"esutils": "^2.0.2",
"js-tokens": "^3.0.2"
"uview-ui": "^1.8.8"
}
},
"babel-core": {
"version": "6.26.3",
"resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz",
"integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==",
"dev": true,
"requires": {
"babel-code-frame": "^6.26.0",
"babel-generator": "^6.26.0",
"babel-helpers": "^6.24.1",
"babel-messages": "^6.23.0",
"babel-register": "^6.26.0",
"babel-runtime": "^6.26.0",
"babel-template": "^6.26.0",
"babel-traverse": "^6.26.0",
"babel-types": "^6.26.0",
"babylon": "^6.18.0",
"convert-source-map": "^1.5.1",
"debug": "^2.6.9",
"json5": "^0.5.1",
"lodash": "^4.17.4",
"minimatch": "^3.0.4",
"path-is-absolute": "^1.0.1",
"private": "^0.1.8",
"slash": "^1.0.0",
"source-map": "^0.5.7"
"node_modules/uview-ui": {
"version": "1.8.8",
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.8.tgz",
"integrity": "sha512-Osal3yzXiHor0In9OPTZuXTaqTbDglMZ9RGK/MPYDoQQs+y0hrBCUD0Xp5T70C8i2lLu2X6Z11zJhmsQWMR7Jg=="
}
},
"babel-generator": {
"version": "6.26.1",
"resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
"integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
"dev": true,
"requires": {
"babel-messages": "^6.23.0",
"babel-runtime": "^6.26.0",
"babel-types": "^6.26.0",
"detect-indent": "^4.0.0",
"jsesc": "^1.3.0",
"lodash": "^4.17.4",
"source-map": "^0.5.7",
"trim-right": "^1.0.1"
}
},
"babel-helpers": {
"version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
"integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
"dev": true,
"requires": {
"babel-runtime": "^6.22.0",
"babel-template": "^6.24.1"
}
},
"babel-messages": {
"version": "6.23.0",
"resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
"integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
"dev": true,
"requires": {
"babel-runtime": "^6.22.0"
}
},
"babel-register": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
"integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
"dev": true,
"requires": {
"babel-core": "^6.26.0",
"babel-runtime": "^6.26.0",
"core-js": "^2.5.0",
"home-or-tmp": "^2.0.0",
"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
"source-map-support": "^0.4.15"
}
},
"babel-runtime": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
"dev": true,
"requires": {
"core-js": "^2.4.0",
"regenerator-runtime": "^0.11.0"
}
},
"babel-template": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
"integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
"dev": true,
"requires": {
"babel-runtime": "^6.26.0",
"babel-traverse": "^6.26.0",
"babel-types": "^6.26.0",
"babylon": "^6.18.0",
"lodash": "^4.17.4"
}
},
"babel-traverse": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
"integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
"dev": true,
"requires": {
"babel-code-frame": "^6.26.0",
"babel-messages": "^6.23.0",
"babel-runtime": "^6.26.0",
"babel-types": "^6.26.0",
"babylon": "^6.18.0",
"debug": "^2.6.8",
"globals": "^9.18.0",
"invariant": "^2.2.2",
"lodash": "^4.17.4"
}
},
"babel-types": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
"integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
"dev": true,
"requires": {
"babel-runtime": "^6.26.0",
"esutils": "^2.0.2",
"lodash": "^4.17.4",
"to-fast-properties": "^1.0.3"
}
},
"babylon": {
"version": "6.18.0",
"resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
"integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
"dev": true
},
"balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
"dev": true
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"chalk": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
"dev": true,
"requires": {
"ansi-styles": "^2.2.1",
"escape-string-regexp": "^1.0.2",
"has-ansi": "^2.0.0",
"strip-ansi": "^3.0.0",
"supports-color": "^2.0.0"
}
},
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
"dev": true
},
"convert-source-map": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
"integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
"dev": true,
"requires": {
"safe-buffer": "~5.1.1"
}
},
"core-js": {
"version": "2.6.11",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==",
"dev": true
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"detect-indent": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
"integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
"dev": true,
"requires": {
"repeating": "^2.0.0"
}
},
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
"dev": true
},
"esutils": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
"dev": true
},
"globals": {
"version": "9.18.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
"integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
"dev": true
},
"has-ansi": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
"integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
"dev": true,
"requires": {
"ansi-regex": "^2.0.0"
}
},
"home-or-tmp": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
"integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
"dev": true,
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.1"
}
},
"invariant": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
"integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
"dev": true,
"requires": {
"loose-envify": "^1.0.0"
}
},
"is-finite": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz",
"integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==",
"dev": true
},
"js-tokens": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
"integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=",
"dev": true
},
"jsesc": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
"integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
"dev": true
},
"json5": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
"integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
"dev": true
},
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"dev": true
},
"loose-envify": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
"dev": true,
"requires": {
"js-tokens": "^3.0.0 || ^4.0.0"
}
},
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"dev": true
},
"mkdirp": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
"dev": true,
"requires": {
"minimist": "^1.2.5"
}
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true
},
"os-homedir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
"dev": true
},
"os-tmpdir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
"dev": true
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
"dev": true
},
"private": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
"integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",
"dev": true
},
"regenerator-runtime": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
"dev": true
},
"repeating": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
"integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
"dev": true,
"requires": {
"is-finite": "^1.0.0"
}
},
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"dev": true
},
"slash": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
"integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
"dev": true
},
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
"dev": true
},
"source-map-support": {
"version": "0.4.18",
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
"integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
"dev": true,
"requires": {
"source-map": "^0.5.6"
}
},
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
"dev": true,
"requires": {
"ansi-regex": "^2.0.0"
}
},
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
"dev": true
},
"to-fast-properties": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
"integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
"dev": true
},
"trim-right": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
"integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
"dev": true
"dependencies": {
"uview-ui": {
"version": "1.8.8",
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.8.tgz",
"integrity": "sha512-Osal3yzXiHor0In9OPTZuXTaqTbDglMZ9RGK/MPYDoQQs+y0hrBCUD0Xp5T70C8i2lLu2X6Z11zJhmsQWMR7Jg=="
}
}
}

5
package.json Normal file
View File

@ -0,0 +1,5 @@
{
"dependencies": {
"uview-ui": "^1.8.8"
}
}

View File

@ -1,4 +1,7 @@
{
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/guide/index",
@ -124,15 +127,61 @@
"style": {
"navigationBarTitleText": "配送详情"
}
},
{
}, {
"path": "pages/order_pay_back/index",
"style": {
"navigationBarTitleText": "支付提示"
}
}, {
"path": "pages/helpPeople/helpPeople",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"onReachBottomDistance": 300
}
}, {
"path": "pages/helpPeople/formTable",
"style": {
"navigationBarTitleText": "信息收集",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"onReachBottomDistance": 300
}
}
],
"subPackages": [{
"root": "pages/cloud_warehouse",
"name": "cloud_warehouse",
"pages": [{
"path": "big_classification/index",
"style": {
"navigationStyle": "custom",
"app-plus": {
"titleNView": false,
"bounce": "none"
}
}
}, {
"path": "small_classification/index",
"style": {
"navigationStyle": "custom",
"app-plus": {
"titleNView": false,
"bounce": "none"
}
}
}, {
"path": "select_address/index",
"style": {
"navigationStyle": "custom",
"app-plus": {
"titleNView": false,
"bounce": "none"
}
}
}]
}, {
"root": "pages/users",
"name": "users",
"pages": [{
@ -398,7 +447,7 @@
}
},
{
"path": "login/index",
"path": "login/login_copy",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom",
@ -548,8 +597,7 @@
{
"root": "pages/store",
"name": "store",
"pages": [
{
"pages": [{
"path": "index",
"style": {
"navigationStyle": "custom",
@ -689,8 +737,7 @@
"style": {
"navigationBarTitleText": "商品详情"
}
}
,{
}, {
"path": "system_form/index",
"style": {
"navigationBarTitleText": "系统表单"
@ -820,8 +867,7 @@
{
"root": "pages/plantGrass",
"name": "plant_grass",
"pages": [
{
"pages": [{
"path": "plant_detail/index",
"style": {
"navigationBarTitleText": "内容详情"
@ -916,8 +962,7 @@
"navigationBarTitleText": "搜索商品"
}
}
]
,
],
"plugins": {
"live-player-plugin": {
"version": "1.3.2",
@ -1297,10 +1342,8 @@
"selectedColor": "#E93323",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index"
,
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/images/1-001.png",
"selectedIconPath": "static/images/1-002.png",
"text": "首页"

View File

@ -0,0 +1,87 @@
<!-- 里海云仓大分类 -->
<template>
<view class="bigClassification">
<!-- 占位 -->
<view style="height: var(--status-bar-height);"></view>
<!-- 返回 -->
<view class="back-icon"></view>
<!-- 分类 -->
<view class="classification">
<block v-for="item in 20" :key="item">
<view class="classification-item" @click="goSmallType">
<image src="/static/cloud_warehouse/pic.webp" mode="" />
</view>
</block>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list: []
}
},
methods: {
goSmallType() {
uni.navigateTo({
url: "/pages/cloud_warehouse/small_classification/index"
})
}
}
}
</script>
<style lang="scss" scoped>
page {
height: 100%;
background-color: #F7F7F7;
}
.bigClassification {
position: relative;
width: 100%;
height: 760rpx;
background-image: url(../../../static/cloud_warehouse/bg.webp);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.back-icon {
position: absolute;
top: 116rpx;
left: 20rpx;
width: 20rpx;
height: 20rpx;
border: 2rpx solid #fff;
border-bottom-color: transparent;
border-right-color: transparent;
transform: rotate(-45deg);
}
.classification {
display: flex;
flex-wrap: wrap;
margin: 0 20rpx;
padding-top: 490rpx;
.classification-item {
width: 346rpx;
height: 160rpx;
margin-bottom: 18rpx;
&:nth-child(2n-1) {
margin-right: 18rpx;
}
image {
width: 100%;
height: 100%;
}
}
}
</style>

View File

@ -0,0 +1,406 @@
<template>
<view class="" style="background-color: #fff;">
<u-sticky customNavHeight="0">
<view class="head_top">
<u-tabs :list="tabsList" itemStyle="font-size: 32rpx;height: 74rpx;" :current="current"
@change="changeCurrent" lineColor="#FF6D20" lineWidth="105rpx" height="7rpx"></u-tabs>
</u-tabs>
</view>
</u-sticky>
<view style="background-color: #f4f4f4;height: 30rpx;"></view>
<view class="address-box" v-if="current==0" style="padding: 0;">
<map style="width: 750rpx;height: 750rpx;" :longitude="longitude" :latitude="latitude" :markers="[markers]"
show-location @tap="handleMapTap"></map>
<view class="head_item" style="padding: 10rpx 20rpx;">
<view class="re-location">
<view style="width: 120rpx;"><text class="text">当前位置: </text></view>
<view style="flex: 1;">
<text
class="text">{{locationInfo.formatted_addresses?locationInfo.formatted_addresses.recommend:locationInfo.address}}</text>
</view>
</view>
<view class="re-btn" @click="reGetLocation">
<image class="re-address-img" src="@/static/cloud_warehouse/dw.png"></image><text
class="text">重新定位</text>
</view>
</view>
<u-button text="确认" @click="submitAddress"></u-button>
</view>
<view class="address-box" v-if="current==1">
<view class="head_item_tips">
<view><text class="text">泸州区县</text></view>
</view>
<view class="area">
<view class="area-item" :class="{'area-item-on': item.code==area_change}"
v-for="(item, index) in areaList" :key="index" @click="changeArea(item)">
<text class="text">{{item.name}}</text>
</view>
</view>
<view class="head_item_tips">
<view><text class="text">选择街道/</text></view>
</view>
<view class="street">
<view class="letter-item" v-for="key in mapKey" :key="key">
<view class="letter"><text class="text">{{key}}</text></view>
<view class="item-box">
<view class="street-item" v-for="item in mapList[key]" :key="item.code"
@click="changeStreet(item)">
<text class="text">{{item.name}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import {
getGeocoder,
merClassifly,
getProductslist
} from '@/api/store.js';
import {
getArea,
getStreet
} from "@/api/article.js";
import {
Toast
} from '@/libs/uniApi';
import {
wgsToGcj
} from "@/utils/wgs.js";
export default {
data() {
return {
tabsList: [{
name: '地图定位',
}, {
name: '泸州区县',
}],
current: 0,
latitude: '28.87',
longitude: '105.44',
markers: {
id: 1,
longitude: '28.87',
latitude: '105.44',
iconPath: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/cbbd5202311241523412538.png',
width: 28,
height: 28
},
locationInfo: {},
town: '',
street_id: '',
street: '',
areaList: [],
streetList: [],
mapList: {},
area_change: '',
street_change: '',
}
},
onLoad(options) {
this.getLoaction();
this.loadArea();
},
onShow() {},
computed: {
mapKey() {
return Object.keys(this.mapList).sort()
}
},
methods: {
changeCurrent(e) {
this.current = e.index;
},
getLoaction() {
this.street = '定位中'
this.locationInfo = {};
this.locationInfo.formatted_addresses = {};
this.locationInfo.formatted_addresses.recommend = '定位中'
uni.getLocation({
type: 'wgs84',
success: (res) => {
res = wgsToGcj(res);
let latitude, longitude;
latitude = res.latitude.toString();
longitude = res.longitude.toString();
this.latitude = res.latitude.toFixed(6);
this.longitude = res.longitude.toFixed(6);
this.$store.commit('setLocation', {
lat: res.latitude.toFixed(6),
long: res.longitude.toFixed(6),
});
getGeocoder({
lat: latitude,
long: longitude
}).then(res => {
this.locationInfo = res.data;
this.town = res.data.address_reference.town.title
this.street_id = res.data.address_reference.town.id
this.street = res.data.address_reference.town.title;
}).catch(err => {
uni.showToast({
title: err,
icon: 'none'
})
this.street = '定位失败'
})
},
fail: (err) => {
console.log('定位失败');
this.isshow = false
Toast('定位失败,请检查定位权限是否开启')
this.street = '定位失败'
this.locationInfo.formatted_addresses.recommend = '定位失败'
// uni.showToast({
// title: "",
// icon: 'none',
// duration: 2000
// });
}
});
},
reGetLocation() {
this.getLoaction()
},
loadArea() {
getArea({
city_code: 510500
}).then((res) => {
this.areaList = res.data;
this.changeArea(this.areaList[0]);
})
},
loadStreet(area_code) {
this.street_change = '';
getStreet({
area_code
}).then((res) => {
this.streetList = res.data;
this.initPinyin();
})
},
initPinyin() {
this.mapList = {};
this.streetList.forEach((item) => {
let str = item.pinyin?.toUpperCase();
str = str ? str : '#';
if (this.mapList[str]) {
this.mapList[str].push(item);
} else {
this.mapList[str] = [];
this.mapList[str].push(item)
}
})
},
changeArea(item) {
this.area_change = item.code;
this.loadStreet(this.area_change);
},
//
changeStreet(item) {
uni.navigateBack({
success: () => {
uni.$emit('changeAddress', {
area: this.area_change,
street: item
})
}
})
},
//
handleMapTap(e) {
// console.log('', e);
// #ifdef H5
return Toast('H5暂不支持选择坐标');
// #endif
let longitude = e.detail.longitude;
let latitude = e.detail.latitude;
this.markers.longitude = longitude;
this.markers.latitude = latitude;
// console.log('', this.markers);
getGeocoder({
lat: latitude,
long: longitude
}).then(res => {
// console.log(res);
this.locationInfo = res.data;
}).catch(err => {
uni.showToast({
title: err,
icon: 'none'
})
this.locationInfo = {};
this.locationInfo.formatted_addresses = {};
this.locationInfo.formatted_addresses.recommend = '定位失败'
})
},
submitAddress() {
console.log(this.locationInfo);
try {
this.town = this.locationInfo.address_reference.town.title;
this.street_id = this.locationInfo.address_reference.town.id;
this.street = this.locationInfo.address_reference.town.title;
let obj = {
area: this.locationInfo.ad_info.adcode,
street: {
name: this.street,
code: this.street_id
},
latitude: this.latitude,
longitude: this.longitude
}
console.log({
...obj
});
uni.navigateBack({
success: () => {
uni.$emit('changeAddress', obj)
}
})
} catch (e) {
return Toast('地址有误,请重新选择')
}
}
},
onPullDownRefresh() {
uni.stopPullDownRefresh()
}
}
</script>
<style>
/* page {
background-color: #fff;
} */
.text {
font-size: 28rpx;
white-space: normal;
}
.head_top {
background-color: #fff;
padding: 28rpx;
}
.address-box {
border-radius: 21rpx 21rpx 0rpx 0rpx;
padding: 30rpx 28rpx;
width: 750rpx;
}
.head_item {
width: 750rpx;
flex-direction: row;
justify-content: space-between;
padding-bottom: 28rpx;
font-size: 28rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
}
.re-location {
flex-direction: row;
flex-wrap: nowrap;
width: 480rpx;
align-items: center;
}
.re-address-img {
width: 38.55rpx;
height: 38.55rpx;
margin-right: 10rpx;
}
.re-btn {
flex-direction: row;
padding-left: 10rpx;
width: 200rpx;
height: 100rpx;
align-items: center;
}
.head_item_tips {
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #737373;
}
.address-list {
font-size: 28rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
height: 80rpx;
line-height: 75rpx;
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
}
.area {
flex-direction: row;
flex-wrap: wrap;
padding-top: 30rpx;
justify-content: flex-start;
}
.area-item {
height: 64rpx;
/* width: 100px; */
background-color: #fff;
border-radius: 11rpx 11rpx 11rpx 11rpx;
border: 2rpx solid #B3B3B3;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 0 20rpx;
font-size: 28rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #737373;
margin-bottom: 22rpx;
margin-right: 22rpx;
}
.area-item-on {
color: #ff6d20;
border: 2rpx solid #ff6d20;
}
.street {
padding-top: 28rpx;
}
.letter-item {
flex-direction: row;
}
.letter {
margin-right: 28rpx;
font-size: 25rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
width: 40rpx;
text-align: center;
color: #737373;
}
.item-box {
flex: 1;
}
.street-item {
width: 100%;
padding-bottom: 28rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #333333;
}
</style>

View File

@ -0,0 +1,553 @@
<!-- 里海云仓小分类 -->
<template>
<view class="smallClassification">
<!-- 占位 -->
<view style="height: var(--status-bar-height);"></view>
<!-- 搜索 -->
<view class="search">
<view class="icon" />
<view class="input-wrap">
<icon type="search" size="18" />
<input type="text" class="uni-input" placeholder="搜索商品" @input="" />
</view>
</view>
<!-- 商品 -->
<view class="con">
<view class="con-left" :style="{'height':leftDomHeight}">
<view class="con-left-bili_num_1" @click="handleChooseSideBar">
<image src="../../../static/cloud_warehouse/hf.webp" />
<text>化肥</text>
</view>
<view class="con-left-bili_num_2">
<image src="../../../static/cloud_warehouse/nj.webp" />
<text>农具</text>
</view>
<view class="con-left-bili_num_3">
<image src="../../../static/cloud_warehouse/ny.webp" />
<text>农药</text>
</view>
<view class="con-left-bili_num_4">
<image src="../../../static/cloud_warehouse/sl.webp" />
<text class="active">饲料</text>
</view>
<view class="con-left-bili_num_5">
<image src="../../../static/cloud_warehouse/sy.webp" />
<text>兽药</text>
</view>
<view class="con-left-bili_num_6">
<image src="../../../static/cloud_warehouse/zz.webp" />
<text>种子</text>
</view>
<view class="con-left-bili_num_6">
<image src="../../../static/cloud_warehouse/zz.webp" />
<text>种子</text>
</view>
<view class="con-left-bili_num_6">
<image src="../../../static/cloud_warehouse/zz.webp" />
<text>种子</text>
</view>
<view class="con-left-bili_num_6">
<image src="../../../static/cloud_warehouse/zz.webp" />
<text>种子</text>
</view>
</view>
<view class="con-right">
<view class="con-right-proportion">
<image src="../../../static/cloud_warehouse/dkbl.png" />
<view class="con-right-proportion-item" :class="{active:propIndx == 1}"
@click="handleChooseProp(1)">1:9</view>
<view class="con-right-proportion-item" :class="{active:propIndx == 2}"
@click="handleChooseProp(2)">2:8</view>
<view class="con-right-proportion-item" :class="{active:propIndx == 3}"
@click="handleChooseProp(3)">3:7</view>
<view class="con-right-proportion-item" :class="{active:propIndx == 4}"
@click="handleChooseProp(4)">4:6</view>
</view>
<scroll-view scroll-y="true" class="con-right-goods" :style="{'height':goodsListHeight}"
:show-scrollbar="false" :scroll-with-animation="true">
<view class="con-right-goods-item" v-for="item in 10">
<view class="goods-item-left">
<image src="" mode=""></image>
</view>
<view class="goods-item-right">
<view class="goods-item-right-title">
<text class="city">同城</text>
<text class="name line1">费大壮催肥猪饲料</text>
</view>
<view class="goods-item-right-redpackat line1">可使用补贴抵扣20%</view>
<view class="goods-item-right-rules">
<text class="unit">规格1袋50kg</text>
<text class="addr">方山镇</text>
</view>
<view class="goods-item-right-purchase">
<text class="num">80</text>
<text class="buy"></text>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
<!-- 悬浮购买按钮 -->
<view class="flow">
<image src="../../../static/cloud_warehouse/gwc.png"></image>
<text>11</text>
</view>
<!-- 底部结算 -->
<view class="footer">
<view class="footer-left">
<text class="price">184.00</text>
<text class="desc">支持配送 售后无忧</text>
</view>
<view class="footer-right">去结算</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
propIndx: '', //
sideBarIndx: '', //
leftDomHeight: 0, //
goodsListHeight: 0, //
}
},
onLoad() {
this.initHeight();
this.initGoodsListHeight();
},
methods: {
//
changeMap() {
console.log(11);
uni.navigateTo({
url: `/pages/cloud_warehouse/select_address/index`,
success: () => {
uni.$once('changeAddress', (e) => {})
},
fail(e) {
console.log(e);
}
})
},
handleChooseProp(e) {
this.propIndx = e;
},
handleChooseSideBar(e) {
this.sideBarIndx = e;
},
//
initGoodsListHeight() {
this.$nextTick(async () => {
let footerDom = await this.getDomInfo(".footer");
let goodsDom = await this.getDomInfo(".con-right-goods");
this.goodsListHeight = footerDom.top - goodsDom.top + "px";
})
},
//
initHeight() {
this.$nextTick(async () => {
let leftDom = await this.getDomInfo(".con-left");
let flowDom = await this.getDomInfo(".flow");
this.leftDomHeight = flowDom.top - leftDom.top + "px";
})
},
// dom
getDomInfo(selector) {
return new Promise((resolve, reject) => {
uni.createSelectorQuery().in(this).select(selector).boundingClientRect((data) => {
resolve(data);
}).exec();
})
}
}
}
</script>
<style lang="scss">
page {
height: 100%;
background-color: #F7F7F7;
}
view,
text {
line-height: 1;
}
.smallClassification {
width: 100%;
height: 760rpx;
background-image: url(../../../static/cloud_warehouse/sm_bg.webp);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
.search {
display: flex;
align-items: center;
padding: 102rpx 30rpx 0;
box-sizing: border-box;
margin-bottom: 42rpx;
.icon {
width: 24rpx;
height: 24rpx;
border: 2rpx solid #fff;
border-bottom-color: transparent;
border-right-color: transparent;
transform: rotate(-45deg);
margin-right: 20rpx;
}
.input-wrap {
display: flex;
align-items: center;
background: #FFFFFF;
border-radius: 29rpx;
height: 58rpx;
padding-left: 16rpx;
input {
width: 494rpx;
height: 100%;
margin-right: 20rpx;
box-sizing: border-box;
margin-left: 20rpx;
color: #7A7A7A;
}
.uni-input-placeholder {
font-size: 28rpx;
color: #9f9f9f;
}
}
text {
width: 100rpx;
font-size: 28rpx;
font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
image {
width: 42rpx;
height: 40rpx;
}
}
.con {
display: flex;
.con-left {
display: flex;
flex-direction: column;
align-items: center;
width: 176rpx;
overflow: auto;
.con-left-bili_title {
margin-bottom: 40rpx;
}
[class^=con-left-bili_num_] {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 30rpx;
image {
width: 100rpx;
height: 100rpx;
margin-bottom: 20rpx;
}
text {
position: relative;
display: inline-block;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 400;
color: #262626;
}
.active {
font-size: 26rpx;
font-family: PingFang SC;
font-weight: bold;
color: #252525;
&::after {
content: "";
display: inline-block;
position: absolute;
bottom: -10rpx;
left: 50%;
transform: translateX(-50%);
width: 80rpx;
height: 18rpx;
background: linear-gradient(90deg, #229F66 0%, rgba(86, 197, 113, 0) 100%);
border-radius: 9rpx 0rpx 0rpx 9rpx;
}
}
}
}
.con-right {
width: calc(100vw - 176rpx);
padding-right: 20rpx;
box-sizing: border-box;
.con-right-proportion {
display: flex;
align-items: center;
height: 38rpx;
margin-bottom: 25rpx;
image {
width: 154rpx;
height: 28rpx;
margin-right: 50rpx;
}
.con-right-proportion-item {
margin-right: 22rpx;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
}
.active {
padding: 7rpx 22rpx;
background: #FEE109;
border-radius: 17rpx;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: #616161;
}
}
.con-right-goods {
overflow: auto;
.con-right-goods-item {
display: flex;
width: 100%;
margin-bottom: 20rpx;
padding: 20rpx;
background: #FFFFFF;
border-radius: 30rpx;
.goods-item-left {
width: 190rpx;
height: 190rpx;
background: #A3CAB9;
border-radius: 20rpx;
margin-right: 20rpx;
image {
width: 100%;
height: 100%;
}
}
.goods-item-right {
flex: 1;
.goods-item-right-title {
margin-bottom: 20rpx;
.city {
margin-right: 10rpx;
padding: 4rpx 8rpx;
background: #2EA36E;
border-radius: 6rpx;
font-size: 20rpx;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
}
.name {
width: 206rpx;
height: 24rpx;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 400;
color: #1A1A1A;
}
}
.goods-item-right-redpackat {
display: inline-block;
margin-bottom: 18rpx;
padding: 6rpx 14rpx;
background: rgba(246, 68, 39, .28);
border-radius: 17rpx;
font-size: 22rpx;
font-family: PingFang SC;
font-weight: 400;
color: #F23131;
}
.goods-item-right-rules {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25rpx;
.unit,
.addr {
font-size: 22rpx;
font-family: PingFang SC;
font-weight: 400;
color: #7A7A7A;
}
.unit {}
.addr {}
}
.goods-item-right-purchase {
display: flex;
justify-content: space-between;
align-items: center;
.num {
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
color: #1A1A1A;
}
.buy {
position: relative;
display: inline-block;
width: 40rpx;
height: 40rpx;
background: #2EA36E;
border-radius: 50%;
&::after,
&::before {
content: "";
display: inline-block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 24rpx;
height: 4rpx;
background: #FFFFFF;
}
&::before {
transform: translate(-50%, -50%) rotate(90deg);
}
}
}
}
}
}
}
}
.footer {
position: fixed;
bottom: 0;
left: 0;
display: flex;
justify-content: space-between;
padding: 0 20rpx 0 40rpx;
width: 750rpx;
height: 166rpx;
background: #FFFFFF;
box-sizing: border-box;
.footer-left {
display: flex;
flex-direction: column;
margin-top: 14rpx;
.price {
width: 131rpx;
height: 28rpx;
font-size: 30rpx;
font-family: PingFang SC;
font-weight: 400;
color: #1A1A1A;
margin-bottom: 18rpx;
}
.desc {
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 400;
color: #616161;
}
}
.footer-right {
width: 200rpx;
height: 78rpx;
line-height: 78rpx;
text-align: center;
background: linear-gradient(-20deg, #2EA36E 0%, #39B97F 100%);
border-radius: 39rpx;
font-size: 30rpx;
font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
margin-top: 10rpx;
}
}
.flow {
position: fixed;
bottom: 180rpx;
left: 35rpx;
image {
width: 110rpx;
height: 110rpx;
}
text {
position: absolute;
top: -3rpx;
right: -2rpx;
width: 40rpx;
height: 40rpx;
line-height: 40rpx;
background: #FEE109;
border-radius: 50%;
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
color: #616161;
text-align: center;
}
}
}
</style>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,90 @@
<template>
<view class="box" style="position: relative;">
<image @click="back" class="bg_back"
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/back.png"></image>
<view class="li" @click="navSw('/pages/index/index')">
<u-image src="/static/temp/1.webp" width="690rpx" height="200rpx" style="position: absolute;" />
<view class="btn">
我是居民用户
</view>
</view>
<view class="li" style="margin-top: 50rpx;" @click="navgo('/pages/helpPeople/formTable')">
<u-image src="/static/temp/2.webp" width="690rpx" height="200rpx" style="position: absolute;" />
<view class="btn">
我是农民用户
</view>
</view>
</view>
</template>
<script>
export default {
methods: {
back() {
uni.navigateBack();
},
navgo(url) {
uni.navigateTo({
url
})
},
navSw(url) {
uni.switchTab({
url: url
})
}
}
}
</script>
<style lang='scss' scoped>
.box {
width: 750rpx;
height: 1624rpx;
background: linear-gradient(180deg, #20A162 0%, #EFFAEF 39%, #EFFCEA 68%, #EFFFE5 100%);
border-radius: 0rpx 0rpx 0rpx 0rpx;
border: 1rpx solid #707070;
/* width: 750rpx;
height: 1624rpx;
background-image: url('https://lihai001.oss-cn-chengdu.aliyuncs.com/def/9c4b4202401271437449183.png');
background-size: 100% 100%; */
padding-top: 500rpx;
}
.li {
margin: 0rpx auto;
width: 690rpx;
height: 200rpx;
background-size: 100% 100%;
position: relative;
.btn {
z-index: 999;
position: absolute;
width: 287rpx;
height: 76rpx;
border-radius: 40rpx 40rpx 40rpx 40rpx;
opacity: 1;
border: 2rpx solid #20A162;
text-align: center;
line-height: 76rpx;
color: #20A162;
font-size: 34rpx;
right: 50rpx;
bottom: 50rpx;
}
}
.bg_back {
height: 34rpx;
width: 20rpx;
position: absolute;
top: calc(var(--status-bar-height) + 30rpx);
left: 30rpx;
}
</style>

View File

@ -12,7 +12,8 @@
v-if="addressInfo.is_default">[默认]</text>{{addressInfo.province}}{{addressInfo.city}}{{addressInfo.district}}{{addressInfo.street || ''}}{{addressInfo.detail}}
</view>
</view>
<navigator v-else :url="'/pages/users/user_address/index?cartId='+cartId" hover-class="none" class='addressCon'>
<navigator v-else :url="'/pages/users/user_address/index?cartId='+cartId" hover-class="none"
class='addressCon'>
<view class='setaddress'>设置收货地址</view>
</navigator>
<view class='iconfont icon-jiantou'></view>
@ -40,7 +41,8 @@
<view class="price acea-row row-between">
<view class="acea-row row-middle">
<block>
{{goods.productAttr.ot_price}}积分<block v-if="goods.productAttr.price>0">+{{goods.productAttr.price}}</block>
{{goods.productAttr.ot_price}}积分<block v-if="goods.productAttr.price>0">
+{{goods.productAttr.price}}</block>
</block>
</view>
@ -78,8 +80,8 @@
</view>
<view class='item' v-if="textareaStatus">
<view>备注信息</view>
<textarea placeholder-class='placeholder' placeholder="请添加备注150字以内"
@input='bindHideKeyboard' :value="mark" :maxlength="150" name="mark">
<textarea placeholder-class='placeholder' placeholder="请添加备注150字以内" @input='bindHideKeyboard'
:value="mark" :maxlength="150" name="mark">
</textarea>
</view>
</view>
@ -125,7 +127,8 @@
<view style='height:120rpx;'></view>
<view class='footer acea-row row-between-wrapper'>
<view>支付
<text class='color-t'>{{resData.order_total_integral || 0}}积分</text><text class="color-t" v-if="resData.order_pay_price>0">+{{resData.order_pay_price}}</text>
<text class='color-t'>{{resData.order_total_integral || 0}}积分</text><text class="color-t"
v-if="resData.order_pay_price>0">+{{resData.order_pay_price}}</text>
</view>
<view class='settlement' style='z-index:100' @tap="goPay">立即兑换</view>
</view>
@ -162,11 +165,19 @@
CACHE_LONGITUDE,
CACHE_LATITUDE
} from '@/config/cache.js';
import { openPaySubscribe } from '@/utils/SubscribeMessage.js';
import {
openPaySubscribe
} from '@/utils/SubscribeMessage.js';
import addressWindow from '@/components/addressWindow';
import { HTTP_REQUEST_URL } from '@/config/app';
import { toLogin } from '@/libs/login.js';
import { mapGetters } from "vuex";
import {
HTTP_REQUEST_URL
} from '@/config/app';
import {
toLogin
} from '@/libs/login.js';
import {
mapGetters
} from "vuex";
export default {
components: {
addressWindow,
@ -398,7 +409,8 @@
orderId = res.data.result.order_id,
callback_key = res.data.result.pay_key,
jsConfig = res.data.result.config,
goPages = '/pages/order_pay_status/index?order_type=20&order_id=' + orderId + '&msg=' + res.message;
goPages = '/pages/order_pay_status/index?order_type=20&order_id=' + orderId + '&msg=' +
res.message;
that.orderPay = true;
uni.hideLoading();
switch (status) {
@ -463,7 +475,9 @@
provider: 'wxpay',
orderInfo: jsConfig,
success: (e) => {
let url = '/pages/order_pay_status/index?order_type=20&order_id=' + orderId +
let url =
'/pages/order_pay_status/index?order_type=20&order_id=' +
orderId +
'&msg=支付成功';
return that.$util.Tips({
title: '支付成功',
@ -474,7 +488,9 @@
});
},
fail: (e) => {
let url = '/pages/order_pay_status/index?order_type=20&order_id=' + orderId + '&msg=取消支付';
let url =
'/pages/order_pay_status/index?order_type=20&order_id=' +
orderId + '&msg=取消支付';
return that.$util.Tips({
title: '取消支付',
}, {
@ -483,7 +499,9 @@
});
},
complete: () => {
let url = '/pages/order_pay_status/index?order_type=20&order_id=' + orderId + '&msg=取消支付';
let url =
'/pages/order_pay_status/index?order_type=20&order_id=' +
orderId + '&msg=取消支付';
return that.$util.Tips({
title: '取消支付',
}, {
@ -518,7 +536,8 @@
});
},
fail: function(e) {
let pages = '/pages/order_pay_status/index?order_type=20&order_id=' +
let pages =
'/pages/order_pay_status/index?order_type=20&order_id=' +
orderId + '&msg=取消支付'
return that.$util.Tips({
title: '取消支付'
@ -542,7 +561,8 @@
// #ifdef H5
case 'h5':
let host = window.location.protocol + "//" + window.location.host;
let url = `${host}/pages/order_pay_status/index?order_type=20&order_id=${orderId}&msg=${res.message}`
let url =
`${host}/pages/order_pay_status/index?order_type=20&order_id=${orderId}&msg=${res.message}`
let eUrl = encodeURIComponent(url)
let jsurl = jsConfig.mweb_url || jsConfig.h5_url
let locations = `${jsurl}&redirect_url=${eUrl}`
@ -566,7 +586,8 @@
});
},
fail: (e) => {
let pages = '/pages/order_pay_status/index?order_type=20&order_id=' +
let pages =
'/pages/order_pay_status/index?order_type=20&order_id=' +
orderId + '&msg=支付失败'
return that.$util.Tips({
title: '支付失败'
@ -577,7 +598,8 @@
},
complete: () => {
uni.hideLoading();
let pages = '/pages/order_pay_status/index?order_type=20&order_id=' +
let pages =
'/pages/order_pay_status/index?order_type=20&order_id=' +
orderId + '&msg=取消支付'
return that.$util.Tips({
title: '取消支付'
@ -742,63 +764,78 @@
/deep/uni-checkbox[disabled] .uni-checkbox-input {
background-color: #eee;
}
.alipaysubmit {
display: none;
}
.order-submission .line image {
width: 100%;
height: 100%;
display: block;
}
.order-submission .address {
padding: 28rpx 30rpx;
background-color: #fff;
box-sizing: border-box;
}
.order-submission .address .addressCon {
width: 610rpx;
font-size: 26rpx;
color: #666;
}
.order-submission .address .addressCon .name {
font-size: 30rpx;
color: #282828;
font-weight: bold;
margin-bottom: 10rpx;
}
.order-submission .address .addressCon .name .phone {
margin-left: 50rpx;
}
.order-submission .address .addressCon .default {
margin-right: 12rpx;
}
.order-submission .address .addressCon .setaddress {
color: #333;
font-size: 28rpx;
}
.order-submission .address .iconfont {
font-size: 35rpx;
color: #707070;
}
.order-submission .allAddress {
width: 100%;
}
.order-submission .allAddress .nav {
width: 710rpx;
margin: 0 auto;
}
.order-submission .allAddress .nav .item {
width: 355rpx;
position: relative;
}
.order-submission .allAddress .nav .item.on {
position: relative;
width: 250rpx;
}
.order-submission .allAddress .address {
height: 150rpx;
margin: 0 auto;
}
.order-submission .allAddress .line {
margin: 0 auto;
position: absolute;
@ -807,6 +844,7 @@
width: 100%;
height: 3rpx;
}
.order-submission .wrapper .item .list .payItem {
border: 1px solid #eee;
border-radius: 6rpx;
@ -817,10 +855,12 @@
font-size: 28rpx;
color: #282828;
}
.order-submission .wrapper .item .list .payItem.on {
border-color: var(--view-theme);
color: var(--view-theme);
}
.order-submission .wrapper .item .list .payItem .name {
width: 50%;
text-align: center;
@ -828,6 +868,7 @@
justify-content: left;
padding-left: 80rpx;
}
.order-submission .wrapper .item .list .payItem .name .iconfont {
width: 44rpx;
height: 44rpx;
@ -839,35 +880,43 @@
font-size: 30rpx;
margin-right: 15rpx;
}
.order-submission .wrapper .item .list .payItem .name .iconfont.icon-weixin2 {
background-color: #41b035;
}
.order-submission .wrapper .item .list .payItem .name .iconfont.icon-icon34 {
background-color: #4295D5;
}
.order-submission .wrapper .item .list .payItem .tip {
width: 49%;
text-align: center;
font-size: 26rpx;
color: #aaa;
}
.storeinfo-wrapper {
.store-item {
margin-top: 12rpx;
background-color: #fff;
.product-item {
display: flex;
padding: 25rpx 30rpx;
border-top: 1px solid #F0F0F0;
.img-box {
width: 130rpx;
height: 130rpx;
image {
width: 130rpx;
height: 130rpx;
border-radius: 16rpx;
}
}
.content {
position: relative;
width: 550rpx;
@ -875,32 +924,38 @@
font-size: 28rpx;
color: #282828;
overflow: hidden;
.number {
display: block;
text-align: right;
color: #999;
font-size: 26rpx;
}
.label {
margin-top: 10rpx;
color: #999999;
font-size: 20rpx;
}
.price {
margin-top: 20rpx;
color: var(--view-priceColor);
position: relative;
text {
margin-left: 10rpx;
color: #999;
}
}
.err-txt {
display: flex;
align-items: center;
margin-top: 18rpx;
color: $theme-color;
.iconfont {
margin-right: 10rpx;
}
@ -909,31 +964,38 @@
}
}
}
.order-submission .wrapper {
background-color: #fff;
margin-top: 13rpx;
}
.order-submission .wrapper .item .name {
position: relative;
}
.order-submission .wrapper .item .asterisk {
position: absolute;
color: red;
left: -15rpx
}
.order-submission .wrapper .item {
padding: 27rpx 30rpx;
font-size: 30rpx;
color: #282828;
border-bottom: 1px solid #f0f0f0;
}
.order-submission .wrapper .item .discount {
font-size: 30rpx;
color: #999;
}
.order-submission .wrapper .item .discount input {
text-align: end;
}
.order-submission .wrapper .item .discount .iconfont {
color: #515151;
font-size: 30rpx;
@ -951,6 +1013,7 @@
position: relative;
padding-right: 58rpx;
}
.order-submission .wrapper .item .shipping .iconfont {
font-size: 35rpx;
color: #707070;
@ -960,6 +1023,7 @@
transform: translateY(-50%);
margin-left: 30rpx;
}
.order-submission .wrapper .item textarea {
background-color: #f9f9f9;
width: 690rpx;
@ -969,27 +1033,34 @@
padding: 25rpx 28rpx;
box-sizing: border-box;
}
.order-submission .wrapper .item .placeholder {
color: #ccc;
}
.order-submission .wrapper .item .list {
margin-top: 35rpx;
}
.order-submission .moneyList {
margin-top: 12rpx;
background-color: #fff;
padding: 30rpx;
}
.order-submission .moneyList .item {
font-size: 28rpx;
color: #282828;
}
.order-submission .moneyList .item~.item {
margin-top: 20rpx;
}
.order-submission .moneyList .item .money {
color: #868686;
}
.order-submission .footer {
width: 100%;
height: 100rpx;
@ -1002,9 +1073,11 @@
bottom: 0;
left: 0;
}
.order-submission .footer .color-t {
color: var(--view-theme);
}
.order-submission .footer .settlement {
font-size: 30rpx;
color: #fff;
@ -1015,9 +1088,11 @@
text-align: center;
line-height: 70rpx;
}
.footer .transparent {
opacity: 0
}
.pictrue image {
width: 130rpx;
height: 130rpx;

View File

@ -21,7 +21,9 @@
<view class="bg"></view>
<view class="user-info">
<view class="avatar-box" :class="{on:userInfo.is_svip > 0 && svip_switch_status == 1}">
<image class="avatar skeleton-radius" :src="userInfo.avatar ? userInfo.avatar : '/static/images/f.png'" @click="goEdit"></image>
<image class="avatar skeleton-radius"
:src="userInfo.avatar ? userInfo.avatar : '/static/images/f.png'" @click="goEdit">
</image>
<view class="headwear" v-if="userInfo.is_svip > 0 && svip_switch_status == 1">
<image :src="`${domain}/static/images/headwear.png`"></image>
</view>
@ -44,7 +46,8 @@
</view>
<!--#endif-->
<view class="name" v-if="userInfo.uid">
{{userInfo.nickname}}<image v-if="member_status" class="level_icon" :src="userInfo.member_icon" alt="">
{{userInfo.nickname}}
<image v-if="member_status" class="level_icon" :src="userInfo.member_icon" alt="">
<view class="vip" v-if="userInfo.is_svip > 0 && svip_switch_status == 1">
<image :src="`${domain}/static/images/svip.png`"></image>
</view>
@ -59,7 +62,7 @@
<view class="phone" v-if="!userInfo.phone && isLogin" @tap="bindPhone">绑定手机号</view>
</view>
</view>
<view class="num-wrapper skeleton-rect">
<!-- <view class="num-wrapper skeleton-rect">
<view class="num-item" @click="goMenuPage('/pages/users/user_goods_collection/index')">
<text class="num">{{userInfo.total_collect_product || 0}}</text>
<view class="txt">我的收藏</view>
@ -76,7 +79,29 @@
<text class="num">{{userInfo.total_coupon || 0}}</text>
<view class="txt">优惠券</view>
</view>
</view> -->
<view class="packet_card">
<view class="p_d_item" @click="authTo('/pages/users/user_money/index')">
<view class="p_d_count">
<image
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/e41f4202401201745498894.png">
</image>
<view>{{userInfo.now_money||"0.00"}}</view>
</view>
<view>我的余额 ()</view>
</view>
<view class="p_d_item" @click="authTo('/pages/redpacket/redpack_type')">
<view class="p_d_count">
<image
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/d2868202401201750014779.png">
</image>
<view>{{userInfo.red_pack_balance||"0.00"}}</view>
</view>
<view>补贴余额 ()</view>
</view>
</view>
<view @click="goSvip" class="cardVipA acea-row row-between-wrapper" v-if="svip_switch_status == 1">
<image class="svip_user" :src="`${domain}/static/images/svip_user.png`"></image>
<view class="left-box">
@ -85,7 +110,9 @@
</view>
</view>
<view class="acea-row row-middle">
<view class="btn-open">{{userInfo.is_svip > 0 && userInfo.is_svip != 3 ? '立即续费' : userInfo.is_svip == 3 ? '终身会员' : '立即开通'}}</view>
<view class="btn-open">
{{userInfo.is_svip > 0 && userInfo.is_svip != 3 ? '立即续费' : userInfo.is_svip == 3 ? '终身会员' : '立即开通'}}
</view>
</view>
</view>
<view class="right-btn">
@ -101,7 +128,8 @@
<view class="order-wrapper">
<view class="order-hd flex skeleton-rect">
<view class="left">我的订单</view>
<view class="right flex" @click="authTo('/pages/users/order_list/index?status=-1')" hover-class="none" open-type="navigate">
<view class="right flex" @click="authTo('/pages/users/order_list/index?status=-1')"
hover-class="none" open-type="navigate">
全部订单
<text class="iconfont icon-xiangyou"></text>
</view>
@ -120,8 +148,8 @@
</view>
<!-- 轮播 -->
<view class="slider-wrapper skeleton-rect" v-if="imgUrls.length>0">
<swiper indicator-dots="true" :autoplay="autoplay" :circular="circular" :interval="interval" :duration="duration"
indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff">
<swiper indicator-dots="true" :autoplay="autoplay" :circular="circular" :interval="interval"
:duration="duration" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff">
<block v-for="(item,index) in imgUrls" :key="index">
<swiper-item>
<view @click="goUrl(item.url)" class='slide-navigator acea-row row-between-wrapper'>
@ -144,6 +172,13 @@
</view>
</view>
</block>
<view class="item">
<view @click="tempClick" class="item-count">
<image v-if="showSkeleton" class="skeleton_image skeleton-radius"></image>
<image v-else></image>
<text>惠农助农</text>
</view>
</view>
</view>
</view>
<view class="menus-list-item" v-if="!userInfo.topService && userInfo.service" @click="toService(0)">
@ -153,7 +188,8 @@
</view>
<view class="info">进入商户中心管理店铺</view>
</view>
<view class="image merchant-image" :style="{'background-image':`url(${domain}/static/images/merchant-image.png)`}"></view>
<view class="image merchant-image"
:style="{'background-image':`url(${domain}/static/images/merchant-image.png)`}"></view>
</view>
<view class="menus-list-item" v-if="!userInfo.service && userInfo.topService" @click="toService(1)">
<view class="item-text">
@ -162,11 +198,13 @@
</view>
<view class="info">进入平台客服中心</view>
</view>
<view class="image plantform-image" :style="{'background-image':`url(${domain}/static/images/plantform-image.png)`}"></view>
<view class="image plantform-image"
:style="{'background-image':`url(${domain}/static/images/plantform-image.png)`}"></view>
</view>
<view class="menu-list-count" v-if="userInfo.topService && userInfo.service">
<view class="menu-item" @click="toService(0)">
<view class="image merchant-image" :style="{'background-image':`url(${domain}/static/images/merchant-image.png)`}"></view>
<view class="image merchant-image"
:style="{'background-image':`url(${domain}/static/images/merchant-image.png)`}"></view>
<view class="menu-text">
<view class="title">
<text class="merchant">商家</text>管理
@ -181,18 +219,33 @@
</view>
<view class="info">进入平台客服中心</view>
</view>
<view class="image plantform-image" :style="{'background-image':`url(${domain}/static/images/plantform-image.png)`}"></view>
<view class="image plantform-image"
:style="{'background-image':`url(${domain}/static/images/plantform-image.png)`}"></view>
</view>
</view>
</view>
<view v-if="copyright.status !== -1" class="copy-right">
<image class="img-copyright" :src="copyright.image" mode="widthFix"></image>
<view class="text">{{copyright.Copyright}}</view>
<view class="">备案号:蜀ICP备2022030133号-2A</view>
<view class="">增值电信营业许可证号:川B2-20221250</view>
</view>
<view v-else class="copy-right">
<view class="iconfont icon-crmeb"></view>
<view class="text">众邦科技提供技术支持</view>
</view>
<!-- <view v-if="copyright.status !== -1" class="copy-right">
<image class="img-copyright" :src="copyright.image" mode="widthFix"></image>
<view class="text">{{copyright.Copyright}}</view>
</view>
<view v-else class="copy-right">
<view class="iconfont icon-crmeb"></view>
<view class="text">©众邦科技版权所有</view>
</view>
</view> -->
<view style="height: 50rpx;"></view>
<!-- #ifndef H5 -->
<passwordPopup></passwordPopup>
@ -213,20 +266,37 @@
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
let sysHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
import { getMenuList, getUserInfo, setVisit } from '@/api/user.js';
import { getVersion, getNavigation } from "@/api/public";
import { orderData } from '@/api/order.js'
import { mapGetters } from "vuex";
import {
getMenuList,
getUserInfo,
setVisit
} from '@/api/user.js';
import {
getVersion,
getNavigation
} from "@/api/public";
import {
orderData
} from '@/api/order.js'
import {
mapGetters
} from "vuex";
import dayjs from '@/plugin/dayjs/dayjs.min.js';
import Cache from '@/utils/cache';
// #ifndef H5
import passwordPopup from '@/components/passwordPopup';
// #endif
import customTab from '@/components/customTab';
import { configMap } from '@/utils';
import {
configMap
} from '@/utils';
import Auth from '../../libs/wechat';
import { HTTP_REQUEST_URL } from '@/config/app';
import { toLogin } from '@/libs/login.js';
import {
HTTP_REQUEST_URL
} from '@/config/app';
import {
toLogin
} from '@/libs/login.js';
const app = getApp();
export default {
components: {
@ -289,29 +359,82 @@
num: 0
},
],
imgUrls: [{url:'',pic:''}],
imgUrls: [{
url: '',
pic: ''
}],
userMenu: [],
skeletonMenu: [],
personalMenu: [
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true},
{pic: '',name: '',isShow: true}
personalMenu: [{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
},
{
pic: '',
name: '',
isShow: true
}
],
autoplay: true,
circular: true,
interval: 3000,
duration: 500,
orderStatusNum: {},
userInfo: {aratar: '/static/f.png',is_svip:0},
userInfo: {
aratar: '/static/f.png',
is_svip: 0
},
MyMenus: [],
is_promoter: 0, //广 1
extension_status: 0,
@ -364,6 +487,13 @@
this.openAuto()
}
},
tempClick() {
uni.navigateTo({
url: "/pages/helpPeople/helpPeople"
})
},
goSvip() {
if (this.isLogin) {
if (this.userInfo.is_svip > 0) {
@ -428,14 +558,14 @@
item.url = "/pages/users/distributor/index"
}
}
}
else if(item.url=='/pages/store/settled/index')item.isShow = that.mer_intention_open == 1
} else if (item.url == '/pages/store/settled/index') item.isShow = that.mer_intention_open == 1
else if (item.url == '/pages/users/user_grade/index') item.isShow = that.member_status == 1
else if (item.url == '/pages/users/user_integral/index') item.isShow = that.integral_status == 1
else item.isShow = true
},
showMenu(menu) {
return !menu || ['integral','service','admin_order','verify_order','intention','promoter','balance'].indexOf(menu) === -1;
return !menu || ['integral', 'service', 'admin_order', 'verify_order', 'intention', 'promoter', 'balance']
.indexOf(menu) === -1;
},
goUrl(url) {
if (url.indexOf("http") != -1) {
@ -443,7 +573,9 @@
location.href = url
// #endif
} else {
if(['/pages/goods_cate/goods_cate','/pages/order_addcart/order_addcart','/pages/user/index','/pages/plant_grass/index'].indexOf(url) == -1){
if (['/pages/goods_cate/goods_cate', '/pages/order_addcart/order_addcart', '/pages/user/index',
'/pages/plant_grass/index'
].indexOf(url) == -1) {
uni.navigateTo({
url: url
})
@ -600,6 +732,7 @@
padding: 0 30rpx 0 105rpx;
border-radius: 16rpx 16rpx 0 0;
box-sizing: border-box;
.svip_user {
width: 52rpx;
height: 52rpx;
@ -608,16 +741,19 @@
left: 30rpx;
top: 17rpx;
}
.left-box {
font-size: 26rpx;
color: #905100;
font-weight: 400;
}
.btn {
color: #905100;
font-weight: 400;
font-size: 24rpx;
}
.btn-open {
background: #282828;
border-radius: 40rpx;
@ -630,17 +766,21 @@
justify-content: center;
}
}
.new-users {
.head {
background: #fff;
.user-card {
position: relative;
width: 100%;
padding: 35rpx 0 50rpx;
padding: 35rpx 0 0rpx;
background-image: linear-gradient(90deg, var(--view-bntColor21) 0%, var(--view-bntColor22) 100%);
&.svip-card {
padding: 35rpx 0 120rpx;
}
.bg {
position: absolute;
left: 0;
@ -649,27 +789,33 @@
height: 100%;
background-size: 100% 100%;
}
.user-info {
z-index: 20;
position: relative;
display: flex;
padding: 0 28rpx;
.level_icon {
width: 34rpx;
height: 32rpx;
margin: 4rpx 0 0 6rpx;
border: none;
}
.avatar-box {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
position: relative;
.avatar,image{
.avatar,
image {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
}
&.on {
.avatar {
border: 2px solid #FFAC65;
@ -678,6 +824,7 @@
}
}
}
.headwear {
position: absolute;
right: -4rpx;
@ -685,11 +832,13 @@
width: 44rpx;
height: 44rpx;
z-index: -1;
image {
width: 100%;
height: 100%;
}
}
.info {
flex: 1;
display: flex;
@ -697,26 +846,31 @@
justify-content: space-between;
margin-left: 20rpx;
padding: 15rpx 0;
.name {
display: flex;
align-items: center;
color: #fff;
font-size: 31rpx;
.vip {
width: 82rpx;
height: 36rpx;
margin-left: 12rpx;
image {
width: 82rpx;
height: 36rpx;
}
}
}
.num {
display: flex;
align-items: center;
font-size: 26rpx;
color: rgba(255, 255, 255, 0.6);
image {
width: 22rpx;
height: 23rpx;
@ -725,6 +879,7 @@
}
}
}
.num-wrapper {
z-index: 30;
position: relative;
@ -733,13 +888,16 @@
justify-content: space-between;
margin: 30rpx 20rpx 0;
color: #fff;
.num-item {
width: 25%;
text-align: center;
.num {
font-size: 42rpx;
font-weight: bold;
}
.txt {
margin-top: 8rpx;
font-size: 22rpx;
@ -747,6 +905,7 @@
}
}
}
.sign {
z-index: 200;
position: absolute;
@ -763,16 +922,65 @@
font-size: 28rpx;
font-weight: bold;
}
.packet_card {
height: 140rpx;
width: 710rpx;
background-color: rgba(#fff, 0.3);
margin: 0 auto;
border-radius: 20rpx 20rpx 0 0;
margin-top: 20rpx;
position: relative;
color: #fff;
display: flex;
justify-content: space-between;
.p_d_item {
position: absolute;
font-size: 26rpx;
font-weight: bold;
width: 300rpx;
height: 100rpx;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
&:nth-child(1) {
top: 20rpx;
left: 30rpx;
}
&:nth-child(2) {
top: 20rpx;
right: 30rpx;
}
.p_d_count {
display: flex;
align-items: center;
font-size: 38rpx;
image {
width: 53rpx;
height: 53rpx;
}
}
}
}
}
}
.wrapper {
position: relative;
padding: 0 20rpx;
margin-top: 20rpx;
}
.order-wrapper {
background-color: #fff;
border-radius: 16rpx;
.order-hd {
height: 80rpx;
align-items: center;
@ -780,13 +988,16 @@
border-bottom: 1px dashed #DDDDDD;
padding: 0 30rpx;
color: #282828;
.left {
font-weight: bold;
}
.right {
align-items: center;
color: #666666;
font-size: 26rpx;
.icon-xiangyou {
margin-left: 5rpx;
margin-top: 6rpx;
@ -794,8 +1005,10 @@
}
}
}
.order-bd {
display: flex;
.order-item {
display: flex;
flex-direction: column;
@ -803,14 +1016,17 @@
align-items: center;
width: 20%;
height: 160rpx;
.pic {
position: relative;
text-align: center;
.iconfont {
font-size: 62rpx;
color: var(--view-theme);
}
}
.txt {
margin-top: 8rpx;
font-size: 26rpx;
@ -819,22 +1035,27 @@
}
}
}
.slider-wrapper {
margin: 20rpx 0;
height: 130rpx;
swiper,
swiper-item {
height: 100%;
}
image {
width: 100%;
height: 130rpx;
}
}
.user-menus {
padding-bottom: 30rpx;
background-color: #fff;
border-radius: 16rpx;
.title {
height: 80rpx;
line-height: 80rpx;
@ -842,6 +1063,7 @@
border-bottom: 1px dashed #DDDDDD;
font-weight: bold;
}
.item {
position: relative;
display: flex;
@ -853,20 +1075,24 @@
height: 90rpx;
margin-top: 40rpx;
text-align: center;
.item-count {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
image {
width: 52rpx;
height: 52rpx;
}
.skeleton_image {
width: 80rpx;
height: 80rpx;
}
text {
margin-top: 10rpx;
font-size: 26rpx;
@ -876,17 +1102,21 @@
white-space: nowrap;
width: 78%;
}
&:last-child::before {
display: none;
}
}
button {
font-size: 28rpx;
}
}
.phone {
color: #fff;
}
.order-status-num {
background-color: #fff;
color: var(--view-theme);
@ -905,6 +1135,7 @@
border: 1px solid var(--view-theme);
}
}
.sys-head {
position: relative;
width: 100%;
@ -920,6 +1151,7 @@
background-size: 100% auto;
background-position: left bottom;
}
.sys-title {
z-index: 10;
position: relative;
@ -930,6 +1162,7 @@
color: #FFFFFF;
}
}
.menus-list-item {
background: #fff;
border-radius: 12rpx;
@ -938,22 +1171,27 @@
align-items: center;
justify-content: space-between;
margin-top: 20rpx;
.title {
font-size: 34rpx;
color: #282828;
font-weight: bold;
.merchant {
color: #E93323;
}
.plantform {
color: #FFC552;
}
}
.info {
margin-top: 15rpx;
color: #666666;
font-size: 22rpx;
}
.image {
width: 180rpx;
height: 108rpx;
@ -961,6 +1199,7 @@
background-repeat: no-repeat;
}
}
.copy-right {
display: flex;
flex-direction: column;
@ -972,18 +1211,22 @@
margin-bottom: 98rpx;
margin-bottom: calc(98rpx+ constant(safe-area-inset-bottom)); /// IOS<11.2/
margin-bottom: calc(98rpx + env(safe-area-inset-bottom)); /// IOS>11.2/
.iconfont {
font-size: 60rpx;
}
.img-copyright {
width: 120rpx;
height: 60rpx;
}
}
.menu-box {
display: flex;
flex-wrap: wrap;
}
.right-btn {
z-index: 99;
position: absolute;
@ -992,13 +1235,16 @@
display: flex;
align-items: center;
color: #fff;
.iconfont {
font-size: 40rpx;
margin-left: 33rpx;
}
.btn {
position: relative;
}
.iconnum {
min-width: 6px;
background-color: #fff;
@ -1011,6 +1257,7 @@
padding: 0 4px;
}
}
.menu-list-count {
background-color: #fff;
margin-top: 20rpx;
@ -1018,12 +1265,14 @@
display: flex;
align-items: center;
justify-content: space-between;
.menu-item {
width: 50%;
padding: 25rpx 15rpx;
display: flex;
align-items: center;
position: relative;
&:first-child {
&::after {
content: "";
@ -1034,31 +1283,39 @@
right: 0;
}
}
.image {
width: 106rpx;
height: 64rpx;
background-size: 100%;
background-repeat: no-repeat;
&.merchant-image {
margin-right: 15rpx;
}
&.plantform-image {
margin-left: 15rpx;
}
}
.menu-text {
margin-left: 10rpx;
.title {
color: #333333;
font-weight: bold;
font-size: 26rpx;
.merchant {
color: #E93323;
}
.plantform {
color: #FFC552;
}
}
.info {
color: #999999;
font-size: 22rpx;
@ -1067,6 +1324,7 @@
}
}
}
.page-footer {
position: fixed;
bottom: 0;
@ -1083,9 +1341,11 @@
box-shadow: 0px 0px 17rpx 1rpx rgba(206, 206, 206, 0.32);
padding-bottom: constant(safe-area-inset-bottom); /// IOS<11.2/
padding-bottom: env(safe-area-inset-bottom); /// IOS>11.2/
&.filter {
filter: blur(2rpx);
}
.foot-item {
display: flex;
width: max-content;
@ -1093,6 +1353,7 @@
justify-content: center;
flex-direction: column;
position: relative;
.count-num {
position: absolute;
display: flex;
@ -1109,12 +1370,14 @@
padding: 4rpx;
}
}
.foot-item image {
height: 50rpx;
width: 50rpx;
text-align: center;
margin: 0 auto;
}
.foot-item .txt {
font-size: 24rpx;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

BIN
static/audio/order.mp3 Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1,21 +1,86 @@
@charset "UTF-8";
* {scrollbar-color: #e5e5e5 #f7f7f9;scrollbar-width: thin;}
html {margin: 0 auto;max-width: 1200px;}
body {overflow-x: hidden;}
.font-color,.font-color-red {color:#fc4141!important}
.bg-color{background-color:#e93323!important}
.icon-color{color: #ff3c2b}
.cart-color {color: #ff3700 !important;border:1px solid #ff3700 !important}
.padding20{padding: 20rpx}
.pad20 {padding: 0 20rpx}
.padding30{padding: 30rpx}
.pad30{padding: 0 30rpx}
.pull-left{float: left;}
.pull-right{float: right;}
.clearfix:after{content:'';display:block;height:0;clear:both}
.clearfix{zoom:1}
.acea-row {display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-lines: multiple;
-moz-box-lines:multiple;-o-box-lines:multiple;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}
* {
scrollbar-color: #e5e5e5 #f7f7f9;
scrollbar-width: thin;
}
html {
margin: 0 auto;
max-width: 1200px;
}
body {
overflow-x: hidden;
}
.font-color,
.font-color-red {
color: #fc4141 !important
}
.bg-color {
background-color: #e93323 !important
}
.icon-color {
color: #ff3c2b
}
.cart-color {
color: #ff3700 !important;
border: 1px solid #ff3700 !important
}
.padding20 {
padding: 20rpx
}
.pad20 {
padding: 0 20rpx
}
.padding30 {
padding: 30rpx
}
.pad30 {
padding: 0 30rpx
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.clearfix:after {
content: '';
display: block;
height: 0;
clear: both
}
.clearfix {
zoom: 1
}
.acea-row {
display: -webkit-box;
display: -moz-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-lines: multiple;
-moz-box-lines: multiple;
-o-box-lines: multiple;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap
}
.acea-row.row-middle {
-webkit-box-align: center;
-moz-box-align: center;
@ -24,6 +89,7 @@ body {overflow-x: hidden;}
-webkit-align-items: center;
align-items: center
}
.acea-row.row-top {
-webkit-box-align: start;
-moz-box-align: start;
@ -32,6 +98,7 @@ body {overflow-x: hidden;}
-webkit-align-items: flex-start;
align-items: flex-start
}
.acea-row.row-bottom {
-webkit-box-align: end;
-moz-box-align: end;
@ -40,6 +107,7 @@ body {overflow-x: hidden;}
-webkit-align-items: flex-end;
align-items: flex-end
}
.acea-row.row-center {
-webkit-box-pack: center;
-moz-box-pack: center;
@ -48,14 +116,16 @@ body {overflow-x: hidden;}
-webkit-justify-content: center;
justify-content: center
}
.acea-row.row-right {
-webkit-box-pack: end;
-moz-box-pack: end;
-o-box-pack: end;
-ms-flex-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end
justify-content: flex-end;
}
.acea-row.row-left {
-webkit-box-pack: start;
-moz-box-pack: start;
@ -64,6 +134,7 @@ body {overflow-x: hidden;}
-webkit-justify-content: flex-start;
justify-content: flex-start
}
.acea-row.row-between {
-webkit-box-pack: justify;
-moz-box-pack: justify;
@ -72,10 +143,12 @@ body {overflow-x: hidden;}
-webkit-justify-content: space-between;
justify-content: space-between
}
.acea-row.row-around {
justify-content: space-around;
-webkit-justify-content: space-around
}
.acea-row.row-column-around {
-webkit-flex-direction: column;
-ms-flex-direction: column;
@ -83,6 +156,7 @@ body {overflow-x: hidden;}
justify-content: space-around;
-webkit-justify-content: space-around
}
.acea-row.row-column {
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
@ -91,6 +165,7 @@ body {overflow-x: hidden;}
-ms-flex-direction: column;
flex-direction: column
}
.acea-row.row-column-between {
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
@ -105,6 +180,7 @@ body {overflow-x: hidden;}
-webkit-justify-content: space-between;
justify-content: space-between
}
.acea-row.row-center-wrapper {
-webkit-box-align: center;
-moz-box-align: center;
@ -119,6 +195,7 @@ body {overflow-x: hidden;}
-webkit-justify-content: center;
justify-content: center
}
.acea-row.row-between-wrapper {
-webkit-box-align: center;
-moz-box-align: center;
@ -133,6 +210,7 @@ body {overflow-x: hidden;}
-webkit-justify-content: space-between;
justify-content: space-between
}
.start {
width: 122rpx;
height: 30rpx;
@ -140,50 +218,172 @@ body {overflow-x: hidden;}
background-repeat: no-repeat;
background-size: 122rpx auto;
}
.start.star5{background-position:0 3rpx;}
.start.star4{background-position:0 -30rpx;}
.start.star3{background-position:0 -70rpx;}
.start.star2{background-position:0 -105rpx;}
.start.star1{background-position:0 -140rpx;}
.start.star0{background-position:0 -175rpx;}
*,view{box-sizing:border-box;}
page{font-size: 28rpx;background-color:#f5f5f5;color: #333}
body,html{height:unset}
button{padding:0;margin:0;line-height:normal;background-color:#fff}
button::after {border:0}
radio .wx-radio-input {border-radius:50%;width:38rpx;height:38rpx}
/* radio .wx-radio-input.wx-radio-input-checked{border:1px solid #e93323;background-color:#e93323;} */
radio .uni-radio-input{border-radius:50%;width:38rpx;height:38rpx}
radio .uni-radio-input.uni-radio-input-checked{border: 1px solid #e93323;background-color: #e93323;}
checkbox .wx-checkbox-input{width:38rpx;height:38rpx}
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before{color: #fff!important;}
checkbox .uni-checkbox-input{width: 38rpx;height: 38rpx}
.start.star5 {
background-position: 0 3rpx;
}
.start.star4 {
background-position: 0 -30rpx;
}
.start.star3 {
background-position: 0 -70rpx;
}
.start.star2 {
background-position: 0 -105rpx;
}
.start.star1 {
background-position: 0 -140rpx;
}
.start.star0 {
background-position: 0 -175rpx;
}
* {
box-sizing: border-box
}
page {
font-size: 28rpx;
background-color: #f5f5f5;
color: #333
}
body,
html {
height: unset
}
button {
padding: 0;
margin: 0;
line-height: normal;
background-color: #fff
}
button::after {
border: 0
}
radio .wx-radio-input {
border-radius: 50%;
width: 38rpx;
height: 38rpx
}
radio .wx-radio-input.wx-radio-input-checked {
border: 1px solid #e93323;
background-color: #e93323;
}
radio .uni-radio-input {
border-radius: 50%;
width: 38rpx;
height: 38rpx
}
radio .uni-radio-input.uni-radio-input-checked {
border: 1px solid #e93323;
background-color: #e93323;
}
checkbox .wx-checkbox-input {
width: 38rpx;
height: 38rpx
}
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
color: #fff !important;
}
checkbox .uni-checkbox-input {
width: 38rpx;
height: 38rpx
}
checkbox .uni-checkbox-input.uni-checkbox-input-checked,
checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid #e93323!important;background-color:#e93323!important;color:#fff!important;}
checkbox .uni-checkbox-input.uni-checkbox-input-checked::before{font-size: 35rpx}
.line1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.line2{word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;}
.mask{position:fixed;top: 0;left:0;right:0;bottom:0;background-color:#000;opacity:.5;z-index:30}
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
border: 1px solid #20A162 !important;
background-color: #20A162 !important;
color: #fff !important;
}
checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
font-size: 35rpx
}
.line1 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap
}
.line2 {
word-break: break-all;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
white-space: pre-wrap;
}
.mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #000;
opacity: .5;
z-index: 30
}
@keyframes load {
from {
transform: rotate(0)
}
to {
transform: rotate(360deg)
}
}
@-webkit-keyframes load {
from {
transform: rotate(0)
}
to {
transform: rotate(360deg)
}
}
.loadingpic{animation:load 3s linear 1s infinite;--webkit-animation:load 3s linear 1s infinite}
.loading-list{animation:load linear 1s infinite;-webkit-animation:load linear 1s infinite;font-size:40rpx;margin-right:22rpx}
.loading{width:100%;height:100rpx;line-height:100rpx;align-items:center;justify-content:center;position:relative;text-align:center}
.loadingpic {
animation: load 3s linear 1s infinite;
--webkit-animation: load 3s linear 1s infinite
}
.loading-list {
animation: load linear 1s infinite;
-webkit-animation: load linear 1s infinite;
font-size: 40rpx;
margin-right: 22rpx
}
.loading {
width: 100%;
height: 100rpx;
line-height: 100rpx;
align-items: center;
justify-content: center;
position: relative;
text-align: center
}
.loading .line {
position: absolute;
width: 450rpx;
@ -192,6 +392,7 @@ checkbox .uni-checkbox-input.uni-checkbox-input-checked::before{font-size: 35rpx
height: 1px;
border-top: 1px solid #eee
}
.loading .text {
position: relative;
display: inline-block;
@ -200,11 +401,13 @@ checkbox .uni-checkbox-input.uni-checkbox-input-checked::before{font-size: 35rpx
z-index: 2;
color: #777
}
.loadingicon .loading {
animation: load linear 1s infinite;
font-size: 45rpx;
color: #000
}
.loadingicon {
width: 100%;
height: 80rpx;

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
static/empty/permission.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

26
static/iconfont/demo.css Normal file
View File

@ -0,0 +1,26 @@
/* Logo 字体 */
@font-face {
font-family: "iconfont";
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-dianzan2:before {
content: "\e61f";
}
.icon-dianzan3:before {
content: "\e601";
}

View File

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 993865 */
src: url('https://at.alicdn.com/t/c/font_993865_si3tuotdqz.woff2?t=1704965757795') format('woff2'),
url('https://at.alicdn.com/t/c/font_993865_si3tuotdqz.woff?t=1704965757795') format('woff'),
url('https://at.alicdn.com/t/c/font_993865_si3tuotdqz.ttf?t=1704965757795') format('truetype');
src: url('https://at.alicdn.com/t/c/font_993865_st57f1kxbxn.woff2?t=1676510581100') format('woff2'),
url('https://at.alicdn.com/t/c/font_993865_st57f1kxbxn.woff?t=1676510581100') format('woff'),
url('https://at.alicdn.com/t/c/font_993865_st57f1kxbxn.ttf?t=1676510581100') format('truetype');
}
.iconfont {
@ -13,170 +13,6 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-huodong-renshu:before {
content: "\e869";
}
.icon-huodong-shijian:before {
content: "\e86a";
}
.icon-huodong-jianjie:before {
content: "\e86b";
}
.icon-shuoming2:before {
content: "\e868";
}
.icon-jintuikuan:before {
content: "\e866";
}
.icon-tuihuotuikuan:before {
content: "\e867";
}
.icon-shoucang4:before {
content: "\e865";
}
.icon-yishoucang2:before {
content: "\e864";
}
.icon-dianpu2:before {
content: "\e862";
}
.icon-yincangzhuangtai:before {
content: "\e85b";
}
.icon-xianshizhuangtai:before {
content: "\e861";
}
.icon-fenxiang4:before {
content: "\e7f6";
}
.icon-yilingwan1:before {
content: "\e85f";
}
.icon-yilingqu1:before {
content: "\e860";
}
.icon-yishixiao:before {
content: "\e85d";
}
.icon-yishiyong:before {
content: "\e85e";
}
.icon-ditu1:before {
content: "\e85c";
}
.icon-xiala3:before {
content: "\e83d";
}
.icon-xiangshang2:before {
content: "\e85a";
}
.icon-peisong1:before {
content: "\e859";
}
.icon-fabuzhongcao:before {
content: "\e857";
}
.icon-qiandao1:before {
content: "\e858";
}
.icon-jinzhipinglun:before {
content: "\e855";
}
.icon-yunxupinglun:before {
content: "\e856";
}
.icon-jifenshangcheng:before {
content: "\e848";
}
.icon-fabu2:before {
content: "\e84d";
}
.icon-bianji6:before {
content: "\e854";
}
.icon-zhibo-yugao:before {
content: "\e846";
}
.icon-zhibo-huifang:before {
content: "\e84b";
}
.icon-zhibo-zhibozhong:before {
content: "\e84c";
}
.icon-a-guanzhu:before {
content: "\e849";
}
.icon-huati:before {
content: "\e84a";
}
.icon-shuaxin:before {
content: "\e847";
}
.icon-pinglun3:before {
content: "\e83f";
}
.icon-neirongfenlei:before {
content: "\e841";
}
.icon-canyuhuati1:before {
content: "\e842";
}
.icon-tianjiabaobei:before {
content: "\e843";
}
.icon-zhankai:before {
content: "\e844";
}
.icon-shouqi:before {
content: "\e845";
}
.icon-ziti:before {
content: "\e83c";
}
.icon-pindan:before {
content: "\e83e";
}
.icon-daifukuan1:before {
content: "\e836";
}
@ -485,6 +321,10 @@
content: "\e7f5";
}
.icon-yilingqu2:before {
content: "\e7f6";
}
.icon-jifen:before {
content: "\e7f3";
}

View File

@ -0,0 +1,19 @@
@font-face {
font-family: "iconlihai";
/* Project id 4057568 */
src: url('//at.alicdn.com/t/c/font_4057568_ebzei8v5onu.woff2?t=1683613050891') format('woff2'),
url('//at.alicdn.com/t/c/font_4057568_ebzei8v5onu.woff?t=1683613050891') format('woff'),
url('//at.alicdn.com/t/c/font_4057568_ebzei8v5onu.ttf?t=1683613050891') format('truetype');
}
.iconlihai {
font-family: "iconlihai" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.lihai-gengduo:before {
content: "\e624";
}

View File

@ -0,0 +1,82 @@
@font-face {
font-family: "icontan"; /* Project id 3552766 */
src: url('//at.alicdn.com/t/c/font_3552766_bmogttr4zyj.woff2?t=1688542944134') format('woff2'),
url('//at.alicdn.com/t/c/font_3552766_bmogttr4zyj.woff?t=1688542944134') format('woff'),
url('//at.alicdn.com/t/c/font_3552766_bmogttr4zyj.ttf?t=1688542944134') format('truetype');
}
.icontan {
font-family: "icontan" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.tan-a-lujing17324:before {
content: "\e602";
}
.tan-xianhuo:before {
content: "\e601";
}
.tan-dianpu:before {
content: "\e600";
}
.tan-clock:before {
content: "\e627";
}
.tan-ditu_dingwei_o:before {
content: "\ebbb";
}
.tan-f24gl-telephone:before {
content: "\e953";
}
.tan-sound-Mute:before {
content: "\e766";
}
.tan-vehivles:before {
content: "\e76b";
}
.tan-shoes:before {
content: "\e76c";
}
.tan-aviation:before {
content: "\e770";
}
.tan-landtransportation:before {
content: "\e773";
}
.tan-dingwei:before {
content: "\e8c4";
}
.tan-favorites-fill:before {
content: "\e721";
}
.tan-rmb:before {
content: "\e761";
}
.tan-scanning:before {
content: "\e762";
}
.tan-raw:before {
content: "\e75e";
}
.tan-service:before {
content: "\e764";
}

BIN
static/images/GRZX/BG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 KiB

BIN
static/images/GRZX/DFH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
static/images/GRZX/DFK.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
static/images/GRZX/DPJ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
static/images/GRZX/DSH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
static/images/GRZX/KF.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/images/GRZX/SH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
static/images/GRZX/SZ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
static/images/GXSC/BBY.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
static/images/GXSC/BSL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/images/GXSC/DH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
static/images/GXSC/DW.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
static/images/GXSC/DW1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
static/images/GXSC/GXZH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
static/images/GXSC/JDMS.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
static/images/GXSC/JJRB.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
static/images/GXSC/JYPX.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
static/images/GXSC/MSGY.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
static/images/GXSC/NFCP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
static/images/GXSC/NMJD.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
static/images/GXSC/NYSC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
static/images/GXSC/PF.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 779 B

BIN
static/images/GXSC/QB.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
static/images/GXSC/SCFW.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
static/images/GXSC/SHFW.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
static/images/GXSC/SJ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
static/images/GXSC/SL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
static/images/GXSC/SS.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
static/images/GXSC/SSBT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
static/images/GXSC/WLSY.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
static/images/GXSC/WYLY.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
static/images/GXSC/XL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
static/images/GXSC/XZ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

BIN
static/images/GXSC/YLBJ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
static/images/GXSC/ZXJZ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
static/images/GZT/BG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
static/images/GZT/DDGL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
static/images/GZT/DDHX.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
static/images/GZT/DDHX1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
static/images/GZT/FBGL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
static/images/GZT/GHCG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
static/images/GZT/JHGL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
static/images/GZT/JYDT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
static/images/GZT/KFJL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
static/images/GZT/RKGL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
static/images/GZT/SHSZ.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
static/images/GZT/SMCK.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Some files were not shown because too many files have changed in this diff Show More